/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). outfile=/lscratch/kocevski/36664880/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36664880/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 17.26 user 16.34 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36664880/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36664880/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36664880/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36664880/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36664880/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 66.27 user 61.40 sys 3.94 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36664880/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36664880/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36664880/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.99 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36664880/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36664880/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36664880/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.04 user 0.22 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36664880/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36664880/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665001', job_status='RUN', time_executed='2026-09-01 18:17:39.839648', time_epoch_executed='1788311859.84' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665001 Creating custom pfile directory: /lscratch/kocevski/36665001/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665001/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665001/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665001/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.90 user 6.83 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665001/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.09 user 0.25 sys 0.12 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA"number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665066', job_status='RUN', time_executed='2026-09-01 18:18:37.387293', time_epoch_executed='1788311917.39' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665066 Creating custom pfile directory: /lscratch/kocevski/36665066/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665066/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665066/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665066/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.21 user 5.99 sys 0.35 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665066/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.94 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36665001/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 19.80 user 18.79 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665001/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665001/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665001/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 73.85 user 68.43 sys 4.27 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665001/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.19 user 0.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665001/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.13 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665141', job_status='RUN', time_executed='2026-09-01 18:19:22.754218', time_epoch_executed='1788311962.75' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665141 Creating custom pfile directory: /lscratch/kocevski/36665141/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665141/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665141/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665141/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 6.50 user 5.52 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665141/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.15 user 0.18 sys 0.14 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36665066/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 17.78 user 16.79 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665066/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665066/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665066/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 66.10 user 61.48 sys 3.76 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665066/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.31 user 0.26 sys 0.20 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665066/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.03 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36664880/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36664880/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 88.24 user 86.08 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36664880/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36664880/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36664880/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36664880/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36664880/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36664880/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36664880/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36664880/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36664880/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36664880/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 outfile=/lscratch/kocevski/36665141/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 17.18 user 16.14 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665141/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665141/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665141/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 60.19 user 55.90 sys 3.18 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665141/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.03 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665141/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.07 user 0.21 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665306', job_status='RUN', time_executed='2026-09-01 18:20:34.698811', time_epoch_executed='1788312034.7' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665306 Creating custom pfile directory: /lscratch/kocevski/36665306/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665306/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665306/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665306/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.25 user 6.03 sys 0.40 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665306/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.98 user 0.21 sys 0.12 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665459', job_status='RUN', time_executed='2026-09-01 18:21:32.748931', time_epoch_executed='1788312092.75' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665459 Creating custom pfile directory: /lscratch/kocevski/36665459/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665459/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665459/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665459/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.27 user 6.31 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665459/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.98 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA"number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665505', job_status='RUN', time_executed='2026-09-01 18:21:43.502465', time_epoch_executed='1788312103.5' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665505 Creating custom pfile directory: /lscratch/kocevski/36665505/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665505/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665505/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665505/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.24 user 6.29 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665505/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.01 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665460', job_status='RUN', time_executed='2026-09-01 18:21:36.646569', time_epoch_executed='1788312096.65' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665460 Creating custom pfile directory: /lscratch/kocevski/36665460/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665460/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665460/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665460/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.49 user 6.17 sys 0.38 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665460/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.42 user 0.23 sys 0.18 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA"Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36664880/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36664880/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:30:02.907233', job_id='36664880', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788312602.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:30:03 PDT 2026 outfile=/lscratch/kocevski/36665306/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 17.50 user 16.47 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665306/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665306/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665306/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 66.28 user 61.53 sys 3.76 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665306/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.05 user 0.21 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665306/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.89 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/366number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665542', job_status='RUN', time_executed='2026-09-01 18:21:49.695563', time_epoch_executed='1788312109.7' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665542 Creating custom pfile directory: /lscratch/kocevski/36665542/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665542/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665542/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665542/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.54 user 6.30 sys 0.34 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665542/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.05 user 0.21 sys 0.14 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36665459/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 18.04 user 17.01 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665459/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665459/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665459/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 68.59 user 63.81 sys 3.82 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665459/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.02 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665459/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.10 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. outfile=/lscratch/kocevski/36665505/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 18.09 user 17.16 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665505/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665505/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665505/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 68.63 user 63.58 sys 3.90 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665505/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.07 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665505/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.94 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/366Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665489', job_status='RUN', time_executed='2026-09-01 18:21:47.584856', time_epoch_executed='1788312107.58' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665489 Creating custom pfile directory: /lscratch/kocevski/36665489/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665489/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665489/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665489/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.85 user 6.64 sys 0.30 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665489/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.32 user 0.30 sys 0.14 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA"number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665766', job_status='RUN', time_executed='2026-09-01 18:22:33.561714', time_epoch_executed='1788312153.56' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665766 Creating custom pfile directory: /lscratch/kocevski/36665766/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665766/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665766/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665766/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.72 user 6.23 sys 0.44 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665766/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.21 user 0.26 sys 0.17 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA"665001/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 97.10 user 94.17 sys 1.58 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665001/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665001/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665001/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665001/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665001/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665001/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665001/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665001/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 outfile=/lscratch/kocevski/36665460/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 20.39 user 19.04 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665460/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665460/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665460/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 69.12 user 63.95 sys 4.17 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665460/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.96 user 0.26 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665460/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.21 user 0.26 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36665066/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 86.42 user 84.11 sys 1.45 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665066/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665066/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665066/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665066/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665066/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665066/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665066/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665066/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665932', job_status='RUN', time_executed='2026-09-01 18:23:05.677209', time_epoch_executed='1788312185.68' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665932 Creating custom pfile directory: /lscratch/kocevski/36665932/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665932/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665932/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665932/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.83 user 6.36 sys 0.29 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665932/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.90 user 0.22 sys 0.14 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA"outfile=/lscratch/kocevski/36665542/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 18.92 user 17.79 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665542/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665542/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665542/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 69.55 user 64.27 sys 4.21 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665542/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.03 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665542/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.97 user 0.23 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/366 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36666017', job_status='RUN', time_executed='2026-09-01 18:23:17.087422', time_epoch_executed='1788312197.09' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36666017 Creating custom pfile directory: /lscratch/kocevski/36666017/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36666017/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36666017/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666017/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 6.50 user 5.50 sys 0.24 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36666017/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.10 user 0.18 sys 0.14 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA"665141/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 79.05 user 76.91 sys 1.01 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665141/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665141/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665141/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665141/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665141/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665141/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665141/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665141/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36665889', job_status='RUN', time_executed='2026-09-01 18:22:47.954063', time_epoch_executed='1788312167.95' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36665889 Creating custom pfile directory: /lscratch/kocevski/36665889/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36665889/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36665889/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665889/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.91 user 6.79 sys 0.29 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36665889/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.12 user 0.23 sys 0.13 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36665489/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 19.41 user 18.19 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665489/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665489/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665489/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 71.98 user 66.54 sys 4.12 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665489/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.13 user 0.26 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665489/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.94 user 0.27 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 outfile=/lscratch/kocevski/36665766/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 18.39 user 17.21 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665766/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665766/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665766/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 68.65 user 63.00 sys 4.19 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665766/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.13 user 0.25 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665766/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.31 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665001/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665066/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665001/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:33:11.627196', job_id='36665001', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788312791.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:33:12 PDT 2026 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665066/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:33:16.651093', job_id='36665066', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788312796.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:33:17 PDT 2026 outfile=/lscratch/kocevski/36665932/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 19.43 user 17.48 sys 0.28 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665932/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665932/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665932/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 71.21 user 64.43 sys 3.95 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665932/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.06 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665932/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.10 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36 outfile=/lscratch/kocevski/36666017/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 16.03 user 15.04 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36666017/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666017/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36666017/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 59.94 user 55.56 sys 3.32 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666017/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.20 user 0.21 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666017/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.19 user 0.20 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36666126', job_status='RUN', time_executed='2026-09-01 18:23:58.388139', time_epoch_executed='1788312238.39' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36666126 Creating custom pfile directory: /lscratch/kocevski/36666126/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36666126/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36666126/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666126/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 8.18 user 6.73 sys 0.29 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36666126/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.17 user 0.22 sys 0.15 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA"Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665141/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665141/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:33:49.792926', job_id='36665141', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788312829.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:33:50 PDT 2026 outfile=/lscratch/kocevski/36665889/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 19.12 user 18.06 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36665889/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665889/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36665889/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 73.53 user 68.00 sys 4.15 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665889/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.20 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36665889/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.23 user 0.26 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/3665306/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 84.04 user 81.70 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665306/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665306/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665306/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665306/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665306/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665306/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665306/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665306/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 665459/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 87.52 user 85.64 sys 0.87 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665459/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665459/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665459/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665459/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665459/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665459/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665459/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665459/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 outfile=/lscratch/kocevski/36666126/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 19.39 user 18.22 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36666126/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666126/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36666126/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 73.49 user 68.21 sys 4.22 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666126/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.23 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666126/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.15 user 0.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/3665505/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 89.80 user 87.63 sys 0.98 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665505/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665505/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665505/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665505/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665505/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665505/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665505/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665505/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665306/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665306/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:35:44.055427', job_id='36665306', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788312944.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:35:44 PDT 2026 665460/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 92.28 user 88.63 sys 2.47 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665460/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665460/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665460/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665460/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665460/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665460/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665460/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665460/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 number of points = 17387 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2304.6+3704_weekly_bin943 RA = 346.173, Dec = 37.0826 tmin = 809308801, tmax = 809913601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='36666127', job_status='RUN', time_executed='2026-09-01 18:24:15.227804', time_epoch_executed='1788312255.23' WHERE source_name='4FGL J2304.6+3704' and cadence='weekly' and bin_id='943' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/36666127 Creating custom pfile directory: /lscratch/kocevski/36666127/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/36666127/ft1_4FGL_J2304.6+3704_weekly_bin943.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809308801.0 && nMetStart<809913601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/36666127/ft1_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666127/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits ra=346.173 dec=37.0826 rad=12.0 tmin=809308801.0 tmax=809913601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 27.96 user 25.88 sys 0.53 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36666127/ft1_filteredMKT_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" outfile="/lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.94 user 0.71 sys 0.19 Number of photons that the gtmktime cut: 2082 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DAT65542/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 91.05 user 88.36 sys 1.39 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665542/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665542/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665542/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665542/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665542/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665542/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665542/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665542/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665459/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665459/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:36:42.274569', job_id='36665459', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313002.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:36:42 PDT 2026 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665505/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665505/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:37:10.228710', job_id='36665505', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313030.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:37:11 PDT 2026 666017/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 77.28 user 75.35 sys 0.86 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36666017/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36666017/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36666017/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36666017/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36666017/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36666017/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36666017/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36666017/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 665489/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 95.35 user 93.30 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665489/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665489/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665489/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665489/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665489/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665489/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665489/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665489/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665460/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 665766/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 92.61 user 88.65 sys 2.50 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665766/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665766/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665766/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665766/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665766/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665766/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665766/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665766/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665460/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:37:42.001999', job_id='36665460', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313062.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:37:43 PDT 2026 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 665932/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 91.17 user 86.01 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665932/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665932/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665932/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665932/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665932/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665932/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665932/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665932/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665542/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665542/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:38:00.475743', job_id='36665542', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313080.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:38:01 PDT 2026 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36666017/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 665889/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 95.56 user 93.02 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36665889/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36665889/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36665889/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36665889/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36665889/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36665889/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36665889/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36665889/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36666017/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:38:52.016631', job_id='36666017', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313132.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:38:52 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665489/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665489/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:39:06.993219', job_id='36665489', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313146.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:39:07 PDT 2026 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665766/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665932/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665766/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:39:28.459424', job_id='36665766', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313168.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:39:29 PDT 2026 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665932/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:39:33.553005', job_id='36665932', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313173.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:39:34 PDT 2026 666126/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 94.56 user 92.34 sys 1.02 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36666126/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36666126/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36666126/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36666126/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36666126/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36666126/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36666126/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36666126/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36665889/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36665889/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:40:35.687080', job_id='36665889', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313235.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:40:36 PDT 2026 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36666126/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36666126/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 18:41:51.852265', job_id='36666126', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788313311.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 18:41:52 PDT 2026 A" outfile=/lscratch/kocevski/36666127/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 74.42 user 71.24 sys 0.57 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36666127/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666127/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/36666127/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits .....................! real 309.01 user 286.12 sys 16.99 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 155 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2304.6+3704 @ 346.173 37.0826 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666127/cmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 2.36 user 0.80 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits scfile=/lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits outfile=/lscratch/kocevski/36666127/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=346.173 yref=37.0826 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 2.34 user 0.86 sys 0.19 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits evtable="EVENTS" scfile=/lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36666127/Model_4FGL_J2304.6+3704_weekly_bin943.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits.....................! real 362.22 user 353.32 sys 2.81 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits', '/lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits', expMap='/lscratch/kocevski/36666127/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', expCube='/lscratch/kocevski/36666127/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36666127/Model_4FGL_J2304.6+3704_weekly_bin943.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2304.6+3704' 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 4.732e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/36666127/ft1_filtered_4FGL_J2304.6+3704_weekly_bin943.fits Spacecraft file(s): /lscratch/kocevski/36666127/ft2_4FGL_J2304.6+3704_weekly_bin943.fits Exposure map: /lscratch/kocevski/36666127/expmap_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits Exposure cube: /lscratch/kocevski/36666127/ltcube_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/36666127/Model_4FGL_J2304.6+3704_weekly_bin943.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8290669 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8210752 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 1.9347 1.0000 .0000 .10000E+07 2 'norm ' 1.4945 1.0000 .0000 .10000E+07 3 'Prefactor ' .11279E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' .20075E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' .35473E-03 1.0000 .0000 .10000E+07 6 'norm ' .29954E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .50623E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .81029E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' .14514E-02 1.0000 .0000 .10000E+07 10 'norm ' 1.3544 1.0000 .0000 .10000E+07 11 'norm ' .37795E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' 6.6097 1.0000 .0000 .10000E+07 13 'norm ' .68737 1.0000 .0000 .10000E+07 14 'Prefactor ' 73.103 1.0000 .0000 .10000E+07 15 'Prefactor ' .25983E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' .31457E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5125 1.0000 .0000 .10000E+07 18 'Normalizat' 1.1010 1.0000 .10000E-01 10.000 19 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 152 CALLS 1486 TOTAL EDM= .78E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 1.9344 .73407 .15133E-07 .64195E-02 2 norm 1.4948 1.8224 .97452E-07 -.26147E-02 3 Prefactor .34972E-08 3.9274 .18273E-06** at limit ** 4 Prefactor .12966E-03 550.05 -.89285E-05** at limit ** 5 Prefactor .37192E-08 4.1338 -.31741E-06** at limit ** 6 norm .0000 1.2273 .73582E-07** at limit ** 7 Prefactor .10547E-08 18.449 -.52953E-06** at limit ** 8 Prefactor .33307E-09 4.9376 .32428E-06** at limit ** 9 Prefactor .30531E-08 3.6875 .21616E-06** at limit ** 10 norm 1.3521 2.2689 -.39672E-07 -.25580E-02 11 norm .0000 2.7037 -.18200E-07** at limit ** 12 Prefactor 6.6074 5.3663 .15741E-06 .42354E-01 13 norm .68530 1.3499 -.12069E-06 -.55915E-02 14 Prefactor 72.852 18.205 -.40942E-06 .19658 15 Prefactor .14433E-08 6.8853 .76153E-06** at limit ** 16 Prefactor .67168E-08 8.2782 -.24414E-06** at limit ** 17 Prefactor 2.5108 3.1591 -.24109E-07 -.10422E-03 18 Normalizat 1.1012 .14888 .23550E-05 -.17883E-03 19 Prefactor .93400 .59199E-01 -.10627E-05 -.88346E-03 ERR DEF= .500 Final values: norm = 1.93443 norm = 1.49485 Prefactor = 3.4972e-09 Prefactor = 0.000129661 Prefactor = 3.71925e-09 norm = 0 Prefactor = 1.05471e-09 Prefactor = 3.33067e-10 Prefactor = 3.05311e-09 norm = 1.35206 norm = 0 Prefactor = 6.60739 norm = 0.685301 Prefactor = 72.852 Prefactor = 1.44329e-09 Prefactor = 6.71685e-09 Prefactor = 2.51077 Normalizat = 1.10119 Prefactor = 0.933996 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=OK 320 CALLS 1806 TOTAL EDM= .45E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 1.9344 .73804 .74629E-03 -1.5680 2 norm 1.4948 1.9065 .87618E-03 -1.5684 3 Prefactor .34972E-08 4.3113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .12966E-03 2.1674 .60452E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .37192E-08 4.8368 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 .28136 .27721E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10547E-08 4.2532 .11826E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .33307E-09 5.6127 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .30531E-08 3.8463 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.3521 2.5084 .93911E-03 -1.5685 11 norm .0000 2.7130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 6.6074 9.1758 .39009E-03 -1.5657 13 norm .68530 1.3641 .61740E-03 -1.5691 14 Prefactor 72.852 49.029 .11697E-03 -1.5537 15 Prefactor .14433E-08 7.0344 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .67168E-08 8.5896 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5108 3.1759 .64432E-03 -1.5676 18 Normalizat 1.1012 .13113 .81672E-01 -.89714 19 Prefactor .93400 .51335E-01 .45437E-01 -.94963 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.48289e-06 Minuit parameter uncertainties: 1 0.738036 2 1.90654 3 0.000245615 4 0.0335279 5 0.000267599 6 3.7993e-06 7 0.000135171 8 8.76183e-05 9 0.00021627 10 2.50845 11 1.46665e-05 12 9.17583 13 1.36407 14 49.0289 15 0.000202525 16 0.00048041 17 3.1759 18 0.131172 19 0.0513379 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21724.8191601 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 3.719e-09 2.676e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 1.849e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 5.134e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 1.312e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 346.173 37.083 Photon Flux Upper Limit: 2.24336232827e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00166051034561 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/36666127/likelihoodResults_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 21724.9186281 delta logL = -0.0994680201729 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191618 delta logL = -1.70386920217e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .60911E-05 1.0000 .0000 .10000E+07 2 'Index ' .46867 1.0000 .0000 10.000 3 'Normalizat' 1.1012 1.0000 .10000E-01 10.000 4 'Prefactor ' .93397 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5200E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 21724.82 FROM MIGRAD STATUS=CONVERGED 62 CALLS 235 TOTAL EDM= .44E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 140.41 .42118E-03** at limit ** 2 Index 2.2288 5.7602 .39232 .46365E-10 3 Normalizat 1.1012 .24745E-01 .81672E-01 -.15053E-03 4 Prefactor .93400 .99580E-02 .45437E-01 -.24722E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.22882 Normalizat = 1.10119 Prefactor = 0.933997 ********** ** 18 **HESSE ********** FCN= 21724.82 FROM HESSE STATUS=NOT POSDEF 29 CALLS 264 TOTAL EDM= .14E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 427.00 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2288 7.0132 .51000 -.58744 3 Normalizat 1.1012 .50694E-01 .36157E-03 -.89714 4 Prefactor .93400 .20437E-01 .15578E-03 -.94963 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.35073e-09 Minuit parameter uncertainties: 1 0.000227162 2 48.7978 3 0.0506959 4 0.0204375 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21724.8191601 delta logL = 4.22005541623e-10 Extracting fit parameters... 4FGL J2304.6+3704 Spectrum: PowerLaw 376 Prefactor: 5.551e-11 2.272e-04 0.000e+00 1.000e+06 ( 1.000e-14) 377 Index: 2.229e+00 4.880e+01 0.000e+00 1.000e+01 (-1.000e+00) 378 Scale: 3.823e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 517 Prefactor: 9.340e-01 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 518 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 519 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 512 Normalization: 1.101e+00 5.070e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 346.173 37.083 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/36666127/cmap_HighResolution_809308801_809913601_4FGL_J2304.6+3704_weekly_bin943.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2026-09-01 19:05:28.498025', job_id='36666127', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1788314728.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='943' AND source_name='4FGL J2304.6+3704' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Sep 1 19:05:29 PDT 2026