aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189) while getting realm /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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) Waiting 5 seconds before starting... Proceeding. 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 make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 17177 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0537.5+0959_weekly_bin533 RA = 84.3775, Dec = 9.986 tmin = 561340801, tmax = 561945601 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='215347', job_status='RUN', time_executed='2021-07-08 22:42:35.629290', time_epoch_executed='1625809355.63' WHERE source_name='4FGL J0537.5+0959' and cadence='weekly' and bin_id='533' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/215347 Creating custom pfile directory: /scratch/kocevski/215347/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=561340801.0 && nMetStart<561945601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=561340801.0 && nMetStart<561945601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/215347/ft1_4FGL_J0537.5+0959_weekly_bin533.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=561340801.0 && nMetStart<561945601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/215347/ft1_4FGL_J0537.5+0959_weekly_bin533.fits outfile=/scratch/kocevski/215347/ft1_filteredMKT_4FGL_J0537.5+0959_weekly_bin533.fits ra=84.3775 dec=9.986 rad=12.0 tmin=561340801.0 tmax=561945601.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 6.97 user 6.61 sys 0.30 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/215347/ft1_filteredMKT_4FGL_J0537.5+0959_weekly_bin533.fits evtable="EVENTS" outfile="/scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.52 user 0.33 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.fits" evtable="EVENTS" scfile=/scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits sctable="SC_DATA" outfile=/scratch/kocevski/215347/ltcube_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.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 /scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits .....................! real 25.73 user 25.16 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.fits evtable="EVENTS" scfile=/scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits sctable="SC_DATA" expcube=/scratch/kocevski/215347/ltcube_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.fits outfile=/scratch/kocevski/215347/expmap_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.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 /scratch/kocevski/215347/ltcube_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.fits .....................! real 159.22 user 154.22 sys 4.22 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 IC 443 in ROI with RadialGaussian spatial model. Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template. Extended source Monoceros in ROI with RadialGaussian spatial model. Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Added 164 point sources and 4 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 J0537.5+0959 @ 84.3775 9.986 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.fits scfile=/scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits outfile=/scratch/kocevski/215347/cmap_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.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=84.3775 yref=9.986 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.68 user 0.42 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.fits scfile=/scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits outfile=/scratch/kocevski/215347/cmap_HighResolution_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.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=84.3775 yref=9.986 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.42 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.fits evtable="EVENTS" scfile=/scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215347/Model_4FGL_J0537.5+0959_weekly_bin533.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 adding source IC 443 adding source Monoceros adding source Rosette adding source S 147 Working on... /scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.fits.....................! real 725.52 user 721.62 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.fits', '/scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits', expMap='/scratch/kocevski/215347/expmap_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.fits', expCube='/scratch/kocevski/215347/ltcube_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/215347/Model_4FGL_J0537.5+0959_weekly_bin533.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0537.5+0959' 4FGL J0537.5+0959 Spectrum: PowerLaw 261 Prefactor: 4.070e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 262 Index: 2.641e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 263 Scale: 1.004e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/215347/ft1_filtered_4FGL_J0537.5+0959_weekly_bin533.fits Spacecraft file(s): /scratch/kocevski/215347/ft2_4FGL_J0537.5+0959_weekly_bin533.fits Exposure map: /scratch/kocevski/215347/expmap_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.fits Exposure cube: /scratch/kocevski/215347/ltcube_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/215347/Model_4FGL_J0537.5+0959_weekly_bin533.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) = 34171.1993933 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 34171.1680815 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10505E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10020E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10078E-03 1.0000 .10000E-03 10000. 5 'norm ' .39901 1.0000 .10000E-03 10000. 6 'norm ' 5.0103 1.0000 .10000E-03 10000. 7 'Prefactor ' 1.0769 1.0000 .10000E-03 10000. 8 'norm ' .10145E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 4.9392 1.0000 .10000E-03 10000. 10 'Prefactor ' 35.712 1.0000 .10000E-03 10000. 11 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 12 'norm ' 24.178 1.0000 .10000E-03 10000. 13 'Prefactor ' .40422 1.0000 .10000E-03 10000. 14 'norm ' 3.0232 1.0000 .10000E-03 10000. 15 'norm ' 1.4320 1.0000 .10000E-03 10000. 16 'Prefactor ' .10146E-03 1.0000 .10000E-03 10000. 17 'Prefactor ' 41.615 1.0000 .10000E-03 10000. 18 'Prefactor ' 14.193 1.0000 .10000E-03 10000. 19 'Prefactor ' 10.235 1.0000 .10000E-03 10000. 20 'norm ' 5.3052 1.0000 .10000E-03 10000. 21 'norm ' 1.6122 1.0000 .10000E-03 10000. 22 'Normalizat' 1.9419 1.0000 .10000E-01 10.000 23 'Prefactor ' .97902 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5800E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 34171.17 FROM MIGRAD STATUS=CONVERGED 551 CALLS 2688 TOTAL EDM= .67E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .10000E-03 .47219 -.24148E-07** at limit ** 2 Prefactor .10000E-03 37.398 -.19372E-05** at limit ** 3 Prefactor .10000E-03 33.718 .10923E-05** at limit ** 4 Prefactor .10000E-03 12.411 -.50622E-07** at limit ** 5 norm .39912 .41849 -.17325E-06 -.12738E-02 6 norm 5.0091 2.4975 -.25659E-07 -.48905E-04 7 Prefactor 1.0769 2.1075 -.10947E-06 -.19794E-04 8 norm .10000E-03 2.5557 .83016E-08** at limit ** 9 Prefactor 4.9385 3.8908 .29566E-06 -.21387E-04 10 Prefactor 35.552 61.178 -.15974E-04 -.44927E-05 11 Prefactor .10000E-03 4.7054 -.28966E-07** at limit ** 12 norm 24.179 9.2107 .13933E-06 -.16046E-04 13 Prefactor .40485 .36859 -.15800E-06 -.17086E-02 14 norm 3.0225 5.1560 .15419E-05 -.89520E-04 15 norm 1.4320 .91271 .77336E-06 .18446E-02 16 Prefactor .10001E-03 15.746 .21072E-05** at limit ** 17 Prefactor 41.623 28.825 -.20290E-04 -.97350E-04 18 Prefactor 14.189 44.995 .20232E-04 .26766E-05 19 Prefactor 10.234 7.3846 -.89934E-06 -.75923E-04 20 norm 5.3041 9.6052 .78673E-06 .37529E-05 21 norm 1.6129 2.6531 -.27397E-06 -.13113E-03 22 Normalizat 1.9418 .23548 .49687E-05 -.11190E-03 23 Prefactor .97902 .37465E-01 -.21005E-06 .39801E-03 ERR DEF= .500 Final values: norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.399121 norm = 5.00912 Prefactor = 1.07695 norm = 0.0001 Prefactor = 4.93851 Prefactor = 35.552 Prefactor = 0.0001 norm = 24.1787 Prefactor = 0.404848 norm = 3.02252 norm = 1.43199 Prefactor = 0.000100013 Prefactor = 41.6225 Prefactor = 14.1892 Prefactor = 10.2344 norm = 5.30408 norm = 1.61292 Normalizat = 1.94182 Prefactor = 0.979021 ********** ** 18 **HESSE ********** FCN= 34171.17 FROM HESSE STATUS=OK 376 CALLS 3064 TOTAL EDM= .41E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .10000E-03 .47591 .12401E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 38.237 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 34.161 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 12.811 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .39912 .38689 .10178E-03 -1.5582 6 norm 5.0091 2.4346 .89827E-03 -1.5260 7 Prefactor 1.0769 2.0688 .35612E-03 -1.5500 8 norm .10000E-03 2.5990 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 4.9385 3.8886 .90484E-03 -1.5263 10 Prefactor 35.552 61.070 .67062E-04 -1.4515 11 Prefactor .10000E-03 4.7219 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 24.179 9.2065 .81465E-04 -1.4724 13 Prefactor .40485 3.0927 .21747E-02 -1.5581 14 norm 3.0225 5.1580 .11670E-02 -1.5360 15 norm 1.4320 .90081 .13109E-03 -1.5469 16 Prefactor .10001E-03 15.911 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 41.623 28.825 .62140E-04 -1.4417 18 Prefactor 14.189 44.810 .10632E-03 -1.4954 19 Prefactor 10.234 7.3297 .12524E-03 -1.5068 20 norm 5.3041 9.4938 .17449E-03 -1.5247 21 norm 1.6129 2.6037 .33356E-03 -1.5454 22 Normalizat 1.9418 .24609 .66599E-03 -.66017 23 Prefactor .97902 .40445E-01 .15325E-03 -.93432 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.12203e-09 Minuit parameter uncertainties: 1 1.56131e-06 2 0.000151656 3 9.59149e-05 4 4.89705e-05 5 0.386889 6 2.43465 7 2.06898 8 2.72374e-06 9 3.88877 10 61.178 11 7.02693e-06 12 9.20708 13 2.23782 14 5.15878 15 0.90082 16 0.000903204 17 28.8346 18 44.9167 19 7.33031 20 9.49649 21 2.60392 22 0.246249 23 0.0404467 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 34171.1680769 Extracting fit parameters... 4FGL J0537.5+0959 Spectrum: PowerLaw 261 Prefactor: 4.162e+01 2.883e+01 1.000e-04 1.000e+04 ( 1.000e-13) 262 Index: 2.641e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 263 Scale: 1.004e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 561 Prefactor: 9.790e-01 4.045e-02 0.000e+00 1.000e+01 ( 1.000e+00) 562 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 563 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 560 Normalization: 1.942e+00 2.462e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.81 Ra Dec: 84.377 9.986 Photon Index (Fixed Index): 2.64 +/- 0.00 Photon Flux (Fixed Index): 1.12e-07 +/- 7.78e-08 Energy Flux (Fixed Index): 2.84e-05 +/- 1.97e-05 TS (Fixed Index): 2.81 Ra Dec: 84.377 9.986 Photon Flux Upper Limit: 2.47e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.94e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/215347/likelihoodResults_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.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) = 34169.7947916 delta logL = 1.37328525829 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 34169.7706954 delta logL = 1.39738147636 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.7025 1.0000 .10000E-03 10000. 2 'Index ' 3.9318 1.0000 .0000 10.000 3 'Normalizat' 1.8467 1.0000 .10000E-01 10.000 4 'Prefactor ' .98810 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5800E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 34169.77 FROM MIGRAD STATUS=FAILED 94 CALLS 315 TOTAL EDM= .53E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.7036 76.256 .14449E-03 .16101E-02 2 Index 3.9319 3.0341 .68045E-02 .76162E-03 3 Normalizat 1.8468 .21793 .67816E-03 .10756E-03 4 Prefactor .98810 .37461E-01 .15258E-03 .27181E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 34169.77 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 397 TOTAL EDM= .13E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.7036 76.256 .19521E-03 .16101E-02 2 Index 3.9319 3.0341 .55795E-03 .76162E-03 3 Normalizat 1.8468 .21793 .22234E-03 .10756E-03 4 Prefactor .98810 .37461E-01 .42951E-04 .27181E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 34169.77 FROM MIGRAD STATUS=CONVERGED 29 CALLS 426 TOTAL EDM= .53E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.7042 15.937 .57796E-05 .18475E-02 2 Index 3.9319 1.0654 .27218E-03 .47717E-03 3 Normalizat 1.8468 .23666 .27127E-04 .12808E-03 4 Prefactor .98810 .39797E-01 .61031E-05 .38745E-03 ERR DEF= .500 Final values: Prefactor = 7.70423 Index = 3.9319 Normalizat = 1.8468 Prefactor = 0.988097 ********** ** 18 **HESSE ********** FCN= 34169.77 FROM HESSE STATUS=OK 23 CALLS 449 TOTAL EDM= .53E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.7042 14.922 .11559E-05 -1.5153 2 Index 3.9319 .99832 .10887E-04 -.21528 3 Normalizat 1.8468 .23657 .54253E-05 -.68448 4 Prefactor .98810 .39776E-01 .12206E-05 -.93127 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.28726e-10 Minuit parameter uncertainties: 1 14.9293 2 1.0054 3 0.236716 4 0.0397769 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/215347': No such file or directory 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) = 34169.7706948 delta logL = 1.39738209119 Extracting fit parameters... 4FGL J0537.5+0959 Spectrum: PowerLaw 261 Prefactor: 7.704e+00 1.493e+01 1.000e-04 1.000e+04 ( 1.000e-13) 262 Index: 3.932e+00 1.005e+00 0.000e+00 1.000e+01 (-1.000e+00) 263 Scale: 1.004e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 561 Prefactor: 9.881e-01 3.978e-02 0.000e+00 1.000e+01 ( 1.000e+00) 562 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 563 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 560 Normalization: 1.847e+00 2.367e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 6.19 Ra Dec: 84.377 9.986 Photon Index (Free Index): 3.93 +/- 1.01 Photon Flux (Free Index): 2.29e-07 +/- 1.10e-07 Energy Flux (Free Index): 3.47e-05 +/- 1.66e-05 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 /scratch/kocevski/215347/cmap_HighResolution_561340801_561945601_4FGL_J0537.5+0959_weekly_bin533.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/215347 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-02', comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='3.47e-05', photon_flux_error='7.78e-08', dlogl='1.40e+00', energy_flux='2.84e-05', photon_flux2='2.29e-07', job_status='DONE', time_completed='2021-07-08 23:25:04.229296', photon_index_error2='1.01', photon_index2='3.93', ts='2.81', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.47e-07', energy_flux_error2='1.66e-05', EG='1.94', time_epoch_completed='1625811904.23', return_code='0', job_id='215347', GAL2='0.99', EG2='1.85', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='1.10e-07', ts2='6.19', photon_index='2.64' WHERE bin_id='533' AND source_name='4FGL J0537.5+0959' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 8 23:25:04 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 215347: <4FGL_J0537.5+0959_weekly_bin533> in cluster Done Job <4FGL_J0537.5+0959_weekly_bin533> was submitted from host by user in cluster at Thu Jul 8 22:35:27 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Jul 8 22:42:19 2021 was used as the home directory. was used as the working directory. Started at Thu Jul 8 22:42:19 2021 Terminated at Thu Jul 8 23:25:05 2021 Results reported at Thu Jul 8 23:25:05 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0537.5+0959_weekly_bin533 84.3775 9.986 561340801 561945601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0537.5+0959 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2534.00 sec. Max Memory : 1095 MB Average Memory : 404.59 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2568 sec. Turnaround time : 2978 sec. The output (if any) is above this job summary.