+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data/laser.ptd.dat fit 2026-05-08T02:40:56 - INFO: Profile Alignment 0.0.30 2026-05-08T02:40:56 - INFO: Alignment track will be output to /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-08T02:40:56 - INFO: Input: /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data/laser.ptd.dat 2026-05-08T02:40:56 - INFO: Sonar: True 2026-05-08T02:40:56 - INFO: Method: fit 2026-05-08T02:40:56 - INFO: Shape: /working/shape.shape.json 2026-05-08T02:40:56 - INFO: Shape info: /working/shape.json 2026-05-08T02:40:56 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-08T02:41:15 - INFO: Reading sonar track took 0.2857019901275635 sec! 2026-05-08T02:41:15 - INFO: Reading sonar alignment track took {0.0006923675537109375} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-08T02:41:16 - INFO: Calculating the size for all frames ... 2026-05-08T02:41:25 - INFO: 200 frames are processed in <9.12> seconds. rate: 21.94 fp/s 2026-05-08T02:41:25 - INFO: Median Scale of {200} frame found to be: {0.8876648020230237} 2026-05-08T02:41:25 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-08T02:41:25 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-05-08T02:48:39 - INFO: {31762} frames are processed in {431.54} seconds. Rate: 73.60 fp/s Track data saved to /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data/laser_aligned.ptd.dat