/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 = 17416 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1841.0+6115_weekly_bin891 RA = 280.253, Dec = 61.2522 tmin = 777859201, tmax = 778464001 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='14136781', job_status='RUN', time_executed='2025-10-21 07:17:24.419636', time_epoch_executed='1761056244.42' WHERE source_name='4FGL J1841.0+6115' and cadence='weekly' and bin_id='891' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14136781 Creating custom pfile directory: /lscratch/kocevski/14136781/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=777859201.0 && nMetStart<778464001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=777859201.0 && nMetStart<778464001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14136781/ft1_4FGL_J1841.0+6115_weekly_bin891.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=777859201.0 && nMetStart<778464001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14136781/ft1_4FGL_J1841.0+6115_weekly_bin891.fits outfile=/lscratch/kocevski/14136781/ft1_filteredMKT_4FGL_J1841.0+6115_weekly_bin891.fits ra=280.253 dec=61.2522 rad=12.0 tmin=777859201.0 tmax=778464001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.00 user 6.37 sys 0.44 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.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/14136781/ft1_filteredMKT_4FGL_J1841.0+6115_weekly_bin891.fits evtable="EVENTS" outfile="/lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.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.51 user 0.23 sys 0.13 Number of photons that the gtmktime cut: 2718 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14136781/ltcube_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.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/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits .....................! real 18.09 user 17.43 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.fits evtable="EVENTS" scfile=/lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14136781/ltcube_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.fits outfile=/lscratch/kocevski/14136781/expmap_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.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/14136781/ltcube_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.fits .....................! real 69.37 user 64.64 sys 4.06 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 HB 21 in ROI with RadialDisk spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 188 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 J1841.0+6115 @ 280.253 61.2522 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.fits scfile=/lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits outfile=/lscratch/kocevski/14136781/cmap_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.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=280.253 yref=61.2522 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.61 user 0.24 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.fits scfile=/lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits outfile=/lscratch/kocevski/14136781/cmap_HighResolution_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.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=280.253 yref=61.2522 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.66 user 0.24 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.fits evtable="EVENTS" scfile=/lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14136781/Model_4FGL_J1841.0+6115_weekly_bin891.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 FHES J2129.9+5833 adding source GAL_V02 adding source HB 21 Working on... /lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.fits.....................! real 108.49 user 106.79 sys 0.82 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.fits', '/lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits', expMap='/lscratch/kocevski/14136781/expmap_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.fits', expCube='/lscratch/kocevski/14136781/ltcube_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14136781/Model_4FGL_J1841.0+6115_weekly_bin891.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1841.0+6115' 4FGL J1841.0+6115 Spectrum: PowerLaw 349 Prefactor: 3.678e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 350 Index: 2.547e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 1.110e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14136781/ft1_filtered_4FGL_J1841.0+6115_weekly_bin891.fits Spacecraft file(s): /lscratch/kocevski/14136781/ft2_4FGL_J1841.0+6115_weekly_bin891.fits Exposure map: /lscratch/kocevski/14136781/expmap_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.fits Exposure cube: /lscratch/kocevski/14136781/ltcube_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14136781/Model_4FGL_J1841.0+6115_weekly_bin891.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) = 27675.3047813 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27675.3024227 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.6797 1.0000 .0000 .10000E+07 2 'Prefactor ' .97946 1.0000 .0000 .10000E+07 3 'Prefactor ' .13695E-06 1.0000 .0000 .10000E+07 4 'Prefactor ' 24.164 1.0000 .0000 .10000E+07 5 'Prefactor ' 26.685 1.0000 .0000 .10000E+07 6 'Prefactor ' .12627E-01 1.0000 .0000 .10000E+07 7 'norm ' 4.5133 1.0000 .0000 .10000E+07 8 'Prefactor ' 3.0165 1.0000 .0000 .10000E+07 9 'norm ' 5.1216 1.0000 .0000 .10000E+07 10 'Prefactor ' 8.5276 1.0000 .0000 .10000E+07 11 'Prefactor ' .46999E-02 1.0000 .0000 .10000E+07 12 'Prefactor ' .37748E-08 1.0000 .0000 .10000E+07 13 'norm ' 13.594 1.0000 .0000 .10000E+07 14 'Prefactor ' .10682E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .37084E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' 20.855 1.0000 .0000 .10000E+07 17 'norm ' 1.0057 1.0000 .0000 .10000E+07 18 'norm ' 2.3617 1.0000 .0000 .10000E+07 19 'norm ' 3.7398 1.0000 .0000 .10000E+07 20 'norm ' 10.105 1.0000 .0000 .10000E+07 21 'Prefactor ' 13.455 1.0000 .0000 .10000E+07 22 'norm ' 2.6873 1.0000 .0000 .10000E+07 23 'norm ' 11.756 1.0000 .0000 .10000E+07 24 'Prefactor ' 26.321 1.0000 .0000 .10000E+07 25 'Normalizat' 1.0199 1.0000 .10000E-01 10.000 26 'Prefactor ' .94624 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6340E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 27675.30 FROM MIGRAD STATUS=CONVERGED 131 CALLS 2233 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.6577 4.8753 .29433E-08 .16945E-01 2 Prefactor .98333 2.7677 .65709E-08 -.60267E-02 3 Prefactor .55511E-10 2.6173 -.21274E-06** at limit ** 4 Prefactor 24.080 6.7669 -.15367E-07 .38256E-01 5 Prefactor 26.866 12.280 .27307E-07 -.79104E-01 6 Prefactor .91605E-06 21.828 -.24414E-06** at limit ** 7 norm 4.5134 1.6721 .19435E-07 .67084E-02 8 Prefactor 2.9797 7.1324 -.16560E-07 -.59767E-02 9 norm 5.1216 2.2744 .18167E-07 .39057E-02 10 Prefactor 8.5194 1.1848 .26120E-08 -.11146E-01 11 Prefactor .35411E-05 13.124 -.20885E-06** at limit ** 12 Prefactor .0000 .80610 -.14320E-08** at limit ** 13 norm 13.577 4.7433 .40589E-08 .25034E-02 14 Prefactor .29898E-05 14.564 -.22630E-06** at limit ** 15 Prefactor .28311E-08 5.1631 -.11247E-06** at limit ** 16 Prefactor 20.978 14.576 .36751E-07 -.10498 17 norm 1.0052 1.0806 -.83339E-08 -.10224E-02 18 norm 2.3614 1.0671 .54777E-07 .20905E-01 19 norm 3.7459 2.6420 -.15256E-07 -.15927E-02 20 norm 10.090 6.8014 .14517E-07 .37968E-02 21 Prefactor 13.450 9.3482 .14173E-07 .51262E-01 22 norm 2.6873 .85779 -.10798E-07 -.61401E-02 23 norm 11.763 1.1959 -.18190E-08 .27831E-01 24 Prefactor 26.309 1.9210 .11444E-08 .18902E-01 25 Normalizat 1.0201 .12728 -.12788E-05 .46325E-04 26 Prefactor .94621 .64489E-01 .75653E-06 .36466E-03 ERR DEF= .500 Final values: Prefactor = 7.65767 Prefactor = 0.98333 Prefactor = 5.55112e-11 Prefactor = 24.0799 Prefactor = 26.8656 Prefactor = 9.16045e-07 norm = 4.51335 Prefactor = 2.97966 norm = 5.12157 Prefactor = 8.51941 Prefactor = 3.54106e-06 Prefactor = 0 norm = 13.5771 Prefactor = 2.98978e-06 Prefactor = 2.83107e-09 Prefactor = 20.9784 norm = 1.0052 norm = 2.36143 norm = 3.74591 norm = 10.0898 Prefactor = 13.4498 norm = 2.68729 norm = 11.7625 Prefactor = 26.3092 Normalizat = 1.02007 Prefactor = 0.946213 ********** ** 18 **HESSE ********** FCN= 27675.30 FROM HESSE STATUS=OK 520 CALLS 2753 TOTAL EDM= .24E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.6577 7.7472 .36162E-03 -1.5653 2 Prefactor .98333 4.2637 .43037E-03 -1.5688 3 Prefactor .55511E-10 2.6031 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 24.080 34.675 .20348E-03 -1.5610 5 Prefactor 26.866 33.687 .19362E-03 -1.5604 6 Prefactor .91605E-06 22.446 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 4.5134 1.6758 .47366E-03 -1.5665 8 Prefactor 2.9797 7.4539 .58409E-03 -1.5673 9 norm 5.1216 2.2770 .44402E-03 -1.5663 10 Prefactor 8.5194 9.4514 .34304E-03 -1.5650 11 Prefactor .35411E-05 15.512 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .0000 .81351 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 13.577 4.7442 .27141E-03 -1.5634 14 Prefactor .29898E-05 16.311 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .28311E-08 5.1539 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 20.978 38.044 .21904E-03 -1.5616 17 norm 1.0052 1.0919 .43966E-03 -1.5688 18 norm 2.3614 1.0660 .66657E-03 -1.5677 19 norm 3.7459 2.6453 .52188E-03 -1.5669 20 norm 10.090 6.8634 .31497E-03 -1.5644 21 Prefactor 13.450 9.8560 .27281E-03 -1.5635 22 norm 2.6873 .89457 .62128E-03 -1.5675 23 norm 11.763 9.4289 .29192E-03 -1.5639 24 Prefactor 26.309 15.015 .19496E-03 -1.5605 25 Normalizat 1.0201 .11559 .79896E-01 -.92361 26 Prefactor .94621 .57180E-01 .45592E-01 -.94544 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.42888e-06 Minuit parameter uncertainties: 1 7.74718 2 4.09518 3 2.77243e-05 4 34.675 5 33.6872 6 0.00906902 7 1.67576 8 7.45393 9 2.27703 10 9.4514 11 0.0148228 12 6.77168e-07 13 4.74419 14 0.0139663 15 0.000242716 16 38.0443 17 1.09193 18 1.06598 19 2.64528 20 6.86344 21 9.85602 22 0.894569 23 9.42893 24 15.0153 25 0.115621 26 0.0571837 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 27675.3019305 Extracting fit parameters... 4FGL J1841.0+6115 Spectrum: PowerLaw 349 Prefactor: 2.990e-06 1.397e-02 0.000e+00 1.000e+06 ( 1.000e-13) 350 Index: 2.547e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 1.110e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 627 Prefactor: 9.462e-01 5.718e-02 0.000e+00 1.000e+01 ( 1.000e+00) 628 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 629 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 623 Normalization: 1.020e+00 1.156e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 280.253 61.252 Photon Flux Upper Limit: 4.40116942135e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00343320505475 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14136781/likelihoodResults_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.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) = 27675.3406711 delta logL = -0.0387405672082 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 27675.3019307 delta logL = -1.79279595613e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22421E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.6757 1.0000 .0000 10.000 3 'Normalizat' 1.0201 1.0000 .10000E-01 10.000 4 'Prefactor ' .94622 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6340E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 27675.30 FROM MIGRAD STATUS=CONVERGED 35 CALLS 206 TOTAL EDM= .13E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 11.576 -.55008E-06** at limit ** 2 Index 2.8791 2.9819 .30949E-04 .18623E-10 3 Normalizat 1.0201 .12034 .14473E-05 -.15489E-04 4 Prefactor .94621 .63304E-01 -.15178E-05 -.20228E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.87911 Normalizat = 1.02007 Prefactor = 0.946213 ********** ** 18 **HESSE ********** FCN= 27675.30 FROM HESSE STATUS=NOT POSDEF 37 CALLS 243 TOTAL EDM= .57E-14 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 .75044E-02 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.8791 7.0219 .50000 -.43805 3 Normalizat 1.0201 .75472E-04 .79896E-01 -.92361 4 Prefactor .94621 .39411E-04 .45591E-01 -.94544 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 5.67003e-15 Minuit parameter uncertainties: 1 1.55273e-06 2 2033.95 3 7.54725e-05 4 3.94109e-05 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 27675.3019304 delta logL = 9.01782186702e-08 Extracting fit parameters... 4FGL J1841.0+6115 Spectrum: PowerLaw 349 Prefactor: 5.551e-11 1.553e-06 0.000e+00 1.000e+06 ( 1.000e-13) 350 Index: 2.879e+00 2.034e+03 0.000e+00 1.000e+01 (-1.000e+00) 351 Scale: 1.110e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 627 Prefactor: 9.462e-01 3.941e-05 0.000e+00 1.000e+01 ( 1.000e+00) 628 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 629 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 623 Normalization: 1.020e+00 7.547e-05 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 280.253 61.252 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/14136781/cmap_HighResolution_777859201_778464001_4FGL_J1841.0+6115_weekly_bin891.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-03', job_status='DONE', photon_flux_upper_limit='4.40e-08', time_completed='2025-10-21 07:34:48.396335', job_id='14136781', GAL2='0.95', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1761057288.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='9.02e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='891' AND source_name='4FGL J1841.0+6115' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 21 07:34:48 PDT 2025