FOCEi fit

foceiFit(data, ...)

focei.fit(data, ...)

# S3 method for data.frame
foceiFit(data, ...)

# S3 method for data.frame0
foceiFit(
  data,
  inits,
  PKpars,
  model = NULL,
  pred = NULL,
  err = NULL,
  lower = -Inf,
  upper = Inf,
  fixed = NULL,
  skipCov = NULL,
  control = foceiControl(),
  thetaNames = NULL,
  etaNames = NULL,
  etaMat = NULL,
  ...,
  env = NULL,
  keep = NULL,
  drop = NULL
)

Arguments

data

Data to fit; Needs to be RxODE compatible and have DV, AMT, EVID in the dataset.

...

Ignored parameters

inits

Initialization list

PKpars

Pk Parameters function

model

The RxODE model to use

pred

The Prediction function

err

The Error function

lower

Lower bounds

upper

Upper Bounds

fixed

Boolean vector indicating what parameters should be fixed.

skipCov

Boolean vector indicating what parameters should be fixed when calculating covariances

control

FOCEi options Control list. See foceiControl

thetaNames

Names of the thetas to be used in the final object.

etaNames

Eta names to be used in the final object.

etaMat

Eta matrix for initial estimates or final estimates of the ETAs.

env

An environment used to build the FOCEi or nlmixr object.

keep

Columns to keep from either the input dataset. For the input dataset, if any records are added to the data LOCF (Last Observation Carried forward) imputation is performed.

drop

Columns to drop from the output

Value

A focei fit or nlmixr fit object

FOCEi fit object

Author

Matthew L. Fidler and Wenping Wang

Examples


# \donttest{

## Comparison to Wang2007 objective functions

mypar2 = function ()
{
    k = theta[1] * exp(eta[1]);
}

mod <- RxODE({
    ipre = 10 * exp(-k * t)
})
#>  
pred <- function() ipre

errProp <- function(){
  return(prop(0.1))
}

inits <- list(THTA=c(0.5),
              OMGA=list(ETA[1] ~ 0.04));

w7 <- Wang2007

w7$DV <- w7$Y
w7$EVID <- 0
w7$AMT <- 0

## Wang2007 prop error OBF 39.458 for NONMEM FOCEi, nlmixr matches.
fitPi <- foceiFit(w7, inits, mypar2,mod,pred,errProp,
     control=foceiControl(maxOuterIterations=0,covMethod=""))
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → optimizing duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))

print(fitPi$objective)
#> [1] 39.45755

## Wang2007 prop error OBF 39.207 for NONMEM FOCE; nlmixr matches.
fitP <- foceiFit(w7, inits, mypar2,mod,pred,errProp,
     control=foceiControl(maxOuterIterations=0,covMethod="",
     interaction=FALSE))
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))

print(fitP$objective)
#> [1] 39.20672

## Wang 2007 prop error OBF 39.213 for NONMEM FO; nlmixr matches
fitPfo <- foceiFit(w7, inits, mypar2,mod,pred,errProp,
     control=foceiControl(maxOuterIterations=0,covMethod="",
     fo=TRUE))
#> Calculating residuals/tables
#> done

print(fitPfo$objective)
#> [1] 39.21322

## Note if you have the etas you can evaluate the likelihood
## of an arbitrary model.  It doesn't have to be solved by
## FOCEi

etaMat <- matrix(fitPi$eta[,-1])

fitP2 <- foceiFit(w7, inits, mypar2,mod,pred,errProp, etaMat=etaMat,
      control=foceiControl(maxOuterIterations=0,maxInnerIterations=0,
      covMethod=""))
#> Calculating residuals/tables
#> done


errAdd <- function(){
  return(add(0.1))
}

## Wang2007 add error of -2.059 for NONMEM FOCE=NONMEM FOCEi;
## nlmixr matches.
fitA <- foceiFit(w7, inits, mypar2,mod,pred,errAdd,
     control=foceiControl(maxOuterIterations=0,covMethod=""))
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))

## Wang2007 add error of 0.026 for NONMEM FO; nlmixr matches

fitAfo <- foceiFit(w7, inits, mypar2,mod,pred,errAdd,
     control=foceiControl(maxOuterIterations=0,fo=TRUE,covMethod=""))
#> Calculating residuals/tables
#> done

## Extending Wang2007 to add+prop with same dataset
errAddProp <- function(){
  return(add(0.1) + prop(0.1));
}

fitAP <- foceiFit(w7, inits, mypar2,mod,pred,errAddProp,
     control=foceiControl(maxOuterIterations=0,covMethod=""))
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → optimizing duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))

## Checking lognormal

errLogn <- function(){
   return(lnorm(0.1));
}

## First run the fit with the nlmixr lnorm error

fitLN <- foceiFit(w7, inits, mypar2,mod,pred,errLogn,
     control=foceiControl(maxOuterIterations=0,covMethod=""))
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))


## Next run on the log-transformed space
w72 <- w7; w72$DV <- log(w72$DV)

predL <- function() log(ipre)

fitLN2 <- foceiFit(w72, inits, mypar2,mod,predL,errAdd,
     control=foceiControl(maxOuterIterations=0,covMethod=""))
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))

## Correct the fitLN2's objective function to be on the normal scale
print(fitLN2$objective + 2*sum(w72$DV))
#> [1] 40.03872

## Note the objective function of the lognormal error is on the normal scale.
print(fitLN$objective)
#> [1] 40.03872

mypar2 <- function ()
{
    ka <- exp(THETA[1] + ETA[1])
    cl <- exp(THETA[2] + ETA[2])
    v  <- exp(THETA[3] + ETA[3])
}

mod <- RxODE({
    d/dt(depot) <- -ka * depot
    d/dt(center) <- ka * depot - cl / v * center
    cp <- center / v
})
#>  

pred <- function() cp

err <- function(){
    return(add(0.1))
}

inits <- list(THTA=c(0.5, -3.2, -1),
              OMGA=list(ETA[1] ~ 1, ETA[2] ~ 2, ETA[3] ~ 1));

## Remove 0 concentrations (should be lloq)

d <- theo_sd[theo_sd$EVID==0 & theo_sd$DV>0 | theo_sd$EVID>0,];

fit1 <- foceiFit(d, inits, mypar2,mod,pred,err)
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate sensitivities
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → optimizing duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |  THETA[1] |  THETA[2] |  THETA[3] |    ERR[1] |
#> |.....................|        o1 |        o2 |        o3 |...........|
#> |    1|     16296.646 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     16296.646 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     16296.646 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    G|    Gill Diff. |-3.331e+06 |-3.184e+06 |-1.769e+08 |-5.812e+08 |
#> |.....................|-2.612e+09 |-1.269e+10 |-4.292e+10 |...........|
#> |    2|     28017.092 |    0.7620 |   -0.9999 |   0.05156 |    0.6874 |
#> |.....................|     1.058 |     1.207 |     1.957 |...........|
#> |    U|     28017.092 |    0.5001 |    -3.200 |   -0.9961 |    0.3203 |
#> |.....................|     1.058 |     1.079 |     1.957 |...........|
#> |    X|     28017.092 |     1.649 |   0.04077 |    0.3693 |    0.3203 |
#> |.....................|     1.058 |     1.079 |     1.957 |...........|
#> |    3|     26434.043 |    0.7619 |    -1.000 |   0.04959 |    0.6809 |
#> |.....................|     1.029 |     1.066 |     1.479 |...........|
#> |    U|     26434.043 |    0.5000 |    -3.200 |   -0.9980 |    0.3183 |
#> |.....................|     1.029 |    0.9599 |     1.479 |...........|
#> |    X|     26434.043 |     1.649 |   0.04076 |    0.3686 |    0.3183 |
#> |.....................|     1.029 |    0.9599 |     1.479 |...........|
#> |    4|     26020.267 |    0.7619 |    -1.000 |   0.04861 |    0.6776 |
#> |.....................|     1.015 |    0.9950 |     1.239 |...........|
#> |    U|     26020.267 |    0.5000 |    -3.200 |   -0.9990 |    0.3173 |
#> |.....................|     1.015 |    0.9004 |     1.239 |...........|
#> |    X|     26020.267 |     1.649 |   0.04076 |    0.3682 |    0.3173 |
#> |.....................|     1.015 |    0.9004 |     1.239 |...........|
#> |    5|     25877.864 |    0.7619 |    -1.000 |   0.04811 |    0.6760 |
#> |.....................|     1.007 |    0.9596 |     1.120 |...........|
#> |    U|     25877.864 |    0.5000 |    -3.200 |   -0.9995 |    0.3167 |
#> |.....................|     1.007 |    0.8706 |     1.120 |...........|
#> |    X|     25877.864 |     1.649 |   0.04076 |    0.3681 |    0.3167 |
#> |.....................|     1.007 |    0.8706 |     1.120 |...........|
#> |    6|     25817.110 |    0.7619 |    -1.000 |   0.04787 |    0.6752 |
#> |.....................|     1.004 |    0.9419 |     1.060 |...........|
#> |    U|      25817.11 |    0.5000 |    -3.200 |   -0.9998 |    0.3165 |
#> |.....................|     1.004 |    0.8558 |     1.060 |...........|
#> |    X|      25817.11 |     1.649 |   0.04076 |    0.3680 |    0.3165 |
#> |.....................|     1.004 |    0.8558 |     1.060 |...........|
#> |    7|     25786.128 |    0.7619 |    -1.000 |   0.04774 |    0.6748 |
#> |.....................|     1.002 |    0.9331 |     1.030 |...........|
#> |    U|     25786.128 |    0.5000 |    -3.200 |   -0.9999 |    0.3164 |
#> |.....................|     1.002 |    0.8483 |     1.030 |...........|
#> |    X|     25786.128 |     1.649 |   0.04076 |    0.3679 |    0.3164 |
#> |.....................|     1.002 |    0.8483 |     1.030 |...........|
#> |    8|     25767.665 |    0.7619 |    -1.000 |   0.04768 |    0.6746 |
#> |.....................|     1.001 |    0.9287 |     1.015 |...........|
#> |    U|     25767.665 |    0.5000 |    -3.200 |   -0.9999 |    0.3163 |
#> |.....................|     1.001 |    0.8446 |     1.015 |...........|
#> |    X|     25767.665 |     1.649 |   0.04076 |    0.3679 |    0.3163 |
#> |.....................|     1.001 |    0.8446 |     1.015 |...........|
#> |    9|     25755.221 |    0.7619 |    -1.000 |   0.04765 |    0.6745 |
#> |.....................|     1.000 |    0.9264 |     1.007 |...........|
#> |    U|     25755.221 |    0.5000 |    -3.200 |    -1.000 |    0.3163 |
#> |.....................|     1.000 |    0.8428 |     1.007 |...........|
#> |    X|     25755.221 |     1.649 |   0.04076 |    0.3679 |    0.3163 |
#> |.....................|     1.000 |    0.8428 |     1.007 |...........|
#> |   10|     25745.688 |    0.7619 |    -1.000 |   0.04763 |    0.6744 |
#> |.....................|     1.000 |    0.9253 |     1.004 |...........|
#> |    U|     25745.688 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8418 |     1.004 |...........|
#> |    X|     25745.688 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8418 |     1.004 |...........|
#> |   11|     25737.620 |    0.7619 |    -1.000 |   0.04763 |    0.6744 |
#> |.....................|     1.000 |    0.9248 |     1.002 |...........|
#> |    U|      25737.62 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8414 |     1.002 |...........|
#> |    X|      25737.62 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8414 |     1.002 |...........|
#> |   12|     25730.437 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9245 |     1.001 |...........|
#> |    U|     25730.437 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8411 |     1.001 |...........|
#> |    X|     25730.437 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8411 |     1.001 |...........|
#> |   13|     25723.534 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9244 |     1.000 |...........|
#> |    U|     25723.534 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8410 |     1.000 |...........|
#> |    X|     25723.534 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8410 |     1.000 |...........|
#> |   14|     25717.143 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9243 |     1.000 |...........|
#> |    U|     25717.143 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8410 |     1.000 |...........|
#> |    X|     25717.143 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8410 |     1.000 |...........|
#> |   15|     25711.040 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9243 |     1.000 |...........|
#> |    U|      25711.04 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|      25711.04 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   16|     25705.261 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9243 |     1.000 |...........|
#> |    U|     25705.261 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25705.261 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   17|     25699.645 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25699.645 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25699.645 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   18|     25694.306 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25694.306 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25694.306 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   19|     25689.173 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25689.173 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25689.173 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   20|     25684.245 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25684.245 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25684.245 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   21|     25679.430 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|      25679.43 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|      25679.43 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   22|     25674.820 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|      25674.82 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|      25674.82 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   23|     25670.475 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25670.475 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25670.475 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   24|     25666.380 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|      25666.38 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|      25666.38 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   25|     25662.993 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25662.993 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25662.993 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   26|     25658.002 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25658.002 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25658.002 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   27|     25654.429 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25654.429 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25654.429 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   28|     25652.329 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25652.329 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25652.329 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   29|     25649.202 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25649.202 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25649.202 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   30|     25646.269 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25646.269 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25646.269 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   31|     25643.568 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25643.568 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25643.568 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |   32|     25640.976 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     25640.976 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     25640.976 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> calculating covariance matrix
#> 
S matrix calculation failed; Switch to R-matrix covariance.
#> done
#> Calculating residuals/tables
#> done
#> Warning: tolerances (atol/rtol) were temporarily reduced for some difficult ODE solving during the optimization.
#> consider reducing sigdig/atol/rtol changing initial estimates or changing the structural model
#> Warning: gradient problems with initial estimate and covariance; see $scaleInfo
#> Warning: numerical difficulties solving forward sensitivity inner problem, tried approximating with more inaccurate numeric differences
#> Warning: using R matrix to calculate covariance
#> Warning: bad solve during optimization
#> Warning: last objective function was not at minimum, possible problems in optimization
#> Warning: tolerances were reduced during Gill Gradient, so it was repeated 1/3 times
#> You can control this with foceiControl(repeatGillMax=.)
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: Hessian reset during optimization; (can control by foceiControl(resetHessianAndEta=.))

## you can also fit lognormal data with the objective function on the same scale

errl <- function(){
    return(lnorm(0.1))
}

