Abstract
Jets, launched by compact objects, collide with the interstellar medium and emit across the electromagnetic spectrum. We refer to this emission as the “afterglow”. We use the HARMPI code to simulate a jet and extract the jet energy as a function of angle from the jet axis. We are currently writing a C++ code to calculate the afterglow as a function of arbitrary observer angle. The jet properties from HARMPI will be used as an input for the afterglow calculation in our C++ code and will allow us to predict several observable features. This project is motivated by the recent detection of the GW170817 afterglow and it is a necessary step towards being able to analyze future detections.