Finding the origin of the Pioneer anomaly