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 63 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 = 17191 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_weekly_bin427 RA = 75.6341, Dec = 13.6685 tmin = 497232001, tmax = 497836801 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='800860', job_status='RUN', time_executed='2021-07-07 21:14:49.549923', time_epoch_executed='1625717689.55' WHERE source_name='4FGL J0502.5+1340' and cadence='weekly' and bin_id='427' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/800860 Creating custom pfile directory: /scratch/kocevski/800860/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=497232001.0 && nMetStart<497836801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=497232001.0 && nMetStart<497836801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/800860/ft1_4FGL_J0502.5+1340_weekly_bin427.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=497232001.0 && nMetStart<497836801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/800860/ft1_4FGL_J0502.5+1340_weekly_bin427.fits outfile=/scratch/kocevski/800860/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin427.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=497232001.0 tmax=497836801.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 11.19 user 10.76 sys 0.38 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.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/800860/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin427.fits evtable="EVENTS" outfile="/scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.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.60 user 0.40 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.fits" evtable="EVENTS" scfile=/scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits sctable="SC_DATA" outfile=/scratch/kocevski/800860/ltcube_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.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/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits .....................! real 28.37 user 27.71 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/800860/ltcube_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.fits outfile=/scratch/kocevski/800860/expmap_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.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/800860/ltcube_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.fits .....................! real 194.44 user 188.75 sys 5.10 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 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. Extended source IC 443 in ROI with RadialGaussian spatial model. Added 161 point sources and 2 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.fits scfile=/scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits outfile=/scratch/kocevski/800860/cmap_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.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=75.6341 yref=13.6685 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.60 user 0.44 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.fits scfile=/scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits outfile=/scratch/kocevski/800860/cmap_HighResolution_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.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=75.6341 yref=13.6685 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.62 user 0.44 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/800860/Model_4FGL_J0502.5+1340_weekly_bin427.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 S 147 Working on... /scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.fits.....................! real 2178.91 user 2171.63 sys 1.29 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.fits', '/scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits', expMap='/scratch/kocevski/800860/expmap_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.fits', expCube='/scratch/kocevski/800860/ltcube_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/800860/Model_4FGL_J0502.5+1340_weekly_bin427.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/800860/ft1_filtered_4FGL_J0502.5+1340_weekly_bin427.fits Spacecraft file(s): /scratch/kocevski/800860/ft2_4FGL_J0502.5+1340_weekly_bin427.fits Exposure map: /scratch/kocevski/800860/expmap_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.fits Exposure cube: /scratch/kocevski/800860/ltcube_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/800860/Model_4FGL_J0502.5+1340_weekly_bin427.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) = 93831.1569724 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 93831.110834 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 9.9818 1.0000 .10000E-03 10000. 2 'Prefactor ' 11.002 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.5309 1.0000 .10000E-03 10000. 4 'norm ' .10083E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' 3.4980 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 2.1058 1.0000 .10000E-03 10000. 11 'norm ' 2.0104 1.0000 .10000E-03 10000. 12 'norm ' 2.5682 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.0649 1.0000 .10000E-03 10000. 14 'norm ' 17.343 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.0869 1.0000 .10000E-03 10000. 16 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 17 'norm ' 7.7576 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.2309 1.0000 .10000E-03 10000. 19 'norm ' .10001E-03 1.0000 .10000E-03 10000. 20 'norm ' 1.3620 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.7423 1.0000 .10000E-03 10000. 22 'norm ' 3.4721 1.0000 .10000E-03 10000. 23 'Prefactor ' 8.7228 1.0000 .10000E-03 10000. 24 'Prefactor ' 5.8948 1.0000 .10000E-03 10000. 25 'Prefactor ' .10600E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .45420E-01 1.0000 .10000E-03 10000. 28 'Normalizat' .66651 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0593 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 93831.11 FROM MIGRAD STATUS=CONVERGED 722 CALLS 3239 TOTAL EDM= .31E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 9.9824 11.180 .0000 -.49979E-03 2 Prefactor 11.001 10.411 .0000 .48371E-03 3 Prefactor 1.5378 3.5127 .0000 .35089E-02 4 norm .10000E-03 .22788 .0000 ** at limit ** 5 Prefactor .10000E-03 8.9075 .0000 ** at limit ** 6 Prefactor .10000E-03 .55544 .0000 ** at limit ** 7 norm 3.4981 .89235 .0000 .44392E-02 8 Prefactor .10000E-03 3.0998 .0000 ** at limit ** 9 Prefactor .10000E-03 3.2224 .0000 ** at limit ** 10 Prefactor 2.1059 1.9937 .0000 .35554E-01 11 norm 2.0103 .31532 .0000 .21503E-02 12 norm 2.5705 1.4936 .0000 .63328E-02 13 Prefactor 1.0652 1.0662 .0000 .12546E-01 14 norm 17.344 2.5199 .0000 -.23356E-02 15 Prefactor 1.0870 1.0594 .0000 .64511E-02 16 Prefactor .10000E-03 4.7248 .0000 ** at limit ** 17 norm 7.7576 1.2756 .0000 .18132E-03 18 Prefactor 2.2311 5.6356 .0000 .14463E-01 19 norm .10000E-03 1.2693 .0000 ** at limit ** 20 norm 1.3619 .43501 .0000 .58407E-02 21 Prefactor 1.7423 .74828E-01 .0000 .39305E-02 22 norm 3.4721 1.2595 .0000 .29743E-02 23 Prefactor 8.7229 .58827 .0000 .29291E-02 24 Prefactor 5.8929 6.9664 .0000 .67241E-02 25 Prefactor .10000E-03 6.8352 .0000 ** at limit ** 26 Prefactor .10001E-03 5.1901 .0000 ** at limit ** 27 Prefactor .44493E-01 .34077 .0000 .36108E-02 28 Normalizat .66642 .14079 .0000 .55800E-03 29 Prefactor 1.0593 .27167E-01 .0000 -.26636E-03 ERR DEF= .500 Final values: Prefactor = 9.98239 Prefactor = 11.0014 Prefactor = 1.53778 norm = 0.0001 Prefactor = 0.000100001 Prefactor = 0.0001 norm = 3.49815 Prefactor = 0.000100002 Prefactor = 0.000100002 Prefactor = 2.10594 norm = 2.0103 norm = 2.57051 Prefactor = 1.06517 norm = 17.3436 Prefactor = 1.087 Prefactor = 0.000100001 norm = 7.75762 Prefactor = 2.23114 norm = 0.0001 norm = 1.36192 Prefactor = 1.74226 norm = 3.47208 Prefactor = 8.72287 Prefactor = 5.89294 Prefactor = 0.000100004 Prefactor = 0.000100006 Prefactor = 0.0444931 Normalizat = 0.666423 Prefactor = 1.05927 ********** ** 18 **HESSE ********** FCN= 93831.11 FROM HESSE STATUS=OK 573 CALLS 3812 TOTAL EDM= .80E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 9.9824 11.131 .12683E-03 -1.5076 2 Prefactor 11.001 10.410 .12079E-03 -1.5044 3 Prefactor 1.5378 3.4980 .34494E-03 -1.5460 4 norm .10000E-03 1.0277 .27909E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 9.0889 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 .56180 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 3.4981 .88431 .13752E-03 -1.5334 8 Prefactor .10000E-03 3.1145 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 3.2371 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 2.1059 1.9880 .14217E-02 -1.5418 11 norm 2.0103 .31386 .60725E-04 -1.5424 12 norm 2.5705 1.4900 .25471E-03 -1.5387 13 Prefactor 1.0652 1.0369 .29878E-03 -1.5502 14 norm 17.344 2.5166 .96172E-04 -1.4875 15 Prefactor 1.0870 1.0352 .30243E-03 -1.5499 16 Prefactor .10000E-03 4.7302 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 7.7576 1.2758 .13563E-03 -1.5151 18 Prefactor 2.2311 5.6137 .13762E-02 -1.5409 19 norm .10000E-03 1.3224 .36285E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 1.3619 .42957 .10784E-03 -1.5475 21 Prefactor 1.7423 .79094E-01 .12505E-04 -1.5444 22 norm 3.4721 1.2862 .18502E-03 -1.5335 23 Prefactor 8.7229 .61157 .46528E-04 -1.5117 24 Prefactor 5.8929 6.8948 .82700E-03 -1.5222 25 Prefactor .10000E-03 6.8968 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10001E-03 5.2747 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .44493E-01 .39052 .55043E-01 -1.5666 28 Normalizat .66642 .12929 .86632E-03 -1.0523 29 Prefactor 1.0593 .26562E-01 .15008E-03 -.90779 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.9597e-09 Minuit parameter uncertainties: 1 11.1336 2 10.4114 3 3.49845 4 2.04478e-06 5 0.000142603 6 3.25573e-07 7 0.884315 8 0.000145561 9 0.000167334 10 1.98805 11 0.313858 12 1.49004 13 1.03693 14 2.51664 15 1.0352 16 0.000157714 17 1.27585 18 5.61505 19 1.7171e-06 20 0.429571 21 0.0790938 22 1.28624 23 0.611571 24 6.89576 25 0.000331816 26 0.000343327 27 0.263337 28 0.129346 29 0.0265621 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 93831.1108295 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 2.106e+00 1.988e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 1.059e+00 2.656e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 6.664e-01 1.293e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.59 Ra Dec: 75.634 13.668 Photon Index (Fixed Index): 2.23 +/- 0.00 Photon Flux (Fixed Index): 1.20e-08 +/- 1.13e-08 Energy Flux (Fixed Index): 5.08e-06 +/- 4.80e-06 TS (Fixed Index): 2.59 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 3.99e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.05e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/800860/likelihoodResults_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.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) = 93830.4845121 delta logL = 0.626317395843 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 93830.4622332 delta logL = 0.648596309766 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.5976 1.0000 .10000E-03 10000. 2 'Index ' 1.3521 1.0000 .0000 10.000 3 'Normalizat' .67397 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0592 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 93830.46 FROM MIGRAD STATUS=CONVERGED 54 CALLS 247 TOTAL EDM= .77E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.5945 28.978 .83875E-02 -.24035E-02 2 Index 1.3510 2.5797 .50000 -.39585E-03 3 Normalizat .67396 .38874E-01 .19372 .63846E-03 4 Prefactor 1.0592 .67787E-02 .39398E-01 -.12785E-03 ERR DEF= .500 Final values: Prefactor = 1.59454 Index = 1.35101 Normalizat = 0.673965 Prefactor = 1.05921 ********** ** 18 **HESSE ********** FCN= 93830.46 FROM HESSE STATUS=OK 33 CALLS 280 TOTAL EDM= .10E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.5945 2.0643 .33550E-03 -1.5455 2 Index 1.3510 .68038 .30301E-01 -.81803 3 Normalizat .67396 .11925 .86187E-03 -1.0493 4 Prefactor 1.0592 .25871E-01 .15008E-03 -.90781 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.01449e-07 Minuit parameter uncertainties: 1 2.06444 2 0.684959 3 0.119291 4 0.0258715 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/800860': 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) = 93830.462232 delta logL = 0.648597496387 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.595e+00 2.064e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 1.351e+00 6.850e-01 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 1.059e+00 2.587e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 6.740e-01 1.193e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.88 Ra Dec: 75.634 13.668 Photon Index (Free Index): 1.35 +/- 0.68 Photon Flux (Free Index): 2.19e-09 +/- 3.64e-09 Energy Flux (Free Index): 1.14e-05 +/- 1.56e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/800860/cmap_HighResolution_497232001_497836801_4FGL_J0502.5+1340_weekly_bin427.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/800860 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.05e-03', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='1.14e-05', photon_flux_error='1.13e-08', dlogl='6.49e-01', energy_flux='5.08e-06', photon_flux2='2.19e-09', job_status='DONE', time_completed='2021-07-08 00:16:27.053027', photon_index_error2='0.68', photon_index2='1.35', ts='2.59', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='3.99e-08', energy_flux_error2='1.56e-05', EG='0.67', time_epoch_completed='1625728587.05', return_code='0', job_id='800860', GAL2='1.06', EG2='0.67', return_code2='0', energy_flux_error='4.80e-06', photon_flux_error2='3.64e-09', ts2='3.88', photon_index='2.23' WHERE bin_id='427' AND source_name='4FGL J0502.5+1340' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 8 00:16:27 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 800860: <4FGL_J0502.5+1340_weekly_bin427> in cluster Done Job <4FGL_J0502.5+1340_weekly_bin427> was submitted from host by user in cluster at Wed Jul 7 21:10:25 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Jul 7 21:13:37 2021 was used as the home directory. was used as the working directory. Started at Wed Jul 7 21:13:37 2021 Terminated at Thu Jul 8 00:16:28 2021 Results reported at Thu Jul 8 00:16:28 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_weekly_bin427 75.6341 13.6685 497232001 497836801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 9711.00 sec. Max Memory : 1095 MB Average Memory : 435.75 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 10970 sec. Turnaround time : 11163 sec. The output (if any) is above this job summary.