fit2 <- foceiFit(d, inits, mypar2,mod,pred,errl)
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate sensitivities
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → optimizing duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |  THETA[1] |  THETA[2] |  THETA[3] |    ERR[1] |
#> |.....................|        o1 |        o2 |        o3 |...........|
#> |    1|     39934.019 |    0.7619 |    -1.000 |   0.04762 |    0.6744 |
#> |.....................|     1.000 |    0.9242 |     1.000 |...........|
#> |    U|     39934.019 |    0.5000 |    -3.200 |    -1.000 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    X|     39934.019 |     1.649 |   0.04076 |    0.3679 |    0.3162 |
#> |.....................|     1.000 |    0.8409 |     1.000 |...........|
#> |    G|    Gill Diff. |     1162. |    -774.4 |    -2597. |-7.749e+04 |
#> |.....................|     180.7 |     281.1 |     562.7 |...........|
#> |    2|     10451.977 |    0.7469 |   -0.9900 |   0.08111 |     1.674 |
#> |.....................|    0.9977 |    0.9206 |    0.9927 |...........|
#> |    U|     10451.977 |    0.4850 |    -3.190 |   -0.9665 |    0.6322 |
#> |.....................|    0.9977 |    0.8378 |    0.9927 |...........|
#> |    X|     10451.977 |     1.624 |   0.04117 |    0.3804 |    0.6322 |
#> |.....................|    0.9977 |    0.8378 |    0.9927 |...........|
#> |    F| Forward Diff. |    -140.0 |    -443.7 |    -619.4 |    -9914. |
#> |.....................|     17.10 |     29.22 |     221.5 |...........|
#> |    3|     9052.8658 |     1.260 |   -0.3740 |    0.5977 |     1.811 |
#> |.....................|     1.008 |    0.9322 |    0.7252 |...........|
#> |    U|     9052.8658 |    0.9978 |    -2.574 |   -0.4499 |    0.6756 |
#> |.....................|     1.008 |    0.8476 |    0.7252 |...........|
#> |    X|     9052.8658 |     2.712 |   0.07623 |    0.6377 |    0.6756 |
#> |.....................|     1.008 |    0.8476 |    0.7252 |...........|
#> |    F| Forward Diff. |    -628.0 |    -1114. |    -1259. |    -8414. |
#> |.....................|    -492.5 |    -623.9 |    -723.5 |...........|
#> |    4|     6643.2165 |     2.312 |    0.8913 |     1.660 |     2.184 |
#> |.....................|     1.024 |    0.9483 |    0.6687 |...........|
#> |    U|     6643.2165 |     2.050 |    -1.309 |    0.6121 |    0.7937 |
#> |.....................|     1.024 |    0.8612 |    0.6687 |...........|
#> |    X|     6643.2165 |     7.769 |    0.2702 |     1.844 |    0.7937 |
#> |.....................|     1.024 |    0.8612 |    0.6687 |...........|
#> |    M|   Mixed Diff. |     13.75 |     7.442 |    -223.2 |    -4844. |
#> |.....................|    -12.26 |     12.09 |     3065. |...........|
#> |    5|     2627.6844 |     2.110 |    0.1330 |     1.620 |     4.000 |
#> |.....................|     1.257 |     1.130 |    0.6687 |...........|
#> |    U|     2627.6844 |     1.848 |    -2.067 |    0.5720 |     1.368 |
#> |.....................|     1.257 |     1.014 |    0.6687 |...........|
#> |    X|     2627.6844 |     6.350 |    0.1266 |     1.772 |     1.368 |
#> |.....................|     1.257 |     1.014 |    0.6687 |...........|
#> |    F| Forward Diff. |     6.801 |    -35.94 |    -60.59 |    -926.6 |
#> |.....................|   -0.3111 |    -4.617 |     64.73 |...........|
#> |    6|     2127.0911 |     1.168 |     1.223 |     1.809 |     4.713 |
#> |.....................|    0.6687 |    0.9069 |    0.6687 |...........|
#> |    U|     2127.0911 |    0.9065 |   -0.9769 |    0.7611 |     1.593 |
#> |.....................|    0.6687 |    0.8263 |    0.6687 |...........|
#> |    X|     2127.0911 |     2.476 |    0.3765 |     2.141 |     1.593 |
#> |.....................|    0.6687 |    0.8263 |    0.6687 |...........|
#> |    M|   Mixed Diff. |     6.036 |     11.30 |    -77.11 |    -570.6 |
#> |.....................|    -54.20 |    -25.36 |     2323. |...........|
#> |    7|     1442.8516 |    0.7978 |    0.8604 |     2.460 |     6.434 |
#> |.....................|     1.247 |     1.000 |    0.6687 |...........|
#> |    U|     1442.8516 |    0.5359 |    -1.340 |     1.413 |     2.138 |
#> |.....................|     1.247 |    0.9048 |    0.6687 |...........|
#> |    X|     1442.8516 |     1.709 |    0.2619 |     4.107 |     2.138 |
#> |.....................|     1.247 |    0.9048 |    0.6687 |...........|
#> |    F| Forward Diff. |     5.396 |    -10.67 |    -29.84 |    -218.1 |
#> |.....................|    -1.212 |    -8.047 |    -1.141 |...........|
#> |    8|     1197.8627 |     1.069 |  -0.02546 |     2.686 |     8.060 |
#> |.....................|     1.869 |     1.231 |    0.7570 |...........|
#> |    U|     1197.8627 |    0.8076 |    -2.225 |     1.638 |     2.652 |
#> |.....................|     1.869 |     1.099 |    0.7570 |...........|
#> |    X|     1197.8627 |     2.242 |    0.1080 |     5.146 |     2.652 |
#> |.....................|     1.869 |     1.099 |    0.7570 |...........|
#> |    F| Forward Diff. |     7.740 |    -1.092 |    -25.49 |    -106.0 |
#> |.....................|     4.093 |    0.9649 |     19.89 |...........|
#> |    9|     1054.5976 |    0.8501 |    0.2806 |     3.051 |     9.817 |
#> |.....................|     1.627 |     1.170 |    0.6687 |...........|
#> |    U|     1054.5976 |    0.5882 |    -1.919 |     2.003 |     3.207 |
#> |.....................|     1.627 |     1.048 |    0.6687 |...........|
#> |    X|     1054.5976 |     1.801 |    0.1467 |     7.412 |     3.207 |
#> |.....................|     1.627 |     1.048 |    0.6687 |...........|
#> |    F| Forward Diff. |     2.539 |    -3.713 |    -16.23 |    -51.93 |
#> |.....................|     1.684 |   -0.3944 |    -23.15 |...........|
#> |   10|     1019.7245 |     1.326 |    -1.280 |     3.232 |     10.27 |
#> |.....................|     2.604 |     1.430 |    0.9403 |...........|
#> |    U|     1019.7245 |     1.064 |    -3.480 |     2.185 |     3.352 |
#> |.....................|     2.604 |     1.266 |    0.9403 |...........|
#> |    X|     1019.7245 |     2.899 |   0.03081 |     8.888 |     3.352 |
#> |.....................|     2.604 |     1.266 |    0.9403 |...........|
#> |   11|     977.76295 |     1.724 |    -5.009 |     6.946 |     11.30 |
#> |.....................|     3.162 |    0.7448 |     1.163 |...........|
#> |    U|     977.76295 |     1.463 |    -7.209 |     5.898 |     3.676 |
#> |.....................|     3.162 |    0.6900 |     1.163 |...........|
#> |    X|     977.76295 |     4.317 | 0.0007397 |     364.4 |     3.676 |
#> |.....................|     3.162 |    0.6900 |     1.163 |...........|
#> |    F| Forward Diff. |    -1.923 |   -0.1870 |     21.44 |    -28.60 |
#> |.....................|   -0.2746 |   -0.6527 |     8.172 |...........|
#> |   12|     924.78456 |     6.013 |    -4.327 |     2.983 |     16.56 |
#> |.....................|     3.162 |     2.056 |     1.262 |...........|
#> |    U|     924.78456 |     5.751 |    -6.527 |     1.935 |     5.341 |
#> |.....................|     3.162 |     1.792 |     1.262 |...........|
#> |    X|     924.78456 |     314.6 |  0.001463 |     6.926 |     5.341 |
#> |.....................|     3.162 |     1.792 |     1.262 |...........|
#> |    F| Forward Diff. |    -2.417 |    -3.208 |    -21.67 |    -4.025 |
#> |.....................|    -4.072 |    -5.537 |    -6.465 |...........|
#> |   13|     904.11561 |     10.27 |    -10.18 |     5.450 |     17.70 |
#> |.....................|     3.162 |     3.087 |     1.660 |...........|
#> |    U|     904.11561 |     10.00 |    -12.38 |     4.402 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |    X|     904.11561 | 2.212e+04 | 4.199e-06 |     81.63 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |    M|   Mixed Diff. |-4.109e+04 |-4.140e+04 |     1.290 |    0.9957 |
#> |.....................|-1.112e+05 |  0.001122 |   -0.9917 |...........|
#> |   14|     933.34067 |     16.25 |    -14.48 |     8.203 |     19.09 |
#> |.....................|     3.162 |     2.857 |     2.007 |...........|
#> |    U|     933.34067 |     15.99 |    -16.68 |     7.156 |     6.138 |
#> |.....................|     3.162 |     2.466 |     2.007 |...........|
#> |    X|     933.34067 | 8.784e+06 | 5.674e-08 |     1281. |     6.138 |
#> |.....................|     3.162 |     2.466 |     2.007 |...........|
#> |   15|     912.45047 |     13.58 |    -11.84 |     6.781 |     18.37 |
#> |.....................|     3.162 |     2.976 |     1.828 |...........|
#> |    U|     912.45047 |     13.32 |    -14.04 |     5.733 |     5.912 |
#> |.....................|     3.162 |     2.566 |     1.828 |...........|
#> |    X|     912.45047 | 6.087e+05 | 8.021e-07 |     309.0 |     5.912 |
#> |.....................|     3.162 |     2.566 |     1.828 |...........|
#> |   16|     906.16107 |     12.15 |    -10.41 |     6.016 |     17.99 |
#> |.....................|     3.162 |     3.039 |     1.732 |...........|
#> |    U|     906.16107 |     11.88 |    -12.61 |     4.969 |     5.791 |
#> |.....................|     3.162 |     2.619 |     1.732 |...........|
#> |    X|     906.16107 | 1.449e+05 | 3.332e-06 |     143.8 |     5.791 |
#> |.....................|     3.162 |     2.619 |     1.732 |...........|
#> |   17|     904.05369 |     10.97 |    -9.471 |     5.450 |     17.70 |
#> |.....................|     3.162 |     3.087 |     1.660 |...........|
#> |    U|     904.05369 |     10.71 |    -11.67 |     4.402 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |    X|     904.05369 | 4.473e+04 | 8.536e-06 |     81.63 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |   18|     904.05372 |     10.62 |    -9.826 |     5.450 |     17.70 |
#> |.....................|     3.162 |     3.087 |     1.660 |...........|
#> |    U|     904.05372 |     10.36 |    -12.03 |     4.402 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |    X|     904.05372 | 3.146e+04 | 5.987e-06 |     81.63 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |   19|     904.05374 |     10.44 |    -10.00 |     5.450 |     17.70 |
#> |.....................|     3.162 |     3.087 |     1.660 |...........|
#> |    U|     904.05374 |     10.18 |    -12.20 |     4.402 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |    X|     904.05374 | 2.638e+04 | 5.014e-06 |     81.63 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |   20|     904.05375 |     10.35 |    -10.09 |     5.450 |     17.70 |
#> |.....................|     3.162 |     3.087 |     1.660 |...........|
#> |    U|     904.05375 |     10.09 |    -12.29 |     4.402 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |    X|     904.05375 | 2.416e+04 | 4.589e-06 |     81.63 |     5.701 |
#> |.....................|     3.162 |     2.659 |     1.660 |...........|
#> |    C| Central Diff. | 1.600e-08 |-1.831e-06 |     1.319 |    0.9842 |
#> |.....................| 2.797e-11 | 4.242e-06 |    -1.125 |...........|
#> |   21|     903.99230 |     10.93 |    -9.372 |     5.413 |     17.68 |
#> |.....................|     3.142 |     3.047 |     1.658 |...........|
#> |    U|      903.9923 |     10.66 |    -11.57 |     4.365 |     5.695 |
#> |.....................|     3.142 |     2.626 |     1.658 |...........|
#> |    X|      903.9923 | 4.277e+04 | 9.426e-06 |     78.66 |     5.695 |
#> |.....................|     3.142 |     2.626 |     1.658 |...........|
#> |   22|     903.90081 |     10.79 |    -9.070 |     5.316 |     17.63 |
#> |.....................|     3.080 |     2.926 |     1.639 |...........|
#> |    U|     903.90081 |     10.53 |    -11.27 |     4.268 |     5.679 |
#> |.....................|     3.080 |     2.524 |     1.639 |...........|
#> |    X|     903.90081 | 3.730e+04 | 1.275e-05 |     71.40 |     5.679 |
#> |.....................|     3.080 |     2.524 |     1.639 |...........|
#> |    M|   Mixed Diff. |-3.926e+04 |-4.596e+04 |    0.3832 |    0.9116 |
#> |.....................|-1.134e+05 |-1.179e+05 |    -1.210 |...........|
#> |   23|     903.87817 |     10.53 |    -8.715 |     5.116 |     17.53 |
#> |.....................|     3.117 |     2.972 |     1.646 |...........|
#> |    U|     903.87817 |     10.26 |    -10.91 |     4.069 |     5.646 |
#> |.....................|     3.117 |     2.563 |     1.646 |...........|
#> |    X|     903.87817 | 2.868e+04 | 1.819e-05 |     58.47 |     5.646 |
#> |.....................|     3.117 |     2.563 |     1.646 |...........|
#> |   24|     903.85190 |     10.67 |    -8.889 |     5.221 |     17.58 |
#> |.....................|     3.128 |     2.980 |     1.642 |...........|
#> |    U|      903.8519 |     10.41 |    -11.09 |     4.174 |     5.664 |
#> |.....................|     3.128 |     2.569 |     1.642 |...........|
#> |    X|      903.8519 | 3.328e+04 | 1.528e-05 |     64.94 |     5.664 |
#> |.....................|     3.128 |     2.569 |     1.642 |...........|
#> |   25|     903.87463 |     10.76 |    -8.988 |     5.281 |     17.62 |
#> |.....................|     3.135 |     2.984 |     1.640 |...........|
#> |    U|     903.87463 |     10.50 |    -11.19 |     4.233 |     5.673 |
#> |.....................|     3.135 |     2.573 |     1.640 |...........|
#> |    X|     903.87463 | 3.621e+04 | 1.384e-05 |     68.92 |     5.673 |
#> |.....................|     3.135 |     2.573 |     1.640 |...........|
#> |   26|     903.90081 |     10.80 |    -9.054 |     5.316 |     17.63 |
#> |.....................|     3.121 |     2.968 |     1.639 |...........|
#> |    U|     903.90081 |     10.54 |    -11.25 |     4.268 |     5.679 |
#> |.....................|     3.121 |     2.560 |     1.639 |...........|
#> |    X|     903.90081 | 3.783e+04 | 1.296e-05 |     71.40 |     5.679 |
#> |.....................|     3.121 |     2.560 |     1.639 |...........|
#> |   27|     903.90081 |     10.80 |    -9.062 |     5.316 |     17.63 |
#> |.....................|     3.100 |     2.947 |     1.639 |...........|
#> |    U|     903.90081 |     10.53 |    -11.26 |     4.268 |     5.679 |
#> |.....................|     3.100 |     2.542 |     1.639 |...........|
#> |    X|     903.90081 | 3.757e+04 | 1.286e-05 |     71.40 |     5.679 |
#> |.....................|     3.100 |     2.542 |     1.639 |...........|
#> |    C| Central Diff. |-9.972e-12 |-6.730e-06 |   -0.3239 |    0.8313 |
#> |.....................| 3.807e-09 | 3.034e-06 |    -1.208 |...........|
#> |   28|     903.80643 |     10.67 |    -8.889 |     5.228 |     17.57 |
#> |.....................|     3.128 |     2.980 |     1.667 |...........|
#> |    U|     903.80643 |     10.41 |    -11.09 |     4.180 |     5.658 |
#> |.....................|     3.128 |     2.569 |     1.667 |...........|
#> |    X|     903.80643 | 3.328e+04 | 1.528e-05 |     65.38 |     5.658 |
#> |.....................|     3.128 |     2.569 |     1.667 |...........|
#> |   29|     903.68580 |     10.67 |    -8.889 |     5.248 |     17.52 |
#> |.....................|     3.128 |     2.980 |     1.743 |...........|
#> |    U|      903.6858 |     10.41 |    -11.09 |     4.200 |     5.642 |
#> |.....................|     3.128 |     2.569 |     1.743 |...........|
#> |    X|      903.6858 | 3.328e+04 | 1.528e-05 |     66.72 |     5.642 |
#> |.....................|     3.128 |     2.569 |     1.743 |...........|
#> |   30|     903.44073 |     10.75 |    -9.053 |     5.181 |     17.32 |
#> |.....................|     3.162 |     2.987 |     1.962 |...........|
#> |    U|     903.44073 |     10.49 |    -11.25 |     4.133 |     5.579 |
#> |.....................|     3.162 |     2.575 |     1.962 |...........|
#> |    X|     903.44073 | 3.584e+04 | 1.296e-05 |     62.38 |     5.579 |
#> |.....................|     3.162 |     2.575 |     1.962 |...........|
#> |    M|   Mixed Diff. |-3.937e+04 |-4.601e+04 |   -0.6241 |    0.4831 |
#> |.....................|-1.111e+05 |-1.160e+05 |   -0.5000 |...........|
#> |   31|     903.48958 |     10.68 |    -8.981 |     5.010 |     16.99 |
#> |.....................|     3.162 |     2.983 |     2.286 |...........|
#> |    U|     903.48958 |     10.41 |    -11.18 |     3.962 |     5.476 |
#> |.....................|     3.162 |     2.572 |     2.286 |...........|
#> |    X|     903.48958 | 3.334e+04 | 1.393e-05 |     52.56 |     5.476 |
#> |.....................|     3.162 |     2.572 |     2.286 |...........|
#> |   32|     903.40272 |     10.71 |    -9.017 |     5.095 |     17.15 |
#> |.....................|     3.162 |     2.985 |     2.124 |...........|
#> |    U|     903.40272 |     10.45 |    -11.22 |     4.048 |     5.528 |
#> |.....................|     3.162 |     2.574 |     2.124 |...........|
#> |    X|     903.40272 | 3.457e+04 | 1.344e-05 |     57.26 |     5.528 |
#> |.....................|     3.162 |     2.574 |     2.124 |...........|
#> |    F| Forward Diff. |-0.0003006 |-0.0003585 |    -1.305 |    0.2331 |
#> |.....................|-0.0008461 |-0.0008832 |   -0.3285 |...........|
#> |   33|     903.35190 |     10.78 |    -9.084 |     5.160 |     17.20 |
#> |.....................|     3.162 |     2.989 |     2.101 |...........|
#> |    U|      903.3519 |     10.52 |    -11.28 |     4.113 |     5.541 |
#> |.....................|     3.162 |     2.577 |     2.101 |...........|
#> |    X|      903.3519 | 3.697e+04 | 1.258e-05 |     61.12 |     5.541 |
#> |.....................|     3.162 |     2.577 |     2.101 |...........|
#> |   34|     903.34487 |     10.85 |    -9.156 |     5.217 |     17.25 |
#> |.....................|     3.162 |     2.993 |     2.073 |...........|
#> |    U|     903.34487 |     10.59 |    -11.36 |     4.170 |     5.557 |
#> |.....................|     3.162 |     2.580 |     2.073 |...........|
#> |    X|     903.34487 | 3.976e+04 | 1.170e-05 |     64.70 |     5.557 |
#> |.....................|     3.162 |     2.580 |     2.073 |...........|
#> |    F| Forward Diff. |-0.0001771 |-0.0002113 |   -0.3517 |    0.3874 |
#> |.....................|-0.0005038 |-0.0005170 |   -0.3751 |...........|
#> |   35|     903.25515 |     10.97 |    -9.269 |     5.247 |     17.14 |
#> |.....................|     3.162 |     2.999 |     2.234 |...........|
#> |    U|     903.25515 |     10.71 |    -11.47 |     4.199 |     5.522 |
#> |.....................|     3.162 |     2.586 |     2.234 |...........|
#> |    X|     903.25515 | 4.458e+04 | 1.044e-05 |     66.63 |     5.522 |
#> |.....................|     3.162 |     2.586 |     2.234 |...........|
#> |   36|     903.20078 |     11.13 |    -9.427 |     5.279 |     16.99 |
#> |.....................|     3.162 |     3.008 |     2.448 |...........|
#> |    U|     903.20078 |     10.86 |    -11.63 |     4.232 |     5.476 |
#> |.....................|     3.162 |     2.593 |     2.448 |...........|
#> |    X|     903.20078 | 5.226e+04 | 8.921e-06 |     68.83 |     5.476 |
#> |.....................|     3.162 |     2.593 |     2.448 |...........|
#> |    F| Forward Diff. |-0.0003950 |-0.0004521 |    0.1253 | -0.008979 |
#> |.....................| -0.001151 | -0.001196 |   -0.1348 |...........|
#> |   37|     903.19215 |     11.20 |    -9.505 |     5.269 |     16.94 |
#> |.....................|     3.162 |     3.012 |     2.549 |...........|
#> |    U|     903.19215 |     10.94 |    -11.70 |     4.221 |     5.459 |
#> |.....................|     3.162 |     2.596 |     2.549 |...........|
#> |    X|     903.19215 | 5.652e+04 | 8.254e-06 |     68.12 |     5.459 |
#> |.....................|     3.162 |     2.596 |     2.549 |...........|
#> |    M|   Mixed Diff. |-3.789e+04 |-4.402e+04 |   0.04463 |  -0.09482 |
#> |.....................|-1.111e+05 |-1.153e+05 |  -0.09461 |...........|
#> |   38|     903.19215 |     11.20 |    -9.505 |     5.269 |     16.94 |
#> |.....................|     3.162 |     3.012 |     2.549 |...........|
#> |    U|     903.19215 |     10.94 |    -11.70 |     4.221 |     5.459 |
#> |.....................|     3.162 |     2.596 |     2.549 |...........|
#> |    X|     903.19215 | 5.652e+04 | 8.254e-06 |     68.12 |     5.459 |
#> |.....................|     3.162 |     2.596 |     2.549 |...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: gradient problems with initial estimate and covariance; see $scaleInfo
#> Warning: since sandwich matrix is corrected, you may compare to $covR or $covS if you wish
#> Warning: S matrix non-positive definite but corrected (because of cholAccept)
#> Warning: R matrix non-positive definite but corrected by R = sqrtm(R%*%R)
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))

## You can also use the standard nlmixr functions to run FOCEi

library(data.table);
datr <- Infusion_1CPT;
datr$EVID<-ifelse(datr$EVID==1,10101,datr$EVID)
datr<-data.table(datr)
datr<-datr[EVID!=2]
datro<-copy(datr)
datIV<-datr[AMT>0][,TIME:=TIME+AMT/RATE][,AMT:=-1*AMT]
datr<-rbind(datr,datIV)

one.compartment.IV.model <- function(){
  ini({ # Where initial conditions/variables are specified
    # '<-' or '=' defines population parameters
    # Simple numeric expressions are supported
    lCl <- 1.6      #log Cl (L/hr)
    lVc <- 4.5  #log V (L)
    # Bounds may be specified by c(lower, est, upper), like NONMEM:
    # Residuals errors are assumed to be population parameters
    prop.sd <- 0.3
    # Between subject variability estimates are specified by '~'
    # Semicolons are optional
    eta.Vc ~ 0.1   #IIV V
    eta.Cl ~ 0.1; #IIV Cl
  })
  model({ # Where the model is specified
    # The model uses the ini-defined variable names
    Vc <- exp(lVc + eta.Vc)
    Cl <- exp(lCl + eta.Cl)
    # RxODE-style differential equations are supported
    d / dt(centr) = -(Cl / Vc) * centr;
    ## Concentration is calculated
    cp = centr / Vc;
    # And is assumed to follow proportional error estimated by prop.err
    cp ~ prop(prop.sd)
   })}

