+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser.ptd.dat fit 2026-06-24T04:12:47 - INFO: Profile Alignment 0.0.36 2026-06-24T04:12:47 - INFO: Alignment track will be output to /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data 2026-06-24T04:12:47 - INFO: Input: /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser.ptd.dat 2026-06-24T04:12:47 - INFO: Sonar: True 2026-06-24T04:12:47 - INFO: Method: fit 2026-06-24T04:12:47 - INFO: Shape: /working/shape.shape.json 2026-06-24T04:12:47 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-24T04:12:47 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-24T04:12:50 - INFO: Reading sonar track took 0.11783123016357422 sec! 2026-06-24T04:12:50 - INFO: Reading sonar alignment track took {0.0007731914520263672} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-24T04:12:50 - INFO: Calculating the size for all frames ... 2026-06-24T04:12:54 - INFO: 200 frames are processed in 4.00 seconds. rate: 49.94 fp/s 2026-06-24T04:12:54 - INFO: Median Scale of 200 frame found to be: 0.889312509566589 2026-06-24T04:12:54 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-24T04:12:54 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-06-24T04:14:13 - INFO: {7424} frames are processed in {78.40} seconds. Rate: 94.69 fp/s Track data saved to /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser_aligned.ptd.dat