Access method for bru_log
objects.
Note: Up to version 2.8.0
, bru_log()
was a deprecated alias for
bru_log_message()
. When running on 2.8.0
or earlier, use bru_log_get()
to access the global log, and cat(fit$bru_iinla$log, sep = "\n")
to print a
stored estimation object log.
After version 2.8.0
, use bru_log()
to access the global log, and
bru_log(fit)
to access a stored estimation log.
Usage
bru_log(x = NULL, verbosity = NULL)
# S3 method for class 'character'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru_log'
bru_log(x, verbosity = NULL)
# S3 method for class 'iinla'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru_log'
format(x, ..., timestamp = TRUE, verbosity = FALSE)
# S3 method for class 'bru_log'
print(x, ..., timestamp = TRUE, verbosity = FALSE)
# S3 method for class 'bru_log'
as.character(x, ...)
# S3 method for class 'bru_log'
x[i]
# S3 method for class 'bru_log'
c(...)
# S3 method for class 'bru_log'
length(x)
Arguments
- x
An object that is, contains, or can be converted to, a
bru_log
object. IfNULL
, refers to the globalinlabru
log.- verbosity
integer value for limiting the highest verbosity level being returned.
- ...
further arguments passed to or from other methods.
- timestamp
If
TRUE
, include the timestamp of each message. DefaultTRUE
.- i
indices specifying elements to extract. If
character
, denotes the sequence between bookmarki
and the next bookmark (or the end of the log ifi
is the last bookmark)
Value
bru_log
A bru_log
object, containing a
character vector of log messages, and potentially a vector of bookmarks.
Methods (by generic)
format(bru_log)
: Format abru_log
object for printing. Ifverbosity
isTRUE
, include the verbosity level of each message.print(bru_log)
: Print abru_log
object withcat(x, sep = "\n")
. Ifverbosity
isTRUE
, include the verbosity level of each message.as.character(bru_log)
: Convertbru_log
object to a plaincharacter
vector[
: Extract a subset of abru_log
objectc(bru_log)
: Concatenate severalbru_log
orcharacter
objects into abru_log
object.length(bru_log)
: Obtain the number of log entries into abru_log
object.
Functions
bru_log()
: Extract stored log messages. If non-NULL
, theverbosity
argument determines the maximum verbosity level of the messages to extract.
See also
Other inlabru log methods:
bru_log_bookmark()
,
bru_log_message()
,
bru_log_new()
,
bru_log_offset()
,
bru_log_reset()
Examples
bru_log(verbosity = 2L)
#> 2025-09-10 15:24:20.851956: inlabru loaded
#> 2025-09-10 15:24:20.852492: Clear override options
#> 2025-09-10 15:24:33.90514: bru: Preprocessing
#> 2025-09-10 15:24:34.051015: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:34.863779: bru: Preprocessing
#> 2025-09-10 15:24:34.961423: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:36.052211: bru: Preprocessing
#> 2025-09-10 15:24:36.151936: iinla: Iteration 1 [max: 10]
#> 2025-09-10 15:24:36.621051: iinla: Step rescaling: 27.7% (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2)
#> 2025-09-10 15:24:36.662671: iinla: Iteration 2 [max: 10]
#> 2025-09-10 15:24:37.646444: iinla: Step rescaling: 99.8% (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6)
#> 2025-09-10 15:24:37.683124: iinla: Max deviation from previous: 76700% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:37.685626: iinla: Iteration 3 [max: 10]
#> 2025-09-10 15:24:38.141869: iinla: Step rescaling: 102% (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49)
#> 2025-09-10 15:24:38.175205: iinla: Max deviation from previous: 764% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:38.177589: iinla: Iteration 4 [max: 10]
#> 2025-09-10 15:24:38.654232: iinla: Max deviation from previous: 11.7% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:38.656494: iinla: Iteration 5 [max: 10]
#> 2025-09-10 15:24:39.146459: iinla: Max deviation from previous: 0.00356% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:39.14781: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-09-10 15:24:39.149991: iinla: Iteration 6 [max: 10]
#> 2025-09-10 15:24:40.735801: bru: Preprocessing
#> 2025-09-10 15:24:40.804499: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:47.978053: bru: Preprocessing
#> 2025-09-10 15:24:48.077524: iinla: Iteration 1 [max: 1]
format(bru_log())
#> 2025-09-10 15:24:20.851956: inlabru loaded
#> 2025-09-10 15:24:20.852492: Clear override options
#> 2025-09-10 15:24:33.90514: bru: Preprocessing
#> 2025-09-10 15:24:33.921045: Evaluate component inputs for each observation model
#> 2025-09-10 15:24:33.923139: bru_input(bru_comp_list)
#> 2025-09-10 15:24:33.925208: bru_input.bru_comp(x)
#> 2025-09-10 15:24:33.927432: bru_input(bru_input) for (x)
#> 2025-09-10 15:24:33.938454: bru_input.bru_comp(Intercept)
#> 2025-09-10 15:24:33.940466: bru_input(bru_input) for (Intercept)
#> 2025-09-10 15:24:33.966053: iinla: Start
#> 2025-09-10 15:24:33.969044: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:33.972063: Linearise components for each observation model
#> 2025-09-10 15:24:33.975038: Linearise component 'x'
#> 2025-09-10 15:24:33.980769: Linearise component 'Intercept'
#> 2025-09-10 15:24:33.985056: iinla: Evaluate component simplifications
#> 2025-09-10 15:24:33.986822: Simplify component mappers for each observation model
#> 2025-09-10 15:24:33.988918: Simplify component 'x'
#> 2025-09-10 15:24:33.99361: Simplify component 'Intercept'
#> 2025-09-10 15:24:33.997958: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:34.016557: iinla: Construct inla stack
#> 2025-09-10 15:24:34.048525: iinla: Model initialisation completed
#> 2025-09-10 15:24:34.051015: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:34.863779: bru: Preprocessing
#> 2025-09-10 15:24:34.869809: Evaluate component inputs for each observation model
#> 2025-09-10 15:24:34.871732: bru_input(bru_comp_list)
#> 2025-09-10 15:24:34.87357: bru_input.bru_comp(x)
#> 2025-09-10 15:24:34.875723: bru_input(bru_input) for (x)
#> 2025-09-10 15:24:34.887105: bru_input.bru_comp(Intercept)
#> 2025-09-10 15:24:34.889357: bru_input(bru_input) for (Intercept)
#> 2025-09-10 15:24:34.905571: iinla: Start
#> 2025-09-10 15:24:34.90735: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:34.909063: Linearise components for each observation model
#> 2025-09-10 15:24:34.910817: Linearise component 'x'
#> 2025-09-10 15:24:34.915401: Linearise component 'Intercept'
#> 2025-09-10 15:24:34.919732: iinla: Evaluate component simplifications
#> 2025-09-10 15:24:34.921743: Simplify component mappers for each observation model
#> 2025-09-10 15:24:34.923682: Simplify component 'x'
#> 2025-09-10 15:24:34.928072: Simplify component 'Intercept'
#> 2025-09-10 15:24:34.932145: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:34.941112: iinla: Construct inla stack
#> 2025-09-10 15:24:34.959409: iinla: Model initialisation completed
#> 2025-09-10 15:24:34.961423: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:36.052211: bru: Preprocessing
#> 2025-09-10 15:24:36.058135: Evaluate component inputs for each observation model
#> 2025-09-10 15:24:36.059881: bru_input(bru_comp_list)
#> 2025-09-10 15:24:36.061749: bru_input.bru_comp(z)
#> 2025-09-10 15:24:36.063703: bru_input(bru_input) for (z)
#> 2025-09-10 15:24:36.07494: bru_input.bru_comp(Intercept)
#> 2025-09-10 15:24:36.076793: bru_input(bru_input) for (Intercept)
#> 2025-09-10 15:24:36.091155: iinla: Start
#> 2025-09-10 15:24:36.092774: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:36.094577: Linearise components for each observation model
#> 2025-09-10 15:24:36.096448: Linearise component 'z'
#> 2025-09-10 15:24:36.101239: Linearise component 'Intercept'
#> 2025-09-10 15:24:36.105276: iinla: Evaluate component simplifications
#> 2025-09-10 15:24:36.106876: Simplify component mappers for each observation model
#> 2025-09-10 15:24:36.108776: Simplify component 'z'
#> 2025-09-10 15:24:36.113429: Simplify component 'Intercept'
#> 2025-09-10 15:24:36.11784: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:36.121588: Linearise with respect to component 'z'
#> 2025-09-10 15:24:36.129125: Linearise with respect to component 'Intercept'
#> 2025-09-10 15:24:36.133648: iinla: Construct inla stack
#> 2025-09-10 15:24:36.150233: iinla: Model initialisation completed
#> 2025-09-10 15:24:36.151936: iinla: Iteration 1 [max: 10]
#> 2025-09-10 15:24:36.607565: iinla: Step rescaling: 61.8%, Contract (norm0 = 3174, norm1 = 2906, norm01 = 577.2)
#> 2025-09-10 15:24:36.611424: iinla: Step rescaling: 38.2%, Contract (norm0 = 650.8, norm1 = 482, norm01 = 577.2)
#> 2025-09-10 15:24:36.616374: iinla: Step rescaling: 27.65%, Approx Optimisation (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2)
#> 2025-09-10 15:24:36.618798: iinla: |lin1-lin0| = 577.2
#> <eta-lin1,delta>/|delta| = -327.3
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 179.9
#> 2025-09-10 15:24:36.621051: iinla: Step rescaling: 27.7% (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2)
#> 2025-09-10 15:24:36.623671: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:36.625464: Linearise components for each observation model
#> 2025-09-10 15:24:36.627463: Linearise component 'z'
#> 2025-09-10 15:24:36.631968: Linearise component 'Intercept'
#> 2025-09-10 15:24:36.636432: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:36.639693: Linearise with respect to component 'z'
#> 2025-09-10 15:24:36.644734: Linearise with respect to component 'Intercept'
#> 2025-09-10 15:24:36.662671: iinla: Iteration 2 [max: 10]
#> 2025-09-10 15:24:37.634445: iinla: Step rescaling: 162%, Expand (norm0 = 604.5, norm1 = 233.7, norm01 = 373.6)
#> 2025-09-10 15:24:37.638138: iinla: Step rescaling: 100%, Overstep (norm0 = 373.3, norm1 = 16.51, norm01 = 373.6)
#> 2025-09-10 15:24:37.642387: iinla: Step rescaling: 99.78%, Approx Optimisation (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6)
#> 2025-09-10 15:24:37.644445: iinla: |lin1-lin0| = 373.6
#> <eta-lin1,delta>/|delta| = -1.455
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 16.42
#> 2025-09-10 15:24:37.646444: iinla: Step rescaling: 99.8% (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6)
#> 2025-09-10 15:24:37.648549: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:37.649954: Linearise components for each observation model
#> 2025-09-10 15:24:37.651707: Linearise component 'z'
#> 2025-09-10 15:24:37.655741: Linearise component 'Intercept'
#> 2025-09-10 15:24:37.659522: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:37.662095: Linearise with respect to component 'z'
#> 2025-09-10 15:24:37.66655: Linearise with respect to component 'Intercept'
#> 2025-09-10 15:24:37.683124: iinla: Max deviation from previous: 76700% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:37.685626: iinla: Iteration 3 [max: 10]
#> 2025-09-10 15:24:38.131474: iinla: Step rescaling: 162%, Expand (norm0 = 26.02, norm1 = 9.531, norm01 = 16.49)
#> 2025-09-10 15:24:38.134602: iinla: Step rescaling: 100%, Overstep (norm0 = 16.23, norm1 = 0.2537, norm01 = 16.49)
#> 2025-09-10 15:24:38.138443: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49)
#> 2025-09-10 15:24:38.140202: iinla: |lin1-lin0| = 16.49
#> <eta-lin1,delta>/|delta| = -4.27e-06
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.01326
#> 2025-09-10 15:24:38.141869: iinla: Step rescaling: 102% (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49)
#> 2025-09-10 15:24:38.143747: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:38.145118: Linearise components for each observation model
#> 2025-09-10 15:24:38.146614: Linearise component 'z'
#> 2025-09-10 15:24:38.150562: Linearise component 'Intercept'
#> 2025-09-10 15:24:38.154224: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:38.157006: Linearise with respect to component 'z'
#> 2025-09-10 15:24:38.161091: Linearise with respect to component 'Intercept'
#> 2025-09-10 15:24:38.175205: iinla: Max deviation from previous: 764% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:38.177589: iinla: Iteration 4 [max: 10]
#> 2025-09-10 15:24:38.61146: iinla: Step rescaling: 162%, Expand (norm0 = 0.02145, norm1 = 0.008193, norm01 = 0.01326)
#> 2025-09-10 15:24:38.6147: iinla: Step rescaling: 100%, Overstep (norm0 = 0.01326, norm1 = 5.025e-08, norm01 = 0.01326)
#> 2025-09-10 15:24:38.618615: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.01326, norm1 = 5.019e-08, norm01 = 0.01326)
#> 2025-09-10 15:24:38.620361: iinla: |lin1-lin0| = 0.01326
#> <eta-lin1,delta>/|delta| = 5.421e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 5.019e-08
#> 2025-09-10 15:24:38.622376: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:38.623765: Linearise components for each observation model
#> 2025-09-10 15:24:38.625328: Linearise component 'z'
#> 2025-09-10 15:24:38.629083: Linearise component 'Intercept'
#> 2025-09-10 15:24:38.632694: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:38.635428: Linearise with respect to component 'z'
#> 2025-09-10 15:24:38.639495: Linearise with respect to component 'Intercept'
#> 2025-09-10 15:24:38.654232: iinla: Max deviation from previous: 11.7% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:38.656494: iinla: Iteration 5 [max: 10]
#> 2025-09-10 15:24:39.103348: iinla: Step rescaling: 162%, Expand (norm0 = 8.257e-08, norm1 = 3.154e-08, norm01 = 5.103e-08)
#> 2025-09-10 15:24:39.106629: iinla: Step rescaling: 100%, Overstep (norm0 = 5.103e-08, norm1 = 2.112e-13, norm01 = 5.103e-08)
#> 2025-09-10 15:24:39.110582: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 5.103e-08, norm1 = 7.829e-14, norm01 = 5.103e-08)
#> 2025-09-10 15:24:39.11239: iinla: |lin1-lin0| = 5.103e-08
#> <eta-lin1,delta>/|delta| = -4.727e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 6.24e-14
#> 2025-09-10 15:24:39.11438: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:39.115746: Linearise components for each observation model
#> 2025-09-10 15:24:39.117455: Linearise component 'z'
#> 2025-09-10 15:24:39.121346: Linearise component 'Intercept'
#> 2025-09-10 15:24:39.125291: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:39.128157: Linearise with respect to component 'z'
#> 2025-09-10 15:24:39.132461: Linearise with respect to component 'Intercept'
#> 2025-09-10 15:24:39.146459: iinla: Max deviation from previous: 0.00356% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:39.14781: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-09-10 15:24:39.149991: iinla: Iteration 6 [max: 10]
#> 2025-09-10 15:24:40.735801: bru: Preprocessing
#> 2025-09-10 15:24:40.745475: Evaluate component inputs for each observation model
#> 2025-09-10 15:24:40.74725: bru_input(bru_comp_list)
#> 2025-09-10 15:24:40.749122: bru_input.bru_comp(field)
#> 2025-09-10 15:24:40.751105: bru_input(bru_input) for (field)
#> 2025-09-10 15:24:40.76511: iinla: Start
#> 2025-09-10 15:24:40.766618: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:40.768062: Linearise components for each observation model
#> 2025-09-10 15:24:40.769806: Linearise component 'field'
#> 2025-09-10 15:24:40.776296: iinla: Evaluate component simplifications
#> 2025-09-10 15:24:40.778013: Simplify component mappers for each observation model
#> 2025-09-10 15:24:40.779799: Simplify component 'field'
#> 2025-09-10 15:24:40.785163: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:40.789227: iinla: Construct inla stack
#> 2025-09-10 15:24:40.802553: iinla: Model initialisation completed
#> 2025-09-10 15:24:40.804499: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:43.89566: bru_input(bru_comp_list)
#> 2025-09-10 15:24:47.978053: bru: Preprocessing
#> 2025-09-10 15:24:47.992635: Evaluate component inputs for each observation model
#> 2025-09-10 15:24:47.994271: bru_input(bru_comp_list)
#> 2025-09-10 15:24:47.99599: bru_input.bru_comp(x)
#> 2025-09-10 15:24:47.997802: bru_input(bru_input) for (x)
#> 2025-09-10 15:24:48.008743: bru_input(bru_comp_list)
#> 2025-09-10 15:24:48.010667: bru_input.bru_comp(x)
#> 2025-09-10 15:24:48.012543: bru_input(bru_input) for (x)
#> 2025-09-10 15:24:48.024474: iinla: Start
#> 2025-09-10 15:24:48.025774: iinla: Evaluate component linearisations
#> 2025-09-10 15:24:48.02732: Linearise components for each observation model
#> 2025-09-10 15:24:48.028787: Linearise component 'x'
#> 2025-09-10 15:24:48.033171: Linearise component 'x'
#> 2025-09-10 15:24:48.036608: iinla: Evaluate component simplifications
#> 2025-09-10 15:24:48.037907: Simplify component mappers for each observation model
#> 2025-09-10 15:24:48.039308: Simplify component 'x'
#> 2025-09-10 15:24:48.043311: Simplify component 'x'
#> 2025-09-10 15:24:48.047451: iinla: Evaluate predictor linearisation
#> 2025-09-10 15:24:48.056387: iinla: Construct inla stack
#> 2025-09-10 15:24:48.075593: iinla: Model initialisation completed
#> 2025-09-10 15:24:48.077524: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:49.547147: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2025-09-10 15:24:20.851956: inlabru loaded
#> 2025-09-10 15:24:20.852492: Clear override options
#> 2025-09-10 15:24:33.90514: bru: Preprocessing
#> 2025-09-10 15:24:34.051015: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:34.863779: bru: Preprocessing
#> 2025-09-10 15:24:34.961423: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:36.052211: bru: Preprocessing
#> 2025-09-10 15:24:36.151936: iinla: Iteration 1 [max: 10]
#> 2025-09-10 15:24:36.621051: iinla: Step rescaling: 27.7% (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2)
#> 2025-09-10 15:24:36.662671: iinla: Iteration 2 [max: 10]
#> 2025-09-10 15:24:37.646444: iinla: Step rescaling: 99.8% (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6)
#> 2025-09-10 15:24:37.683124: iinla: Max deviation from previous: 76700% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:37.685626: iinla: Iteration 3 [max: 10]
#> 2025-09-10 15:24:38.141869: iinla: Step rescaling: 102% (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49)
#> 2025-09-10 15:24:38.175205: iinla: Max deviation from previous: 764% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:38.177589: iinla: Iteration 4 [max: 10]
#> 2025-09-10 15:24:38.654232: iinla: Max deviation from previous: 11.7% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:38.656494: iinla: Iteration 5 [max: 10]
#> 2025-09-10 15:24:39.146459: iinla: Max deviation from previous: 0.00356% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-09-10 15:24:39.14781: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-09-10 15:24:39.149991: iinla: Iteration 6 [max: 10]
#> 2025-09-10 15:24:40.735801: bru: Preprocessing
#> 2025-09-10 15:24:40.804499: iinla: Iteration 1 [max: 1]
#> 2025-09-10 15:24:47.978053: bru: Preprocessing
#> 2025-09-10 15:24:48.077524: iinla: Iteration 1 [max: 1]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2025-09-10 15:24:20.851956: inlabru loaded (level 1)
#> 2025-09-10 15:24:20.852492: Clear override options (level 1)
#> 2025-09-10 15:24:33.90514: bru: Preprocessing (level 1)
#> 2025-09-10 15:24:33.921045: Evaluate component inputs for each observation model (level 3)
#> 2025-09-10 15:24:33.923139: bru_input(bru_comp_list) (level 4)
#> 2025-09-10 15:24:33.925208: bru_input.bru_comp(x) (level 4)
#> 2025-09-10 15:24:33.927432: bru_input(bru_input) for (x) (level 5)
#> 2025-09-10 15:24:33.938454: bru_input.bru_comp(Intercept) (level 4)
#> 2025-09-10 15:24:33.940466: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-09-10 15:24:33.966053: iinla: Start (level 3)
#> 2025-09-10 15:24:33.969044: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:33.972063: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:33.975038: Linearise component 'x' (level 4)
#> 2025-09-10 15:24:33.980769: Linearise component 'Intercept' (level 4)
#> 2025-09-10 15:24:33.985056: iinla: Evaluate component simplifications (level 3)
#> 2025-09-10 15:24:33.986822: Simplify component mappers for each observation model (level 3)
#> 2025-09-10 15:24:33.988918: Simplify component 'x' (level 4)
#> 2025-09-10 15:24:33.99361: Simplify component 'Intercept' (level 4)
#> 2025-09-10 15:24:33.997958: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:34.016557: iinla: Construct inla stack (level 3)
#> 2025-09-10 15:24:34.048525: iinla: Model initialisation completed (level 3)
#> 2025-09-10 15:24:34.051015: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-09-10 15:24:34.863779: bru: Preprocessing (level 1)
#> 2025-09-10 15:24:34.869809: Evaluate component inputs for each observation model (level 3)
#> 2025-09-10 15:24:34.871732: bru_input(bru_comp_list) (level 4)
#> 2025-09-10 15:24:34.87357: bru_input.bru_comp(x) (level 4)
#> 2025-09-10 15:24:34.875723: bru_input(bru_input) for (x) (level 5)
#> 2025-09-10 15:24:34.887105: bru_input.bru_comp(Intercept) (level 4)
#> 2025-09-10 15:24:34.889357: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-09-10 15:24:34.905571: iinla: Start (level 3)
#> 2025-09-10 15:24:34.90735: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:34.909063: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:34.910817: Linearise component 'x' (level 4)
#> 2025-09-10 15:24:34.915401: Linearise component 'Intercept' (level 4)
#> 2025-09-10 15:24:34.919732: iinla: Evaluate component simplifications (level 3)
#> 2025-09-10 15:24:34.921743: Simplify component mappers for each observation model (level 3)
#> 2025-09-10 15:24:34.923682: Simplify component 'x' (level 4)
#> 2025-09-10 15:24:34.928072: Simplify component 'Intercept' (level 4)
#> 2025-09-10 15:24:34.932145: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:34.941112: iinla: Construct inla stack (level 3)
#> 2025-09-10 15:24:34.959409: iinla: Model initialisation completed (level 3)
#> 2025-09-10 15:24:34.961423: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-09-10 15:24:36.052211: bru: Preprocessing (level 1)
#> 2025-09-10 15:24:36.058135: Evaluate component inputs for each observation model (level 3)
#> 2025-09-10 15:24:36.059881: bru_input(bru_comp_list) (level 4)
#> 2025-09-10 15:24:36.061749: bru_input.bru_comp(z) (level 4)
#> 2025-09-10 15:24:36.063703: bru_input(bru_input) for (z) (level 5)
#> 2025-09-10 15:24:36.07494: bru_input.bru_comp(Intercept) (level 4)
#> 2025-09-10 15:24:36.076793: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-09-10 15:24:36.091155: iinla: Start (level 3)
#> 2025-09-10 15:24:36.092774: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:36.094577: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:36.096448: Linearise component 'z' (level 4)
#> 2025-09-10 15:24:36.101239: Linearise component 'Intercept' (level 4)
#> 2025-09-10 15:24:36.105276: iinla: Evaluate component simplifications (level 3)
#> 2025-09-10 15:24:36.106876: Simplify component mappers for each observation model (level 3)
#> 2025-09-10 15:24:36.108776: Simplify component 'z' (level 4)
#> 2025-09-10 15:24:36.113429: Simplify component 'Intercept' (level 4)
#> 2025-09-10 15:24:36.11784: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:36.121588: Linearise with respect to component 'z' (level 5)
#> 2025-09-10 15:24:36.129125: Linearise with respect to component 'Intercept' (level 5)
#> 2025-09-10 15:24:36.133648: iinla: Construct inla stack (level 3)
#> 2025-09-10 15:24:36.150233: iinla: Model initialisation completed (level 3)
#> 2025-09-10 15:24:36.151936: iinla: Iteration 1 [max: 10] (level 1)
#> 2025-09-10 15:24:36.607565: iinla: Step rescaling: 61.8%, Contract (norm0 = 3174, norm1 = 2906, norm01 = 577.2) (level 3)
#> 2025-09-10 15:24:36.611424: iinla: Step rescaling: 38.2%, Contract (norm0 = 650.8, norm1 = 482, norm01 = 577.2) (level 3)
#> 2025-09-10 15:24:36.616374: iinla: Step rescaling: 27.65%, Approx Optimisation (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2) (level 3)
#> 2025-09-10 15:24:36.618798: iinla: |lin1-lin0| = 577.2
#> <eta-lin1,delta>/|delta| = -327.3
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 179.9 (level 4)
#> 2025-09-10 15:24:36.621051: iinla: Step rescaling: 27.7% (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2) (level 2)
#> 2025-09-10 15:24:36.623671: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:36.625464: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:36.627463: Linearise component 'z' (level 4)
#> 2025-09-10 15:24:36.631968: Linearise component 'Intercept' (level 4)
#> 2025-09-10 15:24:36.636432: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:36.639693: Linearise with respect to component 'z' (level 5)
#> 2025-09-10 15:24:36.644734: Linearise with respect to component 'Intercept' (level 5)
#> 2025-09-10 15:24:36.662671: iinla: Iteration 2 [max: 10] (level 1)
#> 2025-09-10 15:24:37.634445: iinla: Step rescaling: 162%, Expand (norm0 = 604.5, norm1 = 233.7, norm01 = 373.6) (level 3)
#> 2025-09-10 15:24:37.638138: iinla: Step rescaling: 100%, Overstep (norm0 = 373.3, norm1 = 16.51, norm01 = 373.6) (level 3)
#> 2025-09-10 15:24:37.642387: iinla: Step rescaling: 99.78%, Approx Optimisation (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6) (level 3)
#> 2025-09-10 15:24:37.644445: iinla: |lin1-lin0| = 373.6
#> <eta-lin1,delta>/|delta| = -1.455
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 16.42 (level 4)
#> 2025-09-10 15:24:37.646444: iinla: Step rescaling: 99.8% (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6) (level 2)
#> 2025-09-10 15:24:37.648549: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:37.649954: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:37.651707: Linearise component 'z' (level 4)
#> 2025-09-10 15:24:37.655741: Linearise component 'Intercept' (level 4)
#> 2025-09-10 15:24:37.659522: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:37.662095: Linearise with respect to component 'z' (level 5)
#> 2025-09-10 15:24:37.66655: Linearise with respect to component 'Intercept' (level 5)
#> 2025-09-10 15:24:37.683124: iinla: Max deviation from previous: 76700% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-09-10 15:24:37.685626: iinla: Iteration 3 [max: 10] (level 1)
#> 2025-09-10 15:24:38.131474: iinla: Step rescaling: 162%, Expand (norm0 = 26.02, norm1 = 9.531, norm01 = 16.49) (level 3)
#> 2025-09-10 15:24:38.134602: iinla: Step rescaling: 100%, Overstep (norm0 = 16.23, norm1 = 0.2537, norm01 = 16.49) (level 3)
#> 2025-09-10 15:24:38.138443: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49) (level 3)
#> 2025-09-10 15:24:38.140202: iinla: |lin1-lin0| = 16.49
#> <eta-lin1,delta>/|delta| = -4.27e-06
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.01326 (level 4)
#> 2025-09-10 15:24:38.141869: iinla: Step rescaling: 102% (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49) (level 2)
#> 2025-09-10 15:24:38.143747: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:38.145118: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:38.146614: Linearise component 'z' (level 4)
#> 2025-09-10 15:24:38.150562: Linearise component 'Intercept' (level 4)
#> 2025-09-10 15:24:38.154224: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:38.157006: Linearise with respect to component 'z' (level 5)
#> 2025-09-10 15:24:38.161091: Linearise with respect to component 'Intercept' (level 5)
#> 2025-09-10 15:24:38.175205: iinla: Max deviation from previous: 764% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-09-10 15:24:38.177589: iinla: Iteration 4 [max: 10] (level 1)
#> 2025-09-10 15:24:38.61146: iinla: Step rescaling: 162%, Expand (norm0 = 0.02145, norm1 = 0.008193, norm01 = 0.01326) (level 3)
#> 2025-09-10 15:24:38.6147: iinla: Step rescaling: 100%, Overstep (norm0 = 0.01326, norm1 = 5.025e-08, norm01 = 0.01326) (level 3)
#> 2025-09-10 15:24:38.618615: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.01326, norm1 = 5.019e-08, norm01 = 0.01326) (level 3)
#> 2025-09-10 15:24:38.620361: iinla: |lin1-lin0| = 0.01326
#> <eta-lin1,delta>/|delta| = 5.421e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 5.019e-08 (level 4)
#> 2025-09-10 15:24:38.622376: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:38.623765: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:38.625328: Linearise component 'z' (level 4)
#> 2025-09-10 15:24:38.629083: Linearise component 'Intercept' (level 4)
#> 2025-09-10 15:24:38.632694: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:38.635428: Linearise with respect to component 'z' (level 5)
#> 2025-09-10 15:24:38.639495: Linearise with respect to component 'Intercept' (level 5)
#> 2025-09-10 15:24:38.654232: iinla: Max deviation from previous: 11.7% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-09-10 15:24:38.656494: iinla: Iteration 5 [max: 10] (level 1)
#> 2025-09-10 15:24:39.103348: iinla: Step rescaling: 162%, Expand (norm0 = 8.257e-08, norm1 = 3.154e-08, norm01 = 5.103e-08) (level 3)
#> 2025-09-10 15:24:39.106629: iinla: Step rescaling: 100%, Overstep (norm0 = 5.103e-08, norm1 = 2.112e-13, norm01 = 5.103e-08) (level 3)
#> 2025-09-10 15:24:39.110582: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 5.103e-08, norm1 = 7.829e-14, norm01 = 5.103e-08) (level 3)
#> 2025-09-10 15:24:39.11239: iinla: |lin1-lin0| = 5.103e-08
#> <eta-lin1,delta>/|delta| = -4.727e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 6.24e-14 (level 4)
#> 2025-09-10 15:24:39.11438: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:39.115746: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:39.117455: Linearise component 'z' (level 4)
#> 2025-09-10 15:24:39.121346: Linearise component 'Intercept' (level 4)
#> 2025-09-10 15:24:39.125291: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:39.128157: Linearise with respect to component 'z' (level 5)
#> 2025-09-10 15:24:39.132461: Linearise with respect to component 'Intercept' (level 5)
#> 2025-09-10 15:24:39.146459: iinla: Max deviation from previous: 0.00356% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-09-10 15:24:39.14781: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2025-09-10 15:24:39.149991: iinla: Iteration 6 [max: 10] (level 1)
#> 2025-09-10 15:24:40.735801: bru: Preprocessing (level 1)
#> 2025-09-10 15:24:40.745475: Evaluate component inputs for each observation model (level 3)
#> 2025-09-10 15:24:40.74725: bru_input(bru_comp_list) (level 4)
#> 2025-09-10 15:24:40.749122: bru_input.bru_comp(field) (level 4)
#> 2025-09-10 15:24:40.751105: bru_input(bru_input) for (field) (level 5)
#> 2025-09-10 15:24:40.76511: iinla: Start (level 3)
#> 2025-09-10 15:24:40.766618: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:40.768062: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:40.769806: Linearise component 'field' (level 4)
#> 2025-09-10 15:24:40.776296: iinla: Evaluate component simplifications (level 3)
#> 2025-09-10 15:24:40.778013: Simplify component mappers for each observation model (level 3)
#> 2025-09-10 15:24:40.779799: Simplify component 'field' (level 4)
#> 2025-09-10 15:24:40.785163: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:40.789227: iinla: Construct inla stack (level 3)
#> 2025-09-10 15:24:40.802553: iinla: Model initialisation completed (level 3)
#> 2025-09-10 15:24:40.804499: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-09-10 15:24:43.89566: bru_input(bru_comp_list) (level 4)
#> 2025-09-10 15:24:47.978053: bru: Preprocessing (level 1)
#> 2025-09-10 15:24:47.992635: Evaluate component inputs for each observation model (level 3)
#> 2025-09-10 15:24:47.994271: bru_input(bru_comp_list) (level 4)
#> 2025-09-10 15:24:47.99599: bru_input.bru_comp(x) (level 4)
#> 2025-09-10 15:24:47.997802: bru_input(bru_input) for (x) (level 5)
#> 2025-09-10 15:24:48.008743: bru_input(bru_comp_list) (level 4)
#> 2025-09-10 15:24:48.010667: bru_input.bru_comp(x) (level 4)
#> 2025-09-10 15:24:48.012543: bru_input(bru_input) for (x) (level 5)
#> 2025-09-10 15:24:48.024474: iinla: Start (level 3)
#> 2025-09-10 15:24:48.025774: iinla: Evaluate component linearisations (level 3)
#> 2025-09-10 15:24:48.02732: Linearise components for each observation model (level 3)
#> 2025-09-10 15:24:48.028787: Linearise component 'x' (level 4)
#> 2025-09-10 15:24:48.033171: Linearise component 'x' (level 4)
#> 2025-09-10 15:24:48.036608: iinla: Evaluate component simplifications (level 3)
#> 2025-09-10 15:24:48.037907: Simplify component mappers for each observation model (level 3)
#> 2025-09-10 15:24:48.039308: Simplify component 'x' (level 4)
#> 2025-09-10 15:24:48.043311: Simplify component 'x' (level 4)
#> 2025-09-10 15:24:48.047451: iinla: Evaluate predictor linearisation (level 3)
#> 2025-09-10 15:24:48.056387: iinla: Construct inla stack (level 3)
#> 2025-09-10 15:24:48.075593: iinla: Model initialisation completed (level 3)
#> 2025-09-10 15:24:48.077524: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-09-10 15:24:49.547147: bru_input(bru_input) for (LABEL) (level 5)