This task has been extensively tested against the count rates returned by the XMM pipeline source search and parameterisation tasks. The results are consistent apart from a small variation due to differing PSFs used. The pipeline task emldetect uses the MEDIUM mode PSF.