/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 = 17444 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1047.2+6740_weekly_bin922 RA = 161.82, Dec = 67.6735 tmin = 796608001, tmax = 797212801 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='24930116', job_status='RUN', time_executed='2026-04-07 00:52:46.171929', time_epoch_executed='1775548366.17' WHERE source_name='4FGL J1047.2+6740' and cadence='weekly' and bin_id='922' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/24930116 Creating custom pfile directory: /lscratch/kocevski/24930116/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=796608001.0 && nMetStart<797212801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=796608001.0 && nMetStart<797212801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/24930116/ft1_4FGL_J1047.2+6740_weekly_bin922.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=796608001.0 && nMetStart<797212801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/24930116/ft1_4FGL_J1047.2+6740_weekly_bin922.fits outfile=/lscratch/kocevski/24930116/ft1_filteredMKT_4FGL_J1047.2+6740_weekly_bin922.fits ra=161.82 dec=67.6735 rad=12.0 tmin=796608001.0 tmax=797212801.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.26 user 4.56 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.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/24930116/ft1_filteredMKT_4FGL_J1047.2+6740_weekly_bin922.fits evtable="EVENTS" outfile="/lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.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.83 user 0.25 sys 0.13 Number of photons that the gtmktime cut: 1968 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.fits" evtable="EVENTS" scfile=/lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits sctable="SC_DATA" outfile=/lscratch/kocevski/24930116/ltcube_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.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/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits .....................! real 18.90 user 17.96 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.fits evtable="EVENTS" scfile=/lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits sctable="SC_DATA" expcube=/lscratch/kocevski/24930116/ltcube_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.fits outfile=/lscratch/kocevski/24930116/expmap_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.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/24930116/ltcube_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.fits .....................! real 64.70 user 60.24 sys 3.57 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 237 point sources and 0 extended sources Setting source of interest to: 4FGL J1047.2+6740 @ 161.82 67.6735 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.fits scfile=/lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits outfile=/lscratch/kocevski/24930116/cmap_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.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=161.82 yref=67.6735 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.90 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.fits scfile=/lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits outfile=/lscratch/kocevski/24930116/cmap_HighResolution_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.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=161.82 yref=67.6735 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.97 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.fits evtable="EVENTS" scfile=/lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/24930116/Model_4FGL_J1047.2+6740_weekly_bin922.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_V02 Working on... /lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.fits.....................! real 80.75 user 78.93 sys 0.74 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.fits', '/lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits', expMap='/lscratch/kocevski/24930116/expmap_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.fits', expCube='/lscratch/kocevski/24930116/ltcube_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/24930116/Model_4FGL_J1047.2+6740_weekly_bin922.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1047.2+6740' 4FGL J1047.2+6740 Spectrum: PowerLaw 399 Prefactor: 7.402e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 400 Index: 1.894e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 401 Scale: 3.781e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/24930116/ft1_filtered_4FGL_J1047.2+6740_weekly_bin922.fits Spacecraft file(s): /lscratch/kocevski/24930116/ft2_4FGL_J1047.2+6740_weekly_bin922.fits Exposure map: /lscratch/kocevski/24930116/expmap_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.fits Exposure cube: /lscratch/kocevski/24930116/ltcube_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/24930116/Model_4FGL_J1047.2+6740_weekly_bin922.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) = 20847.6539525 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20844.6359054 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .20435 1.0000 .0000 .10000E+07 2 'Prefactor ' .29154E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' .33733E-05 1.0000 .0000 .10000E+07 4 'norm ' .43598 1.0000 .0000 .10000E+07 5 'Prefactor ' 8.6395 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.2089 1.0000 .0000 .10000E+07 7 'norm ' 2.5125 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.7302 1.0000 .0000 .10000E+07 9 'norm ' 3.3233 1.0000 .0000 .10000E+07 10 'norm ' 2.0999 1.0000 .0000 .10000E+07 11 'Prefactor ' 12.048 1.0000 .0000 .10000E+07 12 'Prefactor ' 13.474 1.0000 .0000 .10000E+07 13 'Prefactor ' .20689 1.0000 .0000 .10000E+07 14 'norm ' 8.4586 1.0000 .0000 .10000E+07 15 'norm ' 1.1039 1.0000 .0000 .10000E+07 16 'Prefactor ' .29383E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.5542 1.0000 .0000 .10000E+07 18 'norm ' 2.1460 1.0000 .0000 .10000E+07 19 'norm ' 1.5048 1.0000 .0000 .10000E+07 20 'norm ' .83889 1.0000 .0000 .10000E+07 21 'Prefactor ' .66194E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.0561 1.0000 .0000 .10000E+07 23 'Prefactor ' 27.522 1.0000 .0000 .10000E+07 24 'Prefactor ' .56358E-05 1.0000 .0000 .10000E+07 25 'Prefactor ' .44242E-07 1.0000 .0000 .10000E+07 26 'norm ' .70353E-04 1.0000 .0000 .10000E+07 27 'norm ' .57898E-07 1.0000 .0000 .10000E+07 28 'Prefactor ' .14988E-07 1.0000 .0000 .10000E+07 29 'Prefactor ' .29082E-06 1.0000 .0000 .10000E+07 30 'Prefactor ' 42.692 1.0000 .0000 .10000E+07 31 'Prefactor ' 10.959 1.0000 .0000 .10000E+07 32 'norm ' .24419E-06 1.0000 .0000 .10000E+07 33 'Normalizat' .97503 1.0000 .10000E-01 10.000 34 'Prefactor ' 1.0855 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7600E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 20844.63 FROM MIGRAD STATUS=CONVERGED 182 CALLS 2034 TOTAL EDM= .31E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .20456 .79731 .29905E-07** at limit ** 2 Prefactor .52736E-08 2.6040 .39078E-07** at limit ** 3 Prefactor .11102E-09 3.2115 .49631E-08** at limit ** 4 norm .43604 .42542 .15182E-07 .41660E-02 5 Prefactor 8.5810 2.1946 -.10891E-07 .53884E-01 6 Prefactor 2.2114 3.9337 .98632E-08 .26163E-03 7 norm 2.5212 4.3184 -.10101E-07 .37498E-04 8 Prefactor 9.7397 1.1376 -.44700E-09 -.64378E-04 9 norm 3.3240 .55371 -.13256E-08 -.20081E-02 10 norm 2.0714 7.1327 -.30039E-07 -.51232E-02 11 Prefactor 12.050 5.8776 -.71280E-08 -.60307E-02 12 Prefactor 13.592 4.2311 .45460E-08 .27397E-01 13 Prefactor .27006E-06 106.50 -.22872E-06** at limit ** 14 norm 8.4840 1.7568 .88033E-09 -.36314E-03 15 norm 1.1043 .55892 -.99451E-08 -.42281E-02 16 Prefactor .26645E-08 30.095 .51399E-07** at limit ** 17 Prefactor 2.5518 2.7247 -.26255E-07 -.29000E-03 18 norm 2.1460 .54281 .11225E-07 .73710E-02 19 norm 1.5049 1.4417 -.60298E-08 -.10626E-03 20 norm .83874 .86523 .17237E-08 -.12785E-03 21 Prefactor .41078E-08 2.3524 .39687E-07** at limit ** 22 Prefactor 5.1012 4.6648 -.13307E-07 -.59214E-03 23 Prefactor 27.579 4.3481 .68060E-08 .20179E-01 24 Prefactor .16653E-09 5.6489 .14750E-07** at limit ** 25 Prefactor .0000 .87131 .41428E-07** at limit ** 26 norm .55511E-10 27.834 -.71738E-07** at limit ** 27 norm .0000 .77920 .48251E-07** at limit ** 28 Prefactor .11102E-09 2.1994 .24727E-07** at limit ** 29 Prefactor .11102E-09 4.2267 .15698E-07** at limit ** 30 Prefactor 42.560 4.0580 .11044E-08 .41361E-01 31 Prefactor 10.945 1.0489 .13777E-08 -.31517E-02 32 norm .49960E-09 3.4704 .67677E-08** at limit ** 33 Normalizat .97508 .10917 -.79021E-06 -.94520E-04 34 Prefactor 1.0855 .10868 .42889E-06 -.29315E-04 ERR DEF= .500 Final values: norm = 0.204557 Prefactor = 5.27356e-09 Prefactor = 1.11022e-10 norm = 0.43604 Prefactor = 8.58096 Prefactor = 2.21145 norm = 2.52124 Prefactor = 9.7397 norm = 3.32401 norm = 2.07139 Prefactor = 12.0503 Prefactor = 13.5924 Prefactor = 2.70062e-07 norm = 8.48399 norm = 1.10432 Prefactor = 2.66454e-09 Prefactor = 2.55182 norm = 2.14597 norm = 1.5049 norm = 0.838744 Prefactor = 4.10783e-09 Prefactor = 5.10123 Prefactor = 27.5785 Prefactor = 1.66533e-10 Prefactor = 0 norm = 5.55112e-11 norm = 0 Prefactor = 1.11022e-10 Prefactor = 1.11022e-10 Prefactor = 42.5599 Prefactor = 10.9451 norm = 4.996e-10 Normalizat = 0.975085 Prefactor = 1.08555 ********** ** 18 **HESSE ********** FCN= 20844.63 FROM HESSE STATUS=OK 828 CALLS 2862 TOTAL EDM= .41E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .20456 .57962 .32925E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .52736E-08 4.9229 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .11102E-09 3.2235 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm .43604 .44067 .85432E-03 -1.5695 5 Prefactor 8.5810 7.4767 .34079E-03 -1.5649 6 Prefactor 2.2114 3.9962 .69184E-03 -1.5678 7 norm 2.5212 4.4170 .64434E-03 -1.5676 8 Prefactor 9.7397 11.101 .32101E-03 -1.5646 9 norm 3.3240 .55753 .55502E-03 -1.5671 10 norm 2.0714 7.2308 .71190E-03 -1.5679 11 Prefactor 12.050 7.6070 .28835E-03 -1.5639 12 Prefactor 13.592 15.645 .27261E-03 -1.5634 13 Prefactor .27006E-06 5.9659 .11654E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 8.4840 2.1101 .34444E-03 -1.5650 15 norm 1.1043 .54826 .11282E-02 -1.5687 16 Prefactor .26645E-08 30.345 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.5518 2.7527 .63859E-03 -1.5676 18 norm 2.1460 .54935 .70318E-03 -1.5679 19 norm 1.5049 1.4730 .87215E-03 -1.5683 20 norm .83874 .87329 .50080E-03 -1.5690 21 Prefactor .41078E-08 4.8319 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 5.1012 4.8510 .44694E-03 -1.5663 23 Prefactor 27.579 17.386 .19065E-03 -1.5603 24 Prefactor .16653E-09 5.6915 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .0000 .86443 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .55511E-10 2.1382 .82420E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm .0000 .78064 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor .11102E-09 2.1825 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 29 Prefactor .11102E-09 4.3090 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 Prefactor 42.560 30.668 .15306E-03 -1.5577 31 Prefactor 10.945 9.5247 .30239E-03 -1.5642 32 norm .49960E-09 .79713 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 33 Normalizat .97508 .99945E-01 .45853E-01 -.93870 34 Prefactor 1.0855 .96671E-01 .57626E-01 -.89930 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.07711e-07 Minuit parameter uncertainties: 1 0.579618 2 0.000321721 3 3.38878e-05 4 0.440674 5 7.47671 6 3.9962 7 4.41701 8 11.1007 9 0.557533 10 7.2308 11 7.60697 12 15.6455 13 0.00253856 14 2.11008 15 0.548263 16 0.000569352 17 2.75266 18 0.54935 19 1.47295 20 0.873292 21 0.000281646 22 4.85096 23 17.3864 24 6.05966e-05 25 6.60632e-06 26 2.40049e-05 27 6.80018e-06 28 2.91082e-05 29 4.5692e-05 30 30.6678 31 9.52476 32 3.88951e-05 33 0.0999645 34 0.0966863 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20844.6346429 Extracting fit parameters... 4FGL J1047.2+6740 Spectrum: PowerLaw 399 Prefactor: 2.665e-09 5.694e-04 0.000e+00 1.000e+06 ( 1.000e-15) 400 Index: 1.894e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 401 Scale: 3.781e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 757 Prefactor: 1.086e+00 9.669e-02 0.000e+00 1.000e+01 ( 1.000e+00) 758 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 759 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 756 Normalization: 9.751e-01 9.996e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 161.820 67.674 Photon Flux Upper Limit: 1.63285408678e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00121351874597 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/24930116/likelihoodResults_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.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) = 20844.6503707 delta logL = -0.0157277716244 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 20844.6346464 delta logL = -3.48611501977e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .58307E-04 1.0000 .0000 .10000E+07 2 'Index ' .49522 1.0000 .0000 10.000 3 'Normalizat' .97525 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0853 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7600E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 20844.63 FROM MIGRAD STATUS=CONVERGED 41 CALLS 212 TOTAL EDM= .43E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 40.008 .42118E-03** at limit ** 2 Index 1.3274 1.3089 -.35675E-04 .0000 3 Normalizat .97509 1.3064 -.38613E-04 .11015E-03 4 Prefactor 1.0855 1.1588 .25312E-04 .44820E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.32737 Normalizat = 0.975085 Prefactor = 1.08555 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 20844.63 FROM HESSE STATUS=FAILED 9 CALLS 221 TOTAL EDM= .43E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 40.008 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .13839 1.4733 -.35675E-04 -.82497 3 Normalizat .97509 1.3064 -.38613E-04 -.93870 4 Prefactor 1.0855 1.1588 .25312E-04 -.89930 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 4.33489e-12 Minuit parameter uncertainties: 1 2.58571e-06 2 1.34377 3 1.35332 4 1.18744 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) = 20844.6346429 delta logL = 4.36557456851e-11 Extracting fit parameters... 4FGL J1047.2+6740 Spectrum: PowerLaw 399 Prefactor: 0.000e+00 2.586e-06 0.000e+00 1.000e+06 ( 1.000e-15) 400 Index: 1.327e+00 1.344e+00 0.000e+00 1.000e+01 (-1.000e+00) 401 Scale: 3.781e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 757 Prefactor: 1.086e+00 1.187e+00 0.000e+00 1.000e+01 ( 1.000e+00) 758 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 759 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 756 Normalization: 9.751e-01 1.353e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 161.820 67.674 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/24930116/cmap_HighResolution_796608001_797212801_4FGL_J1047.2+6740_weekly_bin922.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-03', job_status='DONE', photon_flux_upper_limit='1.63e-08', time_completed='2026-04-07 01:12:27.271969', job_id='24930116', GAL2='1.09', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1775549547.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='922' AND source_name='4FGL J1047.2+6740' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Apr 7 01:12:27 PDT 2026