use a selected subset of sources to calculate source stats; new feature detection code to remove streaks from the sources used to set the PSF stars