/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 = 17462 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1047.7+7238_weekly_bin796 RA = 161.939, Dec = 72.642 tmin = 720403201, tmax = 721008001 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='33182115', job_status='RUN', time_executed='2023-11-07 00:36:01.106158', time_epoch_executed='1699346161.11' WHERE source_name='4FGL J1047.7+7238' and cadence='weekly' and bin_id='796' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/33182115 Creating custom pfile directory: /lscratch/kocevski/33182115/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=720403201.0 && nMetStart<721008001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=720403201.0 && nMetStart<721008001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/33182115/ft1_4FGL_J1047.7+7238_weekly_bin796.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=720403201.0 && nMetStart<721008001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/33182115/ft1_4FGL_J1047.7+7238_weekly_bin796.fits outfile=/lscratch/kocevski/33182115/ft1_filteredMKT_4FGL_J1047.7+7238_weekly_bin796.fits ra=161.939 dec=72.642 rad=12.0 tmin=720403201.0 tmax=721008001.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.43 user 4.12 sys 0.24 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.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/33182115/ft1_filteredMKT_4FGL_J1047.7+7238_weekly_bin796.fits evtable="EVENTS" outfile="/lscratch/kocevski/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.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.46 user 0.23 sys 0.13 Number of photons that the gtmktime cut: 1965 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33182115/ltcube_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.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/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits .....................! real 18.90 user 18.43 sys 0.26 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.fits evtable="EVENTS" scfile=/lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33182115/ltcube_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.fits outfile=/lscratch/kocevski/33182115/expmap_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.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/33182115/ltcube_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.fits .....................! real 65.65 user 61.55 sys 3.65 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 219 point sources and 0 extended sources Setting source of interest to: 4FGL J1047.7+7238 @ 161.939 72.642 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.fits scfile=/lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits outfile=/lscratch/kocevski/33182115/cmap_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.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.939 yref=72.642 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.45 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.fits scfile=/lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits outfile=/lscratch/kocevski/33182115/cmap_HighResolution_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.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.939 yref=72.642 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.41 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.fits evtable="EVENTS" scfile=/lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33182115/Model_4FGL_J1047.7+7238_weekly_bin796.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/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.fits.....................! real 81.52 user 78.99 sys 1.89 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.fits', '/lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits', expMap='/lscratch/kocevski/33182115/expmap_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.fits', expCube='/lscratch/kocevski/33182115/ltcube_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33182115/Model_4FGL_J1047.7+7238_weekly_bin796.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1047.7+7238' 4FGL J1047.7+7238 Spectrum: PowerLaw 374 Prefactor: 1.026e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 375 Index: 2.234e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 376 Scale: 2.160e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/33182115/ft1_filtered_4FGL_J1047.7+7238_weekly_bin796.fits Spacecraft file(s): /lscratch/kocevski/33182115/ft2_4FGL_J1047.7+7238_weekly_bin796.fits Exposure map: /lscratch/kocevski/33182115/expmap_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.fits Exposure cube: /lscratch/kocevski/33182115/ltcube_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/33182115/Model_4FGL_J1047.7+7238_weekly_bin796.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) = 20616.9274721 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20616.874942 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .16539E-01 1.0000 .0000 .10000E+07 2 'Prefactor ' .21594E-07 1.0000 .0000 .10000E+07 3 'norm ' 2.3435 1.0000 .0000 .10000E+07 4 'Prefactor ' 24.870 1.0000 .0000 .10000E+07 5 'Prefactor ' .52208E-03 1.0000 .0000 .10000E+07 6 'norm ' 9.2023 1.0000 .0000 .10000E+07 7 'norm ' .27710E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' .18758E-01 1.0000 .0000 .10000E+07 9 'Prefactor ' .48928E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .14060E-02 1.0000 .0000 .10000E+07 11 'norm ' 8.1820 1.0000 .0000 .10000E+07 12 'norm ' .11101E-05 1.0000 .0000 .10000E+07 13 'Prefactor ' .40779E-01 1.0000 .0000 .10000E+07 14 'Prefactor ' .11794E-04 1.0000 .0000 .10000E+07 15 'norm ' 2.6461 1.0000 .0000 .10000E+07 16 'norm ' 1.5078 1.0000 .0000 .10000E+07 17 'Prefactor ' 6.9849 1.0000 .0000 .10000E+07 18 'Prefactor ' .21540E-04 1.0000 .0000 .10000E+07 19 'Prefactor ' .17009E-06 1.0000 .0000 .10000E+07 20 'Prefactor ' 4.5295 1.0000 .0000 .10000E+07 21 'Prefactor ' 5.0443 1.0000 .0000 .10000E+07 22 'Prefactor ' .26514E-03 1.0000 .0000 .10000E+07 23 'norm ' 5.4360 1.0000 .0000 .10000E+07 24 'norm ' 2.9788 1.0000 .0000 .10000E+07 25 'Prefactor ' .42592E-03 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0402 1.0000 .10000E-01 10.000 27 'Prefactor ' .89245 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 20616.87 FROM MIGRAD STATUS=CONVERGED 126 CALLS 1845 TOTAL EDM= .60E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .39413E-08 .81303 .16356E-07** at limit ** 2 Prefactor .67724E-08 2.7052 .25649E-06** at limit ** 3 norm 2.3372 1.2603 -.63547E-07 -.14546E-03 4 Prefactor 25.012 1.1804 .87238E-08 .17954E-02 5 Prefactor .16098E-07 3.6156 -.15862E-06** at limit ** 6 norm 9.2019 .79232 .19201E-07 -.98036E-04 7 norm .30048E-06 4.1727 .55968E-07** at limit ** 8 Prefactor .25870E-05 .84230 .67235E-07** at limit ** 9 Prefactor .67168E-08 2.6978 -.66018E-07** at limit ** 10 Prefactor .69944E-07 3.9021 -.12213E-06** at limit ** 11 norm 8.1812 2.3072 .88420E-07 .15210E-02 12 norm .55511E-09 2.0161 .65667E-07** at limit ** 13 Prefactor .76656E-05 90.837 -.15802E-05** at limit ** 14 Prefactor .55511E-10 1.5701 .26331E-07** at limit ** 15 norm 2.6462 .50380 -.12089E-07 .20664E-02 16 norm 1.5076 1.0524 .46617E-07 .40585E-03 17 Prefactor 6.9342 4.8760 -.18854E-06 -.13053E-02 18 Prefactor .57232E-07 2.8500 .15181E-06** at limit ** 19 Prefactor .0000 .49932 .80183E-07** at limit ** 20 Prefactor 4.5399 5.2522 -.12394E-06 -.50071E-03 21 Prefactor 5.0158 5.9693 -.22727E-06 .20405E-01 22 Prefactor .45297E-07 2.0472 .18262E-07** at limit ** 23 norm 5.4338 2.7832 .46684E-07 .44490E-03 24 norm 2.9789 1.6046 -.76525E-07 -.17079E-02 25 Prefactor .13656E-07 3.3622 -.69631E-07** at limit ** 26 Normalizat 1.0402 .11257 -.34113E-05 -.76468E-05 27 Prefactor .89254 .99282E-01 .37790E-05 .16039E-04 ERR DEF= .500 Final values: Prefactor = 3.94129e-09 Prefactor = 6.77236e-09 norm = 2.33724 Prefactor = 25.012 Prefactor = 1.60982e-08 norm = 9.2019 norm = 3.00482e-07 Prefactor = 2.58699e-06 Prefactor = 6.71685e-09 Prefactor = 6.99441e-08 norm = 8.18115 norm = 5.55112e-10 Prefactor = 7.66559e-06 Prefactor = 5.55112e-11 norm = 2.64623 norm = 1.50757 Prefactor = 6.93417 Prefactor = 5.7232e-08 Prefactor = 0 Prefactor = 4.53986 Prefactor = 5.01582 Prefactor = 4.52971e-08 norm = 5.43384 norm = 2.97894 Prefactor = 1.36557e-08 Normalizat = 1.0402 Prefactor = 0.892545 ********** ** 18 **HESSE ********** FCN= 20616.87 FROM HESSE STATUS=OK 552 CALLS 2397 TOTAL EDM= .27E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .39413E-08 7.3687 .17276E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .67724E-08 2.6432 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 2.3372 1.4399 .66944E-03 -1.5677 4 Prefactor 25.012 15.644 .20057E-03 -1.5608 5 Prefactor .16098E-07 5.0690 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 9.2019 .79463 .33014E-03 -1.5647 7 norm .30048E-06 6.8546 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .25870E-05 1.8043 .11993E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .67168E-08 2.7558 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .69944E-07 7.7630 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 8.1812 2.3086 .35026E-03 -1.5651 12 norm .55511E-09 2.0012 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .76656E-05 188.56 .15929E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .55511E-10 1.5652 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 2.6462 .51030 .62647E-03 -1.5675 16 norm 1.5076 1.0575 .87099E-03 -1.5683 17 Prefactor 6.9342 4.9086 .37935E-03 -1.5655 18 Prefactor .57232E-07 3.7912 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .0000 .50165 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 4.5399 5.2952 .47280E-03 -1.5665 21 Prefactor 5.0158 19.027 .44747E-03 -1.5663 22 Prefactor .45297E-07 4.2423 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 5.4338 2.7849 .43075E-03 -1.5661 24 norm 2.9789 1.6098 .58799E-03 -1.5673 25 Prefactor .13656E-07 7.5610 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat 1.0402 .99357E-01 .59511E-01 -.91695 27 Prefactor .89254 .86891E-01 .44909E-01 -.96402 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.68684e-07 Minuit parameter uncertainties: 1 0.00034099 2 0.000267767 3 1.43988 4 15.6444 5 0.000570947 6 0.794633 7 0.00287026 8 0.00432095 9 0.000271554 10 0.00147365 11 2.3086 12 6.52154e-05 13 0.0760405 14 1.99728e-05 15 0.510304 16 1.05747 17 4.90861 18 0.000931585 19 1.7454e-06 20 5.29525 21 19.027 22 0.000876643 23 2.78489 24 1.6098 25 0.000642129 26 0.0993748 27 0.0869048 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20616.8743032 Extracting fit parameters... 4FGL J1047.7+7238 Spectrum: PowerLaw 374 Prefactor: 5.551e-11 1.997e-05 0.000e+00 1.000e+06 ( 1.000e-13) 375 Index: 2.234e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 376 Scale: 2.160e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 8.925e-01 8.690e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.040e+00 9.937e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 161.939 72.642 Photon Flux Upper Limit: 3.8525708541e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00294265374263 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/33182115/likelihoodResults_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.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) = 20615.8812965 delta logL = 0.993006667628 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 20615.7808607 delta logL = 1.09344247829 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .39183E-03 1.0000 .0000 .10000E+07 2 'Index ' 5.7770 1.0000 .0000 10.000 3 'Normalizat' .99884 1.0000 .10000E-01 10.000 4 'Prefactor ' .91340 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 20616.87 FROM MIGRAD STATUS=CONVERGED 107 CALLS 454 TOTAL EDM= .12E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 198.68 .42118E-03** at limit ** 2 Index 1.6873 7.5120 .51000 .71333E-10 3 Normalizat 1.0402 .49850E-01 .46152E-01 -.72760E-03 4 Prefactor .89254 .44970E-01 .45176E-01 -.10564E-02 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 1.68728 Normalizat = 1.0402 Prefactor = 0.892543 ********** ** 18 **HESSE ********** FCN= 20616.87 FROM HESSE STATUS=OK 27 CALLS 481 TOTAL EDM= .48E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 1.2063 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.6873 7.4860 .51000 -580.47 3 Normalizat 1.0402 .10879 .26304E-03 17.933 4 Prefactor .89254 .98115E-01 .25279E-03 256.65 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.81229e-10 Minuit parameter uncertainties: 1 1.82517e-05 2 3.97917 3 0.10881 4 0.098134 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) = 20616.8743032 delta logL = -2.14640749618e-10 Extracting fit parameters... 4FGL J1047.7+7238 Spectrum: PowerLaw 374 Prefactor: 5.551e-11 1.825e-05 0.000e+00 1.000e+06 ( 1.000e-13) 375 Index: 1.687e+00 3.979e+00 0.000e+00 1.000e+01 (-1.000e+00) 376 Scale: 2.160e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 8.925e-01 9.813e-02 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.040e+00 1.088e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 161.939 72.642 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/33182115/cmap_HighResolution_720403201_721008001_4FGL_J1047.7+7238_weekly_bin796.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-03', job_status='DONE', photon_flux_upper_limit='3.85e-08', time_completed='2023-11-07 00:49:19.326220', job_id='33182115', GAL2='0.89', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1699346959.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-2.15e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='796' AND source_name='4FGL J1047.7+7238' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Nov 7 00:49:19 PST 2023