distance to a pulsar