make some changes to prepare for hjd

we still need to make sure everything works,
and this is highly telescope dependent, so I would
like to abstract that out first
function to split up whole phot dump