code for choosing calibration stars. maxes out at 4269 stars