Effective Thermodynamics of Artificial Spin Ice