fitIVp <- nlmixr(one.compartment.IV.model, datr, "focei");
#>  parameter labels from comments will be replaced by 'label()'
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate sensitivities
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → optimizing duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       lCl |       lVc |   prop.sd |        o1 |
#> |.....................|        o2 |...........|...........|...........|
#> |    1|     64568.752 |   -0.3810 |     1.000 |    -1.000 |   -0.2961 |
#> |.....................|   -0.2961 |...........|...........|...........|
#> |    U|     64568.752 |     1.600 |     4.500 |    0.3000 |     1.778 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    X|     64568.752 |     4.953 |     90.02 |    0.3000 |     1.778 |
#> |.....................|     1.778 |...........|...........|...........|
#> |    G|    Gill Diff. |     393.9 |     429.3 |     3259. |     120.0 |
#> |.....................|     29.09 |...........|...........|...........|
#> |    2|     64109.890 |   -0.4998 |    0.8704 |    -1.984 |   -0.3323 |
#> |.....................|   -0.3048 |...........|...........|...........|
#> |    U|      64109.89 |     1.481 |     4.370 |    0.1524 |     1.714 |
#> |.....................|     1.763 |...........|...........|...........|
#> |    X|      64109.89 |     4.398 |     79.08 |    0.1524 |     1.714 |
#> |.....................|     1.763 |...........|...........|...........|
#> |    F| Forward Diff. |     251.9 |     236.8 |    -8957. |    -33.18 |
#> |.....................|    -56.46 |...........|...........|...........|
#> |    3|     64024.112 |   -0.9601 |    0.3843 |    -1.247 |   -0.4272 |
#> |.....................|   -0.3079 |...........|...........|...........|
#> |    U|     64024.112 |     1.021 |     3.884 |    0.2630 |     1.545 |
#> |.....................|     1.757 |...........|...........|...........|
#> |    X|     64024.112 |     2.776 |     48.63 |    0.2630 |     1.545 |
#> |.....................|     1.757 |...........|...........|...........|
#> |    F| Forward Diff. |    -882.9 |    -551.1 |     3015. |     261.8 |
#> |.....................|     575.0 |...........|...........|...........|
#> |    4|     63443.876 |   -0.6286 |    0.5642 |    -1.412 |   -0.5505 |
#> |.....................|   -0.5634 |...........|...........|...........|
#> |    U|     63443.876 |     1.352 |     4.064 |    0.2382 |     1.326 |
#> |.....................|     1.303 |...........|...........|...........|
#> |    X|     63443.876 |     3.867 |     58.22 |    0.2382 |     1.326 |
#> |.....................|     1.303 |...........|...........|...........|
#> |    F| Forward Diff. |    -34.16 |    -163.7 |     2292. |    -353.2 |
#> |.....................|    -497.6 |...........|...........|...........|
#> |    5|     63537.126 |   -0.6214 |    0.5986 |    -1.894 |   -0.4762 |
#> |.....................|   -0.4587 |...........|...........|...........|
#> |    U|     63537.126 |     1.360 |     4.099 |    0.1659 |     1.458 |
#> |.....................|     1.489 |...........|...........|...........|
#> |    X|     63537.126 |     3.895 |     60.26 |    0.1659 |     1.458 |
#> |.....................|     1.489 |...........|...........|...........|
#> |    6|     63077.085 |   -0.6252 |    0.5802 |    -1.636 |   -0.5160 |
#> |.....................|   -0.5148 |...........|...........|...........|
#> |    U|     63077.085 |     1.356 |     4.080 |    0.2047 |     1.387 |
#> |.....................|     1.389 |...........|...........|...........|
#> |    X|     63077.085 |     3.880 |     59.16 |    0.2047 |     1.387 |
#> |.....................|     1.389 |...........|...........|...........|
#> |    F| Forward Diff. |    -29.34 |    -170.2 |     423.6 |    -311.4 |
#> |.....................|    -427.5 |...........|...........|...........|
#> |    7|     63054.793 |   -0.5967 |    0.6538 |    -1.760 |   -0.4083 |
#> |.....................|   -0.3719 |...........|...........|...........|
#> |    U|     63054.793 |     1.384 |     4.154 |    0.1860 |     1.579 |
#> |.....................|     1.643 |...........|...........|...........|
#> |    X|     63054.793 |     3.992 |     63.68 |    0.1860 |     1.579 |
#> |.....................|     1.643 |...........|...........|...........|
#> |    F| Forward Diff. |     4.051 |    -165.6 |    -1561. |    -178.1 |
#> |.....................|    -216.7 |...........|...........|...........|
#> |    8|     62969.105 |   -0.5155 |    0.7783 |    -1.622 |   -0.3297 |
#> |.....................|   -0.2922 |...........|...........|...........|
#> |    U|     62969.105 |     1.465 |     4.278 |    0.2067 |     1.718 |
#> |.....................|     1.785 |...........|...........|...........|
#> |    X|     62969.105 |     4.330 |     72.11 |    0.2067 |     1.718 |
#> |.....................|     1.785 |...........|...........|...........|
#> |    F| Forward Diff. |     182.4 |     9.468 |     568.8 |    -86.96 |
#> |.....................|    -65.45 |...........|...........|...........|
#> |    9|     62998.045 |   -0.6441 |    0.9364 |    -1.672 |   -0.2506 |
#> |.....................|   -0.3504 |...........|...........|...........|
#> |    U|     62998.045 |     1.337 |     4.436 |    0.1992 |     1.859 |
#> |.....................|     1.682 |...........|...........|...........|
#> |    X|     62998.045 |     3.807 |     84.47 |    0.1992 |     1.859 |
#> |.....................|     1.682 |...........|...........|...........|
#> |   10|     62952.678 |   -0.5553 |    0.8115 |    -1.671 |   -0.3069 |
#> |.....................|   -0.3003 |...........|...........|...........|
#> |    U|     62952.678 |     1.426 |     4.311 |    0.1994 |     1.759 |
#> |.....................|     1.771 |...........|...........|...........|
#> |    X|     62952.678 |     4.161 |     74.55 |    0.1994 |     1.759 |
#> |.....................|     1.771 |...........|...........|...........|
#> |    F| Forward Diff. |     89.32 |     92.67 |    -64.45 |    -39.20 |
#> |.....................|    -98.37 |...........|...........|...........|
#> |   11|     62948.642 |   -0.5929 |    0.7724 |    -1.644 |   -0.2904 |
#> |.....................|   -0.2588 |...........|...........|...........|
#> |    U|     62948.642 |     1.388 |     4.272 |    0.2035 |     1.788 |
#> |.....................|     1.845 |...........|...........|...........|
#> |    X|     62948.642 |     4.007 |     71.70 |    0.2035 |     1.788 |
#> |.....................|     1.845 |...........|...........|...........|
#> |    F| Forward Diff. |    -2.678 |     1.108 |     311.4 |    -18.24 |
#> |.....................|    -38.54 |...........|...........|...........|
#> |   12|     62953.840 |   -0.5695 |    0.7334 |    -1.694 |   -0.2978 |
#> |.....................|   -0.2280 |...........|...........|...........|
#> |    U|      62953.84 |     1.411 |     4.233 |    0.1958 |     1.775 |
#> |.....................|     1.899 |...........|...........|...........|
#> |    X|      62953.84 |     4.102 |     68.95 |    0.1958 |     1.775 |
#> |.....................|     1.899 |...........|...........|...........|
#> |   13|     62945.577 |   -0.5927 |    0.7723 |    -1.672 |   -0.2887 |
#> |.....................|   -0.2553 |...........|...........|...........|
#> |    U|     62945.577 |     1.388 |     4.272 |    0.1992 |     1.791 |
#> |.....................|     1.851 |...........|...........|...........|
#> |    X|     62945.577 |     4.008 |     71.69 |    0.1992 |     1.791 |
#> |.....................|     1.851 |...........|...........|...........|
#> |    F| Forward Diff. |     2.889 |     5.280 |    -75.10 |    -14.44 |
#> |.....................|    -32.13 |...........|...........|...........|
#> |   14|     62945.270 |   -0.5774 |    0.7667 |    -1.665 |   -0.2865 |
#> |.....................|   -0.2327 |...........|...........|...........|
#> |    U|      62945.27 |     1.404 |     4.267 |    0.2003 |     1.795 |
#> |.....................|     1.891 |...........|...........|...........|
#> |    X|      62945.27 |     4.070 |     71.29 |    0.2003 |     1.795 |
#> |.....................|     1.891 |...........|...........|...........|
#> |    F| Forward Diff. |     47.88 |    -10.30 |     26.42 |    -11.07 |
#> |.....................|     6.169 |...........|...........|...........|
#> |   15|     62945.307 |   -0.5956 |    0.7884 |    -1.668 |   -0.2822 |
#> |.....................|   -0.2313 |...........|...........|...........|
#> |    U|     62945.307 |     1.385 |     4.288 |    0.1998 |     1.803 |
#> |.....................|     1.893 |...........|...........|...........|
#> |    X|     62945.307 |     3.996 |     72.85 |    0.1998 |     1.803 |
#> |.....................|     1.893 |...........|...........|...........|
#> |   16|     62945.133 |   -0.5892 |    0.7692 |    -1.671 |   -0.2837 |
#> |.....................|   -0.2342 |...........|...........|...........|
#> |    U|     62945.133 |     1.392 |     4.269 |    0.1993 |     1.800 |
#> |.....................|     1.888 |...........|...........|...........|
#> |    X|     62945.133 |     4.022 |     71.47 |    0.1993 |     1.800 |
#> |.....................|     1.888 |...........|...........|...........|
#> |    F| Forward Diff. |     13.61 |    -2.369 |    -62.81 |    -5.630 |
#> |.....................|     2.948 |...........|...........|...........|
#> |   17|     62945.091 |   -0.5937 |    0.7743 |    -1.660 |   -0.2803 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62945.091 |     1.387 |     4.274 |    0.2011 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62945.091 |     4.004 |     71.83 |    0.2011 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    F| Forward Diff. |    -2.136 |     8.827 |     99.45 |    0.4581 |
#> |.....................|    0.2011 |...........|...........|...........|
#> |   18|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.5030 |     8.237 |     3.382 |    0.5455 |
#> |.....................|    0.2358 |...........|...........|...........|
#> |   19|     62944.928 |   -0.5932 |    0.7670 |    -1.668 |   -0.2802 |
#> |.....................|   -0.2371 |...........|...........|...........|
#> |    U|     62944.928 |     1.388 |     4.267 |    0.1998 |     1.806 |
#> |.....................|     1.883 |...........|...........|...........|
#> |    X|     62944.928 |     4.006 |     71.31 |    0.1998 |     1.806 |
#> |.....................|     1.883 |...........|...........|...........|
#> |   20|     62944.877 |   -0.5934 |    0.7720 |    -1.667 |   -0.2805 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.877 |     1.388 |     4.272 |    0.1999 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.877 |     4.005 |     71.67 |    0.1999 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   21|     62944.870 |   -0.5935 |    0.7731 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|      62944.87 |     1.387 |     4.273 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|      62944.87 |     4.005 |     71.75 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   22|     62944.870 |   -0.5935 |    0.7735 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|      62944.87 |     1.387 |     4.273 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|      62944.87 |     4.005 |     71.77 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   23|     62944.869 |   -0.5935 |    0.7736 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.005 |     71.78 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   24|     62944.869 |   -0.5935 |    0.7736 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.78 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   25|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.78 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   26|     62944.870 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|      62944.87 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|      62944.87 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   27|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    F| Forward Diff. |   -0.1590 |     8.680 |     3.548 |    0.8480 |
#> |.....................|    0.4891 |...........|...........|...........|
#> |   28|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   29|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   30|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   31|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   32|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   33|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   34|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   35|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   36|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |   37|     62944.869 |   -0.5935 |    0.7737 |    -1.667 |   -0.2804 |
#> |.....................|   -0.2358 |...........|...........|...........|
#> |    U|     62944.869 |     1.387 |     4.274 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> |    X|     62944.869 |     4.004 |     71.79 |    0.2000 |     1.806 |
#> |.....................|     1.885 |...........|...........|...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: last objective function was not at minimum, possible problems in optimization
#> Warning: gradient problems with covariance; see $scaleInfo
#> Warning: 'ss' is ignored with classic RxODE 'EVID's

## You can also use the Box-Cox Transform of both sides with
## proportional error (Donse 2016)

one.compartment.IV.model <- function(){
ini({ # Where initial conditions/variables are specified
    ## '<-' or '=' defines population parameters
    ## Simple numeric expressions are supported
    lCl <- 1.6      #log Cl (L/hr)
    lVc <- 4.5  #log V (L)
    ## Bounds may be specified by c(lower, est, upper), like NONMEM:
    ## Residuals errors are assumed to be population parameters
    prop.err <- 0.3
    add.err <- 0.01
    lambda <- c(-2, 1, 2)
    zeta <- c(0.1, 1, 10)
    ## Between subject variability estimates are specified by '~'
    ## Semicolons are optional
    eta.Vc ~ 0.1   #IIV V
    eta.Cl ~ 0.1; #IIV Cl
})
model({ ## Where the model is specified
    ## The model uses the ini-defined variable names
    Vc <- exp(lVc + eta.Vc)
    Cl <- exp(lCl + eta.Cl)
    ## RxODE-style differential equations are supported
    d / dt(centr) = -(Cl / Vc) * centr;
    ## Concentration is calculated
    cp = centr / Vc;
    ## And is assumed to follow proportional error estimated by prop.err
    cp ~ pow(prop.err, zeta) + add(add.err) + boxCox(lambda)
    ## This is proportional to the untransformed f; You can use the transformed f by using powT()
})}

fitIVtbs <- nlmixr(one.compartment.IV.model, datr, "focei")
#>  parameter labels from comments will be replaced by 'label()'
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate sensitivities
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → optimizing duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       lCl |       lVc |  prop.err |   add.err |
#> |.....................|    lambda |      zeta |        o1 |        o2 |
#> |    1|     64568.832 |   -0.2918 |     1.000 |   -0.8708 |    -1.000 |
#> |.....................|   -0.5590 |   -0.5590 |   -0.2123 |   -0.2123 |
#> |    U|     64568.832 |     1.600 |     4.500 |    0.3000 |   0.01000 |
#> |.....................|     1.000 |     1.000 |     1.778 |     1.778 |
#> |    X|     64568.832 |     4.953 |     90.02 |    0.3000 |   0.01000 |
#> |.....................|     1.000 |     1.000 |     1.778 |     1.778 |
#> |    G|    Gill Diff. |     393.9 |     429.4 |     6520. |   0.09474 |
#> |.....................|-3.575e+04 | 3.615e+04 |     120.1 |     29.10 |
#> |    2| 1.0276305e+12 |   -0.2994 |    0.9916 |   -0.9980 |    -1.000 |
#> |.....................|    0.1384 |    -1.264 |   -0.2147 |   -0.2129 |
#> |    U| 1.0276305e+12 |     1.592 |     4.492 |    0.2618 |   0.01000 |
#> |.....................|     1.697 |    0.2948 |     1.774 |     1.777 |
#> |    X| 1.0276305e+12 |     4.915 |     89.27 |    0.2618 |   0.01000 |
#> |.....................|     1.697 |    0.2948 |     1.774 |     1.777 |
#> |    3|     66771.949 |   -0.2925 |    0.9992 |   -0.8835 |    -1.000 |
#> |.....................|   -0.4893 |   -0.6295 |   -0.2126 |   -0.2124 |
#> |    U|     66771.949 |     1.599 |     4.499 |    0.2962 |   0.01000 |
#> |.....................|     1.070 |    0.9295 |     1.778 |     1.778 |
#> |    X|     66771.949 |     4.949 |     89.94 |    0.2962 |   0.01000 |
#> |.....................|     1.070 |    0.9295 |     1.778 |     1.778 |
#> |    4|     63293.426 |   -0.2920 |    0.9997 |   -0.8753 |    -1.000 |
#> |.....................|   -0.5346 |   -0.5837 |   -0.2124 |   -0.2124 |
#> |    U|     63293.426 |     1.600 |     4.500 |    0.2987 |   0.01000 |
#> |.....................|     1.024 |    0.9753 |     1.778 |     1.778 |
#> |    X|     63293.426 |     4.952 |     89.99 |    0.2987 |   0.01000 |
#> |.....................|     1.024 |    0.9753 |     1.778 |     1.778 |
#> |    M|   Mixed Diff. |     443.6 |     414.3 |     2430. |   0.06258 |
#> |.....................|-1.123e+04 | 1.191e+04 |     62.48 |     97.60 |
#> |    5|     61099.314 |   -0.3066 |    0.9870 |   -0.8923 |    -1.000 |
#> |.....................|   -0.5367 |   -0.6069 |   -0.2136 |   -0.2164 |
#> |    U|     61099.314 |     1.585 |     4.487 |    0.2935 |   0.01000 |
#> |.....................|     1.022 |    0.9522 |     1.776 |     1.771 |
#> |    X|     61099.314 |     4.880 |     88.86 |    0.2935 |   0.01000 |
#> |.....................|     1.022 |    0.9522 |     1.776 |     1.771 |
#> |    F| Forward Diff. |     434.0 |     397.2 |    -532.4 |   0.08710 |
#> |.....................|     6961. |    -6109. |     40.57 |     87.89 |
#> |    6|     61721.526 |   -0.3684 |    0.9296 |   -0.9679 |    -1.000 |
#> |.....................|   -0.6032 |   -0.6527 |   -0.2207 |   -0.2288 |
#> |    U|     61721.526 |     1.523 |     4.430 |    0.2709 |   0.01000 |
#> |.....................|    0.9559 |    0.9063 |     1.764 |     1.749 |
#> |    X|     61721.526 |     4.587 |     83.90 |    0.2709 |   0.01000 |
#> |.....................|    0.9559 |    0.9063 |     1.764 |     1.749 |
#> |    7|     61169.389 |   -0.3134 |    0.9807 |   -0.9000 |    -1.000 |
#> |.....................|   -0.5479 |   -0.6082 |   -0.2143 |   -0.2178 |
#> |    U|     61169.389 |     1.578 |     4.481 |    0.2912 |   0.01000 |
#> |.....................|     1.011 |    0.9509 |     1.775 |     1.769 |
#> |    X|     61169.389 |     4.847 |     88.29 |    0.2912 |   0.01000 |
#> |.....................|     1.011 |    0.9509 |     1.775 |     1.769 |
#> |    8|     61313.399 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5398 |   -0.6041 |   -0.2136 |   -0.2164 |
#> |    U|     61313.399 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9549 |     1.776 |     1.771 |
#> |    X|     61313.399 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9549 |     1.776 |     1.771 |
#> |    9|     61095.590 |   -0.3066 |    0.9870 |   -0.8923 |    -1.000 |
#> |.....................|   -0.5370 |   -0.6066 |   -0.2136 |   -0.2164 |
#> |    U|      61095.59 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.022 |    0.9524 |     1.776 |     1.771 |
#> |    X|      61095.59 |     4.880 |     88.85 |    0.2936 |   0.01000 |
#> |.....................|     1.022 |    0.9524 |     1.776 |     1.771 |
#> |    F| Forward Diff. |     433.4 |     396.6 |    -446.2 |   0.08694 |
#> |.....................|     6437. |    -5587. |     40.02 |     87.40 |
#> |   10|     61089.063 |   -0.3066 |    0.9870 |   -0.8923 |    -1.000 |
#> |.....................|   -0.5377 |   -0.6060 |   -0.2136 |   -0.2164 |
#> |    U|     61089.063 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.021 |    0.9530 |     1.776 |     1.771 |
#> |    X|     61089.063 |     4.880 |     88.85 |    0.2936 |   0.01000 |
#> |.....................|     1.021 |    0.9530 |     1.776 |     1.771 |
#> |   11|     61076.651 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5395 |   -0.6044 |   -0.2136 |   -0.2164 |
#> |    U|     61076.651 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9546 |     1.776 |     1.771 |
#> |    X|     61076.651 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9546 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.3 |     405.5 |     218.2 |   0.08531 |
#> |.....................|     2398. |    -1568. |     36.13 |     83.42 |
#> |   12|     61414.746 |   -0.3095 |    0.9842 |   -0.8954 |    -1.000 |
#> |.....................|   -0.5437 |   -0.6055 |   -0.2138 |   -0.2169 |
#> |    U|     61414.746 |     1.582 |     4.484 |    0.2926 |   0.01000 |
#> |.....................|     1.015 |    0.9535 |     1.776 |     1.770 |
#> |    X|     61414.746 |     4.866 |     88.60 |    0.2926 |   0.01000 |
#> |.....................|     1.015 |    0.9535 |     1.776 |     1.770 |
#> |   13|     61421.210 |   -0.3069 |    0.9867 |   -0.8922 |    -1.000 |
#> |.....................|   -0.5401 |   -0.6041 |   -0.2136 |   -0.2165 |
#> |    U|      61421.21 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9550 |     1.776 |     1.771 |
#> |    X|      61421.21 |     4.879 |     88.83 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9550 |     1.776 |     1.771 |
#> |   14|     61076.459 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5396 |   -0.6044 |   -0.2136 |   -0.2164 |
#> |    U|     61076.459 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9546 |     1.776 |     1.771 |
#> |    X|     61076.459 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9546 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.2 |     405.4 |     230.4 |   0.08531 |
#> |.....................|     2324. |    -1494. |     36.04 |     83.32 |
#> |   15|     61313.865 |   -0.3068 |    0.9868 |   -0.8922 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.865 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.865 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   16|     61076.422 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5396 |   -0.6044 |   -0.2136 |   -0.2164 |
#> |    U|     61076.422 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.422 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.2 |     405.3 |     232.8 |   0.08526 |
#> |.....................|     2309. |    -1480. |     36.04 |     83.30 |
#> |   17|     61076.348 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5396 |   -0.6044 |   -0.2136 |   -0.2164 |
#> |    U|     61076.348 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.348 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   18|     61313.900 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|       61313.9 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|       61313.9 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.1 |     405.3 |     237.6 |   0.08523 |
#> |.....................|     2280. |    -1451. |     35.97 |     83.24 |
#> |   19|     61313.830 |   -0.3068 |    0.9868 |   -0.8922 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|      61313.83 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|      61313.83 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   20|     61076.318 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5396 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.318 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.318 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.1 |     405.3 |     239.6 |   0.08521 |
#> |.....................|     2268. |    -1439. |     35.94 |     83.23 |
#> |   21|     61076.260 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|      61076.26 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|      61076.26 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   22|     61313.858 |   -0.3068 |    0.9868 |   -0.8922 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.858 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.858 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.1 |     405.2 |     243.4 |   0.08522 |
#> |.....................|     2245. |    -1415. |     35.99 |     83.18 |
#> |   23|     61313.802 |   -0.3068 |    0.9868 |   -0.8922 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.802 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.802 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   24|     61076.237 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.237 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.237 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     245.0 |   0.08523 |
#> |.....................|     2235. |    -1406. |     35.93 |     83.18 |
#> |   25|     61313.959 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.959 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.959 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   26|     61076.232 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.232 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.232 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     245.5 |   0.08628 |
#> |.....................|     2236. |    -1402. |     36.17 |     83.30 |
#> |   27|     61076.223 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.223 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.223 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   28|     61313.964 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.964 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.964 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     245.9 |   0.08517 |
#> |.....................|     2230. |    -1401. |     35.93 |     83.16 |
#> |   29|     61313.955 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.955 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.955 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   30|     61076.219 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.219 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.219 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.4 |   0.08631 |
#> |.....................|     2231. |    -1397. |     36.16 |     83.27 |
#> |   31|     61076.212 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.212 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.212 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   32|     61313.959 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.959 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.959 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.6 |   0.08507 |
#> |.....................|     2225. |    -1396. |     35.89 |     83.16 |
#> |   33|     61313.951 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.951 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.951 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   34|     61313.977 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.977 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.977 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   35|     61076.211 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.211 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.211 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.9 |   0.08606 |
#> |.....................|     2227. |    -1394. |     36.09 |     83.23 |
#> |   36|     61076.211 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.211 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.211 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.7 |   0.08534 |
#> |.....................|     2225. |    -1396. |     35.96 |     83.20 |
#> |   37|     61076.210 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|      61076.21 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|      61076.21 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   38|     61313.975 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.975 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.975 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.8 |   0.08526 |
#> |.....................|     2224. |    -1395. |     35.95 |     83.19 |
#> |   39|     61313.974 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.974 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.974 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   40|     61313.978 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.978 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.978 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   41|     61076.210 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|      61076.21 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|      61076.21 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.8 |   0.08548 |
#> |.....................|     2225. |    -1395. |     35.97 |     83.18 |
#> |   42|     61076.210 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|      61076.21 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|      61076.21 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    C| Central Diff. |     424.0 |     405.2 |     233.7 |   0.07980 |
#> |.....................|     2180. |    -1443. |     34.73 |     81.75 |
#> |   43|     61313.978 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.978 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.978 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   44|     61076.210 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|      61076.21 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|      61076.21 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.8 |   0.08531 |
#> |.....................|     2225. |    -1395. |     35.96 |     83.20 |
#> |   45|     61076.210 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|      61076.21 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|      61076.21 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   46|     61076.209 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.209 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.209 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   47|     61313.978 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.978 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.978 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.8 |   0.08530 |
#> |.....................|     2224. |    -1395. |     35.94 |     83.20 |
#> |   48|     61313.977 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.977 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.977 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   49|     61313.978 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.978 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.978 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   50|     61076.209 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.209 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.209 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     424.0 |     405.2 |     246.8 |   0.08532 |
#> |.....................|     2225. |    -1395. |     35.96 |     83.18 |
#> |   51|     61313.978 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.978 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.978 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   52|     61313.978 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61313.978 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61313.978 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   53|     61076.209 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.209 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.209 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   54|     61076.209 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.209 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.209 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   55|     61076.209 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.209 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.209 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   56|     61076.209 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.209 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.209 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |   57|     61076.209 |   -0.3068 |    0.9868 |   -0.8921 |    -1.000 |
#> |.....................|   -0.5397 |   -0.6043 |   -0.2136 |   -0.2164 |
#> |    U|     61076.209 |     1.585 |     4.487 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> |    X|     61076.209 |     4.879 |     88.84 |    0.2936 |   0.01000 |
#> |.....................|     1.019 |    0.9547 |     1.776 |     1.771 |
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: last objective function was not at minimum, possible problems in optimization
#> Warning: The variance of all elements are unreasonably small, <1e-7
#> Warning: covariance step failed
#> Warning: gradient problems with initial estimate and covariance; see $scaleInfo
#> Warning: 'ss' is ignored with classic RxODE 'EVID's

