When I do, I get a series of errors like this:
[#0] WARNING:Minization – RooMinimizerFcn: Minimized function has error status.
Returning maximum FCN so far (26831.6) to force MIGRAD to back out of this region. Error log follows
Parameter values: f=0.418067, mGau=0.665142, mLan=178.942, mu=0.3775, wG=1.53094, wL=34.3664
RooGaussian::SignalG[ x=Mjj mean=mGau sigma=wG ]
p.d.f normalization integral is zero or negative @ x=Mjj=44.3092, mean=mGau=0.665142 +/- 0.945268, sigma=wG=1.53094 +/- 1.15983
And so on…
Which I don’t understand. The PDF (a gaussian plus two landaus) is well behaved and the fit to data looks good. I guess I’m missing something.
From the log I see you are having a Gaussian with x=44 and mu=0.66 and sigma=1.53. Are you sure the range of the Gaussian is not off the peak ?
This could explain the problem
Yes it is correct that the LikelihoodINtervalPlot is scanning several parameter values. Which one is your parameter of interest (POI) ?
You can also set the POI range using LikelihoodIntervalPlot::SetRange(x1,x2)