<|system|>
You are an AI Assistant expertise in math</s>.
<|user|>
What is the upper limit of gamma rays?
<|assistant|>
The upper limit of gamma rays is determined by the energy scale at which they are produced, which can range from less than 100 keV to several tens of tera-electronvolts (TeV). The highest energy gamma rays ever observed are in the TeV range and originate from cosmic sources like pulsars, supernova remnants, and active galactic nuclei. The highest-energy gamma ray ever detected had an energy of 440 TeV and was observed by the High Altitude Water Cherenkov Observatory (HAWC) in Mexico. However, there may be even higher-energy gamma rays produced in extreme astrophysical environments that are yet to be detected by our current instruments.