simplify removal of stars with bad photometry