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 19 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 = 17236 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_weekly_bin598 RA = 75.6341, Dec = 13.6685 tmin = 600652801, tmax = 601257601 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='802356', job_status='RUN', time_executed='2021-07-07 21:18:38.146211', time_epoch_executed='1625717918.15' WHERE source_name='4FGL J0502.5+1340' and cadence='weekly' and bin_id='598' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/802356 Creating custom pfile directory: /scratch/kocevski/802356/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=600652801.0 && nMetStart<601257601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=600652801.0 && nMetStart<601257601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/802356/ft1_4FGL_J0502.5+1340_weekly_bin598.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=600652801.0 && nMetStart<601257601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/802356/ft1_4FGL_J0502.5+1340_weekly_bin598.fits outfile=/scratch/kocevski/802356/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin598.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=600652801.0 tmax=601257601.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 7.78 user 7.42 sys 0.32 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.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/802356/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin598.fits evtable="EVENTS" outfile="/scratch/kocevski/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.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.55 user 0.38 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.fits" evtable="EVENTS" scfile=/scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits sctable="SC_DATA" outfile=/scratch/kocevski/802356/ltcube_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.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/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits .....................! real 28.14 user 27.76 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/802356/ltcube_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.fits outfile=/scratch/kocevski/802356/expmap_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.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/802356/ltcube_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.fits .....................! real 191.81 user 186.47 sys 4.92 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/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.fits scfile=/scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits outfile=/scratch/kocevski/802356/cmap_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.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.61 user 0.41 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.fits scfile=/scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits outfile=/scratch/kocevski/802356/cmap_HighResolution_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.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.60 user 0.44 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/802356/Model_4FGL_J0502.5+1340_weekly_bin598.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/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.fits.....................! real 846.63 user 843.75 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.fits', '/scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits', expMap='/scratch/kocevski/802356/expmap_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.fits', expCube='/scratch/kocevski/802356/ltcube_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/802356/Model_4FGL_J0502.5+1340_weekly_bin598.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/802356/ft1_filtered_4FGL_J0502.5+1340_weekly_bin598.fits Spacecraft file(s): /scratch/kocevski/802356/ft2_4FGL_J0502.5+1340_weekly_bin598.fits Exposure map: /scratch/kocevski/802356/expmap_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.fits Exposure cube: /scratch/kocevski/802356/ltcube_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/802356/Model_4FGL_J0502.5+1340_weekly_bin598.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) = 40007.1073413 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 40006.439199 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 8.1553 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 6.9418 1.0000 .10000E-03 10000. 4 'norm ' .78608E-01 1.0000 .10000E-03 10000. 5 'Prefactor ' 5.3326 1.0000 .10000E-03 10000. 6 'Prefactor ' .83713E-01 1.0000 .10000E-03 10000. 7 'norm ' 2.8388 1.0000 .10000E-03 10000. 8 'Prefactor ' 8.2416 1.0000 .10000E-03 10000. 9 'Prefactor ' 3.7164 1.0000 .10000E-03 10000. 10 'Prefactor ' .84631 1.0000 .10000E-03 10000. 11 'norm ' .56219 1.0000 .10000E-03 10000. 12 'norm ' .10055E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .89958 1.0000 .10000E-03 10000. 14 'norm ' .48600 1.0000 .10000E-03 10000. 15 'Prefactor ' .29944 1.0000 .10000E-03 10000. 16 'Prefactor ' 3.8352 1.0000 .10000E-03 10000. 17 'norm ' 2.6923 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' 12.956 1.0000 .10000E-03 10000. 20 'norm ' 1.0115 1.0000 .10000E-03 10000. 21 'Prefactor ' 1.1679 1.0000 .10000E-03 10000. 22 'norm ' 4.7884 1.0000 .10000E-03 10000. 23 'Prefactor ' 2.5220 1.0000 .10000E-03 10000. 24 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' 3.9213 1.0000 .10000E-03 10000. 27 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 28 'Normalizat' 1.3113 1.0000 .10000E-01 10.000 29 'Prefactor ' .90775 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. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 40006.44 FROM MIGRAD STATUS=CONVERGED 737 CALLS 3295 TOTAL EDM= .19E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 8.1353 23.133 -.63724E-05 -.35603E-03 2 Prefactor .10000E-03 5.7640 .56768E-07** at limit ** 3 Prefactor 6.9407 7.0705 .43222E-06 .57175E-06 4 norm .79867E-01 .68900 .40360E-06 -.63858E-03 5 Prefactor 5.3321 13.974 .55144E-06 .14796E-04 6 Prefactor .69884E-01 1.2942 -.25498E-06 .80981E-03 7 norm 2.8385 1.3800 .13826E-07 -.23485E-03 8 Prefactor 8.2312 19.180 .22039E-07 -.44543E-05 9 Prefactor 3.6860 33.354 -.87742E-05 -.35241E-03 10 Prefactor .84640 2.4276 -.59660E-06 .27938E-03 11 norm .56139 .38343 .44402E-07 .85215E-03 12 norm .10000E-03 .76786 -.12651E-06** at limit ** 13 Prefactor .89822 2.3124 .38973E-05 -.97154E-03 14 norm .48536 1.3527 -.55266E-07 .80105E-04 15 Prefactor .29532 1.1319 -.30538E-06 .59833E-03 16 Prefactor 3.8324 38.932 -.20490E-05 -.20093E-04 17 norm 2.6930 1.4733 .12032E-06 -.14955E-03 18 Prefactor .10000E-03 3.0172 .24608E-07** at limit ** 19 norm 12.955 4.9046 -.19195E-07 -.15505E-03 20 norm 1.0113 .68175 .14569E-06 -.86162E-03 21 Prefactor 1.1679 .95695E-01 -.38700E-08 .11043E-02 22 norm 4.7882 2.0506 .84010E-07 -.24537E-03 23 Prefactor 2.5216 .73969 .57010E-07 -.35145E-03 24 Prefactor .10000E-03 18.951 -.26807E-06** at limit ** 25 Prefactor .10000E-03 30.507 .22498E-05** at limit ** 26 Prefactor 3.9226 10.706 .56673E-06 -.28137E-04 27 Prefactor .10000E-03 1.8157 .17182E-06** at limit ** 28 Normalizat 1.3118 .20338 .56220E-07 -.19995E-03 29 Prefactor .90767 .35722E-01 -.52545E-06 .20905E-03 ERR DEF= .500 Final values: Prefactor = 8.13527 Prefactor = 0.0001 Prefactor = 6.94074 norm = 0.0798671 Prefactor = 5.33208 Prefactor = 0.0698843 norm = 2.83854 Prefactor = 8.23125 Prefactor = 3.68603 Prefactor = 0.846404 norm = 0.561388 norm = 0.0001 Prefactor = 0.898223 norm = 0.485363 Prefactor = 0.295322 Prefactor = 3.83241 norm = 2.69297 Prefactor = 0.0001 norm = 12.9554 norm = 1.01129 Prefactor = 1.16793 norm = 4.78824 Prefactor = 2.52164 Prefactor = 0.0001 Prefactor = 0.000100001 Prefactor = 3.9226 Prefactor = 0.0001 Normalizat = 1.31182 Prefactor = 0.907673 ********** ** 18 **HESSE ********** FCN= 40006.44 FROM HESSE STATUS=OK 591 CALLS 3886 TOTAL EDM= .12E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 8.1353 23.804 .14039E-03 -1.5137 2 Prefactor .10000E-03 5.7677 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 6.9407 7.0744 .15227E-03 -1.5181 4 norm .79867E-01 .69591 .49918E-01 -1.5651 5 Prefactor 5.3321 13.959 .17404E-03 -1.5246 6 Prefactor .69884E-01 1.7309 .73879E-01 -1.5655 7 norm 2.8385 1.3729 .15470E-03 -1.5371 8 Prefactor 8.2312 19.002 .13965E-03 -1.5134 9 Prefactor 3.6860 34.296 .20947E-03 -1.5324 10 Prefactor .84640 11.593 .48115E-02 -1.5524 11 norm .56139 .36360 .86387E-04 -1.5558 12 norm .10000E-03 .79358 .34146E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .89822 2.4031 .46357E-03 -1.5518 14 norm .48536 2.7118 .36985E-02 -1.5569 15 Prefactor .29532 5.5238 .38913E-02 -1.5599 16 Prefactor 3.8324 38.681 .20608E-03 -1.5316 17 norm 2.6930 1.4716 .17328E-03 -1.5380 18 Prefactor .10000E-03 3.0236 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 12.955 4.9000 .11128E-03 -1.4988 20 norm 1.0113 .67812 .12951E-03 -1.5507 21 Prefactor 1.1679 .10349 .12296E-04 -1.5492 22 norm 4.7882 2.1570 .15881E-03 -1.5270 23 Prefactor 2.5216 .77278 .71550E-04 -1.5390 24 Prefactor .10000E-03 19.226 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10000E-03 31.159 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor 3.9226 10.708 .20373E-03 -1.5312 27 Prefactor .10000E-03 1.8702 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat 1.3118 .22137 .64250E-03 -.83214 29 Prefactor .90767 .39237E-01 .14793E-03 -.95874 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.22167e-08 Minuit parameter uncertainties: 1 23.8318 2 2.62547e-06 3 7.07526 4 0.471221 5 13.9672 6 0.695118 7 1.37294 8 19.0161 9 22.5038 10 6.26611 11 0.363603 12 7.30958e-06 13 2.40336 14 2.29443 15 2.55429 16 24.3709 17 1.47162 18 1.76756e-06 19 4.90017 20 0.678129 21 0.103486 22 2.15707 23 0.772785 24 0.000105696 25 0.000291236 26 10.7132 27 4.48229e-06 28 0.221534 29 0.039238 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 40006.4391812 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 8.464e-01 6.266e+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: 9.077e-01 3.924e-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: 1.312e+00 2.215e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.02 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 8.22e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/802356/likelihoodResults_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.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) = 40005.2543297 delta logL = 1.18485146062 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 40005.1163706 delta logL = 1.32281052739 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .87619 1.0000 .10000E-03 10000. 2 'Index ' 3.4769 1.0000 .0000 10.000 3 'Normalizat' 1.2276 1.0000 .10000E-01 10.000 4 'Prefactor ' .91364 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= 40005.12 FROM MIGRAD STATUS=CONVERGED 62 CALLS 239 TOTAL EDM= .34E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .88592 4.7816 .12721E-01 .75526E-02 2 Index 3.4731 1.2710 .11548 .10148E-02 3 Normalizat 1.2275 .39327E-01 .14867 .13243E-03 4 Prefactor .91364 .77277E-02 .33371E-01 -.35822E-04 ERR DEF= .500 Final values: Prefactor = 0.885923 Index = 3.47311 Normalizat = 1.22746 Prefactor = 0.913643 ********** ** 18 **HESSE ********** FCN= 40005.12 FROM HESSE STATUS=NOT POSDEF 33 CALLS 272 TOTAL EDM= .86E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .88592 17.049 .11497E-03 -1.5520 2 Index 3.4731 3.1701 .71022E-02 -.31034 3 Normalizat 1.2275 .16916 .66063E-03 -.85758 4 Prefactor .91364 .33094E-01 .14746E-03 -.95666 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 8.61642e-06 Minuit parameter uncertainties: 1 7.77499 2 3.46903 3 0.169236 4 0.033095 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/802356': 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): 102 logL (Free Index) = 40005.116356 delta logL = 1.32282521024 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 8.859e-01 7.775e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 3.473e+00 3.469e+00 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: 9.136e-01 3.310e-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: 1.227e+00 1.692e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.84 Ra Dec: 75.634 13.668 Photon Index (Free Index): 3.47 +/- 3.47 Photon Flux (Free Index): 9.63e-08 +/- 6.01e-08 Energy Flux (Free Index): 1.61e-05 +/- 1.80e-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/802356/cmap_HighResolution_600652801_601257601_4FGL_J0502.5+1340_weekly_bin598.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/802356 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', comment='SUCCESS', energy_flux2='1.61e-05', dlogl='1.32e+00', photon_flux2='9.63e-08', job_status='DONE', time_completed='2021-07-07 22:23:48.699898', photon_index_error2='3.47', photon_index2='3.47', ts='0.02', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='8.22e-08', energy_flux_error2='1.80e-05', EG='1.31', time_epoch_completed='1625721828.7', return_code='0', job_id='802356', GAL2='0.91', EG2='1.23', return_code2='102', photon_flux_error2='6.01e-08', ts2='2.84', photon_index='2.23' WHERE bin_id='598' AND source_name='4FGL J0502.5+1340' AND cadence='weekly'; Database successfully updated. Analysis Complete. Wed Jul 7 22:23:48 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 802356: <4FGL_J0502.5+1340_weekly_bin598> in cluster Done Job <4FGL_J0502.5+1340_weekly_bin598> was submitted from host by user in cluster at Wed Jul 7 21:15:26 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Jul 7 21:18:07 2021 was used as the home directory. was used as the working directory. Started at Wed Jul 7 21:18:07 2021 Terminated at Wed Jul 7 22:23:49 2021 Results reported at Wed Jul 7 22:23:49 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_weekly_bin598 75.6341 13.6685 600652801 601257601 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 : 3888.93 sec. Max Memory : 1104 MB Average Memory : 407.09 MB Total Requested Memory : - Delta Memory : - Max Swap : 3410 MB Max Processes : 6 Max Threads : 21 Run time : 3942 sec. Turnaround time : 4103 sec. The output (if any) is above this job summary.