improved rmf/arf for iterspec using detmaparray and badpix location