Complete fit command and option index
This index lists options applicable to nlmx fit in version 4.14.3. The shared parser also displays options belonging only to other commands; those are not repeated here.
Invocation and input resolution
nlmx fit [CONTROL_STREAM] [OPTIONS]
nlmx fit --ctl run101.ctl --data analysis.csv -o results/run101
nlmx fit --model-dir run-family --run-stem run101
| Purpose | Options |
|---|---|
| Control stream | positional CONTROL_STREAM, --ctl, --model-dir, --run-stem, --recursive, --files |
| Prior run inputs | --ext, --cov, --cor, --lst, --phi, --table |
| Dataset | --data overrides $DATA |
| Configuration/output | -c/--config, -o/--output, --overwrite, --dry-run |
Only inputs used by the requested workflow are required. --start-from-ext makes --ext the starting-estimate source; merely providing an EXT does not imply that behavior.
Estimation, covariance and stochastic controls
| Purpose | Options/values |
|---|---|
| Approximation | `--approximation auto |
| Classical limits | --max-iterations, --gradient-tolerance |
| Automatic recovery | --retry N (0..10; default 0) |
| Covariance | --cov-step, --no-cov-step, `--cov-matrix rsr |
| Previous estimates | --start-from-ext with --ext |
| Output stem | --stem |
| SAEM | --saem-burn, --saem-iter, --saem-chains, --is-samples, --seed |
| Shared numerics | --threads, --strict, --seed, --ridge-max |
| Evaluate only | --max-iterations 0 |
| Resolve settings | --print-options |
--retry preserves the submitted run as attempt 0. If it fails numerically or does not converge, retry 1 starts from mapped autoinit estimates when supported; otherwise it uses a disclosed random fallback. Retries 2–N perturb the recovery center by at most ±15% while preserving bounds, FIX elements, SAME relationships, and covariance correlations. The first converged retry stops the loop. Starts are reproducible from --seed, and all attempted starts/results are indexed by <output>/retries/retries.csv. See the complete retry supplement.
Tables and goodness-of-fit output
| Purpose | Options |
|---|---|
| Prediction table | --no-table, --carry-columns COL1,COL2 |
| Predose policy | --keep-predose |
| Plot transformation | `--gof-back-transform exp |
| Plot subsets | --gof-stratify COL, --gof-filter EXPR |
| Plot creation | --plots, --no-caption, `--legend-position bottom |
| Plot size | --plot-width, --plot-height, `--plot-units in |
| Plot format/style | `--plot-format png |
Logging, privacy and help
--suppress-console 0|1, --log-file, --no-color, repeated -v/--verbose, -q/--quiet, --keep-subject-ids, --license, and -h/--help apply. Subject identifiers are hashed in outputs governed by privacy behavior unless explicitly retained; confirm each file’s documented behavior.
Exit classes include usage 2, I/O 3, unsupported feature 5, data validation 7 and numerical failure 9. A nonconverged fit can still write an evidence bundle; distinguish process exit from termination status.
Every detailed option is explained on the pages that follow. Use --print-options and archive fit_command.txt to capture resolved estimation settings rather than reconstructing defaults later.