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 16 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 = 16994 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+1012_weekly_bin642 RA = 77.351, Dec = 10.2008 tmin = 627264001, tmax = 627868801 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='859565', job_status='RUN', time_executed='2021-07-08 00:42:26.407887', time_epoch_executed='1625730146.41' WHERE source_name='4FGL J0509.4+1012' and cadence='weekly' and bin_id='642' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/859565 Creating custom pfile directory: /scratch/kocevski/859565/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=627264001.0 && nMetStart<627868801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=627264001.0 && nMetStart<627868801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/859565/ft1_4FGL_J0509.4+1012_weekly_bin642.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=627264001.0 && nMetStart<627868801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/859565/ft1_4FGL_J0509.4+1012_weekly_bin642.fits outfile=/scratch/kocevski/859565/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin642.fits ra=77.351 dec=10.2008 rad=12.0 tmin=627264001.0 tmax=627868801.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 5.50 user 5.19 sys 0.27 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.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/859565/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin642.fits evtable="EVENTS" outfile="/scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.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.61 user 0.37 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.fits" evtable="EVENTS" scfile=/scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits sctable="SC_DATA" outfile=/scratch/kocevski/859565/ltcube_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.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/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits .....................! real 28.51 user 28.09 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.fits evtable="EVENTS" scfile=/scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits sctable="SC_DATA" expcube=/scratch/kocevski/859565/ltcube_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.fits outfile=/scratch/kocevski/859565/expmap_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.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/859565/ltcube_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.fits .....................! real 191.35 user 186.08 sys 4.78 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. 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. Added 159 point sources and 3 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 J0509.4+1012 @ 77.351 10.2008 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.fits scfile=/scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits outfile=/scratch/kocevski/859565/cmap_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.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=77.351 yref=10.2008 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.57 user 0.41 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.fits scfile=/scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits outfile=/scratch/kocevski/859565/cmap_HighResolution_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.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=77.351 yref=10.2008 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.42 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.fits evtable="EVENTS" scfile=/scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/859565/Model_4FGL_J0509.4+1012_weekly_bin642.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 Rosette adding source S 147 Working on... /scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.fits.....................! real 169.68 user 167.98 sys 1.26 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.fits', '/scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits', expMap='/scratch/kocevski/859565/expmap_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.fits', expCube='/scratch/kocevski/859565/ltcube_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/859565/Model_4FGL_J0509.4+1012_weekly_bin642.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+1012' 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.153e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/859565/ft1_filtered_4FGL_J0509.4+1012_weekly_bin642.fits Spacecraft file(s): /scratch/kocevski/859565/ft2_4FGL_J0509.4+1012_weekly_bin642.fits Exposure map: /scratch/kocevski/859565/expmap_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.fits Exposure cube: /scratch/kocevski/859565/ltcube_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/859565/Model_4FGL_J0509.4+1012_weekly_bin642.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) = 6459.90157718 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6459.78834898 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 143.02 1.0000 .10000E-03 10000. 2 'Prefactor ' 321.61 1.0000 .10000E-03 10000. 3 'norm ' .10642E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10990E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 6.2046 1.0000 .10000E-03 10000. 6 'norm ' .10174E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 34.863 1.0000 .10000E-03 10000. 8 'Prefactor ' .10405E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 15.284 1.0000 .10000E-03 10000. 10 'norm ' .77598 1.0000 .10000E-03 10000. 11 'norm ' 5.8907 1.0000 .10000E-03 10000. 12 'Prefactor ' 11.490 1.0000 .10000E-03 10000. 13 'norm ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 8.9166 1.0000 .10000E-03 10000. 15 'Prefactor ' .10023E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .35991E-03 1.0000 .10000E-03 10000. 17 'norm ' 2.5411 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.3473 1.0000 .10000E-03 10000. 19 'norm ' .10027E-03 1.0000 .10000E-03 10000. 20 'norm ' 2.6207 1.0000 .10000E-03 10000. 21 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' 4.3523 1.0000 .10000E-03 10000. 25 'Normalizat' .91358 1.0000 .10000E-01 10.000 26 'Prefactor ' .83093 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= 6459.788 FROM MIGRAD STATUS=CONVERGED 595 CALLS 3081 TOTAL EDM= .61E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 143.01 121.02 .10470E-06 -.24004E-05 2 Prefactor 321.89 236.24 -.11707E-04 .34451E-05 3 norm .10000E-03 5.5541 -.22191E-06** at limit ** 4 Prefactor .10000E-03 78.794 -.12877E-05** at limit ** 5 Prefactor 6.1728 41.579 .55121E-05 .78446E-05 6 norm .10000E-03 3.7291 .29198E-07** at limit ** 7 Prefactor 34.929 64.825 -.74488E-05 -.26708E-05 8 Prefactor .10000E-03 31.427 .27341E-06** at limit ** 9 Prefactor 15.276 24.246 .39385E-06 -.42316E-05 10 norm .77437 1.0121 -.28465E-07 -.16731E-03 11 norm 5.8917 5.6461 .15188E-06 -.12755E-04 12 Prefactor 11.486 10.511 .14258E-06 -.12330E-04 13 norm .10000E-03 3.7005 .30411E-07** at limit ** 14 Prefactor 8.9137 9.3158 .20718E-07 -.73618E-05 15 Prefactor .10000E-03 82.179 .48672E-06** at limit ** 16 Prefactor .10000E-03 186.73 .35936E-05** at limit ** 17 norm 2.5382 6.0574 .30282E-05 -.62846E-05 18 Prefactor 3.3493 7.6919 -.50963E-06 -.32641E-04 19 norm .10000E-03 16.206 -.14284E-06** at limit ** 20 norm 2.6201 1.7824 .19059E-07 -.59981E-04 21 Prefactor .10000E-03 19.668 .25348E-06** at limit ** 22 Prefactor .10000E-03 18.957 -.18161E-06** at limit ** 23 Prefactor .10000E-03 18.693 -.25928E-06** at limit ** 24 Prefactor 4.3406 9.5000 .17927E-06 -.15777E-04 25 Normalizat .91342 .46100 .29619E-05 -.70607E-05 26 Prefactor .83105 .86268E-01 -.66265E-06 -.19373E-04 ERR DEF= .500 Final values: Prefactor = 143.012 Prefactor = 321.886 norm = 0.0001 Prefactor = 0.0001 Prefactor = 6.17276 norm = 0.0001 Prefactor = 34.9287 Prefactor = 0.0001 Prefactor = 15.2757 norm = 0.774371 norm = 5.89165 Prefactor = 11.4862 norm = 0.0001 Prefactor = 8.91369 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.5382 Prefactor = 3.34932 norm = 0.0001 norm = 2.62006 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.34056 Normalizat = 0.913415 Prefactor = 0.831051 ********** ** 18 **HESSE ********** FCN= 6459.788 FROM HESSE STATUS=OK 458 CALLS 3539 TOTAL EDM= .41E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 143.01 120.69 .16845E-03 -1.3310 2 Prefactor 321.89 236.04 .11336E-03 -1.2100 3 norm .10000E-03 5.5639 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 78.800 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 6.1728 41.367 .16116E-03 -1.5211 6 norm .10000E-03 3.7370 .15153E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 34.929 64.554 .67870E-04 -1.4525 8 Prefactor .10000E-03 31.433 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 15.276 24.219 .10245E-03 -1.4926 10 norm .77437 .89671 .83045E-03 -1.5532 11 norm 5.8917 5.6158 .16546E-03 -1.5222 12 Prefactor 11.486 10.493 .11819E-03 -1.5030 13 norm .10000E-03 3.7019 .15100E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 8.9137 9.3144 .13423E-03 -1.5111 15 Prefactor .10000E-03 82.204 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 193.69 .42622E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 2.5382 6.0581 .12809E-02 -1.5389 18 Prefactor 3.3493 7.6640 .22121E-03 -1.5342 19 norm .10000E-03 16.420 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.6201 1.7749 .83124E-04 -1.5384 21 Prefactor .10000E-03 19.695 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 18.980 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10000E-03 18.707 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor 4.3406 9.4680 .19308E-03 -1.5291 25 Normalizat .91342 .46287 .70873E-03 -.95990 26 Prefactor .83105 .90114E-01 .14325E-03 -.98594 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.06828e-10 Minuit parameter uncertainties: 1 120.899 2 236.752 3 1.5748e-05 4 3.48779e-06 5 31.991 6 1.33859e-06 7 64.6838 8 2.65305e-05 9 24.2346 10 0.896723 11 5.61635 12 10.495 13 2.51264e-08 14 9.31595 15 1.34813e-05 16 0.00049766 17 6.0596 18 7.66623 19 1.19138e-05 20 1.7749 21 1.04384e-05 22 7.97268e-06 23 3.6561e-07 24 9.47123 25 0.464912 26 0.0901296 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6459.7883424 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.149e+01 1.050e+01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 8.311e-01 9.013e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 9.134e-01 4.649e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.59 Ra Dec: 77.351 10.201 Photon Index (Fixed Index): 2.41 +/- 0.00 Photon Flux (Fixed Index): 1.88e-07 +/- 1.71e-07 Energy Flux (Fixed Index): 6.08e-05 +/- 5.56e-05 TS (Fixed Index): 1.59 Ra Dec: 77.351 10.201 Photon Flux Upper Limit: 5.41e-07 ph cm-2 s-1 Energy Flux Upper Limit: 4.18e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/859565/likelihoodResults_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.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) = 6459.36674531 delta logL = 0.421597092467 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6459.28501705 delta logL = 0.503325350717 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.207 1.0000 .10000E-03 10000. 2 'Index ' 1.8294 1.0000 .0000 10.000 3 'Normalizat' .95091 1.0000 .10000E-01 10.000 4 'Prefactor ' .82512 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= 6459.285 FROM MIGRAD STATUS=CONVERGED 60 CALLS 222 TOTAL EDM= .38E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.222 27.346 .24872E-02 .17809E-03 2 Index 1.8300 .87698 .22440 -.15535E-03 3 Normalizat .95055 .42682 .15665 .30168E-03 4 Prefactor .82537 .83649E-01 .32503E-01 .48756E-03 ERR DEF= .500 Final values: Prefactor = 16.2222 Index = 1.82999 Normalizat = 0.95055 Prefactor = 0.825371 ********** ** 18 **HESSE ********** FCN= 6459.285 FROM HESSE STATUS=OK 31 CALLS 253 TOTAL EDM= .12E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.222 12.604 .99488E-04 -1.4902 2 Index 1.8300 .49628 .80696E-02 -.68672 3 Normalizat .95055 .43435 .69637E-03 -.94706 4 Prefactor .82537 .85302E-01 .14362E-03 -.98800 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.24487e-09 Minuit parameter uncertainties: 1 12.6064 2 0.497649 3 0.435966 4 0.0853159 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/859565': 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) = 6459.28500703 delta logL = 0.50333537258 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.622e+01 1.261e+01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 1.830e+00 4.976e-01 0.000e+00 1.000e+01 (-1.000e+00) 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 8.254e-01 8.532e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 9.505e-01 4.360e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.60 Ra Dec: 77.351 10.201 Photon Index (Free Index): 1.83 +/- 0.50 Photon Flux (Free Index): 1.21e-07 +/- 1.22e-07 Energy Flux (Free Index): 1.33e-04 +/- 1.48e-04 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/859565/cmap_HighResolution_627264001_627868801_4FGL_J0509.4+1012_weekly_bin642.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/859565 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-02', comment='SUCCESS', photon_flux='1.88e-07', energy_flux2='1.33e-04', photon_flux_error='1.71e-07', dlogl='5.03e-01', energy_flux='6.08e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-07-08 00:56:43.552036', photon_index_error2='0.50', photon_index2='1.83', ts='1.59', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='5.41e-07', energy_flux_error2='1.48e-04', EG='0.91', time_epoch_completed='1625731003.55', return_code='0', job_id='859565', GAL2='0.83', EG2='0.95', return_code2='0', energy_flux_error='5.56e-05', photon_flux_error2='1.22e-07', ts2='2.60', photon_index='2.41' WHERE bin_id='642' AND source_name='4FGL J0509.4+1012' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 8 00:56:43 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 859565: <4FGL_J0509.4+1012_weekly_bin642> in cluster Done Job <4FGL_J0509.4+1012_weekly_bin642> was submitted from host by user in cluster at Thu Jul 8 00:40:26 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Jul 8 00:41:58 2021 was used as the home directory. was used as the working directory. Started at Thu Jul 8 00:41:58 2021 Terminated at Thu Jul 8 00:56:44 2021 Results reported at Thu Jul 8 00:56:44 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+1012_weekly_bin642 77.351 10.2008 627264001 627868801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+1012 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 831.00 sec. Max Memory : 1256 MB Average Memory : 388.97 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 887 sec. Turnaround time : 978 sec. The output (if any) is above this job summary.