/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 = 17525 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2359.0+3922_weekly_bin900 RA = 359.755, Dec = 39.3669 tmin = 783302401, tmax = 783907201 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='14978337', job_status='RUN', time_executed='2025-11-04 12:58:34.270646', time_epoch_executed='1762289914.27' WHERE source_name='4FGL J2359.0+3922' and cadence='weekly' and bin_id='900' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14978337 Creating custom pfile directory: /lscratch/kocevski/14978337/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14978337/ft1_4FGL_J2359.0+3922_weekly_bin900.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=783302401.0 && nMetStart<783907201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14978337/ft1_4FGL_J2359.0+3922_weekly_bin900.fits outfile=/lscratch/kocevski/14978337/ft1_filteredMKT_4FGL_J2359.0+3922_weekly_bin900.fits ra=359.755 dec=39.3669 rad=12.0 tmin=783302401.0 tmax=783907201.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.90 user 4.61 sys 0.24 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.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/14978337/ft1_filteredMKT_4FGL_J2359.0+3922_weekly_bin900.fits evtable="EVENTS" outfile="/lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.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.13 user 0.23 sys 0.13 Number of photons that the gtmktime cut: 2074 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14978337/ltcube_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.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/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits .....................! real 20.68 user 19.44 sys 0.27 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.fits evtable="EVENTS" scfile=/lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14978337/ltcube_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.fits outfile=/lscratch/kocevski/14978337/expmap_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.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/14978337/ltcube_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.fits .....................! real 75.51 user 70.32 sys 4.17 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Extended source CTB 109 in ROI with RadialDisk spatial model. Added 160 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J2359.0+3922 @ 359.755 39.3669 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.fits scfile=/lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits outfile=/lscratch/kocevski/14978337/cmap_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.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=359.755 yref=39.3669 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.26 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.fits scfile=/lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits outfile=/lscratch/kocevski/14978337/cmap_HighResolution_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.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=359.755 yref=39.3669 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.20 user 0.27 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.fits evtable="EVENTS" scfile=/lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14978337/Model_4FGL_J2359.0+3922_weekly_bin900.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source CTB 109 adding source EG_v02 adding source FHES J2304.0+5406 adding source GAL_V02 Working on... /lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.fits.....................! real 94.45 user 91.36 sys 0.75 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.fits', '/lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits', expMap='/lscratch/kocevski/14978337/expmap_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.fits', expCube='/lscratch/kocevski/14978337/ltcube_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14978337/Model_4FGL_J2359.0+3922_weekly_bin900.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2359.0+3922' 4FGL J2359.0+3922 Spectrum: PowerLaw 518 Prefactor: 1.197e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 519 Index: 2.348e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 520 Scale: 1.622e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14978337/ft1_filtered_4FGL_J2359.0+3922_weekly_bin900.fits Spacecraft file(s): /lscratch/kocevski/14978337/ft2_4FGL_J2359.0+3922_weekly_bin900.fits Exposure map: /lscratch/kocevski/14978337/expmap_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.fits Exposure cube: /lscratch/kocevski/14978337/ltcube_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14978337/Model_4FGL_J2359.0+3922_weekly_bin900.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) = 22021.9159962 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22021.78557 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .13360E-05 1.0000 .0000 .10000E+07 2 'norm ' .22851E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.1888 1.0000 .0000 .10000E+07 4 'norm ' .61911 1.0000 .0000 .10000E+07 5 'Prefactor ' 2.0674 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.3021 1.0000 .0000 .10000E+07 7 'Prefactor ' 21.569 1.0000 .0000 .10000E+07 8 'Prefactor ' 4.3639 1.0000 .0000 .10000E+07 9 'Prefactor ' .39554E-03 1.0000 .0000 .10000E+07 10 'norm ' .23037E-07 1.0000 .0000 .10000E+07 11 'Prefactor ' .19252 1.0000 .0000 .10000E+07 12 'Prefactor ' .24758E-03 1.0000 .0000 .10000E+07 13 'norm ' .11102E-09 1.0000 .0000 .10000E+07 14 'Prefactor ' .17880E-05 1.0000 .0000 .10000E+07 15 'norm ' .14100E-07 1.0000 .0000 .10000E+07 16 'norm ' 2.6037 1.0000 .0000 .10000E+07 17 'Prefactor ' .28195 1.0000 .0000 .10000E+07 18 'norm ' .13878E-08 1.0000 .0000 .10000E+07 19 'Prefactor ' .10225E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' 21.366 1.0000 .0000 .10000E+07 21 'Prefactor ' .49322E-02 1.0000 .0000 .10000E+07 22 'Prefactor ' .38081E-06 1.0000 .0000 .10000E+07 23 'Normalizat' 1.0695 1.0000 .10000E-01 10.000 24 'Prefactor ' .95812 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 22021.79 FROM MIGRAD STATUS=CONVERGED 135 CALLS 1591 TOTAL EDM= .62E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11491E-07 8.1455 .31643E-06** at limit ** 2 norm .13324E-05 6.9233 .41674E-06** at limit ** 3 Prefactor 1.1894 1.9136 .38702E-07 -.88013E-04 4 norm .61926 .87638 -.86532E-07 -.20043E-02 5 Prefactor 2.0691 4.5946 .25846E-06 .38638E-03 6 Prefactor 2.3031 1.6061 -.10128E-07 .52567E-03 7 Prefactor 21.549 1.0841 .25234E-08 -.23490E-01 8 Prefactor 4.3328 1.0986 .15415E-07 -.77002E-02 9 Prefactor .16215E-05 10.908 .52470E-06** at limit ** 10 norm .0000 .33924 -.92231E-08** at limit ** 11 Prefactor .21096 7.3398 .50456E-06** at limit ** 12 Prefactor .10547E-08 6.9933 .28986E-06** at limit ** 13 norm .0000 .15197 .41376E-07** at limit ** 14 Prefactor .0000 2.9644 -.10655E-06** at limit ** 15 norm .0000 1.4233 -.15782E-06** at limit ** 16 norm 2.6104 3.6487 -.10101E-07 .66422E-03 17 Prefactor .28012 .95887 -.54522E-07 -.12597E-01 18 norm .0000 .47318 -.25807E-07** at limit ** 19 Prefactor .39483E-05 6.9411 .53124E-06** at limit ** 20 Prefactor 21.390 2.2484 -.82428E-09 .96549E-02 21 Prefactor .94369E-09 16.365 .44602E-06** at limit ** 22 Prefactor .55511E-10 4.8076 .13947E-06** at limit ** 23 Normalizat 1.0694 .13846 .93650E-07 -.92170E-05 24 Prefactor .95812 .62911E-01 .20815E-06 -.35738E-04 ERR DEF= .500 Final values: Prefactor = 1.14908e-08 norm = 1.33238e-06 Prefactor = 1.18936 norm = 0.619258 Prefactor = 2.06911 Prefactor = 2.3031 Prefactor = 21.5492 Prefactor = 4.33283 Prefactor = 1.62148e-06 norm = 0 Prefactor = 0.210961 Prefactor = 1.05471e-09 norm = 0 Prefactor = 0 norm = 0 norm = 2.61038 Prefactor = 0.280119 norm = 0 Prefactor = 3.94829e-06 Prefactor = 21.3903 Prefactor = 9.4369e-10 Prefactor = 5.55112e-11 Normalizat = 1.06945 Prefactor = 0.958118 ********** ** 18 **HESSE ********** FCN= 22021.79 FROM HESSE STATUS=OK 449 CALLS 2040 TOTAL EDM= .38E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .11491E-07 8.2049 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .13324E-05 25.912 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.1894 1.9385 .10449E-02 -1.5686 4 norm .61926 .89202 .67534E-03 -1.5692 5 Prefactor 2.0691 4.5941 .71825E-03 -1.5679 6 Prefactor 2.3031 1.6800 .67608E-03 -1.5678 7 Prefactor 21.549 11.999 .21538E-03 -1.5615 8 Prefactor 4.3328 12.420 .48192E-03 -1.5666 9 Prefactor .16215E-05 16.776 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .0000 .34047 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .21096 1.5878 .58502E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10547E-08 7.0164 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .0000 .15134 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .0000 2.9732 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .0000 1.4313 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.6104 3.6790 .63197E-03 -1.5676 17 Prefactor .28012 4.3697 .10468E-01 -1.5697 18 norm .0000 .46885 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .39483E-05 18.138 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 21.390 22.231 .21640E-03 -1.5615 21 Prefactor .94369E-09 23.220 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .55511E-10 4.7818 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat 1.0694 .12463 .75384E-01 -.90739 24 Prefactor .95812 .53635E-01 .45742E-01 -.94139 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.8148e-07 Minuit parameter uncertainties: 1 0.000613628 2 0.0117515 3 1.93849 4 0.892015 5 4.59414 6 1.68002 7 11.9995 8 12.4198 9 0.010431 10 4.13109e-07 11 1.15754 12 0.000173513 13 2.33963e-07 14 1.9322e-06 15 7.80389e-06 16 3.67903 17 2.21272 18 4.19782e-07 19 0.0169251 20 22.2315 21 0.000296122 22 2.46128e-05 23 0.124663 24 0.0536381 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22021.7853554 Extracting fit parameters... 4FGL J2359.0+3922 Spectrum: PowerLaw 518 Prefactor: 5.551e-11 2.461e-05 0.000e+00 1.000e+06 ( 1.000e-13) 519 Index: 2.348e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 520 Scale: 1.622e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 529 Prefactor: 9.581e-01 5.364e-02 0.000e+00 1.000e+01 ( 1.000e+00) 530 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 531 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 524 Normalization: 1.069e+00 1.247e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 359.755 39.367 Photon Flux Upper Limit: 3.9844443984e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00306801458067 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14978337/likelihoodResults_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.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): 102 logL (Free Index) = 22021.9147761 delta logL = -0.12942073572 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 22021.7853556 delta logL = -2.22120434046e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .20400E-04 1.0000 .0000 .10000E+07 2 'Index ' 1.7215 1.0000 .0000 10.000 3 'Normalizat' 1.0694 1.0000 .10000E-01 10.000 4 'Prefactor ' .95811 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5320E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 22021.79 FROM MIGRAD STATUS=CONVERGED 71 CALLS 227 TOTAL EDM= .14E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .95479E-08 18.967 .42118E-03** at limit ** 2 Index 1.9233 5.9316 .50000 .49113E-08 3 Normalizat 1.0694 .11456 .75384E-01 .94774E-03 4 Prefactor .95812 .53109E-01 .45741E-01 .26653E-02 ERR DEF= .500 Final values: Prefactor = 9.54792e-09 Index = 1.92332 Normalizat = 1.06945 Prefactor = 0.958119 ********** ** 18 **HESSE ********** FCN= 22021.79 FROM HESSE STATUS=OK 31 CALLS 258 TOTAL EDM= .16E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .95479E-08 18.983 .16847E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9233 5.9397 .50000 -.66281 3 Normalizat 1.0694 .13326 .33363E-03 -.90739 4 Prefactor .95812 .61871E-01 .16157E-03 -.94139 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.55313e-09 Minuit parameter uncertainties: 1 0.000852586 2 4.10126 3 0.133298 4 0.0618754 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) = 22021.7853554 delta logL = -7.49423634261e-10 Extracting fit parameters... 4FGL J2359.0+3922 Spectrum: PowerLaw 518 Prefactor: 9.548e-09 8.526e-04 0.000e+00 1.000e+06 ( 1.000e-13) 519 Index: 1.923e+00 4.101e+00 0.000e+00 1.000e+01 (-1.000e+00) 520 Scale: 1.622e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 529 Prefactor: 9.581e-01 6.188e-02 0.000e+00 1.000e+01 ( 1.000e+00) 530 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 531 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 524 Normalization: 1.069e+00 1.333e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 359.755 39.367 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/14978337/cmap_HighResolution_783302401_783907201_4FGL_J2359.0+3922_weekly_bin900.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2025-11-04 13:11:57.867495', job_id='14978337', GAL2='0.96', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1762290717.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-7.49e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='900' AND source_name='4FGL J2359.0+3922' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Nov 4 13:11:58 PST 2025