Bernhard Bittner
2008-03-18 15:05:11 UTC
Hi all,
i'm using Minuit2 from ROOT (5.18.00 on linux) to do some fitting. Some =
of =
the fits fail and i get messages like
CombinedMinimumBuilder: migrad method fails, will try with simplex metho=
d =
first.
CombinedMinimumBuilder: both migrad and method fails also at 2nd attempt=
.
CombinedMinimumBuilder: return simplex Minimum
VariableMetricBuilder: matrix not pos.def.
edm < 0
is there a way to sot munuit from telling me all that suff? I found one =
=
option to set the uotput level in ROOT itself (gErrorIgnoreLevel), but =
this does not work on the Minuit2 output.
I'm calling Muniut2 via
FitFcn FCN(data_points); // derived from ROOT::Minuit2::FCNBase
MnUserParameters upar_rpc;
upar_rpc.Add("a", 1 , .1);
/** create minimizer */
MnMinimize migrad_rpc(FCN, upar_rpc);
/** ... and minimize */
FunctionMinimum min_rpc =3D migrad_rpc();
Many Thanks!
Bernhard
-- =
Bernhard Bittner
mailto:***@cern.ch
i'm using Minuit2 from ROOT (5.18.00 on linux) to do some fitting. Some =
of =
the fits fail and i get messages like
CombinedMinimumBuilder: migrad method fails, will try with simplex metho=
d =
first.
CombinedMinimumBuilder: both migrad and method fails also at 2nd attempt=
.
CombinedMinimumBuilder: return simplex Minimum
VariableMetricBuilder: matrix not pos.def.
edm < 0
is there a way to sot munuit from telling me all that suff? I found one =
=
option to set the uotput level in ROOT itself (gErrorIgnoreLevel), but =
this does not work on the Minuit2 output.
I'm calling Muniut2 via
FitFcn FCN(data_points); // derived from ROOT::Minuit2::FCNBase
MnUserParameters upar_rpc;
upar_rpc.Add("a", 1 , .1);
/** create minimizer */
MnMinimize migrad_rpc(FCN, upar_rpc);
/** ... and minimize */
FunctionMinimum min_rpc =3D migrad_rpc();
Many Thanks!
Bernhard
-- =
Bernhard Bittner
mailto:***@cern.ch