If you load your fit parameters from a file, you should declare in it all the parameters you're going to use and, when needed, initialise them.
## Start parameters for the fit of data.dat
m = -0.0005
q = -0.0005
d = 1.02
Tc = 45.0
g_d = 1.0
b = 0.01002