How do you melt magnesium without causing its combustion? How do you melt magnesium without causing its combustion?

I own a foundry capable of reaching temperatures around 2000&nbsp;°F, and I recently bought some magnesium for melting before doing my research. I cannot find any information on how this process works or if it is even possible.
I have seen molten magnesium; it was covered with charcoal and other fluxes and in a furnace that had a gas shroud. (I think methane that burned any oxygen that got into the shroud atmosphere.) When an immersion thermocouple was put into the magnesium, the open spot immediately burst into flames. I recommend that you not try to melt magnesium; you certainly must get more information than you can get on the internet.