Hello,
I am using minuit to do a number (~1000) of fits of the same function to data. However most return with a failure to converge. When I look at the status value of the fit, the fits are almost entirely 3. Which tells me" status = 3 : Edm is above max". I also often get the error that the “line search has failed”.
I have heard that the line search failure (which leads to Edm being above max) is mostly caused by an error in the function being minimized. However since not all the the fits fail this leads me to believe the function is not the issue.
What are the other possibilites that would cause this to happen?
thanks!