=== Test: test_A_measurement_system ===
Timestamp: 2025-11-30 22:15:41.547991

--- Gradient Check ---
Pass: TRUE
Max error: 1.13e-06

param_idx param_value fixed analytical finite_diff abs_error rel_error pass
1 1 TRUE -153.999458177515 -153.999465942383 7.76486828613088e-06 5.04213974939109e-08 TRUE
2 2 FALSE 22.3962533949778 22.3962326049805 2.07899973609926e-05 9.2828100724268e-07 TRUE
3 0.5 FALSE 106.920211571564 106.920234680176 2.31086117565837e-05 2.16129452256696e-07 TRUE
4 1.5 FALSE 15.104639397595 15.1046295166016 9.88099340304416e-06 6.54169861775419e-07 TRUE
5 1.2 FALSE -67.3364465386632 -67.3364702860514 2.37473881981032e-05 3.52667552920759e-07 TRUE
6 0.6 FALSE 111.836284724033 111.836250305176 3.44188570977622e-05 3.07761186590581e-07 TRUE
7 1 FALSE -25.627862519458 -25.6278915405273 2.90210693059123e-05 1.13240175298928e-06 TRUE
8 0.8 FALSE -156.382859769499 -156.382858276367 1.49313197539414e-06 9.54792610808662e-09 TRUE
9 0.4 FALSE 226.738851459849 226.73885345459 1.99474041551184e-06 8.79752360532836e-09 TRUE

--- Hessian Check ---
Pass: FALSE
Max error: 1.87e+00

Summary of relative errors:
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
 0.0000  0.5402  0.9912  0.9041  1.2528  1.8749 

--- Estimation Comparison ---
Default init converged: TRUE
True init converged: TRUE
Default estimates reasonable: FALSE
True init estimates reasonable: FALSE

Parameter estimates:
parameter true_value default_init est_default se_default est_true_init se_true_init z_default z_true_init
f_var 1 1 0.911226445881203 0 0.911226445806862 0 -Inf -Inf
T1_int 2 2.04653064143634 2.08445310535604 0.0328934547728002 2.08445310541466 0.0328934547723186 2.56747446990184 2.56747447172165
T1_sigma 0.5 1.09645303516447 0.519064308005067 0 0.519064308020056 0 Inf Inf
T2_int 1.5 1.55327435805289 1.60084173686058 0.0106484148271659 1.60084173693319 0.0106484148291125 9.47011724255077 9.4701172476387
T2_lambda 1.2 0.5 1.25433249559986 0 1.2543324956186 0 Inf Inf
T2_sigma 0.6 1.33117061718788 0.551962306445558 0.0129410638937653 0.551962306428733 0.0129410638944291 -3.71203588428195 -3.71203588539165
T3_int 1 1.02006509578485 1.05069536574027 0.0138687122880275 1.05069536578627 0.0138687122887386 3.65537655460876 3.65537655773832
T3_lambda 0.8 0.5 0.807707801378055 0.0244347272435418 0.807707801391347 0.0244347272513253 0.315444543384117 0.31544454382763
T3_sigma 0.4 0.876115012468385 0.398838179699003 0.0194777516467898 0.398838179687641 0.0194777516474663 -0.059648583782454 -0.0596485843636787

Likelihood comparison:
source loglik convergence
True parameters -1679.09535598629 NA
Est (default init) -1675.47932745949 0
Est (true init) -1675.47932745949 0

--- Overall Result ---
Test passed: FALSE
