Localization of the X-ray source in the globular cluster G1 with Chandra