[RooFit] How could I know "MINUIT WARNING IN MIGRAD&quo

Hello,

I just want to do many fittings within a Loop and print out the summary of fitting status of each one finally. I noticed that there is some warnings like:

[quote]
MINUIT WARNING IN MIGRAD
============== Negative diagonal element 1 in Error Matrix
MINUIT WARNING IN MIGRAD
============== Negative diagonal element 2 in Error Matrix
MINUIT WARNING IN MIGRAD
============== 1.00006 added to diagonal of error matrix[/quote]

but the fit status is still 0, and the covQual is also ok (=3). So how could I know whether there is such warnings occurred?

Thank you very much.

Hi,

At present TMinuit does not keep track of these occurences (or at least provides an interface through which this information can be retrieved), thus I have no way
to retrieve this information to be stored in a RooFitResult.

On the other hand, I assume that when MINUIT at the end says that covQual = OK it will be correct in that statement and means that any prior warning were apparently transient and can be ignored.

Wouter

1 Like