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 118 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 = 17017 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+1012_weekly_bin596 RA = 77.351, Dec = 10.2008 tmin = 599443201, tmax = 600048001 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='859492', job_status='RUN', time_executed='2021-07-08 00:43:23.933233', time_epoch_executed='1625730203.93' WHERE source_name='4FGL J0509.4+1012' and cadence='weekly' and bin_id='596' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/859492 Creating custom pfile directory: /scratch/kocevski/859492/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=599443201.0 && nMetStart<600048001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=599443201.0 && nMetStart<600048001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/859492/ft1_4FGL_J0509.4+1012_weekly_bin596.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=599443201.0 && nMetStart<600048001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/859492/ft1_4FGL_J0509.4+1012_weekly_bin596.fits outfile=/scratch/kocevski/859492/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin596.fits ra=77.351 dec=10.2008 rad=12.0 tmin=599443201.0 tmax=600048001.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.25 user 4.93 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.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/859492/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin596.fits evtable="EVENTS" outfile="/scratch/kocevski/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.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.37 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.fits" evtable="EVENTS" scfile=/scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits sctable="SC_DATA" outfile=/scratch/kocevski/859492/ltcube_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.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/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits .....................! real 30.91 user 30.08 sys 0.37 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.fits evtable="EVENTS" scfile=/scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits sctable="SC_DATA" expcube=/scratch/kocevski/859492/ltcube_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.fits outfile=/scratch/kocevski/859492/expmap_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.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/859492/ltcube_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.fits .....................! real 194.90 user 187.88 sys 5.72 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/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.fits scfile=/scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits outfile=/scratch/kocevski/859492/cmap_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.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.41 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.fits scfile=/scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits outfile=/scratch/kocevski/859492/cmap_HighResolution_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.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.59 user 0.41 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.fits evtable="EVENTS" scfile=/scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/859492/Model_4FGL_J0509.4+1012_weekly_bin596.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/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.fits......................! real 87.61 user 86.00 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.fits', '/scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits', expMap='/scratch/kocevski/859492/expmap_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.fits', expCube='/scratch/kocevski/859492/ltcube_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/859492/Model_4FGL_J0509.4+1012_weekly_bin596.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/859492/ft1_filtered_4FGL_J0509.4+1012_weekly_bin596.fits Spacecraft file(s): /scratch/kocevski/859492/ft2_4FGL_J0509.4+1012_weekly_bin596.fits Exposure map: /scratch/kocevski/859492/expmap_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.fits Exposure cube: /scratch/kocevski/859492/ltcube_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/859492/Model_4FGL_J0509.4+1012_weekly_bin596.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) = 3405.04009242 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3404.9972516 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10046E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 83.223 1.0000 .10000E-03 10000. 3 'norm ' 11.892 1.0000 .10000E-03 10000. 4 'Prefactor ' 119.78 1.0000 .10000E-03 10000. 5 'Prefactor ' .15754E-03 1.0000 .10000E-03 10000. 6 'norm ' 5.9056 1.0000 .10000E-03 10000. 7 'Prefactor ' .10186E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10865E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 87.428 1.0000 .10000E-03 10000. 10 'norm ' .10163E-03 1.0000 .10000E-03 10000. 11 'norm ' 7.5128 1.0000 .10000E-03 10000. 12 'Prefactor ' .69038E-03 1.0000 .10000E-03 10000. 13 'norm ' 9.4493 1.0000 .10000E-03 10000. 14 'Prefactor ' 35.107 1.0000 .10000E-03 10000. 15 'Prefactor ' .10119E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10208E-03 1.0000 .10000E-03 10000. 17 'norm ' 15.431 1.0000 .10000E-03 10000. 18 'Prefactor ' .10038E-03 1.0000 .10000E-03 10000. 19 'norm ' .10004E-03 1.0000 .10000E-03 10000. 20 'norm ' .10022E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10175E-03 1.0000 .10000E-03 10000. 22 'Prefactor ' .10377E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .40294 1.0000 .10000E-03 10000. 24 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .54444 1.0000 .10000E-01 10.000 26 'Prefactor ' .73397 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. FCN= 3404.997 FROM MIGRAD STATUS=CONVERGED 1093 CALLS 3657 TOTAL EDM= .37E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 26.443 .18142E-02** at limit ** 2 Prefactor 83.216 36.569 .44031E-04 -.87244E-04 3 norm 11.895 5.4175 .83211E-04 .26690E-03 4 Prefactor 119.81 100.64 .18384E-03 .16851E-04 5 Prefactor .10000E-03 38.782 .36285E-03** at limit ** 6 norm 5.9060 5.5896 .11949E-03 -.20470E-03 7 Prefactor .10000E-03 29.284 .18142E-02** at limit ** 8 Prefactor .10000E-03 33.936 .18142E-02** at limit ** 9 Prefactor 87.436 45.212 .42968E-04 -.26204E-03 10 norm .10000E-03 .42912 .37005E-03** at limit ** 11 norm 7.5145 6.4408 .13217E-03 -.32989E-03 12 Prefactor .10044E-03 116.39 .40161E-02** at limit ** 13 norm 9.4353 17.067 .13037E-03 -.36320E-04 14 Prefactor 35.099 29.197 .67635E-04 -.97726E-04 15 Prefactor .10000E-03 194.35 .18142E-02** at limit ** 16 Prefactor .10000E-03 54.277 .18142E-02** at limit ** 17 norm 15.427 18.797 .10196E-03 -.20460E-04 18 Prefactor .10000E-03 7.2727 .15363E-02** at limit ** 19 norm .10000E-03 36.008 .18142E-02** at limit ** 20 norm .10000E-03 1.7730 .75627E-03** at limit ** 21 Prefactor .10000E-03 115.15 .18142E-02** at limit ** 22 Prefactor .10000E-03 201.14 .18142E-02** at limit ** 23 Prefactor .10001E-03 254.36 .33641 ** at limit ** 24 Prefactor .10000E-03 19.274 .18142E-02** at limit ** 25 Normalizat .54275 .50127 .70708E-03 -.66733E-04 26 Prefactor .73435 .12639 .14908E-03 -.25025E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 83.2157 norm = 11.8953 Prefactor = 119.811 Prefactor = 0.0001 norm = 5.90597 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 87.4362 norm = 0.0001 norm = 7.51449 Prefactor = 0.000100436 norm = 9.43526 Prefactor = 35.0987 Prefactor = 0.0001 Prefactor = 0.0001 norm = 15.4272 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100006 Prefactor = 0.0001 Normalizat = 0.542746 Prefactor = 0.734354 ********** ** 18 **HESSE ********** FCN= 3404.997 FROM HESSE STATUS=OK 440 CALLS 4097 TOTAL EDM= .39E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 26.444 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 83.216 36.566 .88063E-05 -1.3881 3 norm 11.895 5.4168 .33284E-05 -1.5018 4 Prefactor 119.81 100.63 .73538E-05 -1.3514 5 Prefactor .10000E-03 38.784 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 5.9060 5.5890 .47796E-05 -1.5222 7 Prefactor .10000E-03 29.285 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 33.938 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 87.436 45.188 .85937E-05 -1.3835 10 norm .10000E-03 .42912 .74010E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 7.5145 6.4399 .26434E-04 -1.5160 12 Prefactor .10044E-03 120.54 .16064E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 9.4353 17.066 .52148E-05 -1.5094 14 Prefactor 35.099 29.196 .13527E-04 -1.4522 15 Prefactor .10000E-03 194.35 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 54.280 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 15.427 18.797 .40784E-05 -1.4922 18 Prefactor .10000E-03 7.2728 .30727E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 36.012 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 1.7731 .15125E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 115.15 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .10000E-03 201.16 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10001E-03 254.36 .33641 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 19.274 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .54275 .50101 .28283E-04 -1.1047 26 Prefactor .73435 .12635 .29816E-04 -1.0220 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.88119e-09 Minuit parameter uncertainties: 1 0.000118432 2 36.5761 3 5.41706 4 100.775 5 0.000136856 6 5.5895 7 0.000164871 8 5.7044e-05 9 45.2061 10 9.91774e-07 11 6.44053 12 0.0145285 13 17.075 14 29.2077 15 0.000242591 16 0.000178626 17 18.8045 18 1.13214e-06 19 0.000115419 20 1.73709e-06 21 0.000228589 22 0.000140915 23 0.00250142 24 8.7889e-07 25 0.505263 26 0.126396 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3404.99723042 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.004e-04 1.453e-02 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: 7.344e-01 1.264e-01 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: 5.427e-01 5.053e-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: 4.46e-07 ph cm-2 s-1 Energy Flux Upper Limit: 3.45e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/859492/likelihoodResults_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.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) = 3404.99727017 delta logL = -3.97473349949e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 3404.99721016 delta logL = 2.02587948479e-05 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .30561E-02 1.0000 .10000E-03 10000. 2 'Index ' 2.2382 1.0000 .0000 10.000 3 'Normalizat' .54241 1.0000 .10000E-01 10.000 4 'Prefactor ' .73441 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 3404.950 FROM MIGRAD STATUS=CONVERGED 119 CALLS 291 TOTAL EDM= .27E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.0444 11.010 .34469E-03 .73386E-05 2 Index 1.6809 1.3133 .12789E-01 -.41771E-05 3 Normalizat .54796 .47079 .70384E-03 -.38200E-05 4 Prefactor .72945 .11757 .14954E-03 -.76025E-07 ERR DEF= .500 Final values: Prefactor = 3.04441 Index = 1.68095 Normalizat = 0.547955 Prefactor = 0.729445 ********** ** 18 **HESSE ********** FCN= 3404.950 FROM HESSE STATUS=OK 25 CALLS 316 TOTAL EDM= .83E-12 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.0444 11.237 .13788E-04 -1.5359 2 Index 1.6809 1.3404 .51157E-03 -.72590 3 Normalizat .54796 .47066 .28154E-04 -1.1024 4 Prefactor .72945 .11757 .59815E-05 -1.0238 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.3276e-13 Minuit parameter uncertainties: 1 11.2452 2 1.37085 3 0.47415 4 0.117606 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/859492': 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) = 3404.95005829 delta logL = 0.047172127574 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 3.044e+00 1.125e+01 1.000e-04 1.000e+04 ( 1.000e-12) 228 Index: 1.681e+00 1.371e+00 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: 7.294e-01 1.176e-01 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: 5.480e-01 4.742e-01 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 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/859492/cmap_HighResolution_599443201_600048001_4FGL_J0509.4+1012_weekly_bin596.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/859492 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-02', job_status='DONE', photon_flux_upper_limit='4.46e-07', time_completed='2021-07-08 00:54:16.111136', job_id='859492', GAL2='0.73', fit_tolerance='1e-08', EG2='0.55', EG='0.54', time_epoch_completed='1625730856.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='4.72e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='596' AND source_name='4FGL J0509.4+1012' AND cadence='weekly'; Database successfully updated. Analysis Complete. Thu Jul 8 00:54:16 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 859492: <4FGL_J0509.4+1012_weekly_bin596> in cluster Done Job <4FGL_J0509.4+1012_weekly_bin596> was submitted from host by user in cluster at Thu Jul 8 00:40:21 2021 Job was executed on host(s) , in queue , as user in cluster at Thu Jul 8 00:41:02 2021 was used as the home directory. was used as the working directory. Started at Thu Jul 8 00:41:02 2021 Terminated at Thu Jul 8 00:54:17 2021 Results reported at Thu Jul 8 00:54:17 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+1012_weekly_bin596 77.351 10.2008 599443201 600048001 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 : 628.00 sec. Max Memory : 1095 MB Average Memory : 287.11 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 794 sec. Turnaround time : 836 sec. The output (if any) is above this job summary.