Update: Problem solved! I flew extensively, including a long cross-country trip to Michigan and Ohio to see the eclipse and visit family, and I am overjoyed to report I experienced zero anomalies on either G5 during this period!!!
Apr. 2: KPUJ-KVPC-KPUJ, 1.0 hours.
Apr. 7: KPUJ-0I8, 2.3 hours.
Apr. 7: 0I8-KARB, 2.0 hours.
Apr. 8: KARB-3W2, 0.7 hours.
Apr. 8: 3W2-KARB, 1.1 hours.
Apr. 8: KARB-KARB, 0.8 hours.
Apr. 10: KARB-8D4, 1.1 hours.
Apr. 14: 8D4-6I2, 3.0 hours.
Apr. 14: 6I2-KPUJ, 2.2 hours.
Total: 14.2 hours / 9 flights. No yellow heading anomalies!
I think it was the combination of replacing one G5 (which was always problematic despite numerous recalibrations) and then my fine-tuning the AHRS calibration after the unit was replaced to ensure they both showed exactly the same pitch attitude. I think I found the AHRS sweet spot where both G5s and the magnetometer all agree. The adjustment was very subtle - just a few tenths of one degree made all the difference - so the G5’s are extremely sensitive to the AHRS calibration being perfect. Here is what I tweaked:
Prior AHRS pitch calibration (my shop used auto-calibrate as per the Garmin installation manual)
Top G5: +1.0 degrees
Bottom G5: +1.2 degrees
Difference: 0.2 degrees (but units visually differed by 0.4 degrees of pitch)
Adjusted AHRS pitch calibration (my manual adjustment)
Top G5: +0.7 degrees (decrease of 0.3)
Bottom G5: +1.3 degrees (increase of 0.1)
Difference: 0.6 degrees (units visually match pitch exactly)
Lastly, thanks to a tip from another forum member, I was able to get the advanced data logs though I enabled it after the above AHRS adjustment so I never saw the yellow flag again. The advanced data logs provides much more detail than the one data log on the G5 micro SD card and generates multiple files with X/Y/Z axis AHRS data which can be helpful for troubleshooting. You can enable it by creating a folder called “ahrsdata” (without the quotation marks) inside the Garmin folder on the micro SD card.