/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 = 17367 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1047.2+6740_weekly_bin774 RA = 161.82, Dec = 67.6735 tmin = 707097601, tmax = 707702401 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='18238393', job_status='RUN', time_executed='2023-06-06 01:51:09.653551', time_epoch_executed='1686041469.65' WHERE source_name='4FGL J1047.2+6740' and cadence='weekly' and bin_id='774' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18238393 Creating custom pfile directory: /lscratch/kocevski/18238393/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=707097601.0 && nMetStart<707702401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=707097601.0 && nMetStart<707702401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18238393/ft1_4FGL_J1047.2+6740_weekly_bin774.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=707097601.0 && nMetStart<707702401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18238393/ft1_4FGL_J1047.2+6740_weekly_bin774.fits outfile=/lscratch/kocevski/18238393/ft1_filteredMKT_4FGL_J1047.2+6740_weekly_bin774.fits ra=161.82 dec=67.6735 rad=12.0 tmin=707097601.0 tmax=707702401.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.74 user 3.90 sys 0.33 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.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/18238393/ft1_filteredMKT_4FGL_J1047.2+6740_weekly_bin774.fits evtable="EVENTS" outfile="/lscratch/kocevski/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.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.49 user 0.24 sys 0.14 Number of photons that the gtmktime cut: 2133 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18238393/ltcube_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.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/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits .....................! real 23.40 user 21.57 sys 0.90 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.fits evtable="EVENTS" scfile=/lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18238393/ltcube_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.fits outfile=/lscratch/kocevski/18238393/expmap_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.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/18238393/ltcube_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.fits .....................! real 72.11 user 63.77 sys 5.62 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/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.fits scfile=/lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits outfile=/lscratch/kocevski/18238393/cmap_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.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.69 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.fits scfile=/lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits outfile=/lscratch/kocevski/18238393/cmap_HighResolution_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.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.48 user 0.23 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.fits evtable="EVENTS" scfile=/lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18238393/Model_4FGL_J1047.2+6740_weekly_bin774.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/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.fits.....................! real 89.31 user 83.17 sys 3.12 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.fits', '/lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits', expMap='/lscratch/kocevski/18238393/expmap_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.fits', expCube='/lscratch/kocevski/18238393/ltcube_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18238393/Model_4FGL_J1047.2+6740_weekly_bin774.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/18238393/ft1_filtered_4FGL_J1047.2+6740_weekly_bin774.fits Spacecraft file(s): /lscratch/kocevski/18238393/ft2_4FGL_J1047.2+6740_weekly_bin774.fits Exposure map: /lscratch/kocevski/18238393/expmap_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.fits Exposure cube: /lscratch/kocevski/18238393/ltcube_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18238393/Model_4FGL_J1047.2+6740_weekly_bin774.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) = 22027.7534019 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22027.7214033 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 8.4447 1.0000 .0000 .10000E+07 2 'Prefactor ' .10071E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' 3.0749 1.0000 .0000 .10000E+07 4 'norm ' .26443 1.0000 .0000 .10000E+07 5 'Prefactor ' .16842E-04 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.8259 1.0000 .0000 .10000E+07 7 'norm ' 5.9457 1.0000 .0000 .10000E+07 8 'Prefactor ' .52988E-03 1.0000 .0000 .10000E+07 9 'norm ' 13.318 1.0000 .0000 .10000E+07 10 'norm ' 9.1694 1.0000 .0000 .10000E+07 11 'Prefactor ' .65947E-07 1.0000 .0000 .10000E+07 12 'Prefactor ' 8.6769 1.0000 .0000 .10000E+07 13 'Prefactor ' 12.686 1.0000 .0000 .10000E+07 14 'norm ' 8.7946 1.0000 .0000 .10000E+07 15 'norm ' 1.0853 1.0000 .0000 .10000E+07 16 'Prefactor ' .18765 1.0000 .0000 .10000E+07 17 'Prefactor ' 2.7252 1.0000 .0000 .10000E+07 18 'norm ' 2.4705 1.0000 .0000 .10000E+07 19 'norm ' .27122E-05 1.0000 .0000 .10000E+07 20 'norm ' .76540 1.0000 .0000 .10000E+07 21 'Prefactor ' .19535E-02 1.0000 .0000 .10000E+07 22 'Prefactor ' .15370E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' 41.788 1.0000 .0000 .10000E+07 24 'Prefactor ' .17157E-03 1.0000 .0000 .10000E+07 25 'Prefactor ' .32313 1.0000 .0000 .10000E+07 26 'norm ' .82919E-04 1.0000 .0000 .10000E+07 27 'norm ' 2.9273 1.0000 .0000 .10000E+07 28 'Prefactor ' 2.3256 1.0000 .0000 .10000E+07 29 'Prefactor ' .11408E-04 1.0000 .0000 .10000E+07 30 'Prefactor ' .93355E-02 1.0000 .0000 .10000E+07 31 'Prefactor ' 32.413 1.0000 .0000 .10000E+07 32 'norm ' 10.646 1.0000 .0000 .10000E+07 33 'Normalizat' .95516 1.0000 .10000E-01 10.000 34 'Prefactor ' 1.0381 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= 22027.72 FROM MIGRAD STATUS=CONVERGED 185 CALLS 2748 TOTAL EDM= .18E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 8.4448 1.8585 .76102E-08 .77165E-03 2 Prefactor .30753E-07 8.7202 -.16424E-06** at limit ** 3 Prefactor 3.0714 1.1836 .27482E-08 -.28439E-02 4 norm .26438 .25462 .80883E-08 .95135E-03 5 Prefactor .0000 1.7198 -.43899E-07** at limit ** 6 Prefactor 2.8317 2.9218 -.48141E-07 -.24512E-03 7 norm 5.9534 5.1863 .26873E-07 .15687E-03 8 Prefactor .43965E-07 7.2496 -.23121E-07** at limit ** 9 norm 13.318 .90785 .14040E-08 -.27797E-03 10 norm 9.1656 1.1190 -.36186E-09 .17382E-02 11 Prefactor .10547E-08 2.6340 .32129E-07** at limit ** 12 Prefactor 8.6580 9.4378 .26282E-07 .14805E-01 13 Prefactor 12.693 1.4848 -.38666E-08 .10191E-01 14 norm 8.7925 1.7740 .91027E-09 -.12599E-02 15 norm 1.0851 .65603 -.13139E-07 .40066E-04 16 Prefactor .19021E-05 14.194 -.26255E-07** at limit ** 17 Prefactor 2.7446 4.0784 -.18582E-06 -.15513E-03 18 norm 2.4684 .63951 .40966E-07 .49343E-02 19 norm .0000 1.1247 -.16158E-07** at limit ** 20 norm .76518 .72121 .30859E-08 -.85726E-04 21 Prefactor .31086E-08 14.508 -.15684E-06** at limit ** 22 Prefactor .0000 1.5481 -.41300E-07** at limit ** 23 Prefactor 41.310 1.6331 -.53658E-08 .40988E-02 24 Prefactor .16653E-09 3.3249 .89200E-07** at limit ** 25 Prefactor .31830 2.3678 -.19304E-07 -.20101E-03 26 norm .0000 2.0137 -.21839E-07** at limit ** 27 norm 2.9301 2.5108 -.40183E-07 -.37583E-03 28 Prefactor 2.3304 2.3025 .67731E-08 -.50549E-04 29 Prefactor .15543E-08 2.6732 -.39112E-07** at limit ** 30 Prefactor .16653E-09 34.267 -.21376E-06** at limit ** 31 Prefactor 32.373 1.6855 -.65779E-08 .12476E-01 32 norm 10.650 3.7981 -.18015E-07 -.10369E-03 33 Normalizat .95575 .11449 .34181E-06 -.32334E-04 34 Prefactor 1.0378 .11147 -.15283E-05 -.43705E-04 ERR DEF= .500 Final values: norm = 8.44482 Prefactor = 3.07532e-08 Prefactor = 3.07136 norm = 0.264376 Prefactor = 0 Prefactor = 2.83168 norm = 5.95344 Prefactor = 4.39648e-08 norm = 13.3178 norm = 9.16557 Prefactor = 1.05471e-09 Prefactor = 8.65796 Prefactor = 12.6927 norm = 8.79249 norm = 1.08515 Prefactor = 1.90209e-06 Prefactor = 2.74464 norm = 2.46835 norm = 0 norm = 0.765179 Prefactor = 3.10862e-09 Prefactor = 0 Prefactor = 41.3096 Prefactor = 1.66533e-10 Prefactor = 0.318304 norm = 0 norm = 2.93015 Prefactor = 2.33044 Prefactor = 1.55431e-09 Prefactor = 1.66533e-10 Prefactor = 32.3726 norm = 10.6499 Normalizat = 0.955746 Prefactor = 1.03781 ********** ** 18 **HESSE ********** FCN= 22027.72 FROM HESSE STATUS=OK 818 CALLS 3566 TOTAL EDM= .23E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 8.4448 1.9587 .34473E-03 -1.5650 2 Prefactor .30753E-07 9.4226 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.0714 9.3772 .57819E-03 -1.5673 4 norm .26438 .31908 .18001E-02 -1.5698 5 Prefactor .0000 1.7196 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.8317 2.9428 .60473E-03 -1.5674 7 norm 5.9534 5.1843 .41158E-03 -1.5659 8 Prefactor .43965E-07 8.2266 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 13.318 .91047 .27421E-03 -1.5635 10 norm 9.1656 8.1648 .33074E-03 -1.5647 11 Prefactor .10547E-08 2.6560 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 8.6580 9.7433 .34005E-03 -1.5649 13 Prefactor 12.693 11.147 .28099E-03 -1.5637 14 norm 8.7925 2.0601 .33775E-03 -1.5649 15 norm 1.0851 .64576 .11520E-02 -1.5687 16 Prefactor .19021E-05 54.696 .12000E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 2.7446 4.0889 .61661E-03 -1.5675 18 norm 2.4684 .63932 .65028E-03 -1.5677 19 norm .0000 1.0959 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .76518 .71526 .55551E-03 -1.5690 21 Prefactor .31086E-08 14.602 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .0000 1.5508 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 41.310 17.882 .15471E-03 -1.5579 24 Prefactor .16653E-09 3.3330 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .31830 1.1101 .47270E-02 -1.5697 26 norm .0000 2.0122 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 norm 2.9301 2.5331 .59347E-03 -1.5674 28 Prefactor 2.3304 2.2959 .67228E-03 -1.5677 29 Prefactor .15543E-08 2.7085 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 Prefactor .16653E-09 34.212 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 31 Prefactor 32.373 15.160 .17567E-03 -1.5594 32 norm 10.650 3.8040 .30682E-03 -1.5643 33 Normalizat .95575 .10380 .65894E-01 -.94528 34 Prefactor 1.0378 .97557E-01 .63148E-01 -.91480 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.25801e-06 Minuit parameter uncertainties: 1 1.95874 2 0.001077 3 9.37721 4 0.319084 5 4.38799e-06 6 2.94281 7 5.18433 8 0.00120307 9 0.91047 10 8.16485 11 0.000104989 12 9.74331 13 11.1468 14 2.06006 15 0.645765 16 0.0203998 17 4.08886 18 0.639323 19 1.02636e-07 20 0.715259 21 0.000424873 22 3.35807e-06 23 17.8817 24 4.64606e-05 25 1.1101 26 6.68286e-06 27 2.53307 28 2.29588 29 0.000130591 30 0.000153712 31 15.16 32 3.80399 33 0.103825 34 0.0975741 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22027.7189576 Extracting fit parameters... 4FGL J1047.2+6740 Spectrum: PowerLaw 399 Prefactor: 1.902e-06 2.040e-02 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.038e+00 9.757e-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.557e-01 1.038e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 161.820 67.674 Photon Flux Upper Limit: 2.1127446119e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0015701679732 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18238393/likelihoodResults_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.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) = 22027.7276924 delta logL = -0.0087347660301 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 22027.7189577 delta logL = -5.91680873185e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16170E-05 1.0000 .0000 .10000E+07 2 'Index ' 3.0227 1.0000 .0000 10.000 3 'Normalizat' .95575 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0378 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= 22027.72 FROM MIGRAD STATUS=CONVERGED 66 CALLS 249 TOTAL EDM= .12E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 15.962 .42118E-03** at limit ** 2 Index .50454 .47885 -.24725E-04 .0000 3 Normalizat .95575 1.2882 -.30528E-05 .11853E-04 4 Prefactor 1.0378 1.2068 .17469E-05 -.19570E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.504541 Normalizat = 0.955746 Prefactor = 1.03781 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 22027.72 FROM HESSE STATUS=FAILED 9 CALLS 258 TOTAL EDM= .12E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 15.962 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .80901E-02 .60535 -.24725E-04 -1.1177 3 Normalizat .95575 1.2882 -.30528E-05 -.94528 4 Prefactor 1.0378 1.2068 .17469E-05 -.91480 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.19991e-12 Minuit parameter uncertainties: 1 2.10731e-05 2 0.482751 3 1.33394 4 1.24075 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) = 22027.7189576 delta logL = 1.73677108251e-08 Extracting fit parameters... 4FGL J1047.2+6740 Spectrum: PowerLaw 399 Prefactor: 0.000e+00 2.107e-05 0.000e+00 1.000e+06 ( 1.000e-15) 400 Index: 5.045e-01 4.828e-01 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.038e+00 1.241e+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.557e-01 1.334e+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/18238393/cmap_HighResolution_707097601_707702401_4FGL_J1047.2+6740_weekly_bin774.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-03', job_status='DONE', photon_flux_upper_limit='2.11e-08', time_completed='2023-06-06 02:13:36.654775', job_id='18238393', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1686042816.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.74e-08', ts2='0.00', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='774' AND source_name='4FGL J1047.2+6740' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 6 02:13:37 PDT 2023