/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 = 17701 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0039.1+4330_weekly_bin882 RA = 9.7994, Dec = 43.5122 tmin = 772416001, tmax = 773020801 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='7216489', job_status='RUN', time_executed='2025-07-01 02:29:45.385508', time_epoch_executed='1751362185.39' WHERE source_name='4FGL J0039.1+4330' and cadence='weekly' and bin_id='882' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/7216489 Creating custom pfile directory: /lscratch/kocevski/7216489/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/7216489/ft1_4FGL_J0039.1+4330_weekly_bin882.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=772416001.0 && nMetStart<773020801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/7216489/ft1_4FGL_J0039.1+4330_weekly_bin882.fits outfile=/lscratch/kocevski/7216489/ft1_filteredMKT_4FGL_J0039.1+4330_weekly_bin882.fits ra=9.7994 dec=43.5122 rad=12.0 tmin=772416001.0 tmax=773020801.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 13.71 user 6.13 sys 0.46 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.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/7216489/ft1_filteredMKT_4FGL_J0039.1+4330_weekly_bin882.fits evtable="EVENTS" outfile="/lscratch/kocevski/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.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 6.10 user 0.21 sys 0.17 Number of photons that the gtmktime cut: 2783 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.fits" evtable="EVENTS" scfile=/lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits sctable="SC_DATA" outfile=/lscratch/kocevski/7216489/ltcube_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.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/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits .....................! real 44.52 user 16.78 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.fits evtable="EVENTS" scfile=/lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits sctable="SC_DATA" expcube=/lscratch/kocevski/7216489/ltcube_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.fits outfile=/lscratch/kocevski/7216489/expmap_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.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/7216489/ltcube_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.fits .....................! real 71.54 user 58.20 sys 3.76 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source CTB 109 in ROI with RadialDisk spatial model. Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model. Added 181 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 J0039.1+4330 @ 9.7994 43.5122 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.fits scfile=/lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits outfile=/lscratch/kocevski/7216489/cmap_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.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=9.7994 yref=43.5122 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 12.31 user 0.24 sys 0.18 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.fits scfile=/lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits outfile=/lscratch/kocevski/7216489/cmap_HighResolution_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.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=9.7994 yref=43.5122 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 13.55 user 0.26 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.fits evtable="EVENTS" scfile=/lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/7216489/Model_4FGL_J0039.1+4330_weekly_bin882.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/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.fits.....................! real 111.28 user 101.10 sys 0.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.fits', '/lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits', expMap='/lscratch/kocevski/7216489/expmap_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.fits', expCube='/lscratch/kocevski/7216489/ltcube_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/7216489/Model_4FGL_J0039.1+4330_weekly_bin882.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0039.1+4330' 4FGL J0039.1+4330 Spectrum: PowerLaw 100 Prefactor: 3.232e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 101 Index: 2.059e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 102 Scale: 2.613e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/7216489/ft1_filtered_4FGL_J0039.1+4330_weekly_bin882.fits Spacecraft file(s): /lscratch/kocevski/7216489/ft2_4FGL_J0039.1+4330_weekly_bin882.fits Exposure map: /lscratch/kocevski/7216489/expmap_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.fits Exposure cube: /lscratch/kocevski/7216489/ltcube_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/7216489/Model_4FGL_J0039.1+4330_weekly_bin882.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) = 29245.9404628 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 29245.8133337 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .26998E-04 1.0000 .0000 .10000E+07 2 'norm ' .44373E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .19235E-06 1.0000 .0000 .10000E+07 4 'norm ' .73658 1.0000 .0000 .10000E+07 5 'Prefactor ' .81940 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.7453 1.0000 .0000 .10000E+07 7 'Prefactor ' .15874E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' 3.9057 1.0000 .0000 .10000E+07 9 'norm ' .16653E-09 1.0000 .0000 .10000E+07 10 'Prefactor ' .23019E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' 1.2477 1.0000 .0000 .10000E+07 12 'Prefactor ' .19043E-03 1.0000 .0000 .10000E+07 13 'norm ' 18.655 1.0000 .0000 .10000E+07 14 'Prefactor ' .54725E-03 1.0000 .0000 .10000E+07 15 'norm ' 1.4926 1.0000 .0000 .10000E+07 16 'Prefactor ' .88827E-04 1.0000 .0000 .10000E+07 17 'norm ' 1.2698 1.0000 .0000 .10000E+07 18 'norm ' .54397 1.0000 .0000 .10000E+07 19 'norm ' 6.9438 1.0000 .0000 .10000E+07 20 'Prefactor ' .31214E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' .19463E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' .25053E-04 1.0000 .0000 .10000E+07 23 'Normalizat' .83309 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0066 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 29245.81 FROM MIGRAD STATUS=CONVERGED 148 CALLS 1621 TOTAL EDM= .11E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .71165E-07 2.3748 -.38365E-07** at limit ** 2 norm .26090E-08 10.033 -.11501E-07** at limit ** 3 Prefactor .55511E-10 3.1096 .81691E-07** at limit ** 4 norm .73632 .80041 .23461E-08 .47508E-03 5 Prefactor .81876 .89342 .18409E-07 .74361E-03 6 Prefactor 1.7585 4.7362 -.26937E-07 .52859E-02 7 Prefactor .28311E-08 4.9690 -.13008E-07** at limit ** 8 Prefactor 3.9024 6.3322 -.65157E-08 -.12143E-01 9 norm .0000 .60291 .29718E-07** at limit ** 10 Prefactor .0000 1.2716 -.51642E-07** at limit ** 11 Prefactor 1.2492 3.6464 .60732E-07 .34127E-03 12 Prefactor .27756E-09 4.1725 .38716E-07** at limit ** 13 norm 18.637 1.0102 .10137E-10 .58849E-03 14 Prefactor .0000 3.1472 .37454E-07** at limit ** 15 norm 1.4925 1.8929 -.26362E-07 -.52057E-03 16 Prefactor .75939E-07 2.9418 -.48818E-07** at limit ** 17 norm 1.2693 .61619 -.10343E-07 -.18500E-02 18 norm .54400 .41136 -.46837E-08 -.49006E-03 19 norm 6.9461 5.2428 .38469E-07 .53808E-03 20 Prefactor .55511E-10 26.080 .21547E-06** at limit ** 21 Prefactor .72164E-09 2.3422 -.42269E-07** at limit ** 22 Prefactor .0000 1.3550 .19449E-07** at limit ** 23 Normalizat .83310 .10564 -.78457E-06 -.37346E-05 24 Prefactor 1.0066 .47441E-01 .36031E-06 .60361E-04 ERR DEF= .500 Final values: Prefactor = 7.11653e-08 norm = 2.60902e-09 Prefactor = 5.55112e-11 norm = 0.736322 Prefactor = 0.818759 Prefactor = 1.75852 Prefactor = 2.83107e-09 Prefactor = 3.90243 norm = 0 Prefactor = 0 Prefactor = 1.24917 Prefactor = 2.77556e-10 norm = 18.6369 Prefactor = 0 norm = 1.49246 Prefactor = 7.59393e-08 norm = 1.26926 norm = 0.544 norm = 6.94609 Prefactor = 5.55112e-11 Prefactor = 7.21645e-10 Prefactor = 0 Normalizat = 0.833099 Prefactor = 1.00657 ********** ** 18 **HESSE ********** FCN= 29245.81 FROM HESSE STATUS=OK 445 CALLS 2066 TOTAL EDM= .41E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .71165E-07 6.8947 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 norm .26090E-08 10.074 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .55511E-10 3.1160 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .73632 .80517 .57787E-03 -1.5691 5 Prefactor .81876 .91482 .51500E-03 -1.5690 6 Prefactor 1.7585 10.665 .79359E-03 -1.5681 7 Prefactor .28311E-08 5.1270 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 3.9024 7.4513 .51027E-03 -1.5668 9 norm .0000 .58863 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.2614 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 1.2492 3.6784 .10015E-02 -1.5686 12 Prefactor .27756E-09 4.1922 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 18.637 14.311 .23162E-03 -1.5622 14 Prefactor .0000 3.2238 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.4925 1.8992 .87696E-03 -1.5684 16 Prefactor .75939E-07 7.2330 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 1.2693 .61151 .98716E-03 -1.5685 18 norm .54400 .41919 .74405E-03 -1.5693 19 norm 6.9461 5.2452 .38048E-03 -1.5655 20 Prefactor .55511E-10 25.995 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .72164E-09 7.0652 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 1.3501 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat .83310 .96787E-01 .81900E-01 -.98852 24 Prefactor 1.0066 .42955E-01 .33376E-01 -.92511 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.12843e-08 Minuit parameter uncertainties: 1 0.00140087 2 0.000325241 3 3.00457e-05 4 0.805166 5 0.91482 6 8.66142 7 0.00024175 8 7.45131 9 1.14379e-06 10 2.28629e-06 11 3.67844 12 6.95067e-05 13 14.3111 14 3.87157e-06 15 1.89917 16 0.00148229 17 0.611509 18 0.419185 19 5.2452 20 9.16092e-05 21 0.000144865 22 2.16947e-06 23 0.0968068 24 0.0429568 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 29245.8128037 Extracting fit parameters... 4FGL J0039.1+4330 Spectrum: PowerLaw 100 Prefactor: 3.902e+00 7.451e+00 0.000e+00 1.000e+06 ( 1.000e-14) 101 Index: 2.059e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 102 Scale: 2.613e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 602 Prefactor: 1.007e+00 4.296e-02 0.000e+00 1.000e+01 ( 1.000e+00) 603 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 604 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 597 Normalization: 8.331e-01 9.681e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.42 Ra Dec: 9.799 43.512 Photon Flux Upper Limit: 2.21985261276e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00167294540388 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/7216489/likelihoodResults_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.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) = 29245.7309891 delta logL = 0.0818146466845 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 29245.6990089 delta logL = 0.113794852223 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.3247 1.0000 .0000 .10000E+07 2 'Index ' 1.6285 1.0000 .0000 10.000 3 'Normalizat' .83448 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0062 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6050E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 29245.70 FROM MIGRAD STATUS=CONVERGED 103 CALLS 280 TOTAL EDM= .21E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.3353 10.539 .79778E-04 -.10488E-03 2 Index 1.6287 .83566 .78984E-02 .43008E-05 3 Normalizat .83449 .10444 .36233E-03 -.35895E-04 4 Prefactor 1.0062 .46642E-01 .14750E-03 -.49635E-04 ERR DEF= .500 Final values: Prefactor = 6.33533 Index = 1.62867 Normalizat = 0.834495 Prefactor = 1.00623 ********** ** 18 **HESSE ********** FCN= 29245.70 FROM HESSE STATUS=OK 25 CALLS 305 TOTAL EDM= .14E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.3353 10.481 .31911E-05 -1.5658 2 Index 1.6287 .83132 .31594E-03 -.73997 3 Normalizat .83449 .10449 .14493E-04 -.98802 4 Prefactor 1.0062 .46665E-01 .59002E-05 -.92522 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.44428e-12 Minuit parameter uncertainties: 1 10.4806 2 0.838512 3 0.104516 4 0.0466664 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) = 29245.6990083 delta logL = 0.11379545238 Extracting fit parameters... 4FGL J0039.1+4330 Spectrum: PowerLaw 100 Prefactor: 6.335e+00 1.048e+01 0.000e+00 1.000e+06 ( 1.000e-14) 101 Index: 1.629e+00 8.385e-01 0.000e+00 1.000e+01 (-1.000e+00) 102 Scale: 2.613e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 602 Prefactor: 1.006e+00 4.667e-02 0.000e+00 1.000e+01 ( 1.000e+00) 603 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 604 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 597 Normalization: 8.345e-01 1.045e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.42 Ra Dec: 9.799 43.512 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/7216489/cmap_HighResolution_772416001_773020801_4FGL_J0039.1+4330_weekly_bin882.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-03', job_status='DONE', photon_flux_upper_limit='2.22e-08', time_completed='2025-07-01 03:48:30.876125', job_id='7216489', GAL2='1.01', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1751366910.88', return_code2='0', ts='0.42', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.14e-01', ts2='0.64', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='882' AND source_name='4FGL J0039.1+4330' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 1 03:48:33 PDT 2025