# Getting higher calls for fitting

**URL:** <https://root-forum.cern.ch/t/getting-higher-calls-for-fitting/40071>\
**Category:** Newbie\
**Created:** [June 24, 2020, 9:58pm UTC](https://root-forum.cern.ch/t/getting-higher-calls-for-fitting/40071 "2020-06-24T21:58:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhinab\_Mukhopadhyay](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/abhinab_mukhopadhyay/32/20444_2.png) [@Abhinab\_Mukhopadhyay](https://root-forum.cern.ch/u/Abhinab_Mukhopadhyay)\
**Post date:** [June 24, 2020, 9:58pm UTC](https://root-forum.cern.ch/t/getting-higher-calls-for-fitting/40071/1 "2020-06-24T21:58:11Z")

</div>

Hi,

So I am pretty new to fitting, how would you increase the number of **calls** do when fitting custom functions, I know a **call** is a number of times it calls the actual function and I have an intuition that higher the call number the greater the accuracy but how would you “get” higher **calls** to improve accuracy?

Thanks

Abhinab

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [June 25, 2020, 6:02am UTC](https://root-forum.cern.ch/t/getting-higher-calls-for-fitting/40071/2 "2020-06-25T06:02:41Z")

</div>

I guess @moneta can help you.

---

<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:** [June 25, 2020, 2:13pm UTC](https://root-forum.cern.ch/t/getting-higher-calls-for-fitting/40071/3 "2020-06-25T14:13:03Z")

</div>

Hi,

Increasing the number of calls it will not do anything if you are using already an high number, This because the minimisation procedure stops normally before when reached a low enough tolerance.  
You could then decrease the tolerance value, however it will not also help much because in general your accuracy will be limited by numerical error computation of evaluating the user provided function

Lorenzo

---

<div class="post-metadata">

**Author:** ![Abhinab\_Mukhopadhyay](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/abhinab_mukhopadhyay/32/20444_2.png) [@Abhinab\_Mukhopadhyay](https://root-forum.cern.ch/u/Abhinab_Mukhopadhyay)\
**Post date:** [June 25, 2020, 7:54pm UTC](https://root-forum.cern.ch/t/getting-higher-calls-for-fitting/40071/4 "2020-06-25T19:54:52Z")

</div>

Thank you very much!
