Quasilocal thermodynamics of dilaton gravity coupled to gauge fields.