"Heavens to Murgatroyd!" is the characteristic catchphrase of Snagglepuss, used to express disbelief or utter bewilderment.
Its origins go back to Snagglepuss' vocal inspiration Bert Lahr, who used the expression in his 1944 movie Meet The People for Metro-Goldwyn-Mayer; however, it's been noted that "Murgatroyd" was used in the Gilbert and Sullivan comic operetta Ruddigore (1887), which has no less than ten baronets named "Murgatroyd" in the story line.
Ultimately, the name goes back to 1371, when one Johanus de Morgateroyde was appointed constable for the district around Warley in Yorkshire, England; the name translates from Old English as "John of Moor Gate Royde," as in "the district leading to the moor."
- "Origin of the phrase 'Heavens to Murgatroyd!'", an article from phrases.org.uk