/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 = 17434 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0823.1+4042_weekly_bin769 RA = 125.8, Dec = 40.7077 tmin = 704073601, tmax = 704678401 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='17100392', job_status='RUN', time_executed='2023-05-05 19:20:48.950090', time_epoch_executed='1683339648.95' WHERE source_name='4FGL J0823.1+4042' and cadence='weekly' and bin_id='769' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/17100392 Creating custom pfile directory: /lscratch/kocevski/17100392/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=704073601.0 && nMetStart<704678401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=704073601.0 && nMetStart<704678401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/17100392/ft1_4FGL_J0823.1+4042_weekly_bin769.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=704073601.0 && nMetStart<704678401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/17100392/ft1_4FGL_J0823.1+4042_weekly_bin769.fits outfile=/lscratch/kocevski/17100392/ft1_filteredMKT_4FGL_J0823.1+4042_weekly_bin769.fits ra=125.8 dec=40.7077 rad=12.0 tmin=704073601.0 tmax=704678401.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.45 user 4.17 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.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/17100392/ft1_filteredMKT_4FGL_J0823.1+4042_weekly_bin769.fits evtable="EVENTS" outfile="/lscratch/kocevski/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.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.38 user 0.23 sys 0.13 Number of photons that the gtmktime cut: 2388 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17100392/ltcube_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.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/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits .....................! real 20.73 user 20.29 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.fits evtable="EVENTS" scfile=/lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17100392/ltcube_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.fits outfile=/lscratch/kocevski/17100392/expmap_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.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/17100392/ltcube_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.fits .....................! real 64.67 user 60.61 sys 3.63 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 198 point sources and 0 extended sources Setting source of interest to: 4FGL J0823.1+4042 @ 125.8 40.7077 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.fits scfile=/lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits outfile=/lscratch/kocevski/17100392/cmap_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.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=125.8 yref=40.7077 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.39 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.fits scfile=/lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits outfile=/lscratch/kocevski/17100392/cmap_HighResolution_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.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=125.8 yref=40.7077 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.39 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.fits evtable="EVENTS" scfile=/lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17100392/Model_4FGL_J0823.1+4042_weekly_bin769.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/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.fits.....................! real 72.81 user 71.57 sys 0.73 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.fits', '/lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits', expMap='/lscratch/kocevski/17100392/expmap_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.fits', expCube='/lscratch/kocevski/17100392/ltcube_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17100392/Model_4FGL_J0823.1+4042_weekly_bin769.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0823.1+4042' 4FGL J0823.1+4042 Spectrum: PowerLaw 302 Prefactor: 2.674e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 303 Index: 2.456e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 304 Scale: 1.174e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/17100392/ft1_filtered_4FGL_J0823.1+4042_weekly_bin769.fits Spacecraft file(s): /lscratch/kocevski/17100392/ft2_4FGL_J0823.1+4042_weekly_bin769.fits Exposure map: /lscratch/kocevski/17100392/expmap_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.fits Exposure cube: /lscratch/kocevski/17100392/ltcube_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/17100392/Model_4FGL_J0823.1+4042_weekly_bin769.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) = 25473.3615548 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25471.4936899 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 9.8912 1.0000 .0000 .10000E+07 2 'Prefactor ' .92887E-06 1.0000 .0000 .10000E+07 3 'Prefactor ' .15395E-05 1.0000 .0000 .10000E+07 4 'norm ' 3.1298 1.0000 .0000 .10000E+07 5 'norm ' 2.0598 1.0000 .0000 .10000E+07 6 'Prefactor ' 1.0332 1.0000 .0000 .10000E+07 7 'Prefactor ' 13.108 1.0000 .0000 .10000E+07 8 'Prefactor ' 6.8744 1.0000 .0000 .10000E+07 9 'norm ' 1.0478 1.0000 .0000 .10000E+07 10 'norm ' 1.1277 1.0000 .0000 .10000E+07 11 'Prefactor ' .32589E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .86320E-07 1.0000 .0000 .10000E+07 13 'Prefactor ' .25296E-01 1.0000 .0000 .10000E+07 14 'Prefactor ' 24.217 1.0000 .0000 .10000E+07 15 'Prefactor ' 4.5092 1.0000 .0000 .10000E+07 16 'norm ' 2.2550 1.0000 .0000 .10000E+07 17 'norm ' .46373 1.0000 .0000 .10000E+07 18 'Prefactor ' .83519E-04 1.0000 .0000 .10000E+07 19 'Prefactor ' 21.637 1.0000 .0000 .10000E+07 20 'Prefactor ' .16125E-03 1.0000 .0000 .10000E+07 21 'norm ' .56393 1.0000 .0000 .10000E+07 22 'Prefactor ' .42339E-01 1.0000 .0000 .10000E+07 23 'norm ' .44591E-04 1.0000 .0000 .10000E+07 24 'Prefactor ' 2.0713 1.0000 .0000 .10000E+07 25 'Normalizat' 1.1524 1.0000 .10000E-01 10.000 26 'Prefactor ' .85325 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6330E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 25471.49 FROM MIGRAD STATUS=CONVERGED 134 CALLS 1332 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 9.9562 5.1983 .46507E-07 .26129E-01 2 Prefactor .22204E-09 1.7697 -.12431E-07** at limit ** 3 Prefactor .34417E-08 2.1978 .40819E-07** at limit ** 4 norm 3.1440 3.8241 .13833E-07 -.31475E-03 5 norm 2.0597 1.0408 .22923E-07 .10691E-01 6 Prefactor 1.0157 2.2797 .28203E-07 .10360E-02 7 Prefactor 13.181 10.580 -.79877E-07 -.85057E-01 8 Prefactor 6.8733 2.5083 .23473E-09 -.30785E-02 9 norm 1.0478 .70147 .26360E-08 .81680E-03 10 norm 1.1279 .28689 -.51383E-08 -.25704E-01 11 Prefactor .10641E-06 1.5736 -.66143E-07** at limit ** 12 Prefactor .33307E-09 1.4029 .15103E-07** at limit ** 13 Prefactor .28105E-01 3.4281 .22978E-07** at limit ** 14 Prefactor 24.095 4.7607 .36383E-07 -.48104E-01 15 Prefactor 4.4904 4.5403 .19103E-08 -.54768E-02 16 norm 2.2568 2.4056 .18516E-07 .70313E-04 17 norm .45704 1.7596 .66345E-08 .94865E-04 18 Prefactor .36082E-08 4.3003 .56284E-07** at limit ** 19 Prefactor 21.644 3.0820 -.47096E-08 -.10902E-01 20 Prefactor .91038E-08 1.3525 -.11805E-07** at limit ** 21 norm .56855 .24983 -.58888E-08 -.30810E-01 22 Prefactor .39423E-05 52.805 .54400E-06** at limit ** 23 norm .76328E-07 1.4241 .12999E-07** at limit ** 24 Prefactor 2.0717 1.2236 .17753E-07 .37948E-02 25 Normalizat 1.1528 .10913 -.14047E-05 -.85850E-03 26 Prefactor .85303 .85868E-01 .62050E-06 -.55190E-03 ERR DEF= .500 Final values: Prefactor = 9.95625 Prefactor = 2.22045e-10 Prefactor = 3.44169e-09 norm = 3.14398 norm = 2.05965 Prefactor = 1.0157 Prefactor = 13.1811 Prefactor = 6.87328 norm = 1.04783 norm = 1.1279 Prefactor = 1.06415e-07 Prefactor = 3.33067e-10 Prefactor = 0.0281049 Prefactor = 24.0951 Prefactor = 4.49042 norm = 2.25677 norm = 0.457041 Prefactor = 3.60822e-09 Prefactor = 21.6444 Prefactor = 9.10383e-09 norm = 0.568547 Prefactor = 3.94235e-06 norm = 7.63278e-08 Prefactor = 2.07166 Normalizat = 1.15276 Prefactor = 0.85303 ********** ** 18 **HESSE ********** FCN= 25471.49 FROM HESSE STATUS=OK 526 CALLS 1858 TOTAL EDM= .96E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 9.9562 5.2243 .31837E-03 -1.5645 2 Prefactor .22204E-09 1.7730 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .34417E-08 2.2230 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 3.1440 3.8332 .57281E-03 -1.5673 5 norm 2.0597 1.0407 .71977E-04 -1.5679 6 Prefactor 1.0157 2.4013 .12436E-02 -1.5688 7 Prefactor 13.181 19.263 .27641E-03 -1.5635 8 Prefactor 6.8733 2.5190 .38242E-03 -1.5656 9 norm 1.0478 .70035 .12124E-02 -1.5687 10 norm 1.1279 .28867 .93348E-03 -1.5687 11 Prefactor .10641E-06 3.6796 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .33307E-09 1.4027 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .28105E-01 .37362 .32476E-02 -1.5705 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 24.095 12.975 .20325E-03 -1.5610 15 Prefactor 4.4904 4.6725 .47388E-03 -1.5666 16 norm 2.2568 2.4188 .68389E-03 -1.5678 17 norm .45704 1.7779 .82446E-03 -1.5694 18 Prefactor .36082E-08 4.5474 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 21.644 3.1046 .21504E-03 -1.5615 20 Prefactor .91038E-08 3.6059 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .56855 .28031 .72523E-03 -1.5693 22 Prefactor .39423E-05 .42154 .87804E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .76328E-07 3.7058 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 2.0717 1.2342 .71748E-03 -1.5679 25 Normalizat 1.1528 .95335E-01 .58540E-01 -.88075 26 Prefactor .85303 .74173E-01 .44406E-01 -.97802 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.61002e-06 Minuit parameter uncertainties: 1 5.22431 2 3.75988e-05 3 0.000175408 4 3.8332 5 1.04068 6 2.40133 7 19.2634 8 2.51901 9 0.700347 10 0.288669 11 0.00125138 12 4.20863e-05 13 0.204945 14 12.975 15 4.67253 16 2.41881 17 1.77794 18 0.000256359 19 3.10457 20 0.000362858 21 0.280309 22 0.00257826 23 0.00106368 24 1.23418 25 0.0953497 26 0.0741819 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 25471.4931245 Extracting fit parameters... 4FGL J0823.1+4042 Spectrum: PowerLaw 302 Prefactor: 3.331e-10 4.209e-05 0.000e+00 1.000e+06 ( 1.000e-13) 303 Index: 2.456e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 304 Scale: 1.174e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 630 Prefactor: 8.530e-01 7.418e-02 0.000e+00 1.000e+01 ( 1.000e+00) 631 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 632 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 629 Normalization: 1.153e+00 9.535e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 125.800 40.708 Photon Flux Upper Limit: 2.04292306838e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00158445944657 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/17100392/likelihoodResults_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.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) = 25471.4946687 delta logL = -0.00154419475803 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 25471.4931246 delta logL = -1.22745404951e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .35366E-06 1.0000 .0000 .10000E+07 2 'Index ' 1.6499 1.0000 .0000 10.000 3 'Normalizat' 1.1528 1.0000 .10000E-01 10.000 4 'Prefactor ' .85302 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6330E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25471.49 FROM MIGRAD STATUS=CONVERGED 38 CALLS 238 TOTAL EDM= .20E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .98472 .42118E-03** at limit ** 2 Index 2.8949 1.2663 .27259E-04 .0000 3 Normalizat 1.1528 1.1251 .48212E-05 -.32442E-04 4 Prefactor .85303 1.2000 -.69872E-05 -.34281E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.89485 Normalizat = 1.15276 Prefactor = 0.85303 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 25471.49 FROM HESSE STATUS=FAILED 9 CALLS 247 TOTAL EDM= .20E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .98472 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .94875 2.0298 .27259E-04 -.43458 3 Normalizat 1.1528 1.1251 .48212E-05 -.88075 4 Prefactor .85303 1.2000 -.69872E-05 -.97802 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.03273e-12 Minuit parameter uncertainties: 1 3.5129e-06 2 1.28332 3 1.15006 4 1.24033 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) = 25471.4931245 delta logL = 2.47382558882e-10 Extracting fit parameters... 4FGL J0823.1+4042 Spectrum: PowerLaw 302 Prefactor: 0.000e+00 3.513e-06 0.000e+00 1.000e+06 ( 1.000e-13) 303 Index: 2.895e+00 1.283e+00 0.000e+00 1.000e+01 (-1.000e+00) 304 Scale: 1.174e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 630 Prefactor: 8.530e-01 1.240e+00 0.000e+00 1.000e+01 ( 1.000e+00) 631 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 632 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 629 Normalization: 1.153e+00 1.150e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 125.800 40.708 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/17100392/cmap_HighResolution_704073601_704678401_4FGL_J0823.1+4042_weekly_bin769.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-03', job_status='DONE', photon_flux_upper_limit='2.04e-08', time_completed='2023-05-05 19:31:46.642854', job_id='17100392', GAL2='0.85', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1683340306.64', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.47e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='769' AND source_name='4FGL J0823.1+4042' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri May 5 19:31:46 PDT 2023