wiso
1
Do you know why a fit converge with root 5.33, 5.28 but not in 5.32?
I’m fitting with rootfit
_fit = model->fitTo( *data , Minos(kTRUE) , Extended(kTRUE) , Save(kTRUE) , PrintLevel(-1) , Warnings(kFALSE) );
I’ve also tried to remove Minos. This is my model:
_ws->factory("Exponential::bkgModel(mass,bkgSlope)");
_ws->factory("CBShape::sigCB(mass,sigCBmean,sigCBsigma,sigCBalpha,sigCBn)");
_ws->factory("Gaussian::sigG(mass,sigGmean,sigGsigma)");
_ws->factory("SUM::sigModel(sigCBf*sigCB,sigG)");
moneta
2
Hi,
please attach again the ws (i.e. model + data) do we can reproduce this problem
Lorenzo
wiso
3
[quote=“moneta”]Hi,
please attach again the ws (i.e. model + data) do we can reproduce this problem
Lorenzo[/quote]
I hope it is ok. The name for the model is “model”, for the data is “data”
work.root (121 KB)
moneta
4
Hi,
The fit converged for me in 5.32. Here is the result by doing :
model = wspace->pdf("model");
data = wspace->data("data");
r=model->fitTo(*data,RooFit::Save(true),RooFit::Extended(true));
r->Print();
Lorenzo