Self Mode change from stabilize to RTL after takeoff leading to crash

Hi friends, could someone help to understand the reason of such behavior?
I have DJI S900 based HEX frame with CubeBlack 4.3.7, after complete setup and calibrations it takeoff smoothly in stabilize and in several seconds takes own control while self switching (according to log) to RTL mode. Log analysis shows Magnetometer glitch and appropriate EKF errors. The log file is here. Full Parameter list is here.
Thank you in advance for help.