+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/2c12dbd4-5818-4b68-9523-cf97cf523ca1/processing/data/laser.ptd.dat fit 2026-05-26T03:46:07 - INFO: Profile Alignment 0.0.32 2026-05-26T03:46:07 - INFO: Alignment track will be output to /working/2c12dbd4-5818-4b68-9523-cf97cf523ca1/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-26T03:46:07 - INFO: Input: /working/2c12dbd4-5818-4b68-9523-cf97cf523ca1/processing/data/laser.ptd.dat 2026-05-26T03:46:07 - INFO: Sonar: True 2026-05-26T03:46:07 - INFO: Method: fit 2026-05-26T03:46:07 - INFO: Shape: /working/shape.shape.json 2026-05-26T03:46:07 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-26T03:46:07 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-26T03:46:20 - INFO: Reading sonar track took 0.2464900016784668 sec! 2026-05-26T03:46:20 - INFO: Reading sonar alignment track took {0.004167318344116211} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-26T03:46:21 - INFO: Calculating the size for all frames ... 2026-05-26T03:46:28 - INFO: 200 frames are processed in 7.52 seconds. rate: 26.61 fp/s 2026-05-26T03:46:28 - INFO: Median Scale of 200 frame found to be: 1.373981906533714 2026-05-26T03:46:28 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-26T03:46:28 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-26T03:51:31 - INFO: {29269} frames are processed in {301.49} seconds. Rate: 97.08 fp/s Track data saved to /working/2c12dbd4-5818-4b68-9523-cf97cf523ca1/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/2c12dbd4-5818-4b68-9523-cf97cf523ca1/processing/data/laser_aligned.ptd.dat