## If you want to use a variance normalizing distribution with
## negative/positive data you can use the Yeo-Johnson transformation
## as well.  This is implemented by the yeoJohnson(lambda) function.
one.compartment.IV.model <- function(){
ini({ # Where initial conditions/variables are specified
    ## '<-' or '=' defines population parameters
    ## Simple numeric expressions are supported
    lCl <- 1.6      #log Cl (L/hr)
    lVc <- 4.5  #log V (L)
    ## Bounds may be specified by c(lower, est, upper), like NONMEM:
    ## Residuals errors are assumed to be population parameters
    prop.err <- 0.3
    delta <- c(0.1, 1, 10)
    add.err <- 0.01
    lambda <- c(-2, 1, 2)
    ## Between subject variability estimates are specified by '~'
    ## Semicolons are optional
    eta.Vc ~ 0.1   #IIV V
    eta.Cl ~ 0.1; #IIV Cl
})
model({ ## Where the model is specified
    ## The model uses the ini-defined variable names
    Vc <- exp(lVc + eta.Vc)
    Cl <- exp(lCl + eta.Cl)
    ## RxODE-style differential equations are supported
    d / dt(centr) = -(Cl / Vc) * centr;
    ## Concentration is calculated
    cp = centr / Vc;
    ## And is assumed to follow proportional error estimated by prop.err
    cp ~ pow(prop.err, delta) + add(add.err) + yeoJohnson(lambda)
})}

fitIVyj <- nlmixr(one.compartment.IV.model, datr, "focei")
#>  parameter labels from comments will be replaced by 'label()'
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate sensitivities
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → optimizing duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       lCl |       lVc |  prop.err |     delta |
#> |.....................|   add.err |    lambda |        o1 |        o2 |
#> |    1|     64568.832 |   -0.2918 |     1.000 |   -0.8708 |   -0.5590 |
#> |.....................|    -1.000 |   -0.5590 |   -0.2123 |   -0.2123 |
#> |    U|     64568.832 |     1.600 |     4.500 |    0.3000 |     1.000 |
#> |.....................|   0.01000 |     1.000 |     1.778 |     1.778 |
#> |    X|     64568.832 |     4.953 |     90.02 |    0.3000 |     1.000 |
#> |.....................|   0.01000 |     1.000 |     1.778 |     1.778 |
#> |    G|    Gill Diff. |     393.9 |     429.4 |     6520. | 3.615e+04 |
#> |.....................|   0.09487 |-3.587e+04 |     120.1 |     29.10 |
#> |    2| 1.0288594e+12 |   -0.2994 |    0.9916 |   -0.9978 |    -1.263 |
#> |.....................|    -1.000 |    0.1396 |   -0.2147 |   -0.2129 |
#> |    U| 1.0288594e+12 |     1.592 |     4.492 |    0.2619 |    0.2960 |
#> |.....................|   0.01000 |     1.699 |     1.774 |     1.777 |
#> |    X| 1.0288594e+12 |     4.915 |     89.27 |    0.2619 |    0.2960 |
#> |.....................|   0.01000 |     1.699 |     1.774 |     1.777 |
#> |    3|     66770.764 |   -0.2925 |    0.9992 |   -0.8835 |   -0.6294 |
#> |.....................|    -1.000 |   -0.4892 |   -0.2126 |   -0.2124 |
#> |    U|     66770.764 |     1.599 |     4.499 |    0.2962 |    0.9296 |
#> |.....................|   0.01000 |     1.070 |     1.778 |     1.778 |
#> |    X|     66770.764 |     4.949 |     89.94 |    0.2962 |    0.9296 |
#> |.....................|   0.01000 |     1.070 |     1.778 |     1.778 |
#> |    4|     63290.492 |   -0.2920 |    0.9997 |   -0.8753 |   -0.5837 |
#> |.....................|    -1.000 |   -0.5346 |   -0.2124 |   -0.2124 |
#> |    U|     63290.492 |     1.600 |     4.500 |    0.2987 |    0.9754 |
#> |.....................|   0.01000 |     1.024 |     1.778 |     1.778 |
#> |    X|     63290.492 |     4.952 |     89.99 |    0.2987 |    0.9754 |
#> |.....................|   0.01000 |     1.024 |     1.778 |     1.778 |
#> |    M|   Mixed Diff. |     443.7 |     414.2 |     2421. | 1.187e+04 |
#> |.....................|   0.04673 |-1.128e+04 |     62.32 |     97.66 |
#> |    5|     61097.784 |   -0.3071 |    0.9865 |   -0.8925 |   -0.6062 |
#> |.....................|    -1.000 |   -0.5360 |   -0.2136 |   -0.2165 |
#> |    U|     61097.784 |     1.585 |     4.487 |    0.2935 |    0.9529 |
#> |.....................|   0.01000 |     1.023 |     1.776 |     1.771 |
#> |    X|     61097.784 |     4.878 |     88.81 |    0.2935 |    0.9529 |
#> |.....................|   0.01000 |     1.023 |     1.776 |     1.771 |
#> |    F| Forward Diff. |     432.7 |     396.1 |    -542.4 |    -6144. |
#> |.....................|   0.07468 |     6924. |     39.70 |     86.74 |
#> |    6|     61724.851 |   -0.3713 |    0.9270 |   -0.9696 |   -0.6484 |
#> |.....................|    -1.000 |   -0.5991 |   -0.2209 |   -0.2294 |
#> |    U|     61724.851 |     1.520 |     4.427 |    0.2704 |    0.9106 |
#> |.....................|   0.01000 |    0.9600 |     1.763 |     1.748 |
#> |    X|     61724.851 |     4.574 |     83.68 |    0.2704 |    0.9106 |
#> |.....................|   0.01000 |    0.9600 |     1.763 |     1.748 |
#> |    7|     61406.557 |   -0.3140 |    0.9802 |   -0.9001 |   -0.6069 |
#> |.....................|    -1.000 |   -0.5466 |   -0.2144 |   -0.2179 |
#> |    U|     61406.557 |     1.578 |     4.480 |    0.2912 |    0.9521 |
#> |.....................|   0.01000 |     1.012 |     1.775 |     1.768 |
#> |    X|     61406.557 |     4.844 |     88.25 |    0.2912 |    0.9521 |
#> |.....................|   0.01000 |     1.012 |     1.775 |     1.768 |
#> |    8|     61085.090 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6051 |
#> |.....................|    -1.000 |   -0.5372 |   -0.2136 |   -0.2166 |
#> |    U|      61085.09 |     1.585 |     4.486 |    0.2935 |    0.9539 |
#> |.....................|   0.01000 |     1.022 |     1.776 |     1.771 |
#> |    X|      61085.09 |     4.877 |     88.81 |    0.2935 |    0.9539 |
#> |.....................|   0.01000 |     1.022 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     426.2 |     407.8 |    -212.3 |    -4147. |
#> |.....................|   0.07463 |     4917. |     37.85 |     84.83 |
#> |    9|     61310.772 |   -0.3074 |    0.9863 |   -0.8923 |   -0.6030 |
#> |.....................|    -1.000 |   -0.5397 |   -0.2136 |   -0.2166 |
#> |    U|     61310.772 |     1.584 |     4.486 |    0.2936 |    0.9560 |
#> |.....................|   0.01000 |     1.019 |     1.776 |     1.771 |
#> |    X|     61310.772 |     4.876 |     88.79 |    0.2936 |    0.9560 |
#> |.....................|   0.01000 |     1.019 |     1.776 |     1.771 |
#> |   10|     61083.094 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6049 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61083.094 |     1.585 |     4.486 |    0.2935 |    0.9541 |
#> |.....................|   0.01000 |     1.022 |     1.776 |     1.771 |
#> |    X|     61083.094 |     4.877 |     88.81 |    0.2935 |    0.9541 |
#> |.....................|   0.01000 |     1.022 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     425.7 |     407.2 |    -147.9 |    -3758. |
#> |.....................|   0.07449 |     4525. |     37.48 |     84.42 |
#> |   11|     61317.424 |   -0.3072 |    0.9864 |   -0.8924 |   -0.6045 |
#> |.....................|    -1.000 |   -0.5380 |   -0.2136 |   -0.2166 |
#> |    U|     61317.424 |     1.585 |     4.486 |    0.2935 |    0.9545 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61317.424 |     4.877 |     88.80 |    0.2935 |    0.9545 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   12|     61082.716 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.716 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.022 |     1.776 |     1.771 |
#> |    X|     61082.716 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.022 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     425.6 |     407.2 |    -135.1 |    -3680. |
#> |.....................|   0.07453 |     4447. |     37.36 |     84.35 |
#> |   13|     61319.779 |   -0.3072 |    0.9864 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5376 |   -0.2136 |   -0.2166 |
#> |    U|     61319.779 |     1.585 |     4.486 |    0.2935 |    0.9543 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61319.779 |     4.877 |     88.81 |    0.2935 |    0.9543 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   14|     61082.642 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.642 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.642 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     425.6 |     407.1 |    -132.5 |    -3665. |
#> |.....................|   0.07452 |     4432. |     37.37 |     84.35 |
#> |   15|     61320.291 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61320.291 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61320.291 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   16|     61082.627 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.627 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.627 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     425.6 |     407.1 |    -131.9 |    -3661. |
#> |.....................|   0.07502 |     4430. |     37.48 |     84.46 |
#> |   17|     61320.396 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61320.396 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61320.396 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   18|     61082.624 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.624 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.624 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     425.6 |     407.1 |    -131.8 |    -3660. |
#> |.....................|   0.07503 |     4429. |     37.51 |     84.36 |
#> |   19|     61082.618 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.618 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.618 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   20|     61320.399 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61320.399 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61320.399 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     425.6 |     407.1 |    -131.7 |    -3660. |
#> |.....................|   0.07450 |     4427. |     37.36 |     84.31 |
#> |   21|     61320.393 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61320.393 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61320.393 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   22|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    M|   Mixed Diff. |     425.6 |     407.1 |    -131.5 |    -3659. |
#> |.....................|   0.07490 |     4427. |     37.48 |     84.35 |
#> |   23|     61320.409 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61320.409 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61320.409 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   24|     61320.414 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61320.414 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61320.414 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   25|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   26|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   27|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   28|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   29|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   30|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   31|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   32|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |   33|     61082.615 |   -0.3072 |    0.9865 |   -0.8924 |   -0.6048 |
#> |.....................|    -1.000 |   -0.5375 |   -0.2136 |   -0.2166 |
#> |    U|     61082.615 |     1.585 |     4.486 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> |    X|     61082.615 |     4.877 |     88.81 |    0.2935 |    0.9542 |
#> |.....................|   0.01000 |     1.021 |     1.776 |     1.771 |
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: last objective function was not at minimum, possible problems in optimization
#> Warning: The variance of all elements are unreasonably small, <1e-7
#> Warning: covariance step failed
#> Warning: gradient problems with initial estimate and covariance; see $scaleInfo
#> Warning: 'ss' is ignored with classic RxODE 'EVID's

## In addition to using L-BFGS-B for FOCEi (outer problem) you may
## use other optimizers.  An example is below

one.cmt <- function() {
  ini({
      tka <- .44   # log Ka
      tcl <- log(c(0, 2.7, 100)) # log Cl
      tv <- 3.45    # log V
      eta.ka ~ 0.6
      eta.cl ~ 0.3
      eta.v ~ 0.1
      add.err <- 0.7
  })
  model({
      ka <- exp(tka + eta.ka)
      cl <- exp(tcl + eta.cl)
      v <- exp(tv + eta.v)
      linCmt() ~ add(add.err)
  })
}

