Modelling the Upper Atmosphere of Gas-Giant Exoplanets Irradiated by Low-Mass Stars. (2017)