Navio2 : 3D acceleration failed

I’m a novice and am trying to put together a quadcopter using Navio2 and RPI. During the initial set up , I notice that the accel calibration failed. I tried several times but to no avail. Not sure where am I going wrong. Any help is appreciated

Kernel Version : 4.19.83-emlid-v7+
APM planner version: v2.0.24
Frame Class: Quad
Frame Type: X
Firmware Version : 3.6.11

Messages : [MAV 001:1] PreArm: 3D Accel calibration needed
[MAV 001:1] PreArm: Compass not calibrated
[MAV 001:1] PreArm: Compass not calibrated

pi@navio:~ $ sudo emlidtool test
2019-12-13 16:11:54 navio root[976] INFO mpu9250: Passed
2019-12-13 16:11:54 navio root[976] INFO ms5611: Passed
2019-12-13 16:11:54 navio root[976] INFO adc: Passed
2019-12-13 16:11:54 navio root[976] INFO pwm: Passed
2019-12-13 16:11:54 navio root[976] INFO rcio_status_alive: Passed
2019-12-13 16:11:54 navio root[976] INFO lsm9ds1: Passed
2019-12-13 16:11:54 navio root[976] INFO gps: Passed
2019-12-13 16:11:54 navio root[976] INFO rcio_firmware: Passed

I tried troubleshooting further by running AccelGyroMag.py and I see that the values are changing as I move the quad frame. So i guess the IMU ( Accelerometer, Gyroscope & Magenetometer) is working fine. Not sure why accel calibration is failing .