/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 /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 /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). 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). 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/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/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). WARNING: version mismatch between CFITSIO header (v WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.43) and linked library (v3.41).3.41). /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) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17382 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0340.5-2118_weekly_bin931 RA = 55.1477, Dec = -21.3158 tmin = 802051201, tmax = 802656001 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='28136135', job_status='RUN', time_executed='2026-06-09 03:26:16.454540', time_epoch_executed='1781000776.45' WHERE source_name='4FGL J0340.5-2118' and cadence='weekly' and bin_id='931' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28136135 Creating custom pfile directory: /lscratch/kocevski/28136135/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28136135/ft1_4FGL_J0340.5-2118_weekly_bin931.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28136135/ft1_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136135/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits ra=55.1477 dec=-21.3158 rad=12.0 tmin=802051201.0 tmax=802656001.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 4.70 user 4.01 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.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/28136135/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.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.79 user 0.18 sys 0.15 Number of photons that the gtmktime cut: 1411 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28136135/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 15.90 user 15.26 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28136135/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136135/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136135/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 59.88 user 55.74 sys 3.48 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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template. Added 157 point sources and 1 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 J0340.5-2118 @ 55.1477 -21.3158 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136135/cmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.80 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136135/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.83 user 0.21 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin9number of points = 17382 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0340.5-2118_weekly_bin931 RA = 55.1477, Dec = -21.3158 tmin = 802051201, tmax = 802656001 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='28136140', job_status='RUN', time_executed='2026-06-09 03:26:30.075774', time_epoch_executed='1781000790.08' WHERE source_name='4FGL J0340.5-2118' and cadence='weekly' and bin_id='931' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28136140 Creating custom pfile directory: /lscratch/kocevski/28136140/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28136140/ft1_4FGL_J0340.5-2118_weekly_bin931.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28136140/ft1_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136140/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits ra=55.1477 dec=-21.3158 rad=12.0 tmin=802051201.0 tmax=802656001.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 5.46 user 4.45 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.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/28136140/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.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.97 user 0.21 sys 0.14 Number of photons that the gtmktime cut: 1411 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28136140/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 18.00 user 17.06 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28136140/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136140/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136140/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 66.23 user 61.22 sys 3.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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template. Added 157 point sources and 1 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 J0340.5-2118 @ 55.1477 -21.3158 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136140/cmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.87 user 0.25 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136140/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.11 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28136135/Model_4FGL_J0340.5-2118_weekly_bin931.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 EG_v02 adding source Fornax A adding source GAL_V02 Working on... /lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits.....................! real 108.44 user 106.36 sys 0.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits', '/lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits', expMap='/lscratch/kocevski/28136135/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', expCube='/lscratch/kocevski/28136135/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28136135/Model_4FGL_J0340.5-2118_weekly_bin931.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0340.5-2118' 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 1.112e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/28136135/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28136135/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Exposure map: /lscratch/kocevski/28136135/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28136135/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28136135/Model_4FGL_J0340.5-2118_weekly_bin931.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) = 15421.8208749 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.6056393 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.3850 1.0000 .0000 .10000E+07 2 'norm ' .41620 1.0000 .0000 .10000E+07 3 'Prefactor ' .59446 1.0000 .0000 .10000E+07 4 'Prefactor ' 86.564 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.9002 1.0000 .0000 .10000E+07 6 'Prefactor ' .52777E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.2324 1.0000 .0000 .10000E+07 8 'Prefactor ' .17802E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.9422 1.0000 .0000 .10000E+07 10 'Prefactor ' 4.6947 1.0000 .0000 .10000E+07 11 'Prefactor ' .12944E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .52680E-06 1.0000 .0000 .10000E+07 13 'norm ' .24364 1.0000 .0000 .10000E+07 14 'Prefactor ' .10959E-03 1.0000 .0000 .10000E+07 15 'norm ' .98532E-07 1.0000 .0000 .10000E+07 16 'Prefactor ' .21934E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' .63949E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 9.9281 1.0000 .0000 .10000E+07 19 'norm ' 5.8454 1.0000 .0000 .10000E+07 20 'Prefactor ' .14457E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.5959 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.7100 1.0000 .0000 .10000E+07 23 'Normalizat' .86017 1.0000 .10000E-01 10.000 24 'Prefactor ' .95787 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 15421.61 FROM MIGRAD STATUS=CONVERGED 148 CALLS 1684 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.3855 1.1679 .36116E-07 -.12223E-02 2 norm .41655 .77648 .78610E-07 -.11843E-02 3 Prefactor .62959 4.2626 -.14256E-06 .30125E-03 4 Prefactor 86.589 1.3048 .63848E-08 -.14416 5 Prefactor 1.8999 1.6363 .24471E-07 -.27732E-03 6 Prefactor .88818E-09 10.204 -.23117E-07** at limit ** 7 Prefactor 1.2215 3.8514 .87415E-07 .98110E-05 8 Prefactor .26090E-08 6.1399 -.17441E-06** at limit ** 9 Prefactor 10.056 1.3837 -.10402E-08 .29276E-01 10 Prefactor 4.6936 1.4097 .56979E-07 -.15982E-02 11 Prefactor .10880E-07 2.6249 .13407E-06** at limit ** 12 Prefactor .41078E-08 3.8339 .13945E-06** at limit ** 13 norm .24353 .30475 .58280E-07** at limit ** 14 Prefactor .55511E-10 3.1892 .72150E-07** at limit ** 15 norm .0000 .57506 -.62410E-07** at limit ** 16 Prefactor .0000 25.642 -.11115E-05** at limit ** 17 Prefactor .22760E-08 4.8603 -.70505E-07** at limit ** 18 Prefactor 9.9287 1.9699 -.13831E-07 .14699E-02 19 norm 5.8525 4.8856 .10842E-06 .32521E-03 20 Prefactor .55511E-10 3.9771 -.97527E-07** at limit ** 21 Prefactor 6.6022 4.0998 .21785E-07 -.30956E-03 22 Prefactor 5.7112 2.5166 .10971E-07 .11568E-02 23 Normalizat .86016 .11009 -.26151E-05 .31772E-04 24 Prefactor .95786 .10488 .26274E-05 -.10536E-04 ERR DEF= .500 Final values: norm = 2.38553 norm = 0.416554 Prefactor = 0.629594 Prefactor = 86.5885 Prefactor = 1.89986 Prefactor = 8.88178e-10 Prefactor = 1.22155 Prefactor = 2.60902e-09 Prefactor = 10.0561 Prefactor = 4.69356 Prefactor = 1.08802e-08 Prefactor = 4.10783e-09 norm = 0.243531 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 2.27596e-09 Prefactor = 9.92865 norm = 5.8525 Prefactor = 5.55112e-11 Prefactor = 6.60225 Prefactor = 5.71125 Normalizat = 0.860156 Prefactor = 0.957856 number of points = 17382 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0340.5-2118_weekly_bin931 RA = 55.1477, Dec = -21.3158 tmin = 802051201, tmax = 802656001 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='28136172', job_status='RUN', time_executed='2026-06-09 03:27:24.598769', time_epoch_executed='1781000844.6' WHERE source_name='4FGL J0340.5-2118' and cadence='weekly' and bin_id='931' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28136172 Creating custom pfile directory: /lscratch/kocevski/28136172/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28136172/ft1_4FGL_J0340.5-2118_weekly_bin931.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28136172/ft1_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136172/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits ra=55.1477 dec=-21.3158 rad=12.0 tmin=802051201.0 tmax=802656001.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 4.99 user 4.05 sys 0.26 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.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/28136172/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.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.84 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 1411 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATAnumber of points = 17382 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0340.5-2118_weekly_bin931 RA = 55.1477, Dec = -21.3158 tmin = 802051201, tmax = 802656001 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='28136227', job_status='RUN', time_executed='2026-06-09 03:27:32.138296', time_epoch_executed='1781000852.14' WHERE source_name='4FGL J0340.5-2118' and cadence='weekly' and bin_id='931' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28136227 Creating custom pfile directory: /lscratch/kocevski/28136227/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28136227/ft1_4FGL_J0340.5-2118_weekly_bin931.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28136227/ft1_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136227/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits ra=55.1477 dec=-21.3158 rad=12.0 tmin=802051201.0 tmax=802656001.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 5.62 user 4.89 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.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/28136227/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.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.23 sys 0.15 Number of photons that the gtmktime cut: 1411 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DAT ********** ** 18 **HESSE ********** FCN= 15421.61 FROM HESSE STATUS=OK 463 CALLS 2147 TOTAL EDM= .50E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.3855 1.1812 .66297E-03 -1.5677 2 norm .41655 .87757 .34635E-02 -1.5695 3 Prefactor .62959 4.3065 .69725E-03 -1.5692 4 Prefactor 86.589 79.685 .10749E-03 -1.5522 5 Prefactor 1.8999 1.6414 .75422E-03 -1.5680 6 Prefactor .88818E-09 10.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.2215 3.9012 .10121E-02 -1.5686 8 Prefactor .26090E-08 6.3712 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 10.056 18.155 .31755E-03 -1.5645 10 Prefactor 4.6936 1.4347 .46420E-03 -1.5665 11 Prefactor .10880E-07 1.1050 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .41078E-08 1.0216 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .24353 .35100 .18020E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .55511E-10 3.2026 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 .26002 .21142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 25.705 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .22760E-08 5.0512 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 9.9287 1.9799 .31778E-03 -1.5645 19 norm 5.8525 4.8858 .41515E-03 -1.5660 20 Prefactor .55511E-10 3.9869 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 6.6022 4.1093 .39050E-03 -1.5657 22 Prefactor 5.7112 2.5359 .42011E-03 -1.5660 23 Normalizat .86016 .99228E-01 .44390E-01 -.97875 24 Prefactor .95786 .91965E-01 .45738E-01 -.94148 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.9902e-06 Minuit parameter uncertainties: 1 1.1812 2 0.877569 3 3.29323 4 79.6858 5 1.64141 6 0.000191656 7 3.90123 8 0.000257609 9 18.1548 10 1.43472 11 0.000219334 12 0.000129592 13 0.351003 14 2.90145e-05 15 4.69668e-07 16 4.49437e-06 17 0.000215422 18 1.97992 19 4.88577 20 3.63119e-05 21 4.10935 22 2.53593 23 0.0992489 24 0.0919798 number of points = 17382 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0340.5-2118_weekly_bin931 RA = 55.1477, Dec = -21.3158 tmin = 802051201, tmax = 802656001 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='28136179', job_status='RUN', time_executed='2026-06-09 03:27:25.230279', time_epoch_executed='1781000845.23' WHERE source_name='4FGL J0340.5-2118' and cadence='weekly' and bin_id='931' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28136179 Creating custom pfile directory: /lscratch/kocevski/28136179/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28136179/ft1_4FGL_J0340.5-2118_weekly_bin931.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28136179/ft1_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136179/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits ra=55.1477 dec=-21.3158 rad=12.0 tmin=802051201.0 tmax=802656001.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 4.88 user 4.02 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.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/28136179/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.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.82 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 1411 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATnumber of points = 17382 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0340.5-2118_weekly_bin931 RA = 55.1477, Dec = -21.3158 tmin = 802051201, tmax = 802656001 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='28136177', job_status='RUN', time_executed='2026-06-09 03:27:25.230282', time_epoch_executed='1781000845.23' WHERE source_name='4FGL J0340.5-2118' and cadence='weekly' and bin_id='931' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28136177 Creating custom pfile directory: /lscratch/kocevski/28136177/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28136177/ft1_4FGL_J0340.5-2118_weekly_bin931.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28136177/ft1_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136177/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits ra=55.1477 dec=-21.3158 rad=12.0 tmin=802051201.0 tmax=802656001.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 5.15 user 4.02 sys 0.24 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.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/28136177/ft1_filteredMKT_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.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.86 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 1411 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.605228 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.694e+00 1.435e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.579e-01 9.198e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.602e-01 9.925e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 28.29 Ra Dec: 55.148 -21.316 Photon Index (Fixed Index): 2.26 +/- 0.00 Photon Flux (Fixed Index): 6.92e-08 +/- 2.11e-08 Energy Flux (Fixed Index): 2.79e-05 +/- 8.53e-06 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) = 15421.5510067 delta logL = 0.0542213356039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523057591 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.3435 1.0000 .0000 .10000E+07 2 'Index ' 2.3616 1.0000 .0000 10.000 3 'Normalizat' .85339 1.0000 .10000E-01 10.000 4 'Prefactor ' .96168 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 15421.55 FROM MIGRAD STATUS=CONVERGED 44 CALLS 227 TOTAL EDM= .57E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.3435 15.405 .48308E-03 .30143E-01 2 Index 2.3616 2.1341 .13862 .28227E-03 3 Normalizat .85340 .56220E-01 .44303E-01 .34413E-04 4 Prefactor .96166 .39896E-01 .45786E-01 .17885E-04 ERR DEF= .500 Final values: Prefactor = 4.34348 Index = 2.36155 Normalizat = 0.853404 Prefactor = 0.961663 ********** ** 18 **HESSE ********** FCN= 15421.55 FROM HESSE STATUS=OK 33 CALLS 260 TOTAL EDM= .39E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.3435 1.7574 .72731E-05 -1.5666 2 Index 2.3616 .30901 .51435E-02 -.55588 3 Normalizat .85340 .10961 .24158E-03 -.98117 4 Prefactor .96166 .10476 .22157E-03 -.94019 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.93324e-10 Minuit parameter uncertainties: 1 1.75745 2 0.309283 3 0.109635 4 0.104786 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523160291 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.343e+00 1.757e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.362e+00 3.093e-01 0.000e+00 1.000e+01 (-1.000e+00) 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.617e-01 1.048e-01 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.534e-01 1.096e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 28.36 Ra Dec: 55.148 -21.316 Photon Index (Free Index): 2.36 +/- 0.31 Photon Flux (Free Index): 7.48e-08 +/- 2.70e-08 Energy Flux (Free Index): 2.58e-05 +/- 9.60e-06 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/28136135/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.92e-08', energy_flux2='2.58e-05', photon_flux_error='2.11e-08', dlogl='5.87e-02', energy_flux='2.79e-05', photon_flux2='7.48e-08', job_status='DONE', time_completed='2026-06-09 03:33:54.740279', photon_index_error2='0.31', photon_index2='2.36', ts='28.29', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.60e-06', EG='0.86', time_epoch_completed='1781001234.74', return_code='0', job_id='28136135', GAL2='0.96', EG2='0.85', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='2.70e-08', ts2='28.36', photon_index='2.26' WHERE bin_id='931' AND source_name='4FGL J0340.5-2118' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 03:33:55 PDT 2026 " outfile=/lscratch/kocevski/28136172/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 16.68 user 15.72 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28136172/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136172/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136172/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 60.28 user 55.73 sys 3.50 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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template. Added 157 point sources and 1 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 J0340.5-2118 @ 55.1477 -21.3158 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136172/cmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136172/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.79 user 0.21 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin93A" outfile=/lscratch/kocevski/28136179/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 16.15 user 15.36 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28136179/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136179/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136179/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 60.09 user 55.67 sys 3.73 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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template. Added 157 point sources and 1 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 J0340.5-2118 @ 55.1477 -21.3158 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136179/cmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.79 user 0.21 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136179/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.76 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin9A" outfile=/lscratch/kocevski/28136177/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 16.33 user 15.53 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28136177/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136177/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136177/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 60.01 user 55.41 sys 3.66 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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template. Added 157 point sources and 1 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 J0340.5-2118 @ 55.1477 -21.3158 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136177/cmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.67 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136177/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.82 user 0.22 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin9A" outfile=/lscratch/kocevski/28136227/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 18.48 user 17.35 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28136227/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136227/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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/28136227/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits .....................! real 68.50 user 64.10 sys 3.69 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 Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template. Added 157 point sources and 1 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 J0340.5-2118 @ 55.1477 -21.3158 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136227/cmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.86 user 0.24 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits scfile=/lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits outfile=/lscratch/kocevski/28136227/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.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=55.1477 yref=-21.3158 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.87 user 0.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28136140/Model_4FGL_J0340.5-2118_weekly_bin931.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 EG_v02 adding source Fornax A adding source GAL_V02 Working on... /lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits.....................! real 118.35 user 116.03 sys 1.10 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits', '/lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits', expMap='/lscratch/kocevski/28136140/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', expCube='/lscratch/kocevski/28136140/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28136140/Model_4FGL_J0340.5-2118_weekly_bin931.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0340.5-2118' 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 1.112e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/28136140/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28136140/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Exposure map: /lscratch/kocevski/28136140/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28136140/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28136140/Model_4FGL_J0340.5-2118_weekly_bin931.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) = 15421.8208749 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.6056393 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.3850 1.0000 .0000 .10000E+07 2 'norm ' .41620 1.0000 .0000 .10000E+07 3 'Prefactor ' .59446 1.0000 .0000 .10000E+07 4 'Prefactor ' 86.564 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.9002 1.0000 .0000 .10000E+07 6 'Prefactor ' .52777E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.2324 1.0000 .0000 .10000E+07 8 'Prefactor ' .17802E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.9422 1.0000 .0000 .10000E+07 10 'Prefactor ' 4.6947 1.0000 .0000 .10000E+07 11 'Prefactor ' .12944E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .52680E-06 1.0000 .0000 .10000E+07 13 'norm ' .24364 1.0000 .0000 .10000E+07 14 'Prefactor ' .10959E-03 1.0000 .0000 .10000E+07 15 'norm ' .98532E-07 1.0000 .0000 .10000E+07 16 'Prefactor ' .21934E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' .63949E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 9.9281 1.0000 .0000 .10000E+07 19 'norm ' 5.8454 1.0000 .0000 .10000E+07 20 'Prefactor ' .14457E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.5959 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.7100 1.0000 .0000 .10000E+07 23 'Normalizat' .86017 1.0000 .10000E-01 10.000 24 'Prefactor ' .95787 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 15421.61 FROM MIGRAD STATUS=CONVERGED 148 CALLS 1684 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.3855 1.1679 .36116E-07 -.12223E-02 2 norm .41655 .77648 .78610E-07 -.11843E-02 3 Prefactor .62959 4.2626 -.14256E-06 .30125E-03 4 Prefactor 86.589 1.3048 .63848E-08 -.14416 5 Prefactor 1.8999 1.6363 .24471E-07 -.27732E-03 6 Prefactor .88818E-09 10.204 -.23117E-07** at limit ** 7 Prefactor 1.2215 3.8514 .87415E-07 .98110E-05 8 Prefactor .26090E-08 6.1399 -.17441E-06** at limit ** 9 Prefactor 10.056 1.3837 -.10402E-08 .29276E-01 10 Prefactor 4.6936 1.4097 .56979E-07 -.15982E-02 11 Prefactor .10880E-07 2.6249 .13407E-06** at limit ** 12 Prefactor .41078E-08 3.8339 .13945E-06** at limit ** 13 norm .24353 .30475 .58280E-07** at limit ** 14 Prefactor .55511E-10 3.1892 .72150E-07** at limit ** 15 norm .0000 .57506 -.62410E-07** at limit ** 16 Prefactor .0000 25.642 -.11115E-05** at limit ** 17 Prefactor .22760E-08 4.8603 -.70505E-07** at limit ** 18 Prefactor 9.9287 1.9699 -.13831E-07 .14699E-02 19 norm 5.8525 4.8856 .10842E-06 .32521E-03 20 Prefactor .55511E-10 3.9771 -.97527E-07** at limit ** 21 Prefactor 6.6022 4.0998 .21785E-07 -.30956E-03 22 Prefactor 5.7112 2.5166 .10971E-07 .11568E-02 23 Normalizat .86016 .11009 -.26151E-05 .31772E-04 24 Prefactor .95786 .10488 .26274E-05 -.10536E-04 ERR DEF= .500 Final values: norm = 2.38553 norm = 0.416554 Prefactor = 0.629594 Prefactor = 86.5885 Prefactor = 1.89986 Prefactor = 8.88178e-10 Prefactor = 1.22155 Prefactor = 2.60902e-09 Prefactor = 10.0561 Prefactor = 4.69356 Prefactor = 1.08802e-08 Prefactor = 4.10783e-09 norm = 0.243531 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 2.27596e-09 Prefactor = 9.92865 norm = 5.8525 Prefactor = 5.55112e-11 Prefactor = 6.60225 Prefactor = 5.71125 Normalizat = 0.860156 Prefactor = 0.957856 ********** ** 18 **HESSE ********** FCN= 15421.61 FROM HESSE STATUS=OK 463 CALLS 2147 TOTAL EDM= .50E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.3855 1.1812 .66297E-03 -1.5677 2 norm .41655 .87757 .34635E-02 -1.5695 3 Prefactor .62959 4.3065 .69725E-03 -1.5692 4 Prefactor 86.589 79.685 .10749E-03 -1.5522 5 Prefactor 1.8999 1.6414 .75422E-03 -1.5680 6 Prefactor .88818E-09 10.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.2215 3.9012 .10121E-02 -1.5686 8 Prefactor .26090E-08 6.3712 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 10.056 18.155 .31755E-03 -1.5645 10 Prefactor 4.6936 1.4347 .46420E-03 -1.5665 11 Prefactor .10880E-07 1.1050 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .41078E-08 1.0216 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .24353 .35100 .18020E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .55511E-10 3.2026 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 .26002 .21142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 25.705 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .22760E-08 5.0512 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 9.9287 1.9799 .31778E-03 -1.5645 19 norm 5.8525 4.8858 .41515E-03 -1.5660 20 Prefactor .55511E-10 3.9869 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 6.6022 4.1093 .39050E-03 -1.5657 22 Prefactor 5.7112 2.5359 .42011E-03 -1.5660 23 Normalizat .86016 .99228E-01 .44390E-01 -.97875 24 Prefactor .95786 .91965E-01 .45738E-01 -.94148 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.9902e-06 Minuit parameter uncertainties: 1 1.1812 2 0.877569 3 3.29323 4 79.6858 5 1.64141 6 0.000191656 7 3.90123 8 0.000257609 9 18.1548 10 1.43472 11 0.000219334 12 0.000129592 13 0.351003 14 2.90145e-05 15 4.69668e-07 16 4.49437e-06 17 0.000215422 18 1.97992 19 4.88577 20 3.63119e-05 21 4.10935 22 2.53593 23 0.0992489 24 0.0919798 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.605228 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.694e+00 1.435e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.579e-01 9.198e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.602e-01 9.925e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 28.29 Ra Dec: 55.148 -21.316 Photon Index (Fixed Index): 2.26 +/- 0.00 Photon Flux (Fixed Index): 6.92e-08 +/- 2.11e-08 Energy Flux (Fixed Index): 2.79e-05 +/- 8.53e-06 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) = 15421.5510067 delta logL = 0.0542213356039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523057591 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.3435 1.0000 .0000 .10000E+07 2 'Index ' 2.3616 1.0000 .0000 10.000 3 'Normalizat' .85339 1.0000 .10000E-01 10.000 4 'Prefactor ' .96168 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 15421.55 FROM MIGRAD STATUS=CONVERGED 44 CALLS 227 TOTAL EDM= .57E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.3435 15.405 .48308E-03 .30143E-01 2 Index 2.3616 2.1341 .13862 .28227E-03 3 Normalizat .85340 .56220E-01 .44303E-01 .34413E-04 4 Prefactor .96166 .39896E-01 .45786E-01 .17885E-04 ERR DEF= .500 Final values: Prefactor = 4.34348 Index = 2.36155 Normalizat = 0.853404 Prefactor = 0.961663 ********** ** 18 **HESSE ********** FCN= 15421.55 FROM HESSE STATUS=OK 33 CALLS 260 TOTAL EDM= .39E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.3435 1.7574 .72731E-05 -1.5666 2 Index 2.3616 .30901 .51435E-02 -.55588 3 Normalizat .85340 .10961 .24158E-03 -.98117 4 Prefactor .96166 .10476 .22157E-03 -.94019 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.93324e-10 Minuit parameter uncertainties: 1 1.75745 2 0.309283 3 0.109635 4 0.104786 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523160291 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.343e+00 1.757e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.362e+00 3.093e-01 0.000e+00 1.000e+01 (-1.000e+00) 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.617e-01 1.048e-01 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.534e-01 1.096e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 28.36 Ra Dec: 55.148 -21.316 Photon Index (Free Index): 2.36 +/- 0.31 Photon Flux (Free Index): 7.48e-08 +/- 2.70e-08 Energy Flux (Free Index): 2.58e-05 +/- 9.60e-06 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/28136140/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.92e-08', energy_flux2='2.58e-05', photon_flux_error='2.11e-08', dlogl='5.87e-02', energy_flux='2.79e-05', photon_flux2='7.48e-08', job_status='DONE', time_completed='2026-06-09 03:36:41.001363', photon_index_error2='0.31', photon_index2='2.36', ts='28.29', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.60e-06', EG='0.86', time_epoch_completed='1781001401.0', return_code='0', job_id='28136140', GAL2='0.96', EG2='0.85', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='2.70e-08', ts2='28.36', photon_index='2.26' WHERE bin_id='931' AND source_name='4FGL J0340.5-2118' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 03:36:41 PDT 2026 1.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28136172/Model_4FGL_J0340.5-2118_weekly_bin931.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 EG_v02 adding source Fornax A adding source GAL_V02 Working on... /lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits.....................! real 109.43 user 107.39 sys 1.01 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits', '/lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits', expMap='/lscratch/kocevski/28136172/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', expCube='/lscratch/kocevski/28136172/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28136172/Model_4FGL_J0340.5-2118_weekly_bin931.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0340.5-2118' 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 1.112e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/28136172/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28136172/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Exposure map: /lscratch/kocevski/28136172/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28136172/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28136172/Model_4FGL_J0340.5-2118_weekly_bin931.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) = 15421.8208749 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.6056393 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.3850 1.0000 .0000 .10000E+07 2 'norm ' .41620 1.0000 .0000 .10000E+07 3 'Prefactor ' .59446 1.0000 .0000 .10000E+07 4 'Prefactor ' 86.564 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.9002 1.0000 .0000 .10000E+07 6 'Prefactor ' .52777E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.2324 1.0000 .0000 .10000E+07 8 'Prefactor ' .17802E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.9422 1.0000 .0000 .10000E+07 10 'Prefactor ' 4.6947 1.0000 .0000 .10000E+07 11 'Prefactor ' .12944E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .52680E-06 1.0000 .0000 .10000E+07 13 'norm ' .24364 1.0000 .0000 .10000E+07 14 'Prefactor ' .10959E-03 1.0000 .0000 .10000E+07 15 'norm ' .98532E-07 1.0000 .0000 .10000E+07 16 'Prefactor ' .21934E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' .63949E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 9.9281 1.0000 .0000 .10000E+07 19 'norm ' 5.8454 1.0000 .0000 .10000E+07 20 'Prefactor ' .14457E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.5959 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.7100 1.0000 .0000 .10000E+07 23 'Normalizat' .86017 1.0000 .10000E-01 10.000 24 'Prefactor ' .95787 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 15421.61 FROM MIGRAD STATUS=CONVERGED 148 CALLS 1684 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.3855 1.1679 .36116E-07 -.12223E-02 2 norm .41655 .77648 .78610E-07 -.11843E-02 3 Prefactor .62959 4.2626 -.14256E-06 .30125E-03 4 Prefactor 86.589 1.3048 .63848E-08 -.14416 5 Prefactor 1.8999 1.6363 .24471E-07 -.27732E-03 6 Prefactor .88818E-09 10.204 -.23117E-07** at limit ** 7 Prefactor 1.2215 3.8514 .87415E-07 .98110E-05 8 Prefactor .26090E-08 6.1399 -.17441E-06** at limit ** 9 Prefactor 10.056 1.3837 -.10402E-08 .29276E-01 10 Prefactor 4.6936 1.4097 .56979E-07 -.15982E-02 11 Prefactor .10880E-07 2.6249 .13407E-06** at limit ** 12 Prefactor .41078E-08 3.8339 .13945E-06** at limit ** 13 norm .24353 .30475 .58280E-07** at limit ** 14 Prefactor .55511E-10 3.1892 .72150E-07** at limit ** 15 norm .0000 .57506 -.62410E-07** at limit ** 16 Prefactor .0000 25.642 -.11115E-05** at limit ** 17 Prefactor .22760E-08 4.8603 -.70505E-07** at limit ** 18 Prefactor 9.9287 1.9699 -.13831E-07 .14699E-02 19 norm 5.8525 4.8856 .10842E-06 .32521E-03 20 Prefactor .55511E-10 3.9771 -.97527E-07** at limit ** 21 Prefactor 6.6022 4.0998 .21785E-07 -.30956E-03 22 Prefactor 5.7112 2.5166 .10971E-07 .11568E-02 23 Normalizat .86016 .11009 -.26151E-05 .31772E-04 24 Prefactor .95786 .10488 .26274E-05 -.10536E-04 ERR DEF= .500 Final values: norm = 2.38553 norm = 0.416554 Prefactor = 0.629594 Prefactor = 86.5885 Prefactor = 1.89986 Prefactor = 8.88178e-10 Prefactor = 1.22155 Prefactor = 2.60902e-09 Prefactor = 10.0561 Prefactor = 4.69356 Prefactor = 1.08802e-08 Prefactor = 4.10783e-09 norm = 0.243531 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 2.27596e-09 Prefactor = 9.92865 norm = 5.8525 Prefactor = 5.55112e-11 Prefactor = 6.60225 Prefactor = 5.71125 Normalizat = 0.860156 Prefactor = 0.957856 31.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28136177/Model_4FGL_J0340.5-2118_weekly_bin931.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 EG_v02 adding source Fornax A adding source GAL_V02 Working on... /lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits.....................! real 108.99 user 107.09 sys 0.94 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits', '/lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits', expMap='/lscratch/kocevski/28136177/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', expCube='/lscratch/kocevski/28136177/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28136177/Model_4FGL_J0340.5-2118_weekly_bin931.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0340.5-2118' 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 1.112e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/28136177/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28136177/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Exposure map: /lscratch/kocevski/28136177/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28136177/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28136177/Model_4FGL_J0340.5-2118_weekly_bin931.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) = 15421.8208749 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.6056393 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.3850 1.0000 .0000 .10000E+07 2 'norm ' .41620 1.0000 .0000 .10000E+07 3 'Prefactor ' .59446 1.0000 .0000 .10000E+07 4 'Prefactor ' 86.564 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.9002 1.0000 .0000 .10000E+07 6 'Prefactor ' .52777E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.2324 1.0000 .0000 .10000E+07 8 'Prefactor ' .17802E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.9422 1.0000 .0000 .10000E+07 10 'Prefactor ' 4.6947 1.0000 .0000 .10000E+07 11 'Prefactor ' .12944E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .52680E-06 1.0000 .0000 .10000E+07 13 'norm ' .24364 1.0000 .0000 .10000E+07 14 'Prefactor ' .10959E-03 1.0000 .0000 .10000E+07 15 'norm ' .98532E-07 1.0000 .0000 .10000E+07 16 'Prefactor ' .21934E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' .63949E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 9.9281 1.0000 .0000 .10000E+07 19 'norm ' 5.8454 1.0000 .0000 .10000E+07 20 'Prefactor ' .14457E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.5959 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.7100 1.0000 .31.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28136179/Model_4FGL_J0340.5-2118_weekly_bin931.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 EG_v02 adding source Fornax A adding source GAL_V02 Working on... /lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits.....................! real 108.32 user 105.90 sys 0.89 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits', '/lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits', expMap='/lscratch/kocevski/28136179/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', expCube='/lscratch/kocevski/28136179/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28136179/Model_4FGL_J0340.5-2118_weekly_bin931.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0340.5-2118' 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 1.112e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/28136179/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28136179/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Exposure map: /lscratch/kocevski/28136179/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28136179/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28136179/Model_4FGL_J0340.5-2118_weekly_bin931.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) = 15421.8208749 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.6056393 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.3850 1.0000 .0000 .10000E+07 2 'norm ' .41620 1.0000 .0000 .10000E+07 3 'Prefactor ' .59446 1.0000 .0000 .10000E+07 4 'Prefactor ' 86.564 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.9002 1.0000 .0000 .10000E+07 6 'Prefactor ' .52777E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.2324 1.0000 .0000 .10000E+07 8 'Prefactor ' .17802E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.9422 1.0000 .0000 .10000E+07 10 'Prefactor ' 4.6947 1.0000 .0000 .10000E+07 11 'Prefactor ' .12944E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .52680E-06 1.0000 .0000 .10000E+07 13 'norm ' .24364 1.0000 .0000 .10000E+07 14 'Prefactor ' .10959E-03 1.0000 .0000 .10000E+07 15 'norm ' .98532E-07 1.0000 .0000 .10000E+07 16 'Prefactor ' .21934E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' .63949E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 9.9281 1.0000 .0000 .10000E+07 19 'norm ' 5.8454 1.0000 .0000 .10000E+07 20 'Prefactor ' .14457E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.5959 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.7100 1.0000 .0000 .10000E+07 23 'Normalizat' .86017 1.0000 .10000E-01 10.000 24 'Prefactor ' .95787 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 15421.61 FROM MIGRAD STATUS=CONVERGED 148 CALLS 1684 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.3855 1.1679 .36116E-07 -.12223E-02 2 norm .41655 .77648 .78610E-07 -.11843E-02 3 Prefactor .62959 4.2626 -.14256E-06 .30125E-03 4 Prefactor 86.589 1.3048 .63848E-08 -.14416 5 Prefactor 1.8999 1.6363 .24471E-07 -.27732E-03 6 Prefactor .88818E-09 10.204 -.23117E-07** at limit ** 7 Prefactor 1.2215 3.8514 .87415E-07 .98110E-05 8 Prefactor .26090E-08 6.1399 -.17441E-06** at limit ** 9 Prefactor 10.056 1.3837 -.10402E-08 .29276E-01 10 Prefactor 4.6936 1.4097 .56979E-07 -.15982E-02 11 Prefactor .10880E-07 2.6249 .13407E-06** at limit ** 12 Prefactor .41078E-08 3.8339 .13945E-06** at limit ** 13 norm .24353 .30475 .58280E-07** at limit ** 14 Prefactor .55511E-10 3.1892 .72150E-07** at limit ** 15 norm .0000 .57506 -.62410E-07** at limit ** 16 Prefactor .0000 25.642 -.11115E-05** at limit ** 17 Prefactor .22760E-08 4.8603 -.70505E-07** at limit ** 18 Prefactor 9.9287 1.9699 -.13831E-07 .14699E-02 19 norm 5.8525 4.8856 .10842E-06 .32521E-03 20 Prefactor .55511E-10 3.9771 -.97527E-07** at limit ** 21 Prefactor 6.6022 4.0998 .21785E-07 -.30956E-03 22 Prefactor 5.7112 2.5166 .10971E-07 .11568E-02 23 Normalizat .86016 .11009 -.26151E-05 .31772E-04 24 Prefactor .95786 .10488 .26274E-05 -.10536E-04 ERR DEF= .500 Final values: norm = 2.38553 norm = 0.416554 Prefactor = 0.629594 Prefactor = 86.5885 Prefactor = 1.89986 Prefactor = 8.88178e-10 Prefactor = 1.22155 Prefactor = 2.60902e-09 Prefactor = 10.0561 Prefactor = 4.69356 Prefactor = 1.08802e-08 Prefactor = 4.10783e-09 norm = 0.243531 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 2.27596e-09 Prefactor = 9.92865 norm = 5.8525 Prefactor = 5.55112e-11 Prefactor = 6.60225 Prefactor = 5.71125 Normalizat = 0.860156 Prefactor = 0.957856 0000 .10000E+07 23 'Normalizat' .86017 1.0000 .10000E-01 10.000 24 'Prefactor ' .95787 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 15421.61 FROM MIGRAD STATUS=CONVERGED 148 CALLS 1684 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.3855 1.1679 .36116E-07 -.12223E-02 2 norm .41655 .77648 .78610E-07 -.11843E-02 3 Prefactor .62959 4.2626 -.14256E-06 .30125E-03 4 Prefactor 86.589 1.3048 .63848E-08 -.14416 5 Prefactor 1.8999 1.6363 .24471E-07 -.27732E-03 6 Prefactor .88818E-09 10.204 -.23117E-07** at limit ** 7 Prefactor 1.2215 3.8514 .87415E-07 .98110E-05 8 Prefactor .26090E-08 6.1399 -.17441E-06** at limit ** 9 Prefactor 10.056 1.3837 -.10402E-08 .29276E-01 10 Prefactor 4.6936 1.4097 .56979E-07 -.15982E-02 11 Prefactor .10880E-07 2.6249 .13407E-06** at limit ** 12 Prefactor .41078E-08 3.8339 .13945E-06** at limit ** 13 norm .24353 .30475 .58280E-07** at limit ** 14 Prefactor .55511E-10 3.1892 .72150E-07** at limit ** 15 norm .0000 .57506 -.62410E-07** at limit ** 16 Prefactor .0000 25.642 -.11115E-05** at limit ** 17 Prefactor .22760E-08 4.8603 -.70505E-07** at limit ** 18 Prefactor 9.9287 1.9699 -.13831E-07 .14699E-02 19 norm 5.8525 4.8856 .10842E-06 .32521E-03 20 Prefactor .55511E-10 3.9771 -.97527E-07** at limit ** 21 Prefactor 6.6022 4.0998 .21785E-07 -.30956E-03 22 Prefactor 5.7112 2.5166 .10971E-07 .11568E-02 23 Normalizat .86016 .11009 -.26151E-05 .31772E-04 24 Prefactor .95786 .10488 .26274E-05 -.10536E-04 ERR DEF= .500 Final values: norm = 2.38553 norm = 0.416554 Prefactor = 0.629594 Prefactor = 86.5885 Prefactor = 1.89986 Prefactor = 8.88178e-10 Prefactor = 1.22155 Prefactor = 2.60902e-09 Prefactor = 10.0561 Prefactor = 4.69356 Prefactor = 1.08802e-08 Prefactor = 4.10783e-09 norm = 0.243531 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 2.27596e-09 Prefactor = 9.92865 norm = 5.8525 Prefactor = 5.55112e-11 Prefactor = 6.60225 Prefactor = 5.71125 Normalizat = 0.860156 Prefactor = 0.957856 ********** ** 18 **HESSE ********** FCN= 15421.61 FROM HESSE STATUS=OK 463 CALLS 2147 TOTAL EDM= .50E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.3855 1.1812 .66297E-03 -1.5677 2 norm .41655 .87757 .34635E-02 -1.5695 3 Prefactor .62959 4.3065 .69725E-03 -1.5692 4 Prefactor 86.589 79.685 .10749E-03 -1.5522 5 Prefactor 1.8999 1.6414 .75422E-03 -1.5680 6 Prefactor .88818E-09 10.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.2215 3.9012 .10121E-02 -1.5686 8 Prefactor .26090E-08 6.3712 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 10.056 18.155 .31755E-03 -1.5645 10 Prefactor 4.6936 1.4347 .46420E-03 -1.5665 11 Prefactor .10880E-07 1.1050 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .41078E-08 1.0216 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .24353 .35100 .18020E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .55511E-10 3.2026 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 .26002 .21142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 25.705 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .22760E-08 5.0512 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 9.9287 1.9799 .31778E-03 -1.5645 19 norm 5.8525 4.8858 .41515E-03 -1.5660 20 Prefactor .55511E-10 3.9869 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 6.6022 4.1093 .39050E-03 -1.5657 22 Prefactor 5.7112 2.5359 .42011E-03 -1.5660 23 Normalizat .86016 .99228E-01 .44390E-01 -.97875 24 Prefactor .95786 .91965E-01 .45738E-01 -.94148 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.9902e-06 Minuit parameter uncertainties: 1 1.1812 2 0.877569 3 3.29323 4 79.6858 5 1.64141 6 0.000191656 7 3.90123 8 0.000257609 9 18.1548 10 1.43472 11 0.000219334 12 0.000129592 13 0.351003 14 2.90145e-05 15 4.69668e-07 16 4.49437e-06 17 0.000215422 18 1.97992 19 4.88577 20 3.63119e-05 21 4.10935 22 2.53593 23 0.0992489 24 0.0919798 31.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28136227/Model_4FGL_J0340.5-2118_weekly_bin931.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 EG_v02 adding source Fornax A adding source GAL_V02 Working on... /lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits.....................! real 124.46 user 122.80 sys 0.62 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits', '/lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits', expMap='/lscratch/kocevski/28136227/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', expCube='/lscratch/kocevski/28136227/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28136227/Model_4FGL_J0340.5-2118_weekly_bin931.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0340.5-2118' 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 1.112e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/28136227/ft1_filtered_4FGL_J0340.5-2118_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28136227/ft2_4FGL_J0340.5-2118_weekly_bin931.fits Exposure map: /lscratch/kocevski/28136227/expmap_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28136227/ltcube_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28136227/Model_4FGL_J0340.5-2118_weekly_bin931.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) = 15421.8208749 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.6056393 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 2.3850 1.0000 .0000 .10000E+07 2 'norm ' .41620 1.0000 .0000 .10000E+07 3 'Prefactor ' .59446 1.0000 .0000 .10000E+07 4 'Prefactor ' 86.564 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.9002 1.0000 .0000 .10000E+07 6 'Prefactor ' .52777E-02 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.2324 1.0000 .0000 .10000E+07 8 'Prefactor ' .17802E-05 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.9422 1.0000 .0000 .10000E+07 10 'Prefactor ' 4.6947 1.0000 .0000 .10000E+07 11 'Prefactor ' .12944E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .52680E-06 1.0000 .0000 .10000E+07 13 'norm ' .24364 1.0000 .0000 .10000E+07 14 'Prefactor ' .10959E-03 1.0000 .0000 .10000E+07 15 'norm ' .98532E-07 1.0000 .0000 .10000E+07 16 'Prefactor ' .21934E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' .63949E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 9.9281 1.0000 .0000 .10000E+07 19 'norm ' 5.8454 1.0000 .0000 .10000E+07 20 'Prefactor ' .14457E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.5959 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.7100 1.0000 .Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.605228 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.694e+00 1.435e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.579e-01 9.198e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.602e-01 9.925e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 28.29 Ra Dec: 55.148 -21.316 Photon Index (Fixed Index): 2.26 +/- 0.00 Photon Flux (Fixed Index): 6.92e-08 +/- 2.11e-08 Energy Flux (Fixed Index): 2.79e-05 +/- 8.53e-06 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) = 15421.5510067 delta logL = 0.0542213356039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523057591 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.3435 1.0000 .0000 .10000E+07 2 'Index ' 2.3616 1.0000 .0000 10.000 3 'Normalizat' .85339 1.0000 .10000E-01 10.000 4 'Prefactor ' .96168 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 15421.55 FROM MIGRAD STATUS=CONVERGED 44 CALLS 227 TOTAL EDM= .57E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.3435 15.405 .48308E-03 .30143E-01 2 Index 2.3616 2.1341 .13862 .28227E-03 3 Normalizat .85340 .56220E-01 .44303E-01 .34413E-04 4 Prefactor .96166 .39896E-01 .45786E-01 .17885E-04 ERR DEF= .500 Final values: Prefactor = 4.34348 Index = 2.36155 Normalizat = 0.853404 Prefactor = 0.961663 ********** ** 18 **HESSE ********** FCN= 15421.55 FROM HESSE STATUS=OK 33 CALLS 260 TOTAL EDM= .39E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.3435 1.7574 .72731E-05 -1.5666 2 Index 2.3616 .30901 .51435E-02 -.55588 3 Normalizat .85340 .10961 .24158E-03 -.98117 4 Prefactor .96166 .10476 .22157E-03 -.94019 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.93324e-10 Minuit parameter uncertainties: 1 1.75745 2 0.309283 3 0.109635 4 0.104786 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523160291 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.343e+00 1.757e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.362e+00 3.093e-01 0.000e+00 1.000e+01 (-1.000e+00) 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.617e-01 1.048e-01 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.534e-01 1.096e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 28.36 Ra Dec: 55.148 -21.316 Photon Index (Free Index): 2.36 +/- 0.31 Photon Flux (Free Index): 7.48e-08 +/- 2.70e-08 Energy Flux (Free Index): 2.58e-05 +/- 9.60e-06 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/28136172/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.92e-08', energy_flux2='2.58e-05', photon_flux_error='2.11e-08', dlogl='5.87e-02', energy_flux='2.79e-05', photon_flux2='7.48e-08', job_status='DONE', time_completed='2026-06-09 03:39:32.552977', photon_index_error2='0.31', photon_index2='2.36', ts='28.29', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.60e-06', EG='0.86', time_epoch_completed='1781001572.55', return_code='0', job_id='28136172', GAL2='0.96', EG2='0.85', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='2.70e-08', ts2='28.36', photon_index='2.26' WHERE bin_id='931' AND source_name='4FGL J0340.5-2118' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 03:39:32 PDT 2026 ********** ** 18 **HESSE ********** FCN= 15421.61 FROM HESSE STATUS=OK 463 CALLS 2147 TOTAL EDM= .50E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.3855 1.1812 .66297E-03 -1.5677 2 norm .41655 .87757 .34635E-02 -1.5695 3 Prefactor .62959 4.3065 .69725E-03 -1.5692 4 Prefactor 86.589 79.685 .10749E-03 -1.5522 5 Prefactor 1.8999 1.6414 .75422E-03 -1.5680 6 Prefactor .88818E-09 10.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.2215 3.9012 .10121E-02 -1.5686 8 Prefactor .26090E-08 6.3712 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 10.056 18.155 .31755E-03 -1.5645 10 Prefactor 4.6936 1.4347 .46420E-03 -1.5665 11 Prefactor .10880E-07 1.1050 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .41078E-08 1.0216 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .24353 .35100 .18020E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .55511E-10 3.2026 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 .26002 .21142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 25.705 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .22760E-08 5.0512 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 9.9287 1.9799 .31778E-03 -1.5645 19 norm 5.8525 4.8858 .41515E-03 -1.5660 20 Prefactor .55511E-10 3.9869 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 6.6022 4.1093 .39050E-03 -1.5657 22 Prefactor 5.7112 2.5359 .42011E-03 -1.5660 23 Normalizat .86016 .99228E-01 .44390E-01 -.97875 24 Prefactor .95786 .91965E-01 .45738E-01 -.94148 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.9902e-06 Minuit parameter uncertainties: 1 1.1812 2 0.877569 3 3.29323 4 79.6858 5 1.64141 6 0.000191656 7 3.90123 8 0.000257609 9 18.1548 10 1.43472 11 0.000219334 12 0.000129592 13 0.351003 14 2.90145e-05 15 4.69668e-07 16 4.49437e-06 17 0.000215422 18 1.97992 19 4.88577 20 3.63119e-05 21 4.10935 22 2.53593 23 0.0992489 24 0.0919798 ********** ** 18 **HESSE ********** FCN= 15421.61 FROM HESSE STATUS=OK 463 CALLS 2147 TOTAL EDM= .50E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.3855 1.1812 .66297E-03 -1.5677 2 norm .41655 .87757 .34635E-02 -1.5695 3 Prefactor .62959 4.3065 .69725E-03 -1.5692 4 Prefactor 86.589 79.685 .10749E-03 -1.5522 5 Prefactor 1.8999 1.6414 .75422E-03 -1.5680 6 Prefactor .88818E-09 10.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.2215 3.9012 .10121E-02 -1.5686 8 Prefactor .26090E-08 6.3712 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 10.056 18.155 .31755E-03 -1.5645 10 Prefactor 4.6936 1.4347 .46420E-03 -1.5665 11 Prefactor .10880E-07 1.1050 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .41078E-08 1.0216 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .24353 .35100 .18020E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .55511E-10 3.2026 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 .26002 .21142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 25.705 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .22760E-08 5.0512 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 9.9287 1.9799 .31778E-03 -1.5645 19 norm 5.8525 4.8858 .41515E-03 -1.5660 20 Prefactor .55511E-10 3.9869 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 6.6022 4.1093 .39050E-03 -1.5657 22 Prefactor 5.7112 2.5359 .42011E-03 -1.5660 23 Normalizat .86016 .99228E-01 .44390E-01 -.97875 24 Prefactor .95786 .91965E-01 .45738E-01 -.94148 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.9902e-06 Minuit parameter uncertainties: 1 1.1812 2 0.877569 3 3.29323 4 79.6858 5 1.64141 6 0.000191656 7 3.90123 8 0.000257609 9 18.1548 10 1.43472 11 0.000219334 12 0.000129592 13 0.351003 14 2.90145e-05 15 4.69668e-07 16 4.49437e-06 17 0.000215422 18 1.97992 19 4.88577 20 3.63119e-05 21 4.10935 22 2.53593 23 0.0992489 24 0.0919798 0000 .10000E+07 23 'Normalizat' .86017 1.0000 .10000E-01 10.000 24 'Prefactor ' .95787 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 15421.61 FROM MIGRAD STATUS=CONVERGED 148 CALLS 1684 TOTAL EDM= .20E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 2.3855 1.1679 .36116E-07 -.12223E-02 2 norm .41655 .77648 .78610E-07 -.11843E-02 3 Prefactor .62959 4.2626 -.14256E-06 .30125E-03 4 Prefactor 86.589 1.3048 .63848E-08 -.14416 5 Prefactor 1.8999 1.6363 .24471E-07 -.27732E-03 6 Prefactor .88818E-09 10.204 -.23117E-07** at limit ** 7 Prefactor 1.2215 3.8514 .87415E-07 .98110E-05 8 Prefactor .26090E-08 6.1399 -.17441E-06** at limit ** 9 Prefactor 10.056 1.3837 -.10402E-08 .29276E-01 10 Prefactor 4.6936 1.4097 .56979E-07 -.15982E-02 11 Prefactor .10880E-07 2.6249 .13407E-06** at limit ** 12 Prefactor .41078E-08 3.8339 .13945E-06** at limit ** 13 norm .24353 .30475 .58280E-07** at limit ** 14 Prefactor .55511E-10 3.1892 .72150E-07** at limit ** 15 norm .0000 .57506 -.62410E-07** at limit ** 16 Prefactor .0000 25.642 -.11115E-05** at limit ** 17 Prefactor .22760E-08 4.8603 -.70505E-07** at limit ** 18 Prefactor 9.9287 1.9699 -.13831E-07 .14699E-02 19 norm 5.8525 4.8856 .10842E-06 .32521E-03 20 Prefactor .55511E-10 3.9771 -.97527E-07** at limit ** 21 Prefactor 6.6022 4.0998 .21785E-07 -.30956E-03 22 Prefactor 5.7112 2.5166 .10971E-07 .11568E-02 23 Normalizat .86016 .11009 -.26151E-05 .31772E-04 24 Prefactor .95786 .10488 .26274E-05 -.10536E-04 ERR DEF= .500 Final values: norm = 2.38553 norm = 0.416554 Prefactor = 0.629594 Prefactor = 86.5885 Prefactor = 1.89986 Prefactor = 8.88178e-10 Prefactor = 1.22155 Prefactor = 2.60902e-09 Prefactor = 10.0561 Prefactor = 4.69356 Prefactor = 1.08802e-08 Prefactor = 4.10783e-09 norm = 0.243531 Prefactor = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 2.27596e-09 Prefactor = 9.92865 norm = 5.8525 Prefactor = 5.55112e-11 Prefactor = 6.60225 Prefactor = 5.71125 Normalizat = 0.860156 Prefactor = 0.957856 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.605228 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.694e+00 1.435e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.579e-01 9.198e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.602e-01 9.925e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 28.29 Ra Dec: 55.148 -21.316 Photon Index (Fixed Index): 2.26 +/- 0.00 Photon Flux (Fixed Index): 6.92e-08 +/- 2.11e-08 Energy Flux (Fixed Index): 2.79e-05 +/- 8.53e-06 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) = 15421.5510067 delta logL = 0.0542213356039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523057591 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.3435 1.0000 .0000 .10000E+07 2 'Index ' 2.3616 1.0000 .0000 10.000 3 'Normalizat' .85339 1.0000 .10000E-01 10.000 4 'Prefactor ' .96168 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 15421.55 FROM MIGRAD STATUS=CONVERGED 44 CALLS 227 TOTAL EDM= .57E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.3435 15.405 .48308E-03 .30143E-01 2 Index 2.3616 2.1341 .13862 .28227E-03 3 Normalizat .85340 .56220E-01 .44303E-01 .34413E-04 4 Prefactor .96166 .39896E-01 .45786E-01 .17885E-04 ERR DEF= .500 Final values: Prefactor = 4.34348 Index = 2.36155 Normalizat = 0.853404 Prefactor = 0.961663 ********** ** 18 **HESSE ********** FCN= 15421.55 FROM HESSE STATUS=OK 33 CALLS 260 TOTAL EDM= .39E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.3435 1.7574 .72731E-05 -1.5666 2 Index 2.3616 .30901 .51435E-02 -.55588 3 Normalizat .85340 .10961 .24158E-03 -.98117 4 Prefactor .96166 .10476 .22157E-03 -.94019 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.93324e-10 Minuit parameter uncertainties: 1 1.75745 2 0.309283 3 0.109635 4 0.104786 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.605228 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.694e+00 1.435e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.579e-01 9.198e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.602e-01 9.925e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 28.29 Ra Dec: 55.148 -21.316 Photon Index (Fixed Index): 2.26 +/- 0.00 Photon Flux (Fixed Index): 6.92e-08 +/- 2.11e-08 Energy Flux (Fixed Index): 2.79e-05 +/- 8.53e-06 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) = 15421.5510067 delta logL = 0.0542213356039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523057591 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.3435 1.0000 .0000 .10000E+07 2 'Index ' 2.3616 1.0000 .0000 10.000 3 'Normalizat' .85339 1.0000 .10000E-01 10.000 4 'Prefactor ' .96168 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 15421.55 FROM MIGRAD STATUS=CONVERGED 44 CALLS 227 TOTAL EDM= .57E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.3435 15.405 .48308E-03 .30143E-01 2 Index 2.3616 2.1341 .13862 .28227E-03 3 Normalizat .85340 .56220E-01 .44303E-01 .34413E-04 4 Prefactor .96166 .39896E-01 .45786E-01 .17885E-04 ERR DEF= .500 Final values: Prefactor = 4.34348 Index = 2.36155 Normalizat = 0.853404 Prefactor = 0.961663 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523160291 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.343e+00 1.757e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.362e+00 3.093e-01 0.000e+00 1.000e+01 (-1.000e+00) 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.617e-01 1.048e-01 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.534e-01 1.096e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 28.36 Ra Dec: 55.148 -21.316 Photon Index (Free Index): 2.36 +/- 0.31 Photon Flux (Free Index): 7.48e-08 +/- 2.70e-08 Energy Flux (Free Index): 2.58e-05 +/- 9.60e-06 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/28136177/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.92e-08', energy_flux2='2.58e-05', photon_flux_error='2.11e-08', dlogl='5.87e-02', energy_flux='2.79e-05', photon_flux2='7.48e-08', job_status='DONE', time_completed='2026-06-09 03:39:50.389523', photon_index_error2='0.31', photon_index2='2.36', ts='28.29', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.60e-06', EG='0.86', time_epoch_completed='1781001590.39', return_code='0', job_id='28136177', GAL2='0.96', EG2='0.85', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='2.70e-08', ts2='28.36', photon_index='2.26' WHERE bin_id='931' AND source_name='4FGL J0340.5-2118' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 03:39:50 PDT 2026 ********** ** 18 **HESSE ********** FCN= 15421.55 FROM HESSE STATUS=OK 33 CALLS 260 TOTAL EDM= .39E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.3435 1.7574 .72731E-05 -1.5666 2 Index 2.3616 .30901 .51435E-02 -.55588 3 Normalizat .85340 .10961 .24158E-03 -.98117 4 Prefactor .96166 .10476 .22157E-03 -.94019 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.93324e-10 Minuit parameter uncertainties: 1 1.75745 2 0.309283 3 0.109635 4 0.104786 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523160291 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.343e+00 1.757e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.362e+00 3.093e-01 0.000e+00 1.000e+01 (-1.000e+00) 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.617e-01 1.048e-01 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.534e-01 1.096e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 28.36 Ra Dec: 55.148 -21.316 Photon Index (Free Index): 2.36 +/- 0.31 Photon Flux (Free Index): 7.48e-08 +/- 2.70e-08 Energy Flux (Free Index): 2.58e-05 +/- 9.60e-06 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/28136179/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.92e-08', energy_flux2='2.58e-05', photon_flux_error='2.11e-08', dlogl='5.87e-02', energy_flux='2.79e-05', photon_flux2='7.48e-08', job_status='DONE', time_completed='2026-06-09 03:39:54.316629', photon_index_error2='0.31', photon_index2='2.36', ts='28.29', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.60e-06', EG='0.86', time_epoch_completed='1781001594.32', return_code='0', job_id='28136179', GAL2='0.96', EG2='0.85', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='2.70e-08', ts2='28.36', photon_index='2.26' WHERE bin_id='931' AND source_name='4FGL J0340.5-2118' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 03:39:54 PDT 2026 ********** ** 18 **HESSE ********** FCN= 15421.61 FROM HESSE STATUS=OK 463 CALLS 2147 TOTAL EDM= .50E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 2.3855 1.1812 .66297E-03 -1.5677 2 norm .41655 .87757 .34635E-02 -1.5695 3 Prefactor .62959 4.3065 .69725E-03 -1.5692 4 Prefactor 86.589 79.685 .10749E-03 -1.5522 5 Prefactor 1.8999 1.6414 .75422E-03 -1.5680 6 Prefactor .88818E-09 10.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.2215 3.9012 .10121E-02 -1.5686 8 Prefactor .26090E-08 6.3712 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 10.056 18.155 .31755E-03 -1.5645 10 Prefactor 4.6936 1.4347 .46420E-03 -1.5665 11 Prefactor .10880E-07 1.1050 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .41078E-08 1.0216 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .24353 .35100 .18020E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .55511E-10 3.2026 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 .26002 .21142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .0000 25.705 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .22760E-08 5.0512 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 9.9287 1.9799 .31778E-03 -1.5645 19 norm 5.8525 4.8858 .41515E-03 -1.5660 20 Prefactor .55511E-10 3.9869 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 6.6022 4.1093 .39050E-03 -1.5657 22 Prefactor 5.7112 2.5359 .42011E-03 -1.5660 23 Normalizat .86016 .99228E-01 .44390E-01 -.97875 24 Prefactor .95786 .91965E-01 .45738E-01 -.94148 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.9902e-06 Minuit parameter uncertainties: 1 1.1812 2 0.877569 3 3.29323 4 79.6858 5 1.64141 6 0.000191656 7 3.90123 8 0.000257609 9 18.1548 10 1.43472 11 0.000219334 12 0.000129592 13 0.351003 14 2.90145e-05 15 4.69668e-07 16 4.49437e-06 17 0.000215422 18 1.97992 19 4.88577 20 3.63119e-05 21 4.10935 22 2.53593 23 0.0992489 24 0.0919798 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15421.605228 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.694e+00 1.435e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.261e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.579e-01 9.198e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.602e-01 9.925e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 28.29 Ra Dec: 55.148 -21.316 Photon Index (Fixed Index): 2.26 +/- 0.00 Photon Flux (Fixed Index): 6.92e-08 +/- 2.11e-08 Energy Flux (Fixed Index): 2.79e-05 +/- 8.53e-06 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) = 15421.5510067 delta logL = 0.0542213356039 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523057591 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.3435 1.0000 .0000 .10000E+07 2 'Index ' 2.3616 1.0000 .0000 10.000 3 'Normalizat' .85339 1.0000 .10000E-01 10.000 4 'Prefactor ' .96168 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5020E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 15421.55 FROM MIGRAD STATUS=CONVERGED 44 CALLS 227 TOTAL EDM= .57E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.3435 15.405 .48308E-03 .30143E-01 2 Index 2.3616 2.1341 .13862 .28227E-03 3 Normalizat .85340 .56220E-01 .44303E-01 .34413E-04 4 Prefactor .96166 .39896E-01 .45786E-01 .17885E-04 ERR DEF= .500 Final values: Prefactor = 4.34348 Index = 2.36155 Normalizat = 0.853404 Prefactor = 0.961663 ********** ** 18 **HESSE ********** FCN= 15421.55 FROM HESSE STATUS=OK 33 CALLS 260 TOTAL EDM= .39E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.3435 1.7574 .72731E-05 -1.5666 2 Index 2.3616 .30901 .51435E-02 -.55588 3 Normalizat .85340 .10961 .24158E-03 -.98117 4 Prefactor .96166 .10476 .22157E-03 -.94019 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.93324e-10 Minuit parameter uncertainties: 1 1.75745 2 0.309283 3 0.109635 4 0.104786 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15421.5465757 delta logL = 0.0586523160291 Extracting fit parameters... 4FGL J0340.5-2118 Spectrum: PowerLaw 267 Prefactor: 4.343e+00 1.757e+00 0.000e+00 1.000e+06 ( 1.000e-12) 268 Index: 2.362e+00 3.093e-01 0.000e+00 1.000e+01 (-1.000e+00) 269 Scale: 1.008e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 9.617e-01 1.048e-01 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 495 Normalization: 8.534e-01 1.096e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 28.36 Ra Dec: 55.148 -21.316 Photon Index (Free Index): 2.36 +/- 0.31 Photon Flux (Free Index): 7.48e-08 +/- 2.70e-08 Energy Flux (Free Index): 2.58e-05 +/- 9.60e-06 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/28136227/cmap_HighResolution_802051201_802656001_4FGL_J0340.5-2118_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.92e-08', energy_flux2='2.58e-05', photon_flux_error='2.11e-08', dlogl='5.87e-02', energy_flux='2.79e-05', photon_flux2='7.48e-08', job_status='DONE', time_completed='2026-06-09 03:40:28.868406', photon_index_error2='0.31', photon_index2='2.36', ts='28.29', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='9.60e-06', EG='0.86', time_epoch_completed='1781001628.87', return_code='0', job_id='28136227', GAL2='0.96', EG2='0.85', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='2.70e-08', ts2='28.36', photon_index='2.26' WHERE bin_id='931' AND source_name='4FGL J0340.5-2118' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 03:40:29 PDT 2026