code to make an uncertainty image given the readnoise and gain; this is taken mainly from get_centroids_for_calstar_jk.pro, and was made without thinking about how to best do it
search for those pesky outliers in x and y position to track down their origins