I am trying to do the same fit I am doing many times before in the same script. I added a new fit with a new set of data and it gives me this output:
Error in ROOT::Math::FitResult: FitConfiguration and Minimizer result are not consistent
Number of free parameters from FitConfig = 3
Number of free parameters from Minimizer = 2
And I can not find the source of the error, nor do I completely understand the error message.
In addition to that, if I swap the defenition of the function from:
"gaus(0)" this error message disappears but myscript still does not work properly.
Any ideas where to start looking?