first public version of autoregions, based on the code for the XMM-ATLAS survey