Only create certain upper limits for pulsars with finite distances
In the UpperLimitTable
it will try and create certain upper limits (e.g., ellipticity upper limits) so long as there is a pulsar distance. However, it earlier sets distances for all pulsars, but just sets them to inf if they do not exist (e.g., for injections). This MR explicitly checks that the distances are finite before it tries computing the upper limits that require a distance.