# Meaning of values returned by RooFitResult::status(..)?

**URL:** <https://root-forum.cern.ch/t/meaning-of-values-returned-by-roofitresult-status/16355>\
**Category:** Roofit and RooStats\
**Created:** [July 10, 2013, 7:31am UTC](https://root-forum.cern.ch/t/meaning-of-values-returned-by-roofitresult-status/16355 "2013-07-10T07:31:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [August 14, 2013, 4:04pm UTC](https://root-forum.cern.ch/t/meaning-of-values-returned-by-roofitresult-status/16355/2 "2013-08-14T16:04:11Z")

</div>

Hi,  
This values depends on the Minimizer used for fitting. For example if you are using Minuit2, you will have:

```
  status = 0 : OK
  status = 1 : Covariance was mad epos defined
   status = 2 : Hesse is invalid
   status = 3 : Edm is above max
   status = 4 : Reached call limit
   status = 5 : Any other failure

```

(see [root.cern.ch/root/htmldoc/ROOT\_\_ … r:Minimize](http://root.cern.ch/root/htmldoc/ROOT __Minuit2__ Minuit2Minimizer.html#ROOT __Minuit2__ Minuit2Minimizer:Minimize))

If you run also Hesse and/or Minos the status will be updated. See  
[root.cern.ch/root/htmldoc/ROOT\_\_ … izer:Hesse](http://root.cern.ch/root/htmldoc/ROOT __Minuit2__ Minuit2Minimizer.html#ROOT __Minuit2__ Minuit2Minimizer:Hesse)

[root.cern.ch/root/htmldoc/ROOT\_\_ … MinosError](http://root.cern.ch/root/htmldoc/ROOT __Minuit2__ Minuit2Minimizer.html#ROOT __Minuit2__ Minuit2Minimizer:GetMinosError)

Best Regards  
Lorenzo

---

_[View the full topic](https://root-forum.cern.ch/t/meaning-of-values-returned-by-roofitresult-status/16355)._