fit <- nlmixr(one.cmt, theo_sd, "focei", foceiControl(outerOpt="bobyqa"))
#>  parameter labels from comments will be replaced by 'label()'
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → creating full model...
#> → pruning branches (`if`/`else`)...
#>  done
#> → loading into symengine environment...
#>  done
#> → calculate jacobian
#> 
#> → calculate ∂(f)/∂(η)
#> 
#> → calculate ∂(R²)/∂(η)
#> 
#> → finding duplicate expressions in inner model...
#> 
#> → optimizing duplicate expressions in inner model...
#> 
#> → finding duplicate expressions in EBE model...
#> 
#> → optimizing duplicate expressions in EBE model...
#> 
#> → compiling inner model...
#>  
#>  done
#> → finding duplicate expressions in FD model...
#> 
#> → compiling EBE model...
#>  
#>  done
#> → compiling events FD model...
#>  
#>  done
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |   add.err |
#> |.....................|        o1 |        o2 |        o3 |...........|
#> |    1|     133.58639 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     133.58639 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     133.58639 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    2|     133.58639 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     133.58639 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     133.58639 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    3|     134.07361 |   -0.8000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     134.07361 |    0.6400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     134.07361 |     1.896 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    4|     134.78512 |    -1.000 |   -0.4324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     134.78512 |    0.4400 |     1.193 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     134.78512 |     1.553 |     3.298 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    5|     137.47499 |    -1.000 |   -0.6324 |     1.200 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     137.47499 |    0.4400 |    0.9933 |     3.650 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     137.47499 |     1.553 |     2.700 |     38.47 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    6|     135.53466 |    -1.000 |   -0.6324 |     1.000 |   -0.6272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     135.53466 |    0.4400 |    0.9933 |     3.450 |    0.7700 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     135.53466 |     1.553 |     2.700 |     31.50 |    0.7700 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    7|     133.69855 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.3374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     133.69855 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.363 |     1.351 |     1.778 |...........|
#> |    X|     133.69855 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.363 |     1.351 |     1.778 |...........|
#> |    8|     128.07696 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.1946 |   -0.1108 |...........|
#> |    U|     128.07696 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.621 |     1.778 |...........|
#> |    X|     128.07696 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.621 |     1.778 |...........|
#> |    9|     128.14520 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   0.08922 |...........|
#> |    U|      128.1452 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     2.134 |...........|
#> |    X|      128.1452 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     2.134 |...........|
#> |   10|     134.59979 |    -1.200 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     134.59979 |    0.2400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     134.59979 |     1.271 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |   11|     135.43950 |    -1.000 |   -0.8324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|      135.4395 |    0.4400 |    0.7933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|      135.4395 |     1.553 |     2.211 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |   12|     138.67902 |    -1.000 |   -0.6324 |    0.8000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     138.67902 |    0.4400 |    0.9933 |     3.250 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     138.67902 |     1.553 |     2.700 |     25.79 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |   13|     135.58963 |    -1.000 |   -0.6324 |     1.000 |    -1.027 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     135.58963 |    0.4400 |    0.9933 |     3.450 |    0.6300 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     135.58963 |     1.553 |     2.700 |     31.50 |    0.6300 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |   14|     138.56769 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.7374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     138.56769 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|    0.9090 |     1.351 |     1.778 |...........|
#> |    X|     138.56769 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|    0.9090 |     1.351 |     1.778 |...........|
#> |   15|     142.37620 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.5946 |   -0.1108 |...........|
#> |    U|      142.3762 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.081 |     1.778 |...........|
#> |    X|      142.3762 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.081 |     1.778 |...........|
#> |   16|     142.26587 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.3108 |...........|
#> |    U|     142.26587 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.423 |...........|
#> |    X|     142.26587 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.423 |...........|
#> |   17|     121.38523 |   -0.9927 |   -0.6244 |     1.007 |   -0.8266 |
#> |.....................|   -0.4882 |   -0.1019 |   0.05898 |...........|
#> |    U|     121.38523 |    0.4473 |     1.001 |     3.457 |    0.7002 |
#> |.....................|     1.192 |     1.747 |     2.080 |...........|
#> |    X|     121.38523 |     1.564 |     2.722 |     31.73 |    0.7002 |
#> |.....................|     1.192 |     1.747 |     2.080 |...........|
#> |   18|     117.00311 |   -0.9739 |   -0.6115 |     1.014 |   -0.8259 |
#> |.....................|   -0.4441 |   0.03626 |    0.3195 |...........|
#> |    U|     117.00311 |    0.4661 |     1.014 |     3.464 |    0.7005 |
#> |.....................|     1.242 |     1.933 |     2.544 |...........|
#> |    X|     117.00311 |     1.594 |     2.757 |     31.93 |    0.7005 |
#> |.....................|     1.242 |     1.933 |     2.544 |...........|
#> |   19|     116.92018 |   -0.9612 |   -0.6096 |     1.014 |   -0.8258 |
#> |.....................|   -0.4387 |   0.05447 |    0.3388 |...........|
#> |    U|     116.92018 |    0.4788 |     1.016 |     3.464 |    0.7005 |
#> |.....................|     1.248 |     1.958 |     2.578 |...........|
#> |    X|     116.92018 |     1.614 |     2.762 |     31.93 |    0.7005 |
#> |.....................|     1.248 |     1.958 |     2.578 |...........|
#> |   20|     117.04237 |   -0.9022 |   -0.6060 |     1.014 |   -0.8258 |
#> |.....................|   -0.4368 |   0.05053 |    0.3472 |...........|
#> |    U|     117.04237 |    0.5378 |     1.020 |     3.464 |    0.7005 |
#> |.....................|     1.251 |     1.953 |     2.593 |...........|
#> |    X|     117.04237 |     1.712 |     2.772 |     31.94 |    0.7005 |
#> |.....................|     1.251 |     1.953 |     2.593 |...........|
#> |   21|     116.92294 |   -0.9600 |   -0.6089 |     1.020 |   -0.8257 |
#> |.....................|   -0.4358 |   0.06769 |    0.3520 |...........|
#> |    U|     116.92294 |    0.4800 |     1.017 |     3.470 |    0.7005 |
#> |.....................|     1.252 |     1.976 |     2.601 |...........|
#> |    X|     116.92294 |     1.616 |     2.764 |     32.14 |    0.7005 |
#> |.....................|     1.252 |     1.976 |     2.601 |...........|
#> |   22|     116.94533 |   -0.9661 |   -0.6076 |     1.000 |   -0.8258 |
#> |.....................|   -0.4353 |   0.06673 |    0.3448 |...........|
#> |    U|     116.94533 |    0.4739 |     1.018 |     3.450 |    0.7005 |
#> |.....................|     1.252 |     1.974 |     2.588 |...........|
#> |    X|     116.94533 |     1.606 |     2.768 |     31.52 |    0.7005 |
#> |.....................|     1.252 |     1.974 |     2.588 |...........|
#> |   23|     116.88502 |   -0.9600 |   -0.6149 |     1.014 |   -0.8257 |
#> |.....................|   -0.4358 |   0.06791 |    0.3522 |...........|
#> |    U|     116.88502 |    0.4800 |     1.011 |     3.464 |    0.7005 |
#> |.....................|     1.252 |     1.976 |     2.602 |...........|
#> |    X|     116.88502 |     1.616 |     2.748 |     31.95 |    0.7005 |
#> |.....................|     1.252 |     1.976 |     2.602 |...........|
#> |   24|     116.86729 |   -0.9609 |   -0.6207 |     1.012 |   -0.8249 |
#> |.....................|   -0.4257 |   0.05604 |    0.3630 |...........|
#> |    U|     116.86729 |    0.4791 |     1.005 |     3.462 |    0.7008 |
#> |.....................|     1.263 |     1.960 |     2.621 |...........|
#> |    X|     116.86729 |     1.615 |     2.732 |     31.87 |    0.7008 |
#> |.....................|     1.263 |     1.960 |     2.621 |...........|
#> |   25|     116.85110 |   -0.9598 |   -0.6204 |     1.012 |   -0.8306 |
#> |.....................|   -0.4224 |   0.06903 |    0.3766 |...........|
#> |    U|      116.8511 |    0.4802 |     1.005 |     3.462 |    0.6988 |
#> |.....................|     1.267 |     1.978 |     2.645 |...........|
#> |    X|      116.8511 |     1.616 |     2.733 |     31.88 |    0.6988 |
#> |.....................|     1.267 |     1.978 |     2.645 |...........|
#> |   26|     116.86546 |   -0.9573 |   -0.6301 |     1.010 |   -0.8443 |
#> |.....................|   -0.4321 |   0.06513 |    0.3780 |...........|
#> |    U|     116.86546 |    0.4827 |    0.9956 |     3.460 |    0.6940 |
#> |.....................|     1.256 |     1.972 |     2.647 |...........|
#> |    X|     116.86546 |     1.620 |     2.706 |     31.83 |    0.6940 |
#> |.....................|     1.256 |     1.972 |     2.647 |...........|
#> |   27|     116.86249 |   -0.9586 |   -0.6201 |     1.012 |   -0.8307 |
#> |.....................|   -0.4249 |   0.08268 |    0.3910 |...........|
#> |    U|     116.86249 |    0.4814 |     1.006 |     3.462 |    0.6988 |
#> |.....................|     1.264 |     1.996 |     2.671 |...........|
#> |    X|     116.86249 |     1.618 |     2.734 |     31.90 |    0.6988 |
#> |.....................|     1.264 |     1.996 |     2.671 |...........|
#> |   28|     116.89929 |   -0.9740 |   -0.6320 |     1.014 |   -0.8309 |
#> |.....................|   -0.4220 |   0.07545 |    0.3724 |...........|
#> |    U|     116.89929 |    0.4660 |    0.9936 |     3.464 |    0.6987 |
#> |.....................|     1.267 |     1.986 |     2.637 |...........|
#> |    X|     116.89929 |     1.594 |     2.701 |     31.94 |    0.6987 |
#> |.....................|     1.267 |     1.986 |     2.637 |...........|
#> |   29|     116.94096 |   -0.9490 |   -0.6348 |     1.013 |   -0.8253 |
#> |.....................|   -0.4169 |   0.07225 |    0.3741 |...........|
#> |    U|     116.94096 |    0.4910 |    0.9908 |     3.463 |    0.7007 |
#> |.....................|     1.273 |     1.982 |     2.640 |...........|
#> |    X|     116.94096 |     1.634 |     2.693 |     31.90 |    0.7007 |
#> |.....................|     1.273 |     1.982 |     2.640 |...........|
#> |   30|     116.83181 |   -0.9615 |   -0.6098 |     1.007 |   -0.8420 |
#> |.....................|   -0.4314 |   0.06644 |    0.3826 |...........|
#> |    U|     116.83181 |    0.4785 |     1.016 |     3.457 |    0.6948 |
#> |.....................|     1.257 |     1.974 |     2.656 |...........|
#> |    X|     116.83181 |     1.614 |     2.762 |     31.71 |    0.6948 |
#> |.....................|     1.257 |     1.974 |     2.656 |...........|
#> |   31|     116.84097 |   -0.9556 |   -0.6156 |     1.008 |   -0.8386 |
#> |.....................|   -0.4336 |   0.06962 |    0.3771 |...........|
#> |    U|     116.84097 |    0.4844 |     1.010 |     3.458 |    0.6960 |
#> |.....................|     1.254 |     1.978 |     2.646 |...........|
#> |    X|     116.84097 |     1.623 |     2.746 |     31.74 |    0.6960 |
#> |.....................|     1.254 |     1.978 |     2.646 |...........|
#> |   32|     117.04648 |   -0.9636 |   -0.6140 |    0.9888 |   -0.8390 |
#> |.....................|   -0.4262 |   0.07155 |    0.3834 |...........|
#> |    U|     117.04648 |    0.4764 |     1.012 |     3.439 |    0.6959 |
#> |.....................|     1.263 |     1.981 |     2.657 |...........|
#> |    X|     117.04648 |     1.610 |     2.750 |     31.15 |    0.6959 |
#> |.....................|     1.263 |     1.981 |     2.657 |...........|
#> |   33|     116.88710 |   -0.9653 |   -0.6067 |     1.022 |   -0.8467 |
#> |.....................|   -0.4304 |   0.06017 |    0.3917 |...........|
#> |    U|      116.8871 |    0.4747 |     1.019 |     3.472 |    0.6932 |
#> |.....................|     1.258 |     1.966 |     2.672 |...........|
#> |    X|      116.8871 |     1.608 |     2.770 |     32.19 |    0.6932 |
#> |.....................|     1.258 |     1.966 |     2.672 |...........|
#> |   34|     116.84327 |   -0.9666 |   -0.6117 |     1.004 |   -0.8294 |
#> |.....................|   -0.4415 |   0.05682 |    0.3859 |...........|
#> |    U|     116.84327 |    0.4734 |     1.014 |     3.454 |    0.6993 |
#> |.....................|     1.245 |     1.961 |     2.662 |...........|
#> |    X|     116.84327 |     1.606 |     2.756 |     31.64 |    0.6993 |
#> |.....................|     1.245 |     1.961 |     2.662 |...........|
#> |   35|     116.83129 |   -0.9748 |   -0.6069 |     1.009 |   -0.8392 |
#> |.....................|   -0.4370 |   0.05832 |    0.3723 |...........|
#> |    U|     116.83129 |    0.4652 |     1.019 |     3.459 |    0.6958 |
#> |.....................|     1.250 |     1.963 |     2.637 |...........|
#> |    X|     116.83129 |     1.592 |     2.770 |     31.78 |    0.6958 |
#> |.....................|     1.250 |     1.963 |     2.637 |...........|
#> |   36|     116.85341 |   -0.9757 |   -0.6078 |     1.009 |   -0.8388 |
#> |.....................|   -0.4407 |   0.04169 |    0.3619 |...........|
#> |    U|     116.85341 |    0.4643 |     1.018 |     3.459 |    0.6960 |
#> |.....................|     1.246 |     1.941 |     2.619 |...........|
#> |    X|     116.85341 |     1.591 |     2.767 |     31.77 |    0.6960 |
#> |.....................|     1.246 |     1.941 |     2.619 |...........|
#> |   37|     116.83797 |   -0.9562 |   -0.6060 |     1.010 |   -0.8381 |
#> |.....................|   -0.4323 |   0.05852 |    0.3776 |...........|
#> |    U|     116.83797 |    0.4838 |     1.020 |     3.460 |    0.6962 |
#> |.....................|     1.256 |     1.963 |     2.647 |...........|
#> |    X|     116.83797 |     1.622 |     2.772 |     31.80 |    0.6962 |
#> |.....................|     1.256 |     1.963 |     2.647 |...........|
#> |   38|     116.82858 |   -0.9733 |   -0.6129 |     1.010 |   -0.8373 |
#> |.....................|   -0.4429 |   0.06218 |    0.3751 |...........|
#> |    U|     116.82858 |    0.4667 |     1.013 |     3.460 |    0.6965 |
#> |.....................|     1.244 |     1.968 |     2.642 |...........|
#> |    X|     116.82858 |     1.595 |     2.753 |     31.81 |    0.6965 |
#> |.....................|     1.244 |     1.968 |     2.642 |...........|
#> |   39|     116.82247 |   -0.9728 |   -0.6123 |     1.011 |   -0.8350 |
#> |.....................|   -0.4375 |   0.06548 |    0.3823 |...........|
#> |    U|     116.82247 |    0.4672 |     1.013 |     3.461 |    0.6973 |
#> |.....................|     1.250 |     1.973 |     2.655 |...........|
#> |    X|     116.82247 |     1.595 |     2.755 |     31.85 |    0.6973 |
#> |.....................|     1.250 |     1.973 |     2.655 |...........|
#> |   40|     116.82365 |   -0.9769 |   -0.6112 |     1.012 |   -0.8348 |
#> |.....................|   -0.4363 |   0.06712 |    0.3845 |...........|
#> |    U|     116.82365 |    0.4631 |     1.014 |     3.462 |    0.6973 |
#> |.....................|     1.251 |     1.975 |     2.659 |...........|
#> |    X|     116.82365 |     1.589 |     2.758 |     31.87 |    0.6973 |
#> |.....................|     1.251 |     1.975 |     2.659 |...........|
#> |   41|     116.82600 |   -0.9725 |   -0.6093 |     1.011 |   -0.8332 |
#> |.....................|   -0.4339 |   0.06459 |    0.3814 |...........|
#> |    U|       116.826 |    0.4675 |     1.016 |     3.461 |    0.6979 |
#> |.....................|     1.254 |     1.972 |     2.653 |...........|
#> |    X|       116.826 |     1.596 |     2.763 |     31.85 |    0.6979 |
#> |.....................|     1.254 |     1.972 |     2.653 |...........|
#> |   42|     116.82414 |   -0.9727 |   -0.6135 |     1.012 |   -0.8361 |
#> |.....................|   -0.4388 |   0.06765 |    0.3836 |...........|
#> |    U|     116.82414 |    0.4673 |     1.012 |     3.462 |    0.6969 |
#> |.....................|     1.248 |     1.976 |     2.657 |...........|
#> |    X|     116.82414 |     1.596 |     2.752 |     31.88 |    0.6969 |
#> |.....................|     1.248 |     1.976 |     2.657 |...........|
#> |   43|     116.82450 |   -0.9724 |   -0.6120 |     1.010 |   -0.8345 |
#> |.....................|   -0.4374 |   0.06556 |    0.3799 |...........|
#> |    U|      116.8245 |    0.4676 |     1.014 |     3.460 |    0.6975 |
#> |.....................|     1.250 |     1.973 |     2.651 |...........|
#> |    X|      116.8245 |     1.596 |     2.756 |     31.83 |    0.6975 |
#> |.....................|     1.250 |     1.973 |     2.651 |...........|
#> |   44|     116.82015 |   -0.9735 |   -0.6138 |     1.012 |   -0.8351 |
#> |.....................|   -0.4369 |   0.06380 |    0.3830 |...........|
#> |    U|     116.82015 |    0.4665 |     1.012 |     3.462 |    0.6973 |
#> |.....................|     1.250 |     1.971 |     2.656 |...........|
#> |    X|     116.82015 |     1.594 |     2.751 |     31.87 |    0.6973 |
#> |.....................|     1.250 |     1.971 |     2.656 |...........|
#> |   45|     116.81854 |   -0.9777 |   -0.6155 |     1.011 |   -0.8348 |
#> |.....................|   -0.4372 |   0.06149 |    0.3842 |...........|
#> |    U|     116.81854 |    0.4623 |     1.010 |     3.461 |    0.6974 |
#> |.....................|     1.250 |     1.967 |     2.659 |...........|
#> |    X|     116.81854 |     1.588 |     2.746 |     31.86 |    0.6974 |
#> |.....................|     1.250 |     1.967 |     2.659 |...........|
#> |   46|     116.82033 |   -0.9822 |   -0.6156 |     1.011 |   -0.8344 |
#> |.....................|   -0.4386 |   0.06050 |    0.3843 |...........|
#> |    U|     116.82033 |    0.4578 |     1.010 |     3.461 |    0.6975 |
#> |.....................|     1.248 |     1.966 |     2.659 |...........|
#> |    X|     116.82033 |     1.581 |     2.746 |     31.85 |    0.6975 |
#> |.....................|     1.248 |     1.966 |     2.659 |...........|
#> |   47|     116.81596 |   -0.9794 |   -0.6162 |     1.010 |   -0.8357 |
#> |.....................|   -0.4373 |   0.06087 |    0.3875 |...........|
#> |    U|     116.81596 |    0.4606 |     1.009 |     3.460 |    0.6970 |
#> |.....................|     1.250 |     1.967 |     2.664 |...........|
#> |    X|     116.81596 |     1.585 |     2.744 |     31.83 |    0.6970 |
#> |.....................|     1.250 |     1.967 |     2.664 |...........|
#> |   48|     116.81226 |   -0.9796 |   -0.6158 |     1.010 |   -0.8383 |
#> |.....................|   -0.4356 |   0.06162 |    0.3911 |...........|
#> |    U|     116.81226 |    0.4604 |     1.010 |     3.460 |    0.6961 |
#> |.....................|     1.252 |     1.968 |     2.671 |...........|
#> |    X|     116.81226 |     1.585 |     2.745 |     31.83 |    0.6961 |
#> |.....................|     1.252 |     1.968 |     2.671 |...........|
#> |   49|     116.81391 |   -0.9830 |   -0.6164 |     1.011 |   -0.8407 |
#> |.....................|   -0.4344 |   0.06379 |    0.3994 |...........|
#> |    U|     116.81391 |    0.4570 |     1.009 |     3.461 |    0.6953 |
#> |.....................|     1.253 |     1.971 |     2.686 |...........|
#> |    X|     116.81391 |     1.579 |     2.744 |     31.85 |    0.6953 |
#> |.....................|     1.253 |     1.971 |     2.686 |...........|
#> |   50|     116.81052 |   -0.9803 |   -0.6139 |     1.010 |   -0.8392 |
#> |.....................|   -0.4372 |   0.06001 |    0.3932 |...........|
#> |    U|     116.81052 |    0.4597 |     1.012 |     3.460 |    0.6958 |
#> |.....................|     1.250 |     1.965 |     2.675 |...........|
#> |    X|     116.81052 |     1.584 |     2.750 |     31.82 |    0.6958 |
#> |.....................|     1.250 |     1.965 |     2.675 |...........|
#> |   51|     116.81047 |   -0.9824 |   -0.6127 |     1.008 |   -0.8426 |
#> |.....................|   -0.4371 |   0.05853 |    0.3926 |...........|
#> |    U|     116.81047 |    0.4576 |     1.013 |     3.458 |    0.6946 |
#> |.....................|     1.250 |     1.963 |     2.674 |...........|
#> |    X|     116.81047 |     1.580 |     2.754 |     31.76 |    0.6946 |
#> |.....................|     1.250 |     1.963 |     2.674 |...........|
#> |   52|     116.80854 |   -0.9815 |   -0.6124 |     1.009 |   -0.8428 |
#> |.....................|   -0.4369 |   0.05689 |    0.3941 |...........|
#> |    U|     116.80854 |    0.4585 |     1.013 |     3.459 |    0.6945 |
#> |.....................|     1.250 |     1.961 |     2.676 |...........|
#> |    X|     116.80854 |     1.582 |     2.755 |     31.77 |    0.6945 |
#> |.....................|     1.250 |     1.961 |     2.676 |...........|
#> |   53|     116.80717 |   -0.9819 |   -0.6127 |     1.009 |   -0.8421 |
#> |.....................|   -0.4358 |   0.05526 |    0.3952 |...........|
#> |    U|     116.80717 |    0.4581 |     1.013 |     3.459 |    0.6948 |
#> |.....................|     1.252 |     1.959 |     2.678 |...........|
#> |    X|     116.80717 |     1.581 |     2.754 |     31.78 |    0.6948 |
#> |.....................|     1.252 |     1.959 |     2.678 |...........|
#> |   54|     116.80704 |   -0.9841 |   -0.6129 |     1.008 |   -0.8422 |
#> |.....................|   -0.4356 |   0.05297 |    0.3987 |...........|
#> |    U|     116.80704 |    0.4559 |     1.013 |     3.458 |    0.6948 |
#> |.....................|     1.252 |     1.956 |     2.684 |...........|
#> |    X|     116.80704 |     1.578 |     2.753 |     31.77 |    0.6948 |
#> |.....................|     1.252 |     1.956 |     2.684 |...........|
#> |   55|     116.80595 |   -0.9815 |   -0.6135 |     1.009 |   -0.8423 |
#> |.....................|   -0.4337 |   0.05380 |    0.3953 |...........|
#> |    U|     116.80595 |    0.4585 |     1.012 |     3.459 |    0.6947 |
#> |.....................|     1.254 |     1.957 |     2.678 |...........|
#> |    X|     116.80595 |     1.582 |     2.752 |     31.78 |    0.6947 |
#> |.....................|     1.254 |     1.957 |     2.678 |...........|
#> |   56|     116.80604 |   -0.9803 |   -0.6136 |     1.009 |   -0.8416 |
#> |.....................|   -0.4324 |   0.05401 |    0.3933 |...........|
#> |    U|     116.80604 |    0.4597 |     1.012 |     3.459 |    0.6950 |
#> |.....................|     1.256 |     1.957 |     2.675 |...........|
#> |    X|     116.80604 |     1.584 |     2.751 |     31.79 |    0.6950 |
#> |.....................|     1.256 |     1.957 |     2.675 |...........|
#> |   57|     116.80630 |   -0.9830 |   -0.6130 |     1.009 |   -0.8431 |
#> |.....................|   -0.4343 |   0.05182 |    0.3956 |...........|
#> |    U|      116.8063 |    0.4570 |     1.013 |     3.459 |    0.6945 |
#> |.....................|     1.253 |     1.954 |     2.679 |...........|
#> |    X|      116.8063 |     1.579 |     2.753 |     31.77 |    0.6945 |
#> |.....................|     1.253 |     1.954 |     2.679 |...........|
#> |   58|     116.80571 |   -0.9807 |   -0.6144 |     1.009 |   -0.8431 |
#> |.....................|   -0.4335 |   0.05354 |    0.3953 |...........|
#> |    U|     116.80571 |    0.4593 |     1.011 |     3.459 |    0.6945 |
#> |.....................|     1.254 |     1.957 |     2.678 |...........|
#> |    X|     116.80571 |     1.583 |     2.749 |     31.78 |    0.6945 |
#> |.....................|     1.254 |     1.957 |     2.678 |...........|
#> |   59|     116.80646 |   -0.9816 |   -0.6151 |     1.009 |   -0.8430 |
#> |.....................|   -0.4328 |   0.05391 |    0.3953 |...........|
#> |    U|     116.80646 |    0.4584 |     1.011 |     3.459 |    0.6945 |
#> |.....................|     1.255 |     1.957 |     2.678 |...........|
#> |    X|     116.80646 |     1.582 |     2.747 |     31.77 |    0.6945 |
#> |.....................|     1.255 |     1.957 |     2.678 |...........|
#> |   60|     116.80537 |   -0.9797 |   -0.6136 |     1.009 |   -0.8433 |
#> |.....................|   -0.4340 |   0.05317 |    0.3952 |...........|
#> |    U|     116.80537 |    0.4603 |     1.012 |     3.459 |    0.6944 |
#> |.....................|     1.254 |     1.956 |     2.678 |...........|
#> |    X|     116.80537 |     1.585 |     2.751 |     31.78 |    0.6944 |
#> |.....................|     1.254 |     1.956 |     2.678 |...........|
#> |   61|     116.80560 |   -0.9789 |   -0.6133 |     1.009 |   -0.8433 |
#> |.....................|   -0.4339 |   0.05290 |    0.3938 |...........|
#> |    U|      116.8056 |    0.4611 |     1.012 |     3.459 |    0.6944 |
#> |.....................|     1.254 |     1.956 |     2.676 |...........|
#> |    X|      116.8056 |     1.586 |     2.752 |     31.78 |    0.6944 |
#> |.....................|     1.254 |     1.956 |     2.676 |...........|
#> |   62|     116.80553 |   -0.9788 |   -0.6143 |     1.009 |   -0.8434 |
#> |.....................|   -0.4339 |   0.05366 |    0.3945 |...........|
#> |    U|     116.80553 |    0.4612 |     1.011 |     3.459 |    0.6944 |
#> |.....................|     1.254 |     1.957 |     2.677 |...........|
#> |    X|     116.80553 |     1.586 |     2.749 |     31.78 |    0.6944 |
#> |.....................|     1.254 |     1.957 |     2.677 |...........|
#> |   63|     116.80496 |   -0.9797 |   -0.6134 |     1.009 |   -0.8440 |
#> |.....................|   -0.4336 |   0.05376 |    0.3961 |...........|
#> |    U|     116.80496 |    0.4603 |     1.012 |     3.459 |    0.6941 |
#> |.....................|     1.254 |     1.957 |     2.680 |...........|
#> |    X|     116.80496 |     1.585 |     2.752 |     31.79 |    0.6941 |
#> |.....................|     1.254 |     1.957 |     2.680 |...........|
#> |   64|     116.80502 |   -0.9804 |   -0.6133 |     1.009 |   -0.8451 |
#> |.....................|   -0.4338 |   0.05386 |    0.3986 |...........|
#> |    U|     116.80502 |    0.4596 |     1.012 |     3.459 |    0.6938 |
#> |.....................|     1.254 |     1.957 |     2.684 |...........|
#> |    X|     116.80502 |     1.583 |     2.752 |     31.80 |    0.6938 |
#> |.....................|     1.254 |     1.957 |     2.684 |...........|
#> |   65|     116.80579 |   -0.9790 |   -0.6135 |     1.008 |   -0.8438 |
#> |.....................|   -0.4333 |   0.05448 |    0.3956 |...........|
#> |    U|     116.80579 |    0.4610 |     1.012 |     3.458 |    0.6942 |
#> |.....................|     1.255 |     1.958 |     2.679 |...........|
#> |    X|     116.80579 |     1.586 |     2.752 |     31.77 |    0.6942 |
#> |.....................|     1.255 |     1.958 |     2.679 |...........|
#> |   66|     116.80499 |   -0.9802 |   -0.6138 |     1.010 |   -0.8441 |
#> |.....................|   -0.4333 |   0.05385 |    0.3962 |...........|
#> |    U|     116.80499 |    0.4598 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.255 |     1.957 |     2.680 |...........|
#> |    X|     116.80499 |     1.584 |     2.751 |     31.82 |    0.6941 |
#> |.....................|     1.255 |     1.957 |     2.680 |...........|
#> |   67|     116.80456 |   -0.9794 |   -0.6133 |     1.009 |   -0.8430 |
#> |.....................|   -0.4331 |   0.05315 |    0.3967 |...........|
#> |    U|     116.80456 |    0.4606 |     1.012 |     3.459 |    0.6945 |
#> |.....................|     1.255 |     1.956 |     2.681 |...........|
#> |    X|     116.80456 |     1.585 |     2.752 |     31.80 |    0.6945 |
#> |.....................|     1.255 |     1.956 |     2.681 |...........|
#> |   68|     116.80413 |   -0.9790 |   -0.6136 |     1.010 |   -0.8429 |
#> |.....................|   -0.4328 |   0.05221 |    0.3975 |...........|
#> |    U|     116.80413 |    0.4610 |     1.012 |     3.460 |    0.6945 |
#> |.....................|     1.255 |     1.955 |     2.682 |...........|
#> |    X|     116.80413 |     1.586 |     2.751 |     31.81 |    0.6945 |
#> |.....................|     1.255 |     1.955 |     2.682 |...........|
#> |   69|     116.80383 |   -0.9788 |   -0.6142 |     1.010 |   -0.8432 |
#> |.....................|   -0.4328 |   0.05049 |    0.3997 |...........|
#> |    U|     116.80383 |    0.4612 |     1.011 |     3.460 |    0.6944 |
#> |.....................|     1.255 |     1.953 |     2.686 |...........|
#> |    X|     116.80383 |     1.586 |     2.749 |     31.80 |    0.6944 |
#> |.....................|     1.255 |     1.953 |     2.686 |...........|
#> |   70|     116.80377 |   -0.9791 |   -0.6139 |     1.009 |   -0.8440 |
#> |.....................|   -0.4325 |   0.04951 |    0.4007 |...........|
#> |    U|     116.80377 |    0.4609 |     1.012 |     3.459 |    0.6941 |
#> |.....................|     1.255 |     1.951 |     2.688 |...........|
#> |    X|     116.80377 |     1.585 |     2.750 |     31.80 |    0.6941 |
#> |.....................|     1.255 |     1.951 |     2.688 |...........|
#> |   71|     116.80372 |   -0.9783 |   -0.6135 |     1.010 |   -0.8441 |
#> |.....................|   -0.4324 |   0.05013 |    0.4001 |...........|
#> |    U|     116.80372 |    0.4617 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.952 |     2.687 |...........|
#> |    X|     116.80372 |     1.587 |     2.752 |     31.82 |    0.6941 |
#> |.....................|     1.256 |     1.952 |     2.687 |...........|
#> |   72|     116.80353 |   -0.9771 |   -0.6138 |     1.010 |   -0.8440 |
#> |.....................|   -0.4320 |   0.04993 |    0.4005 |...........|
#> |    U|     116.80353 |    0.4629 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.952 |     2.688 |...........|
#> |    X|     116.80353 |     1.589 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.952 |     2.688 |...........|
#> |   73|     116.80351 |   -0.9766 |   -0.6135 |     1.010 |   -0.8443 |
#> |.....................|   -0.4318 |   0.04870 |    0.4006 |...........|
#> |    U|     116.80351 |    0.4634 |     1.012 |     3.460 |    0.6940 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80351 |     1.589 |     2.751 |     31.81 |    0.6940 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |   74|     116.80348 |   -0.9766 |   -0.6137 |     1.010 |   -0.8441 |
#> |.....................|   -0.4318 |   0.04932 |    0.4001 |...........|
#> |    U|     116.80348 |    0.4634 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80348 |     1.589 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   75|     116.80362 |   -0.9762 |   -0.6139 |     1.010 |   -0.8437 |
#> |.....................|   -0.4310 |   0.04948 |    0.3992 |...........|
#> |    U|     116.80362 |    0.4638 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.257 |     1.951 |     2.685 |...........|
#> |    X|     116.80362 |     1.590 |     2.750 |     31.81 |    0.6942 |
#> |.....................|     1.257 |     1.951 |     2.685 |...........|
#> |   76|     116.80354 |   -0.9765 |   -0.6136 |     1.009 |   -0.8445 |
#> |.....................|   -0.4324 |   0.04935 |    0.4001 |...........|
#> |    U|     116.80354 |    0.4635 |     1.012 |     3.459 |    0.6940 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80354 |     1.590 |     2.751 |     31.80 |    0.6940 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   77|     116.80349 |   -0.9765 |   -0.6134 |     1.010 |   -0.8440 |
#> |.....................|   -0.4318 |   0.04941 |    0.4001 |...........|
#> |    U|     116.80349 |    0.4635 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80349 |     1.590 |     2.752 |     31.80 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   78|     116.80352 |   -0.9769 |   -0.6136 |     1.010 |   -0.8441 |
#> |.....................|   -0.4318 |   0.04923 |    0.4000 |...........|
#> |    U|     116.80352 |    0.4631 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80352 |     1.589 |     2.751 |     31.80 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   79|     116.80352 |   -0.9767 |   -0.6137 |     1.010 |   -0.8442 |
#> |.....................|   -0.4317 |   0.04936 |    0.4001 |...........|
#> |    U|     116.80352 |    0.4633 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80352 |     1.589 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   80|     116.80348 |   -0.9766 |   -0.6137 |     1.010 |   -0.8440 |
#> |.....................|   -0.4319 |   0.04930 |    0.4001 |...........|
#> |    U|     116.80348 |    0.4634 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80348 |     1.589 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   81|     116.80348 |   -0.9766 |   -0.6137 |     1.010 |   -0.8440 |
#> |.....................|   -0.4319 |   0.04931 |    0.4002 |...........|
#> |    U|     116.80348 |    0.4634 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80348 |     1.590 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   82|     116.80348 |   -0.9766 |   -0.6137 |     1.010 |   -0.8440 |
#> |.....................|   -0.4320 |   0.04929 |    0.4000 |...........|
#> |    U|     116.80348 |    0.4634 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80348 |     1.590 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   83|     116.80363 |   -0.9766 |   -0.6137 |     1.010 |   -0.8440 |
#> |.....................|   -0.4320 |   0.04936 |    0.4000 |...........|
#> |    U|     116.80363 |    0.4634 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80363 |     1.589 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   84|     116.80348 |   -0.9766 |   -0.6137 |     1.010 |   -0.8440 |
#> |.....................|   -0.4319 |   0.04921 |    0.4001 |...........|
#> |    U|     116.80348 |    0.4634 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80348 |     1.590 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   85|     116.80342 |   -0.9765 |   -0.6137 |     1.010 |   -0.8439 |
#> |.....................|   -0.4319 |   0.04921 |    0.4001 |...........|
#> |    U|     116.80342 |    0.4635 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80342 |     1.590 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   86|     116.80349 |   -0.9764 |   -0.6137 |     1.010 |   -0.8439 |
#> |.....................|   -0.4318 |   0.04922 |    0.4000 |...........|
#> |    U|     116.80349 |    0.4636 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80349 |     1.590 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   87|     116.80348 |   -0.9764 |   -0.6137 |     1.010 |   -0.8440 |
#> |.....................|   -0.4318 |   0.04917 |    0.4001 |...........|
#> |    U|     116.80348 |    0.4636 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80348 |     1.590 |     2.751 |     31.81 |    0.6941 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   88|     116.80347 |   -0.9765 |   -0.6137 |     1.010 |   -0.8439 |
#> |.....................|   -0.4319 |   0.04920 |    0.4001 |...........|
#> |    U|     116.80347 |    0.4635 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80347 |     1.590 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   89|     116.80348 |   -0.9765 |   -0.6137 |     1.010 |   -0.8439 |
#> |.....................|   -0.4318 |   0.04923 |    0.4000 |...........|
#> |    U|     116.80348 |    0.4635 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80348 |     1.590 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   90|     116.80345 |   -0.9765 |   -0.6138 |     1.010 |   -0.8439 |
#> |.....................|   -0.4319 |   0.04918 |    0.4001 |...........|
#> |    U|     116.80345 |    0.4635 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|     116.80345 |     1.590 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |   91|     116.80350 |   -0.9765 |   -0.6137 |     1.010 |   -0.8439 |
#> |.....................|   -0.4319 |   0.04921 |    0.4001 |...........|
#> |    U|      116.8035 |    0.4635 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> |    X|      116.8035 |     1.590 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.256 |     1.951 |     2.687 |...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: last objective function was not at minimum, possible problems in optimization
#> Warning: gradient problems with covariance; see $scaleInfo

