Some 35-40 years ago we had a Gardan Horizon GY80 in the hangar with a massive compass indication problem. The chief engineer wrapped the fuselage with the extension cables of two 2kw heaters all day (and it was summertime) in a bid to degauss it. Didn't work as far as I remember.