# stop early

**URL:** <https://forum.certara.com/t/stop-early/3364>\
**Category:** Phoenix WNL basics\
**Created:** [November 15, 2018, 4:22pm UTC](https://forum.certara.com/t/stop-early/3364 "2018-11-15T16:22:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolowich](https://avatars.discourse-cdn.com/v4/letter/w/a183cd/32.png) [@wolowich](https://forum.certara.com/u/wolowich)\
**Post date:** [November 15, 2018, 4:22pm UTC](https://forum.certara.com/t/stop-early/3364/1 "2018-11-15T16:22:15Z")

</div>

has anyone been able to use the stop early function? It never seems to work for me.

---

<div class="post-metadata">

**Author:** ![SimonDavis](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@SimonDavis](https://forum.certara.com/u/SimonDavis)\
**Post date:** [November 22, 2018, 3:32pm UTC](https://forum.certara.com/t/stop-early/3364/2 "2018-11-22T15:32:29Z")

</div>

Hi William, sorry for the delay, I was trying to find an exmaple that ran long enough to interupt. i found one in the examples folder; C:\Program Files (x86)\Certara\Phoenix\application\Examples\NLME

**Midazolam\_Circadian\_IOV\_TwoEpsilon\_Estimation\_VPC**

I ran the first model in that project and performed the right click, and although there is a long pause it does indeed stop.

Note that for now it first tries to complete the current iteration of optimization then, if some standard error are requested, calculate standard error and finally prepare all things for the output. It may look like it is doing nothing however it is preparing the results.

To check if that button is working, please look into **Overall** sheet; the RetCode is 6.

alternatively if you look at the **Core Status** then you’ll see something like the below.

Hope that helps, Simon.

-loglike at initial solution  
after initial stabilization = -7361.3048690289552

MANUAL STOP  
User pushed stop button in UI

Starting std error computation

Warning: Hessian based standard error  
computation failed in Cholesky factorization step  
of numerical Hessian of -2LL function  
infohess from dpotrf = 12  
Sandwich std error computation thus also fails

Engine Convergence Summary:

Convergence failed

OPTIF9 ITRMCD value on last iteration= 6  
NLME7 return code= 6  
RUN MANUALLY STOPPED BEFORE CONVERGENCE