## You may also make an arbitrary optimizer work by adding a wrapper function:

newuoa0 <- function(par, fn, gr, lower = -Inf, upper = Inf, control = list(), ...){
  ## The function requires par, fn, gr, lower, upper and control
  ##
  ## The par, fn, gr, lower and upper and sent to the function from nlmixr's focei.
  ## The  control is the foceiControl list
  ##
  ##  The following code modifies the list control list for no warnings.
  .ctl <- control;
  if (is.null(.ctl$npt)) .ctl$npt <- length(par) * 2 + 1
  ## nlmixr will print information this is to suppress the printing from the
  ## optimizer
  .ctl$iprint <- 0L;
  .ctl <- .ctl[names(.ctl) %in% c("npt", "rhobeg", "rhoend", "iprint", "maxfun")];
  ## This does not require gradient and is an unbounded optimization:
  .ret <- minqa::newuoa(par, fn, control=.ctl);
  ## The return statement must be a list with:
  ##    - x for the final parameter message
  ##    - message for a minimization message
  ##    - convergence for a convergence code
  .ret$x <- .ret$par;
  .ret$message <- .ret$msg;
  .ret$convergence <- .ret$ierr
  ## you can access the final list from the optimization by fit$optReturn
  return(.ret);
}

fit <- nlmixr(one.cmt, theo_sd, "focei", foceiControl(outerOpt=newuoa0))
#>  parameter labels from comments will be replaced by 'label()'
#> Key: U: Unscaled Parameters; X: Back-transformed parameters; G: Gill difference gradient approximation
#> F: Forward difference gradient approximation
#> C: Central difference gradient approximation
#> M: Mixed forward and central difference gradient approximation
#> Unscaled parameters for Omegas=chol(solve(omega));
#> Diagonals are transformed, as specified by foceiControl(diagXform=)
#> |-----+---------------+-----------+-----------+-----------+-----------|
#> |    #| Objective Fun |       tka |       tcl |        tv |   add.err |
#> |.....................|        o1 |        o2 |        o3 |...........|
#> |    1|     133.58639 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     133.58639 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     133.58639 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    2|     133.58639 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     133.58639 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     133.58639 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    3|     134.07361 |   -0.8000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     134.07361 |    0.6400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     134.07361 |     1.896 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    4|     134.78512 |    -1.000 |   -0.4324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     134.78512 |    0.4400 |     1.193 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     134.78512 |     1.553 |     3.298 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    5|     137.47499 |    -1.000 |   -0.6324 |     1.200 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     137.47499 |    0.4400 |    0.9933 |     3.650 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     137.47499 |     1.553 |     2.700 |     38.47 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    6|     135.53466 |    -1.000 |   -0.6324 |     1.000 |   -0.6272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     135.53466 |    0.4400 |    0.9933 |     3.450 |    0.7700 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     135.53466 |     1.553 |     2.700 |     31.50 |    0.7700 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    7|     133.69855 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.3374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     133.69855 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.363 |     1.351 |     1.778 |...........|
#> |    X|     133.69855 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.363 |     1.351 |     1.778 |...........|
#> |    8|     128.07696 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.1946 |   -0.1108 |...........|
#> |    U|     128.07696 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.621 |     1.778 |...........|
#> |    X|     128.07696 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.621 |     1.778 |...........|
#> |    9|     128.14520 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   0.08922 |...........|
#> |    U|      128.1452 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     2.134 |...........|
#> |    X|      128.1452 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     2.134 |...........|
#> |   10|     134.59979 |    -1.200 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     134.59979 |    0.2400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     134.59979 |     1.271 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |   11|     135.43950 |    -1.000 |   -0.8324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|      135.4395 |    0.4400 |    0.7933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|      135.4395 |     1.553 |     2.211 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |   12|     138.67902 |    -1.000 |   -0.6324 |    0.8000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     138.67902 |    0.4400 |    0.9933 |     3.250 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     138.67902 |     1.553 |     2.700 |     25.79 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |   13|     135.58963 |    -1.000 |   -0.6324 |     1.000 |    -1.027 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     135.58963 |    0.4400 |    0.9933 |     3.450 |    0.6300 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |    X|     135.58963 |     1.553 |     2.700 |     31.50 |    0.6300 |
#> |.....................|     1.136 |     1.351 |     1.778 |...........|
#> |   14|     138.56769 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.7374 |   -0.3946 |   -0.1108 |...........|
#> |    U|     138.56769 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|    0.9090 |     1.351 |     1.778 |...........|
#> |    X|     138.56769 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|    0.9090 |     1.351 |     1.778 |...........|
#> |   15|     142.37620 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.5946 |   -0.1108 |...........|
#> |    U|      142.3762 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.081 |     1.778 |...........|
#> |    X|      142.3762 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.081 |     1.778 |...........|
#> |   16|     142.26587 |    -1.000 |   -0.6324 |     1.000 |   -0.8272 |
#> |.....................|   -0.5374 |   -0.3946 |   -0.3108 |...........|
#> |    U|     142.26587 |    0.4400 |    0.9933 |     3.450 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.423 |...........|
#> |    X|     142.26587 |     1.553 |     2.700 |     31.50 |    0.7000 |
#> |.....................|     1.136 |     1.351 |     1.423 |...........|
#> |   17|     121.40007 |   -0.9938 |   -0.6246 |     1.014 |   -0.8266 |
#> |.....................|   -0.4797 |   -0.1029 |   0.05647 |...........|
#> |    U|     121.40007 |    0.4462 |     1.001 |     3.464 |    0.7002 |
#> |.....................|     1.202 |     1.745 |     2.076 |...........|
#> |    X|     121.40007 |     1.562 |     2.721 |     31.95 |    0.7002 |
#> |.....................|     1.202 |     1.745 |     2.076 |...........|
#> |   18|     117.00301 |   -0.9762 |   -0.6116 |     1.014 |   -0.8258 |
#> |.....................|   -0.4438 |   0.03709 |    0.3197 |...........|
#> |    U|     117.00301 |    0.4638 |     1.014 |     3.464 |    0.7005 |
#> |.....................|     1.243 |     1.934 |     2.544 |...........|
#> |    X|     117.00301 |     1.590 |     2.757 |     31.96 |    0.7005 |
#> |.....................|     1.243 |     1.934 |     2.544 |...........|
#> |   19|     117.97899 |   -0.9819 |   -0.6163 |     1.013 |   -0.8261 |
#> |.....................|   -0.4614 |    0.2268 |    0.2593 |...........|
#> |    U|     117.97899 |    0.4581 |     1.009 |     3.463 |    0.7004 |
#> |.....................|     1.223 |     2.191 |     2.436 |...........|
#> |    X|     117.97899 |     1.581 |     2.744 |     31.90 |    0.7004 |
#> |.....................|     1.223 |     2.191 |     2.436 |...........|
#> |   20|     119.20639 |   -0.9803 |   -0.6106 |     1.033 |   -0.8255 |
#> |.....................|   -0.2474 |   0.06878 |    0.3121 |...........|
#> |    U|     119.20639 |    0.4597 |     1.015 |     3.483 |    0.7006 |
#> |.....................|     1.466 |     1.977 |     2.530 |...........|
#> |    X|     119.20639 |     1.584 |     2.760 |     32.55 |    0.7006 |
#> |.....................|     1.466 |     1.977 |     2.530 |...........|
#> |   21|     118.15782 |    -1.176 |   -0.6114 |     1.022 |   -0.8257 |
#> |.....................|   -0.4424 |   0.04761 |    0.3201 |...........|
#> |    U|     118.15782 |    0.2643 |     1.014 |     3.472 |    0.7005 |
#> |.....................|     1.244 |     1.949 |     2.545 |...........|
#> |    X|     118.15782 |     1.302 |     2.757 |     32.21 |    0.7005 |
#> |.....................|     1.244 |     1.949 |     2.545 |...........|
#> |   22|     122.51031 |   -0.9776 |   -0.8110 |     1.024 |   -0.8257 |
#> |.....................|   -0.4397 |   0.04890 |    0.3170 |...........|
#> |    U|     122.51031 |    0.4624 |    0.8147 |     3.474 |    0.7005 |
#> |.....................|     1.247 |     1.950 |     2.539 |...........|
#> |    X|     122.51031 |     1.588 |     2.258 |     32.26 |    0.7005 |
#> |.....................|     1.247 |     1.950 |     2.539 |...........|
#> |   23|     122.50248 |   -0.9470 |   -0.4308 |     1.005 |   -0.8261 |
#> |.....................|   -0.4292 |    0.1018 |    0.3639 |...........|
#> |    U|     122.50248 |    0.4930 |     1.195 |     3.455 |    0.7004 |
#> |.....................|     1.259 |     2.022 |     2.622 |...........|
#> |    X|     122.50248 |     1.637 |     3.303 |     31.67 |    0.7004 |
#> |.....................|     1.259 |     2.022 |     2.622 |...........|
#> |   24|     132.61810 |   -0.9821 |   -0.6217 |    0.8159 |   -0.8259 |
#> |.....................|   -0.4393 |   0.04882 |    0.3361 |...........|
#> |    U|      132.6181 |    0.4579 |     1.004 |     3.266 |    0.7005 |
#> |.....................|     1.248 |     1.950 |     2.573 |...........|
#> |    X|      132.6181 |     1.581 |     2.729 |     26.20 |    0.7005 |
#> |.....................|     1.248 |     1.950 |     2.573 |...........|
#> |   25|     131.84882 |   -0.9594 |   -0.6096 |     1.190 |   -0.8230 |
#> |.....................|   -0.4573 |    0.1057 |    0.3837 |...........|
#> |    U|     131.84882 |    0.4806 |     1.016 |     3.640 |    0.7015 |
#> |.....................|     1.227 |     2.027 |     2.658 |...........|
#> |    X|     131.84882 |     1.617 |     2.762 |     38.08 |    0.7015 |
#> |.....................|     1.227 |     2.027 |     2.658 |...........|
#> |   26|     118.90855 |   -0.9762 |   -0.6119 |     1.016 |    -1.026 |
#> |.....................|   -0.4437 |   0.03728 |    0.3206 |...........|
#> |    U|     118.90855 |    0.4638 |     1.014 |     3.466 |    0.6305 |
#> |.....................|     1.243 |     1.935 |     2.545 |...........|
#> |    X|     118.90855 |     1.590 |     2.756 |     32.00 |    0.6305 |
#> |.....................|     1.243 |     1.935 |     2.545 |...........|
#> |   27|     119.49288 |   -0.9125 |   -0.5652 |     1.041 |   -0.7942 |
#> |.....................|   -0.3778 |   -0.1089 |    0.2398 |...........|
#> |    U|     119.49288 |    0.5275 |     1.060 |     3.491 |    0.7116 |
#> |.....................|     1.318 |     1.737 |     2.402 |...........|
#> |    X|     119.49288 |     1.695 |     2.888 |     32.83 |    0.7116 |
#> |.....................|     1.318 |     1.737 |     2.402 |...........|
#> |   28|     119.58825 |   -0.9609 |   -0.7320 |     1.008 |   -0.8260 |
#> |.....................|   -0.4101 |    0.1353 |    0.4400 |...........|
#> |    U|     119.58825 |    0.4791 |    0.8936 |     3.458 |    0.7004 |
#> |.....................|     1.281 |     2.067 |     2.758 |...........|
#> |    X|     119.58825 |     1.615 |     2.444 |     31.75 |    0.7004 |
#> |.....................|     1.281 |     2.067 |     2.758 |...........|
#> |   29|     118.85593 |   -0.8264 |   -0.6531 |    0.9943 |   -0.8370 |
#> |.....................|   -0.5008 |  -0.02990 |    0.2326 |...........|
#> |    U|     118.85593 |    0.6136 |    0.9725 |     3.444 |    0.6966 |
#> |.....................|     1.178 |     1.844 |     2.389 |...........|
#> |    X|     118.85593 |     1.847 |     2.645 |     31.32 |    0.6966 |
#> |.....................|     1.178 |     1.844 |     2.389 |...........|
#> |   30|     122.37222 |   -0.9681 |   -0.5015 |     1.088 |   -0.7881 |
#> |.....................|   -0.5412 |  -0.03281 |    0.2382 |...........|
#> |    U|     122.37222 |    0.4719 |     1.124 |     3.538 |    0.7137 |
#> |.....................|     1.132 |     1.840 |     2.399 |...........|
#> |    X|     122.37222 |     1.603 |     3.077 |     34.39 |    0.7137 |
#> |.....................|     1.132 |     1.840 |     2.399 |...........|
#> |   31|     118.95207 |    -1.002 |   -0.6469 |    0.9969 |   -0.8366 |
#> |.....................|   -0.5211 |   -0.1406 |    0.3316 |...........|
#> |    U|     118.95207 |    0.4385 |    0.9788 |     3.447 |    0.6967 |
#> |.....................|     1.155 |     1.694 |     2.565 |...........|
#> |    X|     118.95207 |     1.550 |     2.661 |     31.40 |    0.6967 |
#> |.....................|     1.155 |     1.694 |     2.565 |...........|
#> |   32|     117.03066 |    -1.026 |   -0.6111 |     1.008 |   -0.8311 |
#> |.....................|   -0.4250 |    0.1083 |    0.3490 |...........|
#> |    U|     117.03066 |    0.4137 |     1.015 |     3.458 |    0.6987 |
#> |.....................|     1.264 |     2.031 |     2.596 |...........|
#> |    X|     117.03066 |     1.512 |     2.758 |     31.74 |    0.6987 |
#> |.....................|     1.264 |     2.031 |     2.596 |...........|
#> |   33|     117.08174 |   -0.9825 |   -0.6268 |     1.018 |   -0.8254 |
#> |.....................|   -0.4429 |   0.03653 |    0.3090 |...........|
#> |    U|     117.08174 |    0.4575 |    0.9988 |     3.468 |    0.7007 |
#> |.....................|     1.244 |     1.934 |     2.525 |...........|
#> |    X|     117.08174 |     1.580 |     2.715 |     32.07 |    0.7007 |
#> |.....................|     1.244 |     1.934 |     2.525 |...........|
#> |   34|     116.89356 |   -0.9828 |   -0.6108 |     1.008 |   -0.8350 |
#> |.....................|   -0.4419 |   0.07415 |    0.3455 |...........|
#> |    U|     116.89356 |    0.4572 |     1.015 |     3.458 |    0.6973 |
#> |.....................|     1.245 |     1.985 |     2.590 |...........|
#> |    X|     116.89356 |     1.580 |     2.759 |     31.74 |    0.6973 |
#> |.....................|     1.245 |     1.985 |     2.590 |...........|
#> |   35|     116.98247 |   -0.9562 |   -0.6139 |     1.003 |   -0.8394 |
#> |.....................|   -0.4607 |   0.09554 |    0.3489 |...........|
#> |    U|     116.98247 |    0.4838 |     1.012 |     3.453 |    0.6957 |
#> |.....................|     1.223 |     2.013 |     2.596 |...........|
#> |    X|     116.98247 |     1.622 |     2.750 |     31.61 |    0.6957 |
#> |.....................|     1.223 |     2.013 |     2.596 |...........|
#> |   36|     116.88424 |   -0.9878 |   -0.6143 |     1.007 |   -0.8377 |
#> |.....................|   -0.4537 |   0.06540 |    0.3574 |...........|
#> |    U|     116.88424 |    0.4522 |     1.011 |     3.457 |    0.6963 |
#> |.....................|     1.231 |     1.973 |     2.611 |...........|
#> |    X|     116.88424 |     1.572 |     2.749 |     31.71 |    0.6963 |
#> |.....................|     1.231 |     1.973 |     2.611 |...........|
#> |   37|     116.86581 |   -0.9983 |   -0.6105 |     1.010 |   -0.8449 |
#> |.....................|   -0.4430 |   0.05546 |    0.3575 |...........|
#> |    U|     116.86581 |    0.4417 |     1.015 |     3.460 |    0.6938 |
#> |.....................|     1.243 |     1.959 |     2.611 |...........|
#> |    X|     116.86581 |     1.555 |     2.760 |     31.81 |    0.6938 |
#> |.....................|     1.243 |     1.959 |     2.611 |...........|
#> |   38|     116.89267 |    -1.012 |   -0.6093 |     1.011 |   -0.8377 |
#> |.....................|   -0.4428 |   0.04350 |    0.3603 |...........|
#> |    U|     116.89267 |    0.4278 |     1.016 |     3.461 |    0.6964 |
#> |.....................|     1.244 |     1.943 |     2.616 |...........|
#> |    X|     116.89267 |     1.534 |     2.763 |     31.85 |    0.6964 |
#> |.....................|     1.244 |     1.943 |     2.616 |...........|
#> |   39|     116.84533 |   -0.9916 |   -0.6144 |     1.010 |   -0.8403 |
#> |.....................|   -0.4265 |   0.05200 |    0.3633 |...........|
#> |    U|     116.84533 |    0.4484 |     1.011 |     3.460 |    0.6954 |
#> |.....................|     1.262 |     1.955 |     2.621 |...........|
#> |    X|     116.84533 |     1.566 |     2.749 |     31.83 |    0.6954 |
#> |.....................|     1.262 |     1.955 |     2.621 |...........|
#> |   40|     116.83540 |   -0.9762 |   -0.6171 |     1.009 |   -0.8496 |
#> |.....................|   -0.4313 |   0.04638 |    0.3668 |...........|
#> |    U|      116.8354 |    0.4638 |     1.008 |     3.459 |    0.6922 |
#> |.....................|     1.257 |     1.947 |     2.628 |...........|
#> |    X|      116.8354 |     1.590 |     2.741 |     31.78 |    0.6922 |
#> |.....................|     1.257 |     1.947 |     2.628 |...........|
#> |   41|     116.85508 |   -0.9730 |   -0.5989 |     1.007 |   -0.8482 |
#> |.....................|   -0.4308 |   0.04882 |    0.3737 |...........|
#> |    U|     116.85508 |    0.4670 |     1.027 |     3.457 |    0.6927 |
#> |.....................|     1.257 |     1.950 |     2.640 |...........|
#> |    X|     116.85508 |     1.595 |     2.792 |     31.73 |    0.6927 |
#> |.....................|     1.257 |     1.950 |     2.640 |...........|
#> |   42|     116.82105 |   -0.9751 |   -0.6119 |     1.007 |   -0.8481 |
#> |.....................|   -0.4331 |   0.05132 |    0.3770 |...........|
#> |    U|     116.82105 |    0.4649 |     1.014 |     3.457 |    0.6927 |
#> |.....................|     1.255 |     1.954 |     2.646 |...........|
#> |    X|     116.82105 |     1.592 |     2.756 |     31.72 |    0.6927 |
#> |.....................|     1.255 |     1.954 |     2.646 |...........|
#> |   43|     116.81828 |   -0.9739 |   -0.6120 |     1.006 |   -0.8489 |
#> |.....................|   -0.4349 |   0.05432 |    0.3871 |...........|
#> |    U|     116.81828 |    0.4661 |     1.014 |     3.456 |    0.6924 |
#> |.....................|     1.253 |     1.958 |     2.664 |...........|
#> |    X|     116.81828 |     1.594 |     2.755 |     31.68 |    0.6924 |
#> |.....................|     1.253 |     1.958 |     2.664 |...........|
#> |   44|     117.07670 |   -0.9760 |   -0.6124 |    0.9859 |   -0.8493 |
#> |.....................|   -0.4330 |   0.05382 |    0.3850 |...........|
#> |    U|      117.0767 |    0.4640 |     1.013 |     3.436 |    0.6923 |
#> |.....................|     1.255 |     1.957 |     2.660 |...........|
#> |    X|      117.0767 |     1.590 |     2.755 |     31.06 |    0.6923 |
#> |.....................|     1.255 |     1.957 |     2.660 |...........|
#> |   45|     116.91603 |   -0.9721 |   -0.6116 |     1.025 |   -0.8470 |
#> |.....................|   -0.4370 |   0.05796 |    0.3877 |...........|
#> |    U|     116.91603 |    0.4679 |     1.014 |     3.475 |    0.6931 |
#> |.....................|     1.250 |     1.963 |     2.665 |...........|
#> |    X|     116.91603 |     1.597 |     2.757 |     32.30 |    0.6931 |
#> |.....................|     1.250 |     1.963 |     2.665 |...........|
#> |   46|     116.85334 |   -0.9717 |   -0.6272 |     1.006 |   -0.8452 |
#> |.....................|   -0.4302 |   0.06522 |    0.3907 |...........|
#> |    U|     116.85334 |    0.4683 |    0.9985 |     3.456 |    0.6937 |
#> |.....................|     1.258 |     1.972 |     2.670 |...........|
#> |    X|     116.85334 |     1.597 |     2.714 |     31.68 |    0.6937 |
#> |.....................|     1.258 |     1.972 |     2.670 |...........|
#> |   47|     116.83057 |   -0.9606 |   -0.6122 |     1.006 |   -0.8509 |
#> |.....................|   -0.4394 |   0.04033 |    0.3856 |...........|
#> |    U|     116.83057 |    0.4794 |     1.013 |     3.456 |    0.6917 |
#> |.....................|     1.248 |     1.939 |     2.661 |...........|
#> |    X|     116.83057 |     1.615 |     2.755 |     31.70 |    0.6917 |
#> |.....................|     1.248 |     1.939 |     2.661 |...........|
#> |   48|     116.83755 |   -0.9691 |   -0.6137 |     1.008 |   -0.8629 |
#> |.....................|   -0.4238 |   0.04746 |    0.3854 |...........|
#> |    U|     116.83755 |    0.4709 |     1.012 |     3.458 |    0.6875 |
#> |.....................|     1.265 |     1.948 |     2.661 |...........|
#> |    X|     116.83755 |     1.601 |     2.751 |     31.75 |    0.6875 |
#> |.....................|     1.265 |     1.948 |     2.661 |...........|
#> |   49|     116.85399 |   -0.9662 |   -0.6115 |     1.004 |   -0.8572 |
#> |.....................|   -0.4454 |   0.06644 |    0.3838 |...........|
#> |    U|     116.85399 |    0.4738 |     1.014 |     3.454 |    0.6895 |
#> |.....................|     1.241 |     1.974 |     2.658 |...........|
#> |    X|     116.85399 |     1.606 |     2.757 |     31.62 |    0.6895 |
#> |.....................|     1.241 |     1.974 |     2.658 |...........|
#> |   50|     116.81947 |   -0.9863 |   -0.6105 |     1.007 |   -0.8408 |
#> |.....................|   -0.4379 |   0.04152 |    0.3890 |...........|
#> |    U|     116.81947 |    0.4537 |     1.015 |     3.457 |    0.6953 |
#> |.....................|     1.249 |     1.940 |     2.667 |...........|
#> |    X|     116.81947 |     1.574 |     2.760 |     31.71 |    0.6953 |
#> |.....................|     1.249 |     1.940 |     2.667 |...........|
#> |   51|     116.80717 |   -0.9794 |   -0.6127 |     1.011 |   -0.8445 |
#> |.....................|   -0.4366 |   0.04570 |    0.3932 |...........|
#> |    U|     116.80717 |    0.4606 |     1.013 |     3.461 |    0.6940 |
#> |.....................|     1.251 |     1.946 |     2.674 |...........|
#> |    X|     116.80717 |     1.585 |     2.754 |     31.84 |    0.6940 |
#> |.....................|     1.251 |     1.946 |     2.674 |...........|
#> |   52|     116.83051 |   -0.9783 |   -0.6108 |     1.008 |   -0.8280 |
#> |.....................|   -0.4444 |   0.05189 |    0.3888 |...........|
#> |    U|     116.83051 |    0.4617 |     1.015 |     3.458 |    0.6997 |
#> |.....................|     1.242 |     1.954 |     2.667 |...........|
#> |    X|     116.83051 |     1.587 |     2.759 |     31.76 |    0.6997 |
#> |.....................|     1.242 |     1.954 |     2.667 |...........|
#> |   53|     116.83616 |   -0.9903 |   -0.6124 |     1.012 |   -0.8507 |
#> |.....................|   -0.4494 |   0.04830 |    0.3847 |...........|
#> |    U|     116.83616 |    0.4497 |     1.013 |     3.462 |    0.6918 |
#> |.....................|     1.236 |     1.950 |     2.659 |...........|
#> |    X|     116.83616 |     1.568 |     2.754 |     31.87 |    0.6918 |
#> |.....................|     1.236 |     1.950 |     2.659 |...........|
#> |   54|     116.80687 |   -0.9777 |   -0.6122 |     1.011 |   -0.8441 |
#> |.....................|   -0.4332 |   0.04756 |    0.3899 |...........|
#> |    U|     116.80687 |    0.4623 |     1.013 |     3.461 |    0.6941 |
#> |.....................|     1.255 |     1.949 |     2.669 |...........|
#> |    X|     116.80687 |     1.588 |     2.755 |     31.83 |    0.6941 |
#> |.....................|     1.255 |     1.949 |     2.669 |...........|
#> |   55|     116.80644 |   -0.9777 |   -0.6121 |     1.010 |   -0.8449 |
#> |.....................|   -0.4346 |   0.04770 |    0.3912 |...........|
#> |    U|     116.80644 |    0.4623 |     1.014 |     3.460 |    0.6938 |
#> |.....................|     1.253 |     1.949 |     2.671 |...........|
#> |    X|     116.80644 |     1.588 |     2.755 |     31.83 |    0.6938 |
#> |.....................|     1.253 |     1.949 |     2.671 |...........|
#> |   56|     116.80628 |   -0.9774 |   -0.6117 |     1.010 |   -0.8454 |
#> |.....................|   -0.4349 |   0.04806 |    0.3921 |...........|
#> |    U|     116.80628 |    0.4626 |     1.014 |     3.460 |    0.6936 |
#> |.....................|     1.253 |     1.949 |     2.672 |...........|
#> |    X|     116.80628 |     1.588 |     2.756 |     31.82 |    0.6936 |
#> |.....................|     1.253 |     1.949 |     2.672 |...........|
#> |   57|     116.80572 |   -0.9780 |   -0.6112 |     1.010 |   -0.8452 |
#> |.....................|   -0.4347 |   0.04863 |    0.3941 |...........|
#> |    U|     116.80572 |    0.4620 |     1.014 |     3.460 |    0.6937 |
#> |.....................|     1.253 |     1.950 |     2.676 |...........|
#> |    X|     116.80572 |     1.587 |     2.758 |     31.81 |    0.6937 |
#> |.....................|     1.253 |     1.950 |     2.676 |...........|
#> |   58|     116.80532 |   -0.9808 |   -0.6113 |     1.010 |   -0.8444 |
#> |.....................|   -0.4337 |   0.05117 |    0.3962 |...........|
#> |    U|     116.80532 |    0.4592 |     1.014 |     3.460 |    0.6940 |
#> |.....................|     1.254 |     1.953 |     2.680 |...........|
#> |    X|     116.80532 |     1.583 |     2.757 |     31.81 |    0.6940 |
#> |.....................|     1.254 |     1.953 |     2.680 |...........|
#> |   59|     116.80496 |   -0.9798 |   -0.6108 |     1.009 |   -0.8439 |
#> |.....................|   -0.4337 |   0.05010 |    0.4004 |...........|
#> |    U|     116.80496 |    0.4602 |     1.015 |     3.459 |    0.6942 |
#> |.....................|     1.254 |     1.952 |     2.687 |...........|
#> |    X|     116.80496 |     1.584 |     2.759 |     31.79 |    0.6942 |
#> |.....................|     1.254 |     1.952 |     2.687 |...........|
#> |   60|     116.80584 |   -0.9798 |   -0.6111 |     1.008 |   -0.8440 |
#> |.....................|   -0.4334 |   0.04975 |    0.4002 |...........|
#> |    U|     116.80584 |    0.4602 |     1.015 |     3.458 |    0.6941 |
#> |.....................|     1.254 |     1.952 |     2.687 |...........|
#> |    X|     116.80584 |     1.584 |     2.758 |     31.75 |    0.6941 |
#> |.....................|     1.254 |     1.952 |     2.687 |...........|
#> |   61|     116.80482 |   -0.9800 |   -0.6111 |     1.010 |   -0.8449 |
#> |.....................|   -0.4331 |   0.04973 |    0.4005 |...........|
#> |    U|     116.80482 |    0.4600 |     1.015 |     3.460 |    0.6938 |
#> |.....................|     1.255 |     1.952 |     2.688 |...........|
#> |    X|     116.80482 |     1.584 |     2.758 |     31.80 |    0.6938 |
#> |.....................|     1.255 |     1.952 |     2.688 |...........|
#> |   62|     116.80579 |   -0.9809 |   -0.6107 |     1.009 |   -0.8452 |
#> |.....................|   -0.4331 |   0.04898 |    0.4012 |...........|
#> |    U|     116.80579 |    0.4591 |     1.015 |     3.459 |    0.6937 |
#> |.....................|     1.255 |     1.950 |     2.689 |...........|
#> |    X|     116.80579 |     1.583 |     2.759 |     31.80 |    0.6937 |
#> |.....................|     1.255 |     1.950 |     2.689 |...........|
#> |   63|     116.80509 |   -0.9809 |   -0.6110 |     1.010 |   -0.8447 |
#> |.....................|   -0.4326 |   0.05065 |    0.4008 |...........|
#> |    U|     116.80509 |    0.4591 |     1.015 |     3.460 |    0.6939 |
#> |.....................|     1.255 |     1.953 |     2.688 |...........|
#> |    X|     116.80509 |     1.583 |     2.758 |     31.80 |    0.6939 |
#> |.....................|     1.255 |     1.953 |     2.688 |...........|
#> |   64|     116.80417 |   -0.9790 |   -0.6119 |     1.010 |   -0.8449 |
#> |.....................|   -0.4327 |   0.05015 |    0.4006 |...........|
#> |    U|     116.80417 |    0.4610 |     1.014 |     3.460 |    0.6938 |
#> |.....................|     1.255 |     1.952 |     2.688 |...........|
#> |    X|     116.80417 |     1.586 |     2.756 |     31.80 |    0.6938 |
#> |.....................|     1.255 |     1.952 |     2.688 |...........|
#> |   65|     116.80429 |   -0.9782 |   -0.6115 |     1.010 |   -0.8448 |
#> |.....................|   -0.4318 |   0.05051 |    0.4004 |...........|
#> |    U|     116.80429 |    0.4618 |     1.014 |     3.460 |    0.6938 |
#> |.....................|     1.256 |     1.953 |     2.687 |...........|
#> |    X|     116.80429 |     1.587 |     2.757 |     31.80 |    0.6938 |
#> |.....................|     1.256 |     1.953 |     2.687 |...........|
#> |   66|     116.80456 |   -0.9791 |   -0.6117 |     1.010 |   -0.8461 |
#> |.....................|   -0.4323 |   0.05013 |    0.4011 |...........|
#> |    U|     116.80456 |    0.4609 |     1.014 |     3.460 |    0.6934 |
#> |.....................|     1.256 |     1.952 |     2.689 |...........|
#> |    X|     116.80456 |     1.585 |     2.756 |     31.80 |    0.6934 |
#> |.....................|     1.256 |     1.952 |     2.689 |...........|
#> |   67|     116.80386 |   -0.9787 |   -0.6127 |     1.010 |   -0.8447 |
#> |.....................|   -0.4326 |   0.05015 |    0.3995 |...........|
#> |    U|     116.80386 |    0.4613 |     1.013 |     3.460 |    0.6939 |
#> |.....................|     1.255 |     1.952 |     2.686 |...........|
#> |    X|     116.80386 |     1.586 |     2.754 |     31.81 |    0.6939 |
#> |.....................|     1.255 |     1.952 |     2.686 |...........|
#> |   68|     116.80397 |   -0.9794 |   -0.6130 |     1.010 |   -0.8435 |
#> |.....................|   -0.4323 |   0.04830 |    0.3979 |...........|
#> |    U|     116.80397 |    0.4606 |     1.013 |     3.460 |    0.6943 |
#> |.....................|     1.256 |     1.950 |     2.683 |...........|
#> |    X|     116.80397 |     1.585 |     2.753 |     31.81 |    0.6943 |
#> |.....................|     1.256 |     1.950 |     2.683 |...........|
#> |   69|     116.80475 |   -0.9785 |   -0.6126 |     1.011 |   -0.8449 |
#> |.....................|   -0.4328 |   0.05056 |    0.3991 |...........|
#> |    U|     116.80475 |    0.4615 |     1.013 |     3.461 |    0.6938 |
#> |.....................|     1.255 |     1.953 |     2.685 |...........|
#> |    X|     116.80475 |     1.586 |     2.754 |     31.85 |    0.6938 |
#> |.....................|     1.255 |     1.953 |     2.685 |...........|
#> |   70|     116.80400 |   -0.9782 |   -0.6128 |     1.009 |   -0.8453 |
#> |.....................|   -0.4326 |   0.05031 |    0.3987 |...........|
#> |    U|       116.804 |    0.4618 |     1.013 |     3.459 |    0.6937 |
#> |.....................|     1.255 |     1.952 |     2.684 |...........|
#> |    X|       116.804 |     1.587 |     2.753 |     31.80 |    0.6937 |
#> |.....................|     1.255 |     1.952 |     2.684 |...........|
#> |   71|     116.80397 |   -0.9790 |   -0.6133 |     1.010 |   -0.8450 |
#> |.....................|   -0.4337 |   0.04984 |    0.3992 |...........|
#> |    U|     116.80397 |    0.4610 |     1.012 |     3.460 |    0.6938 |
#> |.....................|     1.254 |     1.952 |     2.685 |...........|
#> |    X|     116.80397 |     1.586 |     2.752 |     31.81 |    0.6938 |
#> |.....................|     1.254 |     1.952 |     2.685 |...........|
#> |   72|     116.80390 |   -0.9793 |   -0.6132 |     1.010 |   -0.8437 |
#> |.....................|   -0.4328 |   0.04956 |    0.3994 |...........|
#> |    U|      116.8039 |    0.4607 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.255 |     1.951 |     2.686 |...........|
#> |    X|      116.8039 |     1.585 |     2.752 |     31.80 |    0.6942 |
#> |.....................|     1.255 |     1.951 |     2.686 |...........|
#> |   73|     116.80398 |   -0.9781 |   -0.6122 |     1.010 |   -0.8446 |
#> |.....................|   -0.4331 |   0.04950 |    0.3987 |...........|
#> |    U|     116.80398 |    0.4619 |     1.013 |     3.460 |    0.6939 |
#> |.....................|     1.255 |     1.951 |     2.684 |...........|
#> |    X|     116.80398 |     1.587 |     2.755 |     31.81 |    0.6939 |
#> |.....................|     1.255 |     1.951 |     2.684 |...........|
#> |   74|     116.80388 |   -0.9791 |   -0.6128 |     1.010 |   -0.8445 |
#> |.....................|   -0.4328 |   0.04919 |    0.3988 |...........|
#> |    U|     116.80388 |    0.4609 |     1.013 |     3.460 |    0.6940 |
#> |.....................|     1.255 |     1.951 |     2.684 |...........|
#> |    X|     116.80388 |     1.586 |     2.753 |     31.81 |    0.6940 |
#> |.....................|     1.255 |     1.951 |     2.684 |...........|
#> |   75|     116.80421 |   -0.9794 |   -0.6122 |     1.010 |   -0.8446 |
#> |.....................|   -0.4329 |   0.05067 |    0.3986 |...........|
#> |    U|     116.80421 |    0.4606 |     1.013 |     3.460 |    0.6939 |
#> |.....................|     1.255 |     1.953 |     2.684 |...........|
#> |    X|     116.80421 |     1.585 |     2.755 |     31.80 |    0.6939 |
#> |.....................|     1.255 |     1.953 |     2.684 |...........|
#> |   76|     116.80368 |   -0.9782 |   -0.6132 |     1.010 |   -0.8445 |
#> |.....................|   -0.4327 |   0.04999 |    0.3997 |...........|
#> |    U|     116.80368 |    0.4618 |     1.012 |     3.460 |    0.6940 |
#> |.....................|     1.255 |     1.952 |     2.686 |...........|
#> |    X|     116.80368 |     1.587 |     2.752 |     31.80 |    0.6940 |
#> |.....................|     1.255 |     1.952 |     2.686 |...........|
#> |   77|     116.80359 |   -0.9771 |   -0.6138 |     1.009 |   -0.8444 |
#> |.....................|   -0.4328 |   0.04993 |    0.4004 |...........|
#> |    U|     116.80359 |    0.4629 |     1.012 |     3.459 |    0.6940 |
#> |.....................|     1.255 |     1.952 |     2.687 |...........|
#> |    X|     116.80359 |     1.589 |     2.751 |     31.80 |    0.6940 |
#> |.....................|     1.255 |     1.952 |     2.687 |...........|
#> |   78|     116.80378 |   -0.9771 |   -0.6139 |     1.009 |   -0.8447 |
#> |.....................|   -0.4325 |   0.05104 |    0.4011 |...........|
#> |    U|     116.80378 |    0.4629 |     1.012 |     3.459 |    0.6939 |
#> |.....................|     1.255 |     1.953 |     2.689 |...........|
#> |    X|     116.80378 |     1.589 |     2.750 |     31.80 |    0.6939 |
#> |.....................|     1.255 |     1.953 |     2.689 |...........|
#> |   79|     116.80359 |   -0.9773 |   -0.6136 |     1.010 |   -0.8440 |
#> |.....................|   -0.4329 |   0.04956 |    0.4015 |...........|
#> |    U|     116.80359 |    0.4627 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.255 |     1.951 |     2.689 |...........|
#> |    X|     116.80359 |     1.588 |     2.751 |     31.82 |    0.6941 |
#> |.....................|     1.255 |     1.951 |     2.689 |...........|
#> |   80|     116.80351 |   -0.9768 |   -0.6140 |     1.010 |   -0.8440 |
#> |.....................|   -0.4327 |   0.04848 |    0.4009 |...........|
#> |    U|     116.80351 |    0.4632 |     1.012 |     3.460 |    0.6941 |
#> |.....................|     1.255 |     1.950 |     2.688 |...........|
#> |    X|     116.80351 |     1.589 |     2.750 |     31.81 |    0.6941 |
#> |.....................|     1.255 |     1.950 |     2.688 |...........|
#> |   81|     116.80376 |   -0.9774 |   -0.6140 |     1.010 |   -0.8451 |
#> |.....................|   -0.4322 |   0.04859 |    0.4014 |...........|
#> |    U|     116.80376 |    0.4626 |     1.012 |     3.460 |    0.6937 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80376 |     1.588 |     2.750 |     31.82 |    0.6937 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |   82|     116.80350 |   -0.9768 |   -0.6138 |     1.010 |   -0.8437 |
#> |.....................|   -0.4332 |   0.04877 |    0.4005 |...........|
#> |    U|      116.8035 |    0.4632 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.255 |     1.950 |     2.687 |...........|
#> |    X|      116.8035 |     1.589 |     2.751 |     31.81 |    0.6942 |
#> |.....................|     1.255 |     1.950 |     2.687 |...........|
#> |   83|     116.80360 |   -0.9771 |   -0.6141 |     1.010 |   -0.8437 |
#> |.....................|   -0.4325 |   0.04822 |    0.3995 |...........|
#> |    U|      116.8036 |    0.4629 |     1.012 |     3.460 |    0.6942 |
#> |.....................|     1.255 |     1.949 |     2.686 |...........|
#> |    X|      116.8036 |     1.589 |     2.750 |     31.82 |    0.6942 |
#> |.....................|     1.255 |     1.949 |     2.686 |...........|
#> |   84|     116.80346 |   -0.9763 |   -0.6130 |     1.010 |   -0.8436 |
#> |.....................|   -0.4323 |   0.04909 |    0.4008 |...........|
#> |    U|     116.80346 |    0.4637 |     1.013 |     3.460 |    0.6943 |
#> |.....................|     1.256 |     1.951 |     2.688 |...........|
#> |    X|     116.80346 |     1.590 |     2.753 |     31.81 |    0.6943 |
#> |.....................|     1.256 |     1.951 |     2.688 |...........|
#> |   85|     116.80342 |   -0.9761 |   -0.6135 |     1.010 |   -0.8434 |
#> |.....................|   -0.4321 |   0.04881 |    0.4011 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6943 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80342 |     1.590 |     2.751 |     31.81 |    0.6943 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |   86|     116.80357 |   -0.9751 |   -0.6128 |     1.010 |   -0.8433 |
#> |.....................|   -0.4318 |   0.04847 |    0.4015 |...........|
#> |    U|     116.80357 |    0.4649 |     1.013 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80357 |     1.592 |     2.753 |     31.82 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |   87|     116.80409 |   -0.9760 |   -0.6137 |     1.011 |   -0.8434 |
#> |.....................|   -0.4322 |   0.04923 |    0.4007 |...........|
#> |    U|     116.80409 |    0.4640 |     1.012 |     3.461 |    0.6943 |
#> |.....................|     1.256 |     1.951 |     2.688 |...........|
#> |    X|     116.80409 |     1.590 |     2.751 |     31.85 |    0.6943 |
#> |.....................|     1.256 |     1.951 |     2.688 |...........|
#> |   88|     116.80351 |   -0.9761 |   -0.6134 |     1.010 |   -0.8425 |
#> |.....................|   -0.4327 |   0.04821 |    0.4018 |...........|
#> |    U|     116.80351 |    0.4639 |     1.012 |     3.460 |    0.6947 |
#> |.....................|     1.255 |     1.949 |     2.690 |...........|
#> |    X|     116.80351 |     1.590 |     2.752 |     31.82 |    0.6947 |
#> |.....................|     1.255 |     1.949 |     2.690 |...........|
#> |   89|     116.80353 |   -0.9754 |   -0.6142 |     1.010 |   -0.8429 |
#> |.....................|   -0.4321 |   0.04819 |    0.4006 |...........|
#> |    U|     116.80353 |    0.4646 |     1.011 |     3.460 |    0.6945 |
#> |.....................|     1.256 |     1.949 |     2.688 |...........|
#> |    X|     116.80353 |     1.591 |     2.750 |     31.81 |    0.6945 |
#> |.....................|     1.256 |     1.949 |     2.688 |...........|
#> |   90|     116.80357 |   -0.9756 |   -0.6142 |     1.010 |   -0.8435 |
#> |.....................|   -0.4320 |   0.04872 |    0.4022 |...........|
#> |    U|     116.80357 |    0.4644 |     1.011 |     3.460 |    0.6943 |
#> |.....................|     1.256 |     1.950 |     2.691 |...........|
#> |    X|     116.80357 |     1.591 |     2.750 |     31.80 |    0.6943 |
#> |.....................|     1.256 |     1.950 |     2.691 |...........|
#> |   91|     116.80349 |   -0.9774 |   -0.6133 |     1.010 |   -0.8429 |
#> |.....................|   -0.4318 |   0.04892 |    0.4008 |...........|
#> |    U|     116.80349 |    0.4626 |     1.012 |     3.460 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80349 |     1.588 |     2.752 |     31.80 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |   92|     116.80343 |   -0.9763 |   -0.6134 |     1.010 |   -0.8430 |
#> |.....................|   -0.4320 |   0.04839 |    0.4008 |...........|
#> |    U|     116.80343 |    0.4637 |     1.012 |     3.460 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80343 |     1.590 |     2.752 |     31.81 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |   93|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4324 |   0.04888 |    0.4011 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |   94|     116.80342 |   -0.9764 |   -0.6134 |     1.010 |   -0.8433 |
#> |.....................|   -0.4322 |   0.04885 |    0.4010 |...........|
#> |    U|     116.80342 |    0.4636 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |   95|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8432 |
#> |.....................|   -0.4324 |   0.04882 |    0.4012 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.255 |     1.950 |     2.689 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.255 |     1.950 |     2.689 |...........|
#> |   96|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8432 |
#> |.....................|   -0.4322 |   0.04886 |    0.4011 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |   97|     116.80336 |   -0.9761 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4322 |   0.04882 |    0.4010 |...........|
#> |    U|     116.80336 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80336 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |   98|     116.80342 |   -0.9761 |   -0.6133 |     1.010 |   -0.8430 |
#> |.....................|   -0.4320 |   0.04883 |    0.4011 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |   99|     116.80353 |   -0.9761 |   -0.6135 |     1.010 |   -0.8431 |
#> |.....................|   -0.4322 |   0.04882 |    0.4011 |...........|
#> |    U|     116.80353 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80353 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |  100|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4322 |   0.04879 |    0.4010 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |  101|     116.80342 |   -0.9760 |   -0.6134 |     1.010 |   -0.8432 |
#> |.....................|   -0.4322 |   0.04881 |    0.4010 |...........|
#> |    U|     116.80342 |    0.4640 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |  102|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4321 |   0.04887 |    0.4010 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |  103|     116.80336 |   -0.9761 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4322 |   0.04878 |    0.4011 |...........|
#> |    U|     116.80336 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80336 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |  104|     116.80342 |   -0.9762 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4322 |   0.04875 |    0.4011 |...........|
#> |    U|     116.80342 |    0.4638 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |  105|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8432 |
#> |.....................|   -0.4322 |   0.04882 |    0.4010 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |  106|     116.80342 |   -0.9761 |   -0.6135 |     1.010 |   -0.8431 |
#> |.....................|   -0.4321 |   0.04877 |    0.4010 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |  107|     116.80342 |   -0.9762 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4321 |   0.04871 |    0.4010 |...........|
#> |    U|     116.80342 |    0.4638 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |  108|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8430 |
#> |.....................|   -0.4322 |   0.04880 |    0.4011 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6945 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |  109|     116.80341 |   -0.9761 |   -0.6134 |     1.010 |   -0.8432 |
#> |.....................|   -0.4322 |   0.04876 |    0.4011 |...........|
#> |    U|     116.80341 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80341 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |  110|     116.80343 |   -0.9762 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4322 |   0.04881 |    0.4011 |...........|
#> |    U|     116.80343 |    0.4638 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80343 |     1.590 |     2.752 |     31.80 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |  111|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4323 |   0.04881 |    0.4011 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |  112|     116.80343 |   -0.9761 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4321 |   0.04882 |    0.4011 |...........|
#> |    U|     116.80343 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |    X|     116.80343 |     1.590 |     2.752 |     31.80 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.689 |...........|
#> |  113|     116.80342 |   -0.9761 |   -0.6134 |     1.010 |   -0.8431 |
#> |.....................|   -0.4322 |   0.04878 |    0.4011 |...........|
#> |    U|     116.80342 |    0.4639 |     1.012 |     3.460 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> |    X|     116.80342 |     1.590 |     2.752 |     31.81 |    0.6944 |
#> |.....................|     1.256 |     1.950 |     2.688 |...........|
#> calculating covariance matrix
#> done
#> Calculating residuals/tables
#> done
#> Warning: initial ETAs were nudged; (can control by foceiControl(etaNudge=., etaNudge2=))
#> Warning: ETAs were reset to zero during optimization; (Can control by foceiControl(resetEtaP=.))
#> Warning: last objective function was not at minimum, possible problems in optimization
#> Warning: gradient problems with covariance; see $scaleInfo

# }