Re: Minuit2 ouput level

From: Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>
Date: Tue, 18 Mar 2008 17:18:22 +0100


Hi Bernhard,

  the option gErrorIgnoreLevel, should work in the Minuit2 version 5.18 distributed with ROOT.
Try to set it to a value like 1001, before running the minimization.

  Best Regards

  Lorenzo

On Mar 18, 2008, at 4:05 PM, Bernhard Bittner wrote:

> 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
> method 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 = migrad_rpc();
>
> Many Thanks!
> Bernhard
> --
> Bernhard Bittner
> mailto:bernhard.bittner_at_cern.ch
>
Received on Tue Mar 18 2008 - 17:18:34 CET

This archive was generated by hypermail 2.2.0 : Tue Mar 18 2008 - 23:50:01 CET