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 4 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 = 17133 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+1012_weekly_bin264 RA = 77.351, Dec = 10.2008 tmin = 398649601, tmax = 399254401 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='856867', job_status='RUN', time_executed='2021-07-08 00:31:59.273304', time_epoch_executed='1625729519.27' WHERE source_name='4FGL J0509.4+1012' and cadence='weekly' and bin_id='264' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/856867 Creating custom pfile directory: /scratch/kocevski/856867/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=398649601.0 && nMetStart<399254401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=398649601.0 && nMetStart<399254401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/856867/ft1_4FGL_J0509.4+1012_weekly_bin264.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=398649601.0 && nMetStart<399254401.0' /Data/Flight/Level1/LPA Retrieving 109 files... Done. Merging files... Merged file saved to: /scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/856867/ft1_4FGL_J0509.4+1012_weekly_bin264.fits outfile=/scratch/kocevski/856867/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin264.fits ra=77.351 dec=10.2008 rad=12.0 tmin=398649601.0 tmax=399254401.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 13.27 user 12.85 sys 0.37 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.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/856867/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin264.fits evtable="EVENTS" outfile="/scratch/kocevski/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.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.54 user 0.38 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.fits" evtable="EVENTS" scfile=/scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits sctable="SC_DATA" outfile=/scratch/kocevski/856867/ltcube_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.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/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits .....................! real 28.37 user 27.50 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.fits evtable="EVENTS" scfile=/scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits sctable="SC_DATA" expcube=/scratch/kocevski/856867/ltcube_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.fits outfile=/scratch/kocevski/856867/expmap_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.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/856867/ltcube_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.fits .....................! real 190.19 user 185.29 sys 4.34 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/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.fits scfile=/scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits outfile=/scratch/kocevski/856867/cmap_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.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.58 user 0.40 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.fits scfile=/scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits outfile=/scratch/kocevski/856867/cmap_HighResolution_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.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.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.fits evtable="EVENTS" scfile=/scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/856867/Model_4FGL_J0509.4+1012_weekly_bin264.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/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.fits.....................! real 614.06 user 611.15 sys 1.25 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.fits', '/scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits', expMap='/scratch/kocevski/856867/expmap_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.fits', expCube='/scratch/kocevski/856867/ltcube_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/856867/Model_4FGL_J0509.4+1012_weekly_bin264.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/856867/ft1_filtered_4FGL_J0509.4+1012_weekly_bin264.fits Spacecraft file(s): /scratch/kocevski/856867/ft2_4FGL_J0509.4+1012_weekly_bin264.fits Exposure map: /scratch/kocevski/856867/expmap_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.fits Exposure cube: /scratch/kocevski/856867/ltcube_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/856867/Model_4FGL_J0509.4+1012_weekly_bin264.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) = 26624.2343721 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 26624.2048793 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 7.5935 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.3021 1.0000 .10000E-03 10000. 3 'norm ' .10007E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 21.086 1.0000 .10000E-03 10000. 5 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 6 'norm ' 3.6536 1.0000 .10000E-03 10000. 7 'Prefactor ' 5.1461 1.0000 .10000E-03 10000. 8 'Prefactor ' 17.331 1.0000 .10000E-03 10000. 9 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 10 'norm ' 1.2998 1.0000 .10000E-03 10000. 11 'norm ' 7.6032 1.0000 .10000E-03 10000. 12 'Prefactor ' .10014E-03 1.0000 .10000E-03 10000. 13 'norm ' .12843 1.0000 .10000E-03 10000. 14 'Prefactor ' 8.8299 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 16.335 1.0000 .10000E-03 10000. 17 'norm ' 7.3596 1.0000 .10000E-03 10000. 18 'Prefactor ' 1.4563 1.0000 .10000E-03 10000. 19 'norm ' 3.6264 1.0000 .10000E-03 10000. 20 'norm ' 1.4819 1.0000 .10000E-03 10000. 21 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .16997E-02 1.0000 .10000E-03 10000. 23 'Prefactor ' 18.044 1.0000 .10000E-03 10000. 24 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2856 1.0000 .10000E-01 10.000 26 'Prefactor ' .97972 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= 26624.20 FROM MIGRAD STATUS=CONVERGED 609 CALLS 2700 TOTAL EDM= .63E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 7.5928 17.929 .17317E-06 -.16657E-03 2 Prefactor 1.3015 10.765 -.10789E-07 -.11790E-03 3 norm .10000E-03 1.3163 .62282E-07** at limit ** 4 Prefactor 21.085 20.969 -.78859E-06 -.11725E-04 5 Prefactor .10000E-03 4.3983 -.45896E-06** at limit ** 6 norm 3.6534 1.6894 .37224E-07 -.25884E-03 7 Prefactor 5.1506 23.130 .11084E-04 .45992E-04 8 Prefactor 17.319 22.874 -.10496E-04 -.14766E-03 9 Prefactor .10000E-03 3.9603 -.30002E-06** at limit ** 10 norm 1.2998 .60942 .26643E-06 -.54284E-03 11 norm 7.6040 3.4777 .30942E-06 .60321E-04 12 Prefactor .10000E-03 .84890 .25426E-07** at limit ** 13 norm .13208 .88495 -.34101E-07 -.32303E-03 14 Prefactor 8.8295 3.9160 -.78866E-07 -.58289E-04 15 Prefactor .10000E-03 7.2141 -.27224E-06** at limit ** 16 Prefactor 16.337 16.246 .32190E-06 .72530E-05 17 norm 7.3594 2.1039 -.90267E-08 -.22914E-04 18 Prefactor 1.4545 10.125 -.28030E-06 -.11490E-03 19 norm 3.6265 1.8541 .33579E-06 -.37366E-02 20 norm 1.4823 .78719 .12743E-07 -.29857E-03 21 Prefactor .10000E-03 11.615 -.73958E-06** at limit ** 22 Prefactor .10000E-03 52.450 .11044E-05** at limit ** 23 Prefactor 18.043 13.645 .51527E-07 .12401E-05 24 Prefactor .10000E-03 1.0988 -.91033E-07** at limit ** 25 Normalizat 1.2855 .21832 .28235E-06 -.55747E-04 26 Prefactor .97974 .44028E-01 -.11878E-06 .12675E-04 ERR DEF= .500 Final values: Prefactor = 7.59283 Prefactor = 1.30151 norm = 0.0001 Prefactor = 21.0849 Prefactor = 0.0001 norm = 3.65344 Prefactor = 5.15058 Prefactor = 17.3194 Prefactor = 0.0001 norm = 1.29979 norm = 7.60395 Prefactor = 0.0001 norm = 0.132081 Prefactor = 8.82946 Prefactor = 0.0001 Prefactor = 16.3367 norm = 7.35944 Prefactor = 1.45453 norm = 3.6265 norm = 1.48231 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 18.0431 Prefactor = 0.0001 Normalizat = 1.28551 Prefactor = 0.979745 ********** ** 18 **HESSE ********** FCN= 26624.20 FROM HESSE STATUS=OK 466 CALLS 3166 TOTAL EDM= .26E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 7.5928 18.059 .72765E-03 -1.5157 2 Prefactor 1.3015 11.109 .38709E-03 -1.5480 3 norm .10000E-03 1.3495 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 21.085 20.967 .87225E-04 -1.4789 5 Prefactor .10000E-03 4.4857 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 3.6534 1.6876 .13705E-03 -1.5326 7 Prefactor 5.1506 23.218 .17722E-03 -1.5254 8 Prefactor 17.319 22.950 .96207E-04 -1.4875 9 Prefactor .10000E-03 4.0149 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 1.2998 .60258 .72511E-04 -1.5480 11 norm 7.6040 3.4855 .14544E-03 -1.5156 12 Prefactor .10000E-03 2.3290 .28878E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .13208 4.6751 .29892E-02 -1.5635 14 Prefactor 8.8295 3.9119 .13489E-03 -1.5114 15 Prefactor .10000E-03 7.2151 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 16.337 16.172 .99098E-04 -1.4899 17 norm 7.3594 2.1051 .12297E-03 -1.5165 18 Prefactor 1.4545 10.266 .35674E-03 -1.5467 19 norm 3.6265 4.0627 .10608E-02 -1.5327 20 norm 1.4823 .78234 .10107E-03 -1.5464 21 Prefactor .10000E-03 11.691 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 54.764 .40739E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 18.043 13.650 .94288E-04 -1.4858 24 Prefactor .10000E-03 1.1146 .16692E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.2855 .23208 .60367E-03 -.84000 26 Prefactor .97974 .48071E-01 .14696E-03 -.93408 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.59938e-07 Minuit parameter uncertainties: 1 18.0717 2 7.60635 3 5.99932e-09 4 20.9745 5 9.86844e-06 6 1.68764 7 21.8851 8 22.9618 9 2.9403e-07 10 0.602584 11 3.48556 12 3.22848e-05 13 1.57115 14 3.91199 15 1.77573e-06 16 16.1759 17 2.10511 18 7.72991 19 4.06302 20 0.782345 21 7.6645e-06 22 2.39551e-05 23 13.6523 24 2.8908e-08 25 0.232266 26 0.0480729 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 26624.2048613 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.000e-04 3.228e-05 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: 9.797e-01 4.807e-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: 1.286e+00 2.323e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 77.351 10.201 Photon Flux Upper Limit: 7.36e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.69e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/856867/likelihoodResults_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.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) = 26624.2068981 delta logL = -0.00203682601932 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 26624.2048608 delta logL = 4.67378413305e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4313 1.0000 .0000 10.000 3 'Normalizat' 1.2855 1.0000 .10000E-01 10.000 4 'Prefactor ' .97974 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 26624.20 FROM MIGRAD STATUS=FAILED 104 CALLS 283 TOTAL EDM= .11E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10330E-03 10.504 .28626E-02** at limit ** 2 Index 2.5545 5.1164 .50000 -.55029E-04 3 Normalizat 1.2855 .11308E-01 .60367E-03 -.99436E-05 4 Prefactor .97974 .24663E-02 .14696E-03 -.24445E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 26624.20 FROM SIMPLEX STATUS=UNCHANGED 111 CALLS 394 TOTAL EDM= .89E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10330E-03 10.504 .26255E-03** at limit ** 2 Index 2.5545 5.1164 .74227E-02 -.55029E-04 3 Normalizat 1.2855 .11308E-01 .26038E-04 -.99436E-05 4 Prefactor .97974 .24663E-02 .41050E-05 -.24445E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 26624.20 FROM MIGRAD STATUS=CONVERGED 56 CALLS 450 TOTAL EDM= .30E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .17012E-01 .57252E-01** at limit ** 2 Index 2.7360 5.8628 .50000 .44301E-06 3 Normalizat 1.2855 .11074E-02 .24147E-04 .39699E-03 4 Prefactor .97974 .24152E-03 .58786E-05 .14326E-02 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.73601 Normalizat = 1.28551 Prefactor = 0.979745 ********** ** 18 **HESSE ********** FCN= 26624.20 FROM HESSE STATUS=NOT POSDEF 31 CALLS 481 TOTAL EDM= .10E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 11.262 .21085E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7360 7.4742 .50000 -.46990 3 Normalizat 1.2855 .11332E-01 .48294E-05 -.84000 4 Prefactor .97974 .24714E-02 .11757E-05 -.93408 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.03169e-09 Minuit parameter uncertainties: 1 0.000136716 2 79.4112 3 0.0113318 4 0.00247142 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/856867': 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) = 26624.2048577 delta logL = 3.59856130672e-06 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.000e-04 1.367e-04 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 2.736e+00 7.941e+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: 9.797e-01 2.471e-03 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: 1.286e+00 1.133e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 77.351 10.201 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/856867/cmap_HighResolution_398649601_399254401_4FGL_J0509.4+1012_weekly_bin264.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/856867 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.36e-08', time_completed='2021-07-08 01:13:39.916298', job_id='856867', GAL2='0.98', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1625732019.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.60e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='264' AND source_name='4FGL J0509.4+1012' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 8 01:13:39 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 856867: <4FGL_J0509.4+1012_weekly_bin264> in cluster Done Job <4FGL_J0509.4+1012_weekly_bin264> was submitted from host by user in cluster at Thu Jul 8 00:30:30 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Jul 8 00:31:45 2021 was used as the home directory. was used as the working directory. Started at Thu Jul 8 00:31:45 2021 Terminated at Thu Jul 8 01:13:40 2021 Results reported at Thu Jul 8 01:13:40 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+1012_weekly_bin264 77.351 10.2008 398649601 399254401 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 : 2481.00 sec. Max Memory : 785 MB Average Memory : 385.24 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2517 sec. Turnaround time : 2590 sec. The output (if any) is above this job summary.