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-08-25 16:33:35.824671: inlabru loaded
#> 2025-08-25 16:33:35.825144: Clear override options
#> 2025-08-25 16:33:46.015433: bru: Preprocessing
#> 2025-08-25 16:33:46.124398: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:46.747271: bru: Preprocessing
#> 2025-08-25 16:33:46.815315: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:47.489059: bru: Preprocessing
#> 2025-08-25 16:33:47.561244: iinla: Iteration 1 [max: 10]
#> 2025-08-25 16:33:47.96644: iinla: Step rescaling: 27.7% (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2)
#> 2025-08-25 16:33:48.003526: iinla: Iteration 2 [max: 10]
#> 2025-08-25 16:33:48.687531: iinla: Step rescaling: 99.8% (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6)
#> 2025-08-25 16:33:48.715389: iinla: Max deviation from previous: 76700% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:48.717279: iinla: Iteration 3 [max: 10]
#> 2025-08-25 16:33:49.10237: iinla: Step rescaling: 102% (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49)
#> 2025-08-25 16:33:49.130579: iinla: Max deviation from previous: 764% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.132493: iinla: Iteration 4 [max: 10]
#> 2025-08-25 16:33:49.547889: iinla: Max deviation from previous: 11.7% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.549869: iinla: Iteration 5 [max: 10]
#> 2025-08-25 16:33:49.966995: iinla: Max deviation from previous: 0.00356% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.968204: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-08-25 16:33:49.970098: iinla: Iteration 6 [max: 10]
#> 2025-08-25 16:33:51.245387: bru: Preprocessing
#> 2025-08-25 16:33:51.303273: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:57.66589: bru: Preprocessing
#> 2025-08-25 16:33:57.742691: iinla: Iteration 1 [max: 1]
format(bru_log())
#> 2025-08-25 16:33:35.824671: inlabru loaded
#> 2025-08-25 16:33:35.825144: Clear override options
#> 2025-08-25 16:33:46.015433: bru: Preprocessing
#> 2025-08-25 16:33:46.026459: Evaluate component inputs for each observation model
#> 2025-08-25 16:33:46.027888: bru_input(bru_comp_list)
#> 2025-08-25 16:33:46.029384: bru_input.bru_comp(x)
#> 2025-08-25 16:33:46.03107: bru_input(bru_input) for (x)
#> 2025-08-25 16:33:46.039675: bru_input.bru_comp(Intercept)
#> 2025-08-25 16:33:46.041146: bru_input(bru_input) for (Intercept)
#> 2025-08-25 16:33:46.064798: iinla: Start
#> 2025-08-25 16:33:46.066875: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:46.068855: Linearise components for each observation model
#> 2025-08-25 16:33:46.070812: Linearise component 'x'
#> 2025-08-25 16:33:46.074988: Linearise component 'Intercept'
#> 2025-08-25 16:33:46.0782: iinla: Evaluate component simplifications
#> 2025-08-25 16:33:46.079479: Simplify component mappers for each observation model
#> 2025-08-25 16:33:46.080886: Simplify component 'x'
#> 2025-08-25 16:33:46.084295: Simplify component 'Intercept'
#> 2025-08-25 16:33:46.087631: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:46.100778: iinla: Construct inla stack
#> 2025-08-25 16:33:46.122973: iinla: Model initialisation completed
#> 2025-08-25 16:33:46.124398: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:46.747271: bru: Preprocessing
#> 2025-08-25 16:33:46.751482: Evaluate component inputs for each observation model
#> 2025-08-25 16:33:46.752838: bru_input(bru_comp_list)
#> 2025-08-25 16:33:46.754236: bru_input.bru_comp(x)
#> 2025-08-25 16:33:46.755673: bru_input(bru_input) for (x)
#> 2025-08-25 16:33:46.76373: bru_input.bru_comp(Intercept)
#> 2025-08-25 16:33:46.765141: bru_input(bru_input) for (Intercept)
#> 2025-08-25 16:33:46.776198: iinla: Start
#> 2025-08-25 16:33:46.777373: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:46.77853: Linearise components for each observation model
#> 2025-08-25 16:33:46.779808: Linearise component 'x'
#> 2025-08-25 16:33:46.782974: Linearise component 'Intercept'
#> 2025-08-25 16:33:46.786105: iinla: Evaluate component simplifications
#> 2025-08-25 16:33:46.787322: Simplify component mappers for each observation model
#> 2025-08-25 16:33:46.788615: Simplify component 'x'
#> 2025-08-25 16:33:46.791901: Simplify component 'Intercept'
#> 2025-08-25 16:33:46.795144: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:46.801301: iinla: Construct inla stack
#> 2025-08-25 16:33:46.813902: iinla: Model initialisation completed
#> 2025-08-25 16:33:46.815315: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:47.489059: bru: Preprocessing
#> 2025-08-25 16:33:47.492969: Evaluate component inputs for each observation model
#> 2025-08-25 16:33:47.494216: bru_input(bru_comp_list)
#> 2025-08-25 16:33:47.495581: bru_input.bru_comp(z)
#> 2025-08-25 16:33:47.496904: bru_input(bru_input) for (z)
#> 2025-08-25 16:33:47.504817: bru_input.bru_comp(Intercept)
#> 2025-08-25 16:33:47.506178: bru_input(bru_input) for (Intercept)
#> 2025-08-25 16:33:47.516862: iinla: Start
#> 2025-08-25 16:33:47.518017: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:47.51924: Linearise components for each observation model
#> 2025-08-25 16:33:47.520503: Linearise component 'z'
#> 2025-08-25 16:33:47.523757: Linearise component 'Intercept'
#> 2025-08-25 16:33:47.526864: iinla: Evaluate component simplifications
#> 2025-08-25 16:33:47.528107: Simplify component mappers for each observation model
#> 2025-08-25 16:33:47.529379: Simplify component 'z'
#> 2025-08-25 16:33:47.532676: Simplify component 'Intercept'
#> 2025-08-25 16:33:47.535996: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:47.538689: Linearise with respect to component 'z'
#> 2025-08-25 16:33:47.543913: Linearise with respect to component 'Intercept'
#> 2025-08-25 16:33:47.547103: iinla: Construct inla stack
#> 2025-08-25 16:33:47.559819: iinla: Model initialisation completed
#> 2025-08-25 16:33:47.561244: iinla: Iteration 1 [max: 10]
#> 2025-08-25 16:33:47.954642: iinla: Step rescaling: 61.8%, Contract (norm0 = 3174, norm1 = 2906, norm01 = 577.2)
#> 2025-08-25 16:33:47.957972: iinla: Step rescaling: 38.2%, Contract (norm0 = 650.8, norm1 = 482, norm01 = 577.2)
#> 2025-08-25 16:33:47.962399: iinla: Step rescaling: 27.65%, Approx Optimisation (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2)
#> 2025-08-25 16:33:47.96448: iinla: |lin1-lin0| = 577.2
#> <eta-lin1,delta>/|delta| = -327.3
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 179.9
#> 2025-08-25 16:33:47.96644: iinla: Step rescaling: 27.7% (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2)
#> 2025-08-25 16:33:47.96872: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:47.970295: Linearise components for each observation model
#> 2025-08-25 16:33:47.972018: Linearise component 'z'
#> 2025-08-25 16:33:47.975886: Linearise component 'Intercept'
#> 2025-08-25 16:33:47.979703: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:47.982617: Linearise with respect to component 'z'
#> 2025-08-25 16:33:47.98758: Linearise with respect to component 'Intercept'
#> 2025-08-25 16:33:48.003526: iinla: Iteration 2 [max: 10]
#> 2025-08-25 16:33:48.678676: iinla: Step rescaling: 162%, Expand (norm0 = 604.5, norm1 = 233.7, norm01 = 373.6)
#> 2025-08-25 16:33:48.681373: iinla: Step rescaling: 100%, Overstep (norm0 = 373.3, norm1 = 16.51, norm01 = 373.6)
#> 2025-08-25 16:33:48.684641: iinla: Step rescaling: 99.78%, Approx Optimisation (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6)
#> 2025-08-25 16:33:48.686109: iinla: |lin1-lin0| = 373.6
#> <eta-lin1,delta>/|delta| = -1.455
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 16.42
#> 2025-08-25 16:33:48.687531: iinla: Step rescaling: 99.8% (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6)
#> 2025-08-25 16:33:48.689218: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:48.690343: Linearise components for each observation model
#> 2025-08-25 16:33:48.691589: Linearise component 'z'
#> 2025-08-25 16:33:48.694778: Linearise component 'Intercept'
#> 2025-08-25 16:33:48.697915: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:48.700121: Linearise with respect to component 'z'
#> 2025-08-25 16:33:48.703466: Linearise with respect to component 'Intercept'
#> 2025-08-25 16:33:48.715389: iinla: Max deviation from previous: 76700% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:48.717279: iinla: Iteration 3 [max: 10]
#> 2025-08-25 16:33:49.093309: iinla: Step rescaling: 162%, Expand (norm0 = 26.02, norm1 = 9.531, norm01 = 16.49)
#> 2025-08-25 16:33:49.096004: iinla: Step rescaling: 100%, Overstep (norm0 = 16.23, norm1 = 0.2537, norm01 = 16.49)
#> 2025-08-25 16:33:49.09932: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49)
#> 2025-08-25 16:33:49.100873: iinla: |lin1-lin0| = 16.49
#> <eta-lin1,delta>/|delta| = -4.27e-06
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.01326
#> 2025-08-25 16:33:49.10237: iinla: Step rescaling: 102% (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49)
#> 2025-08-25 16:33:49.104135: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:49.105303: Linearise components for each observation model
#> 2025-08-25 16:33:49.106591: Linearise component 'z'
#> 2025-08-25 16:33:49.109797: Linearise component 'Intercept'
#> 2025-08-25 16:33:49.11291: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:49.115197: Linearise with respect to component 'z'
#> 2025-08-25 16:33:49.118711: Linearise with respect to component 'Intercept'
#> 2025-08-25 16:33:49.130579: iinla: Max deviation from previous: 764% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.132493: iinla: Iteration 4 [max: 10]
#> 2025-08-25 16:33:49.511468: iinla: Step rescaling: 162%, Expand (norm0 = 0.02145, norm1 = 0.008193, norm01 = 0.01326)
#> 2025-08-25 16:33:49.514212: iinla: Step rescaling: 100%, Overstep (norm0 = 0.01326, norm1 = 5.025e-08, norm01 = 0.01326)
#> 2025-08-25 16:33:49.517581: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.01326, norm1 = 5.019e-08, norm01 = 0.01326)
#> 2025-08-25 16:33:49.519197: iinla: |lin1-lin0| = 0.01326
#> <eta-lin1,delta>/|delta| = 5.421e-11
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 5.019e-08
#> 2025-08-25 16:33:49.520939: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:49.522128: Linearise components for each observation model
#> 2025-08-25 16:33:49.523412: Linearise component 'z'
#> 2025-08-25 16:33:49.52663: Linearise component 'Intercept'
#> 2025-08-25 16:33:49.52979: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:49.532099: Linearise with respect to component 'z'
#> 2025-08-25 16:33:49.535579: Linearise with respect to component 'Intercept'
#> 2025-08-25 16:33:49.547889: iinla: Max deviation from previous: 11.7% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.549869: iinla: Iteration 5 [max: 10]
#> 2025-08-25 16:33:49.931454: iinla: Step rescaling: 162%, Expand (norm0 = 8.257e-08, norm1 = 3.154e-08, norm01 = 5.103e-08)
#> 2025-08-25 16:33:49.934106: iinla: Step rescaling: 100%, Overstep (norm0 = 5.103e-08, norm1 = 2.112e-13, norm01 = 5.103e-08)
#> 2025-08-25 16:33:49.937403: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 5.103e-08, norm1 = 7.829e-14, norm01 = 5.103e-08)
#> 2025-08-25 16:33:49.938892: 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-08-25 16:33:49.940626: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:49.941821: Linearise components for each observation model
#> 2025-08-25 16:33:49.943266: Linearise component 'z'
#> 2025-08-25 16:33:49.946392: Linearise component 'Intercept'
#> 2025-08-25 16:33:49.949475: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:49.95173: Linearise with respect to component 'z'
#> 2025-08-25 16:33:49.955088: Linearise with respect to component 'Intercept'
#> 2025-08-25 16:33:49.966995: iinla: Max deviation from previous: 0.00356% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.968204: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-08-25 16:33:49.970098: iinla: Iteration 6 [max: 10]
#> 2025-08-25 16:33:51.245387: bru: Preprocessing
#> 2025-08-25 16:33:51.253094: Evaluate component inputs for each observation model
#> 2025-08-25 16:33:51.254431: bru_input(bru_comp_list)
#> 2025-08-25 16:33:51.255869: bru_input.bru_comp(field)
#> 2025-08-25 16:33:51.257233: bru_input(bru_input) for (field)
#> 2025-08-25 16:33:51.270214: iinla: Start
#> 2025-08-25 16:33:51.271423: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:51.272631: Linearise components for each observation model
#> 2025-08-25 16:33:51.27399: Linearise component 'field'
#> 2025-08-25 16:33:51.279525: iinla: Evaluate component simplifications
#> 2025-08-25 16:33:51.280746: Simplify component mappers for each observation model
#> 2025-08-25 16:33:51.282012: Simplify component 'field'
#> 2025-08-25 16:33:51.286523: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:51.289885: iinla: Construct inla stack
#> 2025-08-25 16:33:51.301816: iinla: Model initialisation completed
#> 2025-08-25 16:33:51.303273: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:53.729048: bru_input(bru_comp_list)
#> 2025-08-25 16:33:57.66589: bru: Preprocessing
#> 2025-08-25 16:33:57.67651: Evaluate component inputs for each observation model
#> 2025-08-25 16:33:57.677768: bru_input(bru_comp_list)
#> 2025-08-25 16:33:57.679101: bru_input.bru_comp(x)
#> 2025-08-25 16:33:57.680489: bru_input(bru_input) for (x)
#> 2025-08-25 16:33:57.688116: bru_input(bru_comp_list)
#> 2025-08-25 16:33:57.689497: bru_input.bru_comp(x)
#> 2025-08-25 16:33:57.690818: bru_input(bru_input) for (x)
#> 2025-08-25 16:33:57.700984: iinla: Start
#> 2025-08-25 16:33:57.702145: iinla: Evaluate component linearisations
#> 2025-08-25 16:33:57.703293: Linearise components for each observation model
#> 2025-08-25 16:33:57.704547: Linearise component 'x'
#> 2025-08-25 16:33:57.707827: Linearise component 'x'
#> 2025-08-25 16:33:57.710874: iinla: Evaluate component simplifications
#> 2025-08-25 16:33:57.712134: Simplify component mappers for each observation model
#> 2025-08-25 16:33:57.713407: Simplify component 'x'
#> 2025-08-25 16:33:57.71677: Simplify component 'x'
#> 2025-08-25 16:33:57.719997: iinla: Evaluate predictor linearisation
#> 2025-08-25 16:33:57.726619: iinla: Construct inla stack
#> 2025-08-25 16:33:57.741148: iinla: Model initialisation completed
#> 2025-08-25 16:33:57.742691: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:58.867616: bru_input(bru_input) for (LABEL)
bru_log(verbosity = 2L)
#> 2025-08-25 16:33:35.824671: inlabru loaded
#> 2025-08-25 16:33:35.825144: Clear override options
#> 2025-08-25 16:33:46.015433: bru: Preprocessing
#> 2025-08-25 16:33:46.124398: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:46.747271: bru: Preprocessing
#> 2025-08-25 16:33:46.815315: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:47.489059: bru: Preprocessing
#> 2025-08-25 16:33:47.561244: iinla: Iteration 1 [max: 10]
#> 2025-08-25 16:33:47.96644: iinla: Step rescaling: 27.7% (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2)
#> 2025-08-25 16:33:48.003526: iinla: Iteration 2 [max: 10]
#> 2025-08-25 16:33:48.687531: iinla: Step rescaling: 99.8% (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6)
#> 2025-08-25 16:33:48.715389: iinla: Max deviation from previous: 76700% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:48.717279: iinla: Iteration 3 [max: 10]
#> 2025-08-25 16:33:49.10237: iinla: Step rescaling: 102% (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49)
#> 2025-08-25 16:33:49.130579: iinla: Max deviation from previous: 764% of SD, and line search is active
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.132493: iinla: Iteration 4 [max: 10]
#> 2025-08-25 16:33:49.547889: iinla: Max deviation from previous: 11.7% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.549869: iinla: Iteration 5 [max: 10]
#> 2025-08-25 16:33:49.966995: iinla: Max deviation from previous: 0.00356% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive]
#> 2025-08-25 16:33:49.968204: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2025-08-25 16:33:49.970098: iinla: Iteration 6 [max: 10]
#> 2025-08-25 16:33:51.245387: bru: Preprocessing
#> 2025-08-25 16:33:51.303273: iinla: Iteration 1 [max: 1]
#> 2025-08-25 16:33:57.66589: bru: Preprocessing
#> 2025-08-25 16:33:57.742691: iinla: Iteration 1 [max: 1]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2025-08-25 16:33:35.824671: inlabru loaded (level 1)
#> 2025-08-25 16:33:35.825144: Clear override options (level 1)
#> 2025-08-25 16:33:46.015433: bru: Preprocessing (level 1)
#> 2025-08-25 16:33:46.026459: Evaluate component inputs for each observation model (level 3)
#> 2025-08-25 16:33:46.027888: bru_input(bru_comp_list) (level 4)
#> 2025-08-25 16:33:46.029384: bru_input.bru_comp(x) (level 4)
#> 2025-08-25 16:33:46.03107: bru_input(bru_input) for (x) (level 5)
#> 2025-08-25 16:33:46.039675: bru_input.bru_comp(Intercept) (level 4)
#> 2025-08-25 16:33:46.041146: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-08-25 16:33:46.064798: iinla: Start (level 3)
#> 2025-08-25 16:33:46.066875: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:46.068855: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:46.070812: Linearise component 'x' (level 4)
#> 2025-08-25 16:33:46.074988: Linearise component 'Intercept' (level 4)
#> 2025-08-25 16:33:46.0782: iinla: Evaluate component simplifications (level 3)
#> 2025-08-25 16:33:46.079479: Simplify component mappers for each observation model (level 3)
#> 2025-08-25 16:33:46.080886: Simplify component 'x' (level 4)
#> 2025-08-25 16:33:46.084295: Simplify component 'Intercept' (level 4)
#> 2025-08-25 16:33:46.087631: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:46.100778: iinla: Construct inla stack (level 3)
#> 2025-08-25 16:33:46.122973: iinla: Model initialisation completed (level 3)
#> 2025-08-25 16:33:46.124398: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-08-25 16:33:46.747271: bru: Preprocessing (level 1)
#> 2025-08-25 16:33:46.751482: Evaluate component inputs for each observation model (level 3)
#> 2025-08-25 16:33:46.752838: bru_input(bru_comp_list) (level 4)
#> 2025-08-25 16:33:46.754236: bru_input.bru_comp(x) (level 4)
#> 2025-08-25 16:33:46.755673: bru_input(bru_input) for (x) (level 5)
#> 2025-08-25 16:33:46.76373: bru_input.bru_comp(Intercept) (level 4)
#> 2025-08-25 16:33:46.765141: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-08-25 16:33:46.776198: iinla: Start (level 3)
#> 2025-08-25 16:33:46.777373: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:46.77853: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:46.779808: Linearise component 'x' (level 4)
#> 2025-08-25 16:33:46.782974: Linearise component 'Intercept' (level 4)
#> 2025-08-25 16:33:46.786105: iinla: Evaluate component simplifications (level 3)
#> 2025-08-25 16:33:46.787322: Simplify component mappers for each observation model (level 3)
#> 2025-08-25 16:33:46.788615: Simplify component 'x' (level 4)
#> 2025-08-25 16:33:46.791901: Simplify component 'Intercept' (level 4)
#> 2025-08-25 16:33:46.795144: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:46.801301: iinla: Construct inla stack (level 3)
#> 2025-08-25 16:33:46.813902: iinla: Model initialisation completed (level 3)
#> 2025-08-25 16:33:46.815315: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-08-25 16:33:47.489059: bru: Preprocessing (level 1)
#> 2025-08-25 16:33:47.492969: Evaluate component inputs for each observation model (level 3)
#> 2025-08-25 16:33:47.494216: bru_input(bru_comp_list) (level 4)
#> 2025-08-25 16:33:47.495581: bru_input.bru_comp(z) (level 4)
#> 2025-08-25 16:33:47.496904: bru_input(bru_input) for (z) (level 5)
#> 2025-08-25 16:33:47.504817: bru_input.bru_comp(Intercept) (level 4)
#> 2025-08-25 16:33:47.506178: bru_input(bru_input) for (Intercept) (level 5)
#> 2025-08-25 16:33:47.516862: iinla: Start (level 3)
#> 2025-08-25 16:33:47.518017: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:47.51924: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:47.520503: Linearise component 'z' (level 4)
#> 2025-08-25 16:33:47.523757: Linearise component 'Intercept' (level 4)
#> 2025-08-25 16:33:47.526864: iinla: Evaluate component simplifications (level 3)
#> 2025-08-25 16:33:47.528107: Simplify component mappers for each observation model (level 3)
#> 2025-08-25 16:33:47.529379: Simplify component 'z' (level 4)
#> 2025-08-25 16:33:47.532676: Simplify component 'Intercept' (level 4)
#> 2025-08-25 16:33:47.535996: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:47.538689: Linearise with respect to component 'z' (level 5)
#> 2025-08-25 16:33:47.543913: Linearise with respect to component 'Intercept' (level 5)
#> 2025-08-25 16:33:47.547103: iinla: Construct inla stack (level 3)
#> 2025-08-25 16:33:47.559819: iinla: Model initialisation completed (level 3)
#> 2025-08-25 16:33:47.561244: iinla: Iteration 1 [max: 10] (level 1)
#> 2025-08-25 16:33:47.954642: iinla: Step rescaling: 61.8%, Contract (norm0 = 3174, norm1 = 2906, norm01 = 577.2) (level 3)
#> 2025-08-25 16:33:47.957972: iinla: Step rescaling: 38.2%, Contract (norm0 = 650.8, norm1 = 482, norm01 = 577.2) (level 3)
#> 2025-08-25 16:33:47.962399: iinla: Step rescaling: 27.65%, Approx Optimisation (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2) (level 3)
#> 2025-08-25 16:33:47.96448: iinla: |lin1-lin0| = 577.2
#> <eta-lin1,delta>/|delta| = -327.3
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 179.9 (level 4)
#> 2025-08-25 16:33:47.96644: iinla: Step rescaling: 27.7% (norm0 = 307.9, norm1 = 373.5, norm01 = 577.2) (level 2)
#> 2025-08-25 16:33:47.96872: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:47.970295: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:47.972018: Linearise component 'z' (level 4)
#> 2025-08-25 16:33:47.975886: Linearise component 'Intercept' (level 4)
#> 2025-08-25 16:33:47.979703: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:47.982617: Linearise with respect to component 'z' (level 5)
#> 2025-08-25 16:33:47.98758: Linearise with respect to component 'Intercept' (level 5)
#> 2025-08-25 16:33:48.003526: iinla: Iteration 2 [max: 10] (level 1)
#> 2025-08-25 16:33:48.678676: iinla: Step rescaling: 162%, Expand (norm0 = 604.5, norm1 = 233.7, norm01 = 373.6) (level 3)
#> 2025-08-25 16:33:48.681373: iinla: Step rescaling: 100%, Overstep (norm0 = 373.3, norm1 = 16.51, norm01 = 373.6) (level 3)
#> 2025-08-25 16:33:48.684641: iinla: Step rescaling: 99.78%, Approx Optimisation (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6) (level 3)
#> 2025-08-25 16:33:48.686109: iinla: |lin1-lin0| = 373.6
#> <eta-lin1,delta>/|delta| = -1.455
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 16.42 (level 4)
#> 2025-08-25 16:33:48.687531: iinla: Step rescaling: 99.8% (norm0 = 372.5, norm1 = 16.48, norm01 = 373.6) (level 2)
#> 2025-08-25 16:33:48.689218: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:48.690343: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:48.691589: Linearise component 'z' (level 4)
#> 2025-08-25 16:33:48.694778: Linearise component 'Intercept' (level 4)
#> 2025-08-25 16:33:48.697915: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:48.700121: Linearise with respect to component 'z' (level 5)
#> 2025-08-25 16:33:48.703466: Linearise with respect to component 'Intercept' (level 5)
#> 2025-08-25 16:33:48.715389: iinla: Max deviation from previous: 76700% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-08-25 16:33:48.717279: iinla: Iteration 3 [max: 10] (level 1)
#> 2025-08-25 16:33:49.093309: iinla: Step rescaling: 162%, Expand (norm0 = 26.02, norm1 = 9.531, norm01 = 16.49) (level 3)
#> 2025-08-25 16:33:49.096004: iinla: Step rescaling: 100%, Overstep (norm0 = 16.23, norm1 = 0.2537, norm01 = 16.49) (level 3)
#> 2025-08-25 16:33:49.09932: iinla: Step rescaling: 101.6%, Approx Optimisation (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49) (level 3)
#> 2025-08-25 16:33:49.100873: 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-08-25 16:33:49.10237: iinla: Step rescaling: 102% (norm0 = 16.49, norm1 = 0.01326, norm01 = 16.49) (level 2)
#> 2025-08-25 16:33:49.104135: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:49.105303: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:49.106591: Linearise component 'z' (level 4)
#> 2025-08-25 16:33:49.109797: Linearise component 'Intercept' (level 4)
#> 2025-08-25 16:33:49.11291: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:49.115197: Linearise with respect to component 'z' (level 5)
#> 2025-08-25 16:33:49.118711: Linearise with respect to component 'Intercept' (level 5)
#> 2025-08-25 16:33:49.130579: iinla: Max deviation from previous: 764% of SD, and line search is active
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-08-25 16:33:49.132493: iinla: Iteration 4 [max: 10] (level 1)
#> 2025-08-25 16:33:49.511468: iinla: Step rescaling: 162%, Expand (norm0 = 0.02145, norm1 = 0.008193, norm01 = 0.01326) (level 3)
#> 2025-08-25 16:33:49.514212: iinla: Step rescaling: 100%, Overstep (norm0 = 0.01326, norm1 = 5.025e-08, norm01 = 0.01326) (level 3)
#> 2025-08-25 16:33:49.517581: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.01326, norm1 = 5.019e-08, norm01 = 0.01326) (level 3)
#> 2025-08-25 16:33:49.519197: 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-08-25 16:33:49.520939: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:49.522128: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:49.523412: Linearise component 'z' (level 4)
#> 2025-08-25 16:33:49.52663: Linearise component 'Intercept' (level 4)
#> 2025-08-25 16:33:49.52979: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:49.532099: Linearise with respect to component 'z' (level 5)
#> 2025-08-25 16:33:49.535579: Linearise with respect to component 'Intercept' (level 5)
#> 2025-08-25 16:33:49.547889: iinla: Max deviation from previous: 11.7% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-08-25 16:33:49.549869: iinla: Iteration 5 [max: 10] (level 1)
#> 2025-08-25 16:33:49.931454: iinla: Step rescaling: 162%, Expand (norm0 = 8.257e-08, norm1 = 3.154e-08, norm01 = 5.103e-08) (level 3)
#> 2025-08-25 16:33:49.934106: iinla: Step rescaling: 100%, Overstep (norm0 = 5.103e-08, norm1 = 2.112e-13, norm01 = 5.103e-08) (level 3)
#> 2025-08-25 16:33:49.937403: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 5.103e-08, norm1 = 7.829e-14, norm01 = 5.103e-08) (level 3)
#> 2025-08-25 16:33:49.938892: 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-08-25 16:33:49.940626: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:49.941821: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:49.943266: Linearise component 'z' (level 4)
#> 2025-08-25 16:33:49.946392: Linearise component 'Intercept' (level 4)
#> 2025-08-25 16:33:49.949475: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:49.95173: Linearise with respect to component 'z' (level 5)
#> 2025-08-25 16:33:49.955088: Linearise with respect to component 'Intercept' (level 5)
#> 2025-08-25 16:33:49.966995: iinla: Max deviation from previous: 0.00356% of SD, and line search is inactive
#> [stop if: < 10% and line search inactive] (level 1)
#> 2025-08-25 16:33:49.968204: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2025-08-25 16:33:49.970098: iinla: Iteration 6 [max: 10] (level 1)
#> 2025-08-25 16:33:51.245387: bru: Preprocessing (level 1)
#> 2025-08-25 16:33:51.253094: Evaluate component inputs for each observation model (level 3)
#> 2025-08-25 16:33:51.254431: bru_input(bru_comp_list) (level 4)
#> 2025-08-25 16:33:51.255869: bru_input.bru_comp(field) (level 4)
#> 2025-08-25 16:33:51.257233: bru_input(bru_input) for (field) (level 5)
#> 2025-08-25 16:33:51.270214: iinla: Start (level 3)
#> 2025-08-25 16:33:51.271423: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:51.272631: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:51.27399: Linearise component 'field' (level 4)
#> 2025-08-25 16:33:51.279525: iinla: Evaluate component simplifications (level 3)
#> 2025-08-25 16:33:51.280746: Simplify component mappers for each observation model (level 3)
#> 2025-08-25 16:33:51.282012: Simplify component 'field' (level 4)
#> 2025-08-25 16:33:51.286523: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:51.289885: iinla: Construct inla stack (level 3)
#> 2025-08-25 16:33:51.301816: iinla: Model initialisation completed (level 3)
#> 2025-08-25 16:33:51.303273: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-08-25 16:33:53.729048: bru_input(bru_comp_list) (level 4)
#> 2025-08-25 16:33:57.66589: bru: Preprocessing (level 1)
#> 2025-08-25 16:33:57.67651: Evaluate component inputs for each observation model (level 3)
#> 2025-08-25 16:33:57.677768: bru_input(bru_comp_list) (level 4)
#> 2025-08-25 16:33:57.679101: bru_input.bru_comp(x) (level 4)
#> 2025-08-25 16:33:57.680489: bru_input(bru_input) for (x) (level 5)
#> 2025-08-25 16:33:57.688116: bru_input(bru_comp_list) (level 4)
#> 2025-08-25 16:33:57.689497: bru_input.bru_comp(x) (level 4)
#> 2025-08-25 16:33:57.690818: bru_input(bru_input) for (x) (level 5)
#> 2025-08-25 16:33:57.700984: iinla: Start (level 3)
#> 2025-08-25 16:33:57.702145: iinla: Evaluate component linearisations (level 3)
#> 2025-08-25 16:33:57.703293: Linearise components for each observation model (level 3)
#> 2025-08-25 16:33:57.704547: Linearise component 'x' (level 4)
#> 2025-08-25 16:33:57.707827: Linearise component 'x' (level 4)
#> 2025-08-25 16:33:57.710874: iinla: Evaluate component simplifications (level 3)
#> 2025-08-25 16:33:57.712134: Simplify component mappers for each observation model (level 3)
#> 2025-08-25 16:33:57.713407: Simplify component 'x' (level 4)
#> 2025-08-25 16:33:57.71677: Simplify component 'x' (level 4)
#> 2025-08-25 16:33:57.719997: iinla: Evaluate predictor linearisation (level 3)
#> 2025-08-25 16:33:57.726619: iinla: Construct inla stack (level 3)
#> 2025-08-25 16:33:57.741148: iinla: Model initialisation completed (level 3)
#> 2025-08-25 16:33:57.742691: iinla: Iteration 1 [max: 1] (level 1)
#> 2025-08-25 16:33:58.867616: bru_input(bru_input) for (LABEL) (level 5)