Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9823.5889466 Extracting fit parameters... 4FGL J2339.6+0242 Spectrum: PowerLaw 463 Prefactor: 1.443e-08 8.913e-04 0.000e+00 1.000e+06 ( 1.000e-13) 464 Index: 2.549e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 465 Scale: 7.790e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.198e-01 1.037e-01 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 9.369e-01 1.647e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 354.904 2.710 Photon Flux Upper Limit: 6.29449118878e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0049107824202 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/34214522/likelihoodResults_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9823.59037599 delta logL = -0.00142939651596 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 9823.58894664 delta logL = -4.27571649197e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19151E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.9652 1.0000 .0000 10.000 3 'Normalizat' .93697 1.0000 .10000E-01 10.000 4 'Prefactor ' .91983 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 9823.589 FROM MIGRAD STATUS=CONVERGED 52 CALLS 231 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 4.1651 .42118E-03** at limit ** 2 Index 1.1099 .69128 -.36692E-03 .0000 3 Normalizat .93693 1.2704 .16526E-04 .37612E-03 4 Prefactor .91984 1.2638 -.70217E-05 .30569E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.10995 Normalizat = 0.936935 Prefactor = 0.91984 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 9823.589 FROM HESSE STATUS=FAILED 9 CALLS 240 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 4.1651 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .71488E-01 1.1338 -.36692E-03 -.89149 3 Normalizat .93693 1.2704 .16526E-04 -.95174 4 Prefactor .91984 1.2638 -.70217E-05 -.95451 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.47505e-10 Minuit parameter uncertainties: 1 2.36402e-06 2 0.696986 3 1.31508 4 1.30795 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 9823.5889466 delta logL = 5.52972778678e-10 Extracting fit parameters... 4FGL J2339.6+0242 Spectrum: PowerLaw 463 Prefactor: 0.000e+00 2.364e-06 0.000e+00 1.000e+06 ( 1.000e-13) 464 Index: 1.110e+00 6.970e-01 0.000e+00 1.000e+01 (-1.000e+00) 465 Scale: 7.790e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.198e-01 1.308e+00 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 9.369e-01 1.315e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 354.904 2.710 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/34214522/cmap_HighResolution_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2026-08-04 21:56:05.402426', job_id='34214522', GAL2='0.92', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785905765.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='5.53e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='939' AND source_name='4FGL J2339.6+0242' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 4 21:56:06 PDT 2026 /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 = 17478 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2339.6+0242_weekly_bin939 RA = 354.904, Dec = 2.7102 tmin = 806889601, tmax = 807494401 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='34215403', job_status='RUN', time_executed='2026-08-04 21:55:28.904470', time_epoch_executed='1785905728.9' WHERE source_name='4FGL J2339.6+0242' and cadence='weekly' and bin_id='939' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/34215403 Creating custom pfile directory: /lscratch/kocevski/34215403/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/34215403/ft1_4FGL_J2339.6+0242_weekly_bin939.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/34215403/ft1_4FGL_J2339.6+0242_weekly_bin939.fits outfile=/lscratch/kocevski/34215403/ft1_filteredMKT_4FGL_J2339.6+0242_weekly_bin939.fits ra=354.904 dec=2.7102 rad=12.0 tmin=806889601.0 tmax=807494401.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.36 user 3.35 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.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/34215403/ft1_filteredMKT_4FGL_J2339.6+0242_weekly_bin939.fits evtable="EVENTS" outfile="/lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.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.99 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 845 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits sctable="SC_DATA" outfile=/lscratch/kocevski/34215403/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.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/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits .....................! real 17.86 user 16.96 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34215403/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits outfile=/lscratch/kocevski/34215403/expmap_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.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/34215403/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits .....................! real 65.13 user 60.52 sys 3.70 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 Added 160 point sources and 0 extended sources Setting source of interest to: 4FGL J2339.6+0242 @ 354.904 2.7102 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits scfile=/lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits outfile=/lscratch/kocevski/34215403/cmap_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.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=354.904 yref=2.7102 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 4.01 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits scfile=/lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits outfile=/lscratch/kocevski/34215403/cmap_HighResolution_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.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=354.904 yref=2.7102 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.99 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34215403/Model_4FGL_J2339.6+0242_weekly_bin939.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 GAL_Vnumber of points = 17478 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2339.6+0242_weekly_bin939 RA = 354.904, Dec = 2.7102 tmin = 806889601, tmax = 807494401 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='34215543', job_status='RUN', time_executed='2026-08-04 21:56:31.610488', time_epoch_executed='1785905791.61' WHERE source_name='4FGL J2339.6+0242' and cadence='weekly' and bin_id='939' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/34215543 Creating custom pfile directory: /lscratch/kocevski/34215543/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/34215543/ft1_4FGL_J2339.6+0242_weekly_bin939.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806889601.0 && nMetStart<807494401.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/34215543/ft1_4FGL_J2339.6+0242_weekly_bin939.fits outfile=/lscratch/kocevski/34215543/ft1_filteredMKT_4FGL_J2339.6+0242_weekly_bin939.fits ra=354.904 dec=2.7102 rad=12.0 tmin=806889601.0 tmax=807494401.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.87 user 3.74 sys 0.20 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.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/34215543/ft1_filteredMKT_4FGL_J2339.6+0242_weekly_bin939.fits evtable="EVENTS" outfile="/lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.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.24 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 845 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits sctable="SC_DATA" ou02 Working on... /lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits.....................! real 35.52 user 33.88 sys 0.61 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits', '/lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits', expMap='/lscratch/kocevski/34215403/expmap_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits', expCube='/lscratch/kocevski/34215403/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34215403/Model_4FGL_J2339.6+0242_weekly_bin939.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2339.6+0242' 4FGL J2339.6+0242 Spectrum: PowerLaw 463 Prefactor: 8.280e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 464 Index: 2.549e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 465 Scale: 7.790e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/34215403/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits Spacecraft file(s): /lscratch/kocevski/34215403/ft2_4FGL_J2339.6+0242_weekly_bin939.fits Exposure map: /lscratch/kocevski/34215403/expmap_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits Exposure cube: /lscratch/kocevski/34215403/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/34215403/Model_4FGL_J2339.6+0242_weekly_bin939.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) = 9823.61048804 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9823.58896228 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.2013 1.0000 .0000 .10000E+07 2 'Prefactor ' 10.860 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.5696 1.0000 .0000 .10000E+07 4 'norm ' .55955E-07 1.0000 .0000 .10000E+07 5 'norm ' 5.5442 1.0000 .0000 .10000E+07 6 'Prefactor ' .83267E-09 1.0000 .0000 .10000E+07 7 'norm ' 61.514 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.9467 1.0000 .0000 .10000E+07 9 'Prefactor ' .11884E-05 1.0000 .0000 .10000E+07 10 'Prefactor ' 7.5793 1.0000 .0000 .10000E+07 11 'norm ' .45908E-07 1.0000 .0000 .10000E+07 12 'norm ' 11.400 1.0000 .0000 .10000E+07 13 'Prefactor ' .48739E-07 1.0000 .0000 .10000E+07 14 'Prefactor ' 12.847 1.0000 .0000 .10000E+07 15 'norm ' 6.0071 1.0000 .0000 .10000E+07 16 'Prefactor ' .33364 1.0000 .0000 .10000E+07 17 'Prefactor ' .36082E-08 1.0000 .0000 .10000E+07 18 'norm ' 4.5268 1.0000 .0000 .10000E+07 19 'norm ' .55511E-09 1.0000 .0000 .10000E+07 20 'Prefactor ' 9.4835 1.0000 .0000 .10000E+07 21 'Prefactor ' .28089E-07 1.0000 .0000 .10000E+07 22 'Prefactor ' 19.000 1.0000 .0000 .10000E+07 23 'Normalizat' .93710 1.0000 .10000E-01 10.000 24 'Prefactor ' .91979 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 9823.589 FROM MIGRAD STATUS=CONVERGED 134 CALLS 2365 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2019 1.3750 -.71469E-08 .74252E-02 2 Prefactor 10.864 1.4152 .51057E-08 .57646E-03 3 Prefactor 2.5706 4.3136 .96525E-07 .49643E-02 4 norm .55511E-10 .96327 -.47831E-07** at limit ** 5 norm 5.5446 2.9366 .33764E-08 .21867E-02 6 Prefactor .16653E-09 1.8637 .70856E-07** at limit ** 7 norm 61.514 2.2138 .91727E-09 -.68124E-01 8 Prefactor 9.9494 1.0047 -.79797E-10 -.11050E-02 9 Prefactor .72720E-08 16.323 -.86433E-08** at limit ** 10 Prefactor 7.5780 3.0624 .22719E-09 -.57248E-02 11 norm .55511E-10 .85743 -.57732E-07** at limit ** 12 norm 11.403 7.0965 .10428E-08 -.15933E-01 13 Prefactor .28033E-07 4.4343 .12377E-06** at limit ** 14 Prefactor 12.834 1.9695 .36228E-08 -.39851E-01 15 norm 5.9882 5.3057 .60751E-07 -.37038E-01 16 Prefactor .36348 4.4146 -.72980E-08 .34931E-01 17 Prefactor .56455E-07 5.1559 .50620E-07** at limit ** 18 norm 4.5258 6.3977 -.16985E-08 -.11083E-01 19 norm .89373E-08 7.3687 -.94922E-07** at limit ** 20 Prefactor 9.4853 4.7538 -.41270E-07 -.39112E-02 21 Prefactor .14433E-07 13.430 -.50632E-07** at limit ** 22 Prefactor 19.001 1.0618 .59847E-10 -.35087E-02 23 Normalizat .93693 .18116 -.34306E-06 .41053E-03 24 Prefactor .91984 .12053 .11253E-05 .73424E-03 ERR DEF= .500 Final values: Prefactor = 2.20191 Prefactor = 10.8641 Prefactor = 2.57062 norm = 5.55112e-11 norm = 5.54464 Prefactor = 1.66533e-10 norm = 61.5141 Prefactor = 9.94937 Prefactor = 7.27196e-09 Prefactor = 7.57805 norm = 5.55112e-11 norm = 11.4028 Prefactor = 2.80331e-08 Prefactor = 12.8337 norm = 5.98815 Prefactor = 0.363481 Prefactor = 5.64548e-08 norm = 4.52584 norm = 8.9373e-09 Prefactor = 9.4853 Prefactor = 1.44329e-08 Prefactor = 19.0013 Normalizat = 0.936933 Prefactor = 0.919842 ********** ** 18 **HESSE ********** FCN= 9823.589 FROM HESSE STATUS=OK 457 CALLS 2822 TOTAL EDM= .32E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2019 11.677 .69319E-03 -1.5678 2 Prefactor 10.864 12.492 .30377E-03 -1.5642 3 Prefactor 2.5706 4.3454 .63650E-03 -1.5676 4 norm .55511E-10 .95664 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.5446 2.9415 .42645E-03 -1.5661 6 Prefactor .16653E-09 1.8640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 61.514 25.736 .12751E-03 -1.5551 8 Prefactor 9.9494 23.387 .31748E-03 -1.5645 9 Prefactor .72720E-08 16.597 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 7.5780 17.493 .36403E-03 -1.5653 11 norm .55511E-10 .82555 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 11.403 10.074 .29646E-03 -1.5640 13 Prefactor .28033E-07 4.6187 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 12.834 37.887 .27921E-03 -1.5636 15 norm 5.9882 7.1080 .40944E-03 -1.5659 16 Prefactor .36348 4.8377 .55182E-02 -1.5696 17 Prefactor .56455E-07 5.5649 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 4.5258 6.4408 .47294E-03 -1.5665 19 norm .89373E-08 7.4778 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 9.4853 4.7599 .32518E-03 -1.5646 21 Prefactor .14433E-07 13.775 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 19.001 19.231 .22950E-03 -1.5621 23 Normalizat .93693 .16463 .67226E-01 -.95174 24 Prefactor .91984 .10372 .45257E-01 -.95451 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.1623e-07 Minuit parameter uncertainties: 1 10.1412 2 12.4922 3 4.34541 4 1.37588e-05 5 2.94147 6 3.5923e-05 7 25.7361 8 23.3869 9 0.000693823 10 17.4928 11 1.47984e-05 12 10.0742 13 0.000719889 14 37.8874 15 7.10802 16 2.65209 17 0.00112114 18 6.44081 19 0.000517169 20 4.75992 21 0.000891309 22 19.231 23 0.164717 24 0.103738 tfile=/lscratch/kocevski/34215543/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.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/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits .....................! real 20.56 user 19.35 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34215543/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits outfile=/lscratch/kocevski/34215543/expmap_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.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/34215543/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits .....................! real 73.84 user 68.27 sys 4.15 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 160 point sources and 0 extended sources Setting source of interest to: 4FGL J2339.6+0242 @ 354.904 2.7102 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits scfile=/lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits outfile=/lscratch/kocevski/34215543/cmap_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.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=354.904 yref=2.7102 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.17 user 0.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits scfile=/lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits outfile=/lscratch/kocevski/34215543/cmap_HighResolution_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.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=354.904 yref=2.7102 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.13 user 0.23 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits evtable="EVENTS" scfile=/lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34215543/Model_4FGL_J2339.6+0242_weekly_bin939.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 GAL_Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9823.5889466 Extracting fit parameters... 4FGL J2339.6+0242 Spectrum: PowerLaw 463 Prefactor: 1.443e-08 8.913e-04 0.000e+00 1.000e+06 ( 1.000e-13) 464 Index: 2.549e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 465 Scale: 7.790e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.198e-01 1.037e-01 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 9.369e-01 1.647e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 354.904 2.710 Photon Flux Upper Limit: 6.29449118878e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0049107824202 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/34215403/likelihoodResults_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9823.59037599 delta logL = -0.00142939651596 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 9823.58894664 delta logL = -4.27571649197e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19151E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.9652 1.0000 .0000 10.000 3 'Normalizat' .93697 1.0000 .10000E-01 10.000 4 'Prefactor ' .91983 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 9823.589 FROM MIGRAD STATUS=CONVERGED 52 CALLS 231 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 4.1651 .42118E-03** at limit ** 2 Index 1.1099 .69128 -.36692E-03 .0000 3 Normalizat .93693 1.2704 .16526E-04 .37612E-03 4 Prefactor .91984 1.2638 -.70217E-05 .30569E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.10995 Normalizat = 0.936935 Prefactor = 0.91984 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 9823.589 FROM HESSE STATUS=FAILED 9 CALLS 240 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 4.1651 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .71488E-01 1.1338 -.36692E-03 -.89149 3 Normalizat .93693 1.2704 .16526E-04 -.95174 4 Prefactor .91984 1.2638 -.70217E-05 -.95451 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.47505e-10 Minuit parameter uncertainties: 1 2.36402e-06 2 0.696986 3 1.31508 4 1.30795 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 9823.5889466 delta logL = 5.52972778678e-10 Extracting fit parameters... 4FGL J2339.6+0242 Spectrum: PowerLaw 463 Prefactor: 0.000e+00 2.364e-06 0.000e+00 1.000e+06 ( 1.000e-13) 464 Index: 1.110e+00 6.970e-01 0.000e+00 1.000e+01 (-1.000e+00) 465 Scale: 7.790e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.198e-01 1.308e+00 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 9.369e-01 1.315e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 354.904 2.710 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/34215403/cmap_HighResolution_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2026-08-04 22:09:15.846080', job_id='34215403', GAL2='0.92', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785906555.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='5.53e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='939' AND source_name='4FGL J2339.6+0242' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 4 22:09:16 PDT 2026 V02 Working on... /lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits.....................! real 39.43 user 37.35 sys 1.03 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits', '/lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits', expMap='/lscratch/kocevski/34215543/expmap_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits', expCube='/lscratch/kocevski/34215543/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34215543/Model_4FGL_J2339.6+0242_weekly_bin939.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2339.6+0242' 4FGL J2339.6+0242 Spectrum: PowerLaw 463 Prefactor: 8.280e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 464 Index: 2.549e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 465 Scale: 7.790e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/34215543/ft1_filtered_4FGL_J2339.6+0242_weekly_bin939.fits Spacecraft file(s): /lscratch/kocevski/34215543/ft2_4FGL_J2339.6+0242_weekly_bin939.fits Exposure map: /lscratch/kocevski/34215543/expmap_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits Exposure cube: /lscratch/kocevski/34215543/ltcube_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/34215543/Model_4FGL_J2339.6+0242_weekly_bin939.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) = 9823.61048804 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9823.58896228 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.2013 1.0000 .0000 .10000E+07 2 'Prefactor ' 10.860 1.0000 .0000 .10000E+07 3 'Prefactor ' 2.5696 1.0000 .0000 .10000E+07 4 'norm ' .55955E-07 1.0000 .0000 .10000E+07 5 'norm ' 5.5442 1.0000 .0000 .10000E+07 6 'Prefactor ' .83267E-09 1.0000 .0000 .10000E+07 7 'norm ' 61.514 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.9467 1.0000 .0000 .10000E+07 9 'Prefactor ' .11884E-05 1.0000 .0000 .10000E+07 10 'Prefactor ' 7.5793 1.0000 .0000 .10000E+07 11 'norm ' .45908E-07 1.0000 .0000 .10000E+07 12 'norm ' 11.400 1.0000 .0000 .10000E+07 13 'Prefactor ' .48739E-07 1.0000 .0000 .10000E+07 14 'Prefactor ' 12.847 1.0000 .0000 .10000E+07 15 'norm ' 6.0071 1.0000 .0000 .10000E+07 16 'Prefactor ' .33364 1.0000 .0000 .10000E+07 17 'Prefactor ' .36082E-08 1.0000 .0000 .10000E+07 18 'norm ' 4.5268 1.0000 .0000 .10000E+07 19 'norm ' .55511E-09 1.0000 .0000 .10000E+07 20 'Prefactor ' 9.4835 1.0000 .0000 .10000E+07 21 'Prefactor ' .28089E-07 1.0000 .0000 .10000E+07 22 'Prefactor ' 19.000 1.0000 .0000 .10000E+07 23 'Normalizat' .93710 1.0000 .10000E-01 10.000 24 'Prefactor ' .91979 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 9823.589 FROM MIGRAD STATUS=CONVERGED 134 CALLS 2365 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.2019 1.3750 -.71469E-08 .74252E-02 2 Prefactor 10.864 1.4152 .51057E-08 .57646E-03 3 Prefactor 2.5706 4.3136 .96525E-07 .49643E-02 4 norm .55511E-10 .96327 -.47831E-07** at limit ** 5 norm 5.5446 2.9366 .33764E-08 .21867E-02 6 Prefactor .16653E-09 1.8637 .70856E-07** at limit ** 7 norm 61.514 2.2138 .91727E-09 -.68124E-01 8 Prefactor 9.9494 1.0047 -.79797E-10 -.11050E-02 9 Prefactor .72720E-08 16.323 -.86433E-08** at limit ** 10 Prefactor 7.5780 3.0624 .22719E-09 -.57248E-02 11 norm .55511E-10 .85743 -.57732E-07** at limit ** 12 norm 11.403 7.0965 .10428E-08 -.15933E-01 13 Prefactor .28033E-07 4.4343 .12377E-06** at limit ** 14 Prefactor 12.834 1.9695 .36228E-08 -.39851E-01 15 norm 5.9882 5.3057 .60751E-07 -.37038E-01 16 Prefactor .36348 4.4146 -.72980E-08 .34931E-01 17 Prefactor .56455E-07 5.1559 .50620E-07** at limit ** 18 norm 4.5258 6.3977 -.16985E-08 -.11083E-01 19 norm .89373E-08 7.3687 -.94922E-07** at limit ** 20 Prefactor 9.4853 4.7538 -.41270E-07 -.39112E-02 21 Prefactor .14433E-07 13.430 -.50632E-07** at limit ** 22 Prefactor 19.001 1.0618 .59847E-10 -.35087E-02 23 Normalizat .93693 .18116 -.34306E-06 .41053E-03 24 Prefactor .91984 .12053 .11253E-05 .73424E-03 ERR DEF= .500 Final values: Prefactor = 2.20191 Prefactor = 10.8641 Prefactor = 2.57062 norm = 5.55112e-11 norm = 5.54464 Prefactor = 1.66533e-10 norm = 61.5141 Prefactor = 9.94937 Prefactor = 7.27196e-09 Prefactor = 7.57805 norm = 5.55112e-11 norm = 11.4028 Prefactor = 2.80331e-08 Prefactor = 12.8337 norm = 5.98815 Prefactor = 0.363481 Prefactor = 5.64548e-08 norm = 4.52584 norm = 8.9373e-09 Prefactor = 9.4853 Prefactor = 1.44329e-08 Prefactor = 19.0013 Normalizat = 0.936933 Prefactor = 0.919842 ********** ** 18 **HESSE ********** FCN= 9823.589 FROM HESSE STATUS=OK 457 CALLS 2822 TOTAL EDM= .32E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.2019 11.677 .69319E-03 -1.5678 2 Prefactor 10.864 12.492 .30377E-03 -1.5642 3 Prefactor 2.5706 4.3454 .63650E-03 -1.5676 4 norm .55511E-10 .95664 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.5446 2.9415 .42645E-03 -1.5661 6 Prefactor .16653E-09 1.8640 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 61.514 25.736 .12751E-03 -1.5551 8 Prefactor 9.9494 23.387 .31748E-03 -1.5645 9 Prefactor .72720E-08 16.597 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 7.5780 17.493 .36403E-03 -1.5653 11 norm .55511E-10 .82555 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 11.403 10.074 .29646E-03 -1.5640 13 Prefactor .28033E-07 4.6187 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 12.834 37.887 .27921E-03 -1.5636 15 norm 5.9882 7.1080 .40944E-03 -1.5659 16 Prefactor .36348 4.8377 .55182E-02 -1.5696 17 Prefactor .56455E-07 5.5649 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 4.5258 6.4408 .47294E-03 -1.5665 19 norm .89373E-08 7.4778 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 9.4853 4.7599 .32518E-03 -1.5646 21 Prefactor .14433E-07 13.775 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 19.001 19.231 .22950E-03 -1.5621 23 Normalizat .93693 .16463 .67226E-01 -.95174 24 Prefactor .91984 .10372 .45257E-01 -.95451 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.1623e-07 Minuit parameter uncertainties: 1 10.1412 2 12.4922 3 4.34541 4 1.37588e-05 5 2.94147 6 3.5923e-05 7 25.7361 8 23.3869 9 0.000693823 10 17.4928 11 1.47984e-05 12 10.0742 13 0.000719889 14 37.8874 15 7.10802 16 2.65209 17 0.00112114 18 6.44081 19 0.000517169 20 4.75992 21 0.000891309 22 19.231 23 0.164717 24 0.103738 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 9823.5889466 Extracting fit parameters... 4FGL J2339.6+0242 Spectrum: PowerLaw 463 Prefactor: 1.443e-08 8.913e-04 0.000e+00 1.000e+06 ( 1.000e-13) 464 Index: 2.549e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 465 Scale: 7.790e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.198e-01 1.037e-01 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 9.369e-01 1.647e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 354.904 2.710 Photon Flux Upper Limit: 6.29449118878e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0049107824202 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/34215543/likelihoodResults_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 9823.59037599 delta logL = -0.00142939651596 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 9823.58894664 delta logL = -4.27571649197e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19151E-06 1.0000 .0000 .10000E+07 2 'Index ' 2.9652 1.0000 .0000 10.000 3 'Normalizat' .93697 1.0000 .10000E-01 10.000 4 'Prefactor ' .91983 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5260E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 9823.589 FROM MIGRAD STATUS=CONVERGED 52 CALLS 231 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 4.1651 .42118E-03** at limit ** 2 Index 1.1099 .69128 -.36692E-03 .0000 3 Normalizat .93693 1.2704 .16526E-04 .37612E-03 4 Prefactor .91984 1.2638 -.70217E-05 .30569E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.10995 Normalizat = 0.936935 Prefactor = 0.91984 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 9823.589 FROM HESSE STATUS=FAILED 9 CALLS 240 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 4.1651 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .71488E-01 1.1338 -.36692E-03 -.89149 3 Normalizat .93693 1.2704 .16526E-04 -.95174 4 Prefactor .91984 1.2638 -.70217E-05 -.95451 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.47505e-10 Minuit parameter uncertainties: 1 2.36402e-06 2 0.696986 3 1.31508 4 1.30795 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 9823.5889466 delta logL = 5.52972778678e-10 Extracting fit parameters... 4FGL J2339.6+0242 Spectrum: PowerLaw 463 Prefactor: 0.000e+00 2.364e-06 0.000e+00 1.000e+06 ( 1.000e-13) 464 Index: 1.110e+00 6.970e-01 0.000e+00 1.000e+01 (-1.000e+00) 465 Scale: 7.790e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 523 Prefactor: 9.198e-01 1.308e+00 0.000e+00 1.000e+01 ( 1.000e+00) 524 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 525 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 522 Normalization: 9.369e-01 1.315e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 354.904 2.710 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/34215543/cmap_HighResolution_806889601_807494401_4FGL_J2339.6+0242_weekly_bin939.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2026-08-04 22:12:05.753720', job_id='34215543', GAL2='0.92', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1785906725.75', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='5.53e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='939' AND source_name='4FGL J2339.6+0242' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 4 22:12:06 PDT 2026