aklog: Couldn't determine realm of user:aklog: No credentials cache found 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 145 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. 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 = 17237 number of fields = 31 RA_SUN column already exists. File will not be modified.DDone. Performing analysis on: 4FGL_J0509.4+0542_weekly_bin757 RA = 77.3593, Dec = 5.7014 tmin = 696816001, tmax = 697420801 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='245862', job_status='RUN', time_executed='2023-02-07 00:19:19.412023', time_epoch_executed='1675757959.41' WHERE source_name='4FGL J0509.4+0542' and cadence='weekly' and bin_id='757' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/245862 Creating custom pfile directory: /scratch/kocevski/245862/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=696816001.0 && nMetStart<697420801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=696816001.0 && nMetStart<697420801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/245862/ft1_4FGL_J0509.4+0542_weekly_bin757.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=696816001.0 && nMetStart<697420801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/245862/ft1_4FGL_J0509.4+0542_weekly_bin757.fits outfile=/scratch/kocevski/245862/ft1_filteredMKT_4FGL_J0509.4+0542_weekly_bin757.fits ra=77.3593 dec=5.7014 rad=12.0 tmin=696816001.0 tmax=697420801.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.76 user 7.36 sys 0.34 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.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/245862/ft1_filteredMKT_4FGL_J0509.4+0542_weekly_bin757.fits evtable="EVENTS" outfile="/scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.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.58 user 0.39 sys 0.18 Number of photons that the gtmktime cut: 3133 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.fits" evtable="EVENTS" scfile=/scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits sctable="SC_DATA" outfile=/scratch/kocevski/245862/ltcube_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.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/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits .....................! real 31.98 user 31.54 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.fits evtable="EVENTS" scfile=/scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits sctable="SC_DATA" expcube=/scratch/kocevski/245862/ltcube_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.fits outfile=/scratch/kocevski/245862/expmap_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.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/245862/ltcube_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.fits .....................! real 192.31 user 186.38 sys 5.50 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 Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template. Added 147 point sources and 1 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+0542 @ 77.3593 5.7014 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.fits scfile=/scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits outfile=/scratch/kocevski/245862/cmap_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.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.3593 yref=5.7014 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.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.fits scfile=/scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits outfile=/scratch/kocevski/245862/cmap_HighResolution_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.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.3593 yref=5.7014 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.62 user 0.45 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.fits evtable="EVENTS" scfile=/scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/245862/Model_4FGL_J0509.4+0542_weekly_bin757.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 Rosette Working on... /scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.fits.....................! real 597.88 user 595.27 sys 1.23 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.fits', '/scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits', expMap='/scratch/kocevski/245862/expmap_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.fits', expCube='/scratch/kocevski/245862/ltcube_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/245862/Model_4FGL_J0509.4+0542_weekly_bin757.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+0542' 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 7.518e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 204 alpha: 1.996e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 205 beta: 5.199e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/245862/ft1_filtered_4FGL_J0509.4+0542_weekly_bin757.fits Spacecraft file(s): /scratch/kocevski/245862/ft2_4FGL_J0509.4+0542_weekly_bin757.fits Exposure map: /scratch/kocevski/245862/expmap_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.fits Exposure cube: /scratch/kocevski/245862/ltcube_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/245862/Model_4FGL_J0509.4+0542_weekly_bin757.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) = 32933.865028 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 32933.8130757 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.886 1.0000 .0000 .10000E+07 2 'Prefactor ' .70732E-03 1.0000 .0000 .10000E+07 3 'norm ' 4.1942 1.0000 .0000 .10000E+07 4 'Prefactor ' 31.885 1.0000 .0000 .10000E+07 5 'norm ' 6.0217 1.0000 .0000 .10000E+07 6 'norm ' 2.9794 1.0000 .0000 .10000E+07 7 'Prefactor ' .70508E-03 1.0000 .0000 .10000E+07 8 'norm ' 7.6209 1.0000 .0000 .10000E+07 9 'Prefactor ' .30663E-04 1.0000 .0000 .10000E+07 10 'Prefactor ' 11.743 1.0000 .0000 .10000E+07 11 'norm ' .28030 1.0000 .0000 .10000E+07 12 'Prefactor ' 8.2386 1.0000 .0000 .10000E+07 13 'norm ' 4.2556 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.2700 1.0000 .0000 .10000E+07 15 'Prefactor ' 2.3324 1.0000 .0000 .10000E+07 16 'norm ' .10103E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' .60285E-03 1.0000 .0000 .10000E+07 18 'Prefactor ' 5.5903 1.0000 .0000 .10000E+07 19 'norm ' .28522E-06 1.0000 .0000 .10000E+07 20 'norm ' .14124 1.0000 .0000 .10000E+07 21 'Prefactor ' 22.142 1.0000 .0000 .10000E+07 22 'Prefactor ' .82838 1.0000 .0000 .10000E+07 23 'Prefactor ' .20508E-04 1.0000 .0000 .10000E+07 24 'norm ' .34216E-04 1.0000 .0000 .10000E+07 25 'norm ' 1.2711 1.0000 .0000 .10000E+07 26 'Normalizat' 1.1083 1.0000 .10000E-01 10.000 27 'Prefactor ' .88838 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5060E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 32933.81 FROM MIGRAD STATUS=CONVERGED 153 CALLS 2399 TOTAL EDM= .58E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.473 5.5809 -.58265E-06 -.10254 2 Prefactor .57176E-08 9.4589 -.16618E-06** at limit ** 3 norm 4.2237 1.8987 .93796E-07 .23658E-02 4 Prefactor 30.838 25.303 -.32482E-06 -.16560E-01 5 norm 6.0183 1.5439 .61400E-07 .55317E-03 6 norm 2.9797 1.2977 .11877E-06 .96764E-03 7 Prefactor .0000 5.8486 -.39363E-06** at limit ** 8 norm 7.6221 1.5294 .75007E-07 .15129E-02 9 Prefactor .57121E-07 3.4551 -.65952E-06** at limit ** 10 Prefactor 11.758 5.1297 .16799E-06 -.37049E-03 11 norm .27982 .26266 .10067E-06 .14160E-02 12 Prefactor 8.0915 1.0913 -.59451E-07 -.56393E-02 13 norm 4.2577 2.1065 -.33694E-07 .23948E-03 14 Prefactor 1.2675 1.5667 .21847E-06 .45927E-03 15 Prefactor 2.3189 1.9870 .40248E-07 .55796E-03 16 norm .24314E-07 10.626 -.19155E-05** at limit ** 17 Prefactor .29254E-07 18.088 -.71995E-06** at limit ** 18 Prefactor 5.5852 3.0457 .15297E-06 -.81911E-03 19 norm .0000 4.2605 -.39519E-06** at limit ** 20 norm .14140 .33462 -.17393E-07** at limit ** 21 Prefactor 21.903 14.215 -.12773E-05 .62425E-02 22 Prefactor .93406 105.30 .84639E-05 -.49528E-02 23 Prefactor .0000 2.9925 -.12912E-05** at limit ** 24 norm .57232E-07 3.5014 -.53202E-06** at limit ** 25 norm 1.2652 2.5667 -.19567E-06 -.24287E-03 26 Normalizat 1.1096 .16394 -.17276E-04 .88316E-04 27 Prefactor .88838 .37759E-01 .11081E-05 .27014E-03 ERR DEF= .500 Final values: Prefactor = 14.4729 Prefactor = 5.71765e-09 norm = 4.22369 Prefactor = 30.8378 norm = 6.01831 norm = 2.9797 Prefactor = 0 norm = 7.62205 Prefactor = 5.7121e-08 Prefactor = 11.7581 norm = 0.27982 Prefactor = 8.09149 norm = 4.25774 Prefactor = 1.26748 Prefactor = 2.31893 norm = 2.43139e-08 Prefactor = 2.92544e-08 Prefactor = 5.58516 norm = 0 norm = 0.141403 Prefactor = 21.9032 Prefactor = 0.934063 Prefactor = 0 norm = 5.7232e-08 norm = 1.26516 Normalizat = 1.10957 Prefactor = 0.88838 * ********** ** 18 **HESSE ********** FCN= 32933.81 FROM HESSE STATUS=OK 558 CALLS 2957 TOTAL EDM= .66E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.473 17.316 .25933E-03 -1.5632 2 Prefactor .57176E-08 9.4960 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 4.2237 2.2493 .49184E-03 -1.5667 4 Prefactor 30.838 25.553 .17712E-03 -1.5597 5 norm 6.0183 1.5424 .40894E-03 -1.5659 6 norm 2.9797 1.3046 .58793E-03 -1.5673 7 Prefactor .0000 5.8471 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 7.6221 1.5621 .36303E-03 -1.5653 9 Prefactor .57121E-07 6.8753 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 11.758 5.1446 .29209E-03 -1.5639 11 norm .27982 .32495 .20312E-02 -1.5697 12 Prefactor 8.0915 15.017 .34904E-03 -1.5651 13 norm 4.2577 2.2017 .48818E-03 -1.5667 14 Prefactor 1.2675 1.5926 .98706E-03 -1.5685 15 Prefactor 2.3189 1.9965 .67119E-03 -1.5678 16 norm .24314E-07 10.724 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .29254E-07 18.176 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 5.5852 3.0489 .42466E-03 -1.5661 19 norm .0000 4.1866 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .14140 .31209 .27825E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 21.903 22.517 .21257E-03 -1.5614 22 Prefactor .93406 148.14 .50843E-03 -1.5689 23 Prefactor .0000 2.9434 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .57232E-07 6.8567 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 1.2652 2.5910 .98632E-03 -1.5685 26 Normalizat 1.1096 .16247 .11795 -.89445 27 Prefactor .88838 .35504E-01 .32045E-01 -.96548 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.6399e-06 Minuit parameter uncertainties: 1 17.3161 2 0.00046604 3 2.2493 4 25.5528 5 1.54236 6 1.30456 7 9.52678e-06 8 1.5621 9 0.00125312 10 5.14456 11 0.324949 12 15.0175 13 2.20168 14 1.59256 15 1.99649 16 0.00102176 17 0.00145899 18 3.04893 19 7.86773e-06 20 0.312087 21 22.5175 22 23.527 23 6.22909e-06 24 0.00125315 25 2.591 26 0.162543 27 0.0355053 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 32933.8116621 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 4.258e+00 2.202e+00 0.000e+00 1.000e+06 ( 1.000e-12) 204 alpha: 1.996e+00 0.000e+00 0.000e+00 5.000e+00 ( 1.000e+00) fixed 205 beta: 5.199e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 8.884e-01 3.551e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 498 Normalization: 1.110e+00 1.625e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 9.47 Ra Dec: 77.359 5.701 Photon Index (Fixed Index): 2.00 +/- 0.00 Photon Flux (Fixed Index): 4.23e-08 +/- 2.19e-08 Energy Flux (Fixed Index): 2.70e-05 +/- 1.40e-05 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) = 32933.2388718 delta logL = 0.572790231461 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 32933.2341526 delta logL = 0.577509492417 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.7207 1.0000 .0000 .10000E+07 2 'alpha ' 2.4441 1.0000 .0000 5.0000 3 'Normalizat' 1.0730 1.0000 .10000E-01 10.000 4 'Prefactor ' .89273 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5060E+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= 32933.23 FROM MIGRAD STATUS=CONVERGED 89 CALLS 314 TOTAL EDM= .17E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.7208 2.0818 .13901E-04 .18646E-02 2 alpha 2.4439 .45302 .14777E-01 .73327E-03 3 Normalizat 1.0730 .15417 .53112E-03 .87333E-04 4 Prefactor .89273 .36816E-01 .14129E-03 .32508E-03 ERR DEF= .500 Final values: norm = 3.72078 alpha = 2.44392 Normalizat = 1.07297 Prefactor = 0.892729 ********** ** 18 **HESSE ********** FCN= 32933.23 FROM HESSE STATUS=OK 25 CALLS 339 TOTAL EDM= .20E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.7208 1.9672 .55604E-06 -1.5669 2 alpha 2.4439 .42755 .29554E-02 -.22435E-01 3 Normalizat 1.0730 .15384 .21245E-04 -.90624 4 Prefactor .89273 .36787E-01 .56515E-05 -.96396 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.99898e-11 Minuit parameter uncertainties: 1 1.96723 2 0.429666 3 0.153908 4 0.0367876 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/245862': 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) = 32933.2341525 delta logL = 0.57750962209 Extracting fit parameters... 4FGL J0509.4+0542 Spectrum: LogParabola 203 norm: 3.721e+00 1.967e+00 0.000e+00 1.000e+06 ( 1.000e-12) 204 alpha: 2.444e+00 4.297e-01 0.000e+00 5.000e+00 ( 1.000e+00) 205 beta: 5.199e-02 0.000e+00 -5.000e+00 1.000e+01 ( 1.000e+00) fixed 206 Eb: 1.074e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 499 Prefactor: 8.927e-01 3.679e-02 0.000e+00 1.000e+01 ( 1.000e+00) 500 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 501 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 498 Normalization: 1.073e+00 1.539e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 10.77 Ra Dec: 77.359 5.701 Photon Index (Free Index): 2.44 +/- 0.43 Photon Flux (Free Index): 7.21e-08 +/- 4.05e-08 Energy Flux (Free Index): 2.31e-05 +/- 9.91e-06 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/245862/cmap_HighResolution_696816001_697420801_4FGL_J0509.4+0542_weekly_bin757.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/245862 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='2.31e-05', photon_flux_error='2.19e-08', dlogl='5.78e-01', energy_flux='2.70e-05', photon_flux2='7.21e-08', job_status='DONE', time_completed='2023-02-07 00:54:47.720665', photon_index_error2='0.43', photon_index2='2.44', ts='9.47', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='9.91e-06', EG='1.11', time_epoch_completed='1675760087.72', return_code='0', job_id='245862', GAL2='0.89', EG2='1.07', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='4.05e-08', ts2='10.77', photon_index='2.00' WHERE bin_id='757' AND source_name='4FGL J0509.4+0542' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Feb 7 00:54:47 PST 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 245886: <4FGL_J0509.4+0542_weekly_bin757> in cluster Done Job <4FGL_J0509.4+0542_weekly_bin757> was submitted from host by user in cluster at Tue Feb 7 00:05:40 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Feb 7 00:17:08 2023 was used as the home directory. was used as the working directory. Started at Tue Feb 7 00:17:08 2023 Terminated at Tue Feb 7 00:53:18 2023 Results reported at Tue Feb 7 00:53:18 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+0542_weekly_bin757 77.3593 5.7014 696816001 697420801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+0542 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2113.00 sec. Max Memory : 622 MB Average Memory : 390.04 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2169 sec. Turnaround time : 2858 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 245862: <4FGL_J0509.4+0542_weekly_bin757> in cluster Done Job <4FGL_J0509.4+0542_weekly_bin757> was submitted from host by user in cluster at Tue Feb 7 00:05:39 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Feb 7 00:16:45 2023 was used as the home directory. was used as the working directory. Started at Tue Feb 7 00:16:45 2023 Terminated at Tue Feb 7 00:54:48 2023 Results reported at Tue Feb 7 00:54:48 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+0542_weekly_bin757 77.3593 5.7014 696816001 697420801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+0542 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2124.44 sec. Max Memory : 628 MB Average Memory : 380.15 MB Total Requested Memory : - Delta Memory : - Max Swap : 2937 MB Max Processes : 6 Max Threads : 21 Run time : 2283 sec. Turnaround time : 2949 sec. The output (if any) is above this job summary.