Narrative:

Pushed back from gate xx. While taxiing on taxiway a to runway 15; got heading flag. This is common when departing bur. Something at the gate causes magnetic errors in heading indicators on almost every flight out of bur; usually the first officer (first officer) side. We were cleared to line up and wait on runway 15; so it was decided to set the heading of both dg's once we were on runway and compare to chart (155 degrees). Captain's was correct; first officer's was off 5-10 and was adjusted. Cleared to takeoff and fly slapp 1 RNAV departure; climb to 4000 feet (first officer flying). Initial departure heading is 210 and first officer called for navigation mode and autopilot. During initial climb; I noticed that the airplane was turning way past 210. I stated 'I have the controls'; canceled ap; and turned back to 210. Notified ATC that we were having FMS problems and asked for vectors. Asked for heading mode and ap on. Aircraft again turned off selected heading. Cancelled ap and leveled off at 4000 feet. Apparently we missed clearance to climb to 6000 feet and was asked again to climb. Aircraft control was less than smooth with ap being turned off and on and trying to return to correct heading and maintain altitude during heavy distraction and workload. Eventually realized that first officer's heading was the problem and switched fcp to captain's side. Reset first officer heading several times during climb; eventually switching to dg mode. After 30 minutes; both magnetic hdgs were holding correct headings. This too is common out of bur in most aircraft.provide note on every release out of bur to be aware of this. Provide procedure and training to expect and deal with this issue. Suggest lining up on runway; check/set both heading indicators; and switch to dg mode for takeoff and climb. Switch to magnetic on one side at a time. Have captain do every takeoff.

Google
 

Original NASA ASRS Text

Title: Air Carrier Captain reported a magnetic anomaly at BUR airport led to a heading deviation during climb.

Narrative: Pushed back from gate XX. While taxiing on taxiway A to RWY 15; got HDG flag. This is common when departing BUR. Something at the gate causes magnetic errors in heading indicators on almost every flight out of BUR; usually the FO (First Officer) side. We were cleared to line up and wait on RWY 15; so it was decided to set the heading of both DG's once we were on RWY and compare to chart (155 degrees). Captain's was correct; FO's was off 5-10 and was adjusted. Cleared to takeoff and fly SLAPP 1 RNAV departure; climb to 4000 feet (FO flying). Initial departure heading is 210 and FO called for NAV mode and autopilot. During initial climb; I noticed that the airplane was turning way past 210. I stated 'I have the controls'; canceled AP; and turned back to 210. Notified ATC that we were having FMS problems and asked for vectors. Asked for HDG mode and AP on. Aircraft again turned off selected HDG. Cancelled AP and leveled off at 4000 feet. Apparently we missed clearance to climb to 6000 feet and was asked again to climb. Aircraft control was less than smooth with AP being turned off and on and trying to return to correct HDG and maintain Altitude during heavy distraction and workload. Eventually realized that FO's HDG was the problem and switched FCP to Captain's side. Reset FO HDG several times during climb; eventually switching to DG mode. After 30 minutes; both MAG HDGs were holding correct headings. This too is common out of BUR in most aircraft.Provide note on every release out of BUR to be aware of this. Provide procedure and training to expect and deal with this issue. Suggest lining up on runway; check/set both HDG indicators; and switch to DG mode for takeoff and climb. Switch to MAG on one side at a time. Have Captain do every takeoff.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.