In situ baking method for degassing of a kicker magnet in accelerator beam line