EKF3 IMU_ ground mag anomaly, yaw realigned. The copter tried to pitch down and didn't disarm at all

Hello professionals/enthusiastic/hobbyist
I am really struggling with my quad. I have a Tdrone M1000 assembled quad. Everything was working fine till i tried to implement Emlid RTK. In POS HOLD mode, The copter tried to pitch down and then even when I had cut the throttle to minimum in did an unpredictable pitch up. I had then taken it to stabilise mode and was able disarm with a lot of struggle.

I am very new to this domain. Kindly help me to find the error. I will be thankful if you could spare some of your precision time to help me out with this.

I am attaching the drive link for the video and the logs for the same.