Re: Warning in <TH1D::Fit>: Abnormal termination of minimization.

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 7 Jul 2008 20:45:00 +0200


Are you really expecting a correct solution in fitting this flat histogram with an exponential function?

Rene Brun

Supreet Pal Singh wrote:
> Hi ,
>
> I am using root version 5.14 .
> I am trying to fit a histogram with exponential function.
> But I am not getting proper fit distribution.
> when I run the macro I get message as
> ---------------------------------------------------------------------------
> Warning in <TH1D::Fit>: Abnormal termination of minimization.
> FCN=62892.3 FROM MIGRAD STATUS=FAILED 63 CALLS 64 TOTAL
> EDM=2.08553e+07 STRATEGY= 1 ERR MATRIX APPROXIMATE
> EXT PARAMETER APPROXIMATE STEP FIRST
> NO. NAME VALUE ERROR SIZE DERIVATIVE
> 1 p0 1.71701e-02 2.65028e-04 0.00000e+00 -4.88825e+05
> 2 p1 1.08514e-01 1.00274e-01 -0.00000e+00 9.10936e+04
> ---------------------------------------------------------------------------------
>
> I am attaching the distribution with fit I got and the macro which I am running.
>
> Please help.
>
> regards,
>
> Supreet.
>
>
>
>
>
> ------------------------------------------------------------------------
>
Received on Mon Jul 07 2008 - 20:44:48 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 08 2008 - 17:50:02 CEST