Help to analize toiletbowling in fixed wing

I have had problems in the flight of a fixed wing with compass and external gps and AP Pixhawk,. During the mission in Auto the drone suddenly begins to fly in an uncontrolled way I am assuming that it is a “toiletbowling”. This is new, I had done many flying missions and had no problems. I made a change from GPS + Compass from 3Drobotic to a more modern GPS + Compass and changed its position, more removed from interference and made a magnetic declination adjustment. Fortunately the drone has recovered and enters RTH


Log File C:\Users\Augusto\AppData\Local\Temp\tmp1C6C.tmp.log

Size (kb) 77242.0810546875

No of lines 1106720

Duration 0:25:46

Vehicletype ArduPlane

Firmware Version V3.6.0

Firmware Hash f8e0e91c

Hardware Type

Free Mem 0

Skipped Lines 0

Test: Autotune = NA -

Test: Brownout = GOOD -

Test: Compass = FAIL - Large change in mag_field (85.95%)

Max mag field length (594.13) > recommended (550.00)

Test: Dupe Log Data = GOOD -

Test: Empty = GOOD -

Test: Event/Failsafe = GOOD -

Test: GPS = GOOD -

Test: IMU Mismatch = FAIL - Check vibration or accelerometer calibration. (Mismatch: 2.23, WARN: 0.75, FAIL: 1.50)

Test: Motor Balance = NA -

Test: NaNs = GOOD -

Test: OpticalFlow = FAIL - FAIL: no optical flow data

Test: Parameters = GOOD -

Test: PM = NA -

Test: Pitch/Roll = NA -

Test: Thrust = NA -

Test: VCC = WARN - VCC min/max diff 0.320655v, should be <0.3v

How do you recommend correcting these errors?

I attach the flight log

You’ll need to post this to for assistance with ardupilot firmware.