Free energy with magnetic 🧲