> "In the Milky Way Galaxy, cosmic rays (high-energy protons and heavier nuclei) interact with galactic gas and dust to produce both gamma rays and neutrinos.", from the article
The detected neutrinos were not necessarily produced in the vicinity of the source of the cosmic rays as I understand it. Imagine it like a bank of fog lighting up in the night because a car with headlights is moving towards it.