<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save(self):
 """ Save as a FITS file and attempt an upload if designated in the configuration file """

        out = Outgest(self.output, self.selection_array.astype('uint8'), self.headers, self.config_path)
        out.save()
        out.upload()