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 169 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 = 7538 number of fields = 31 RA_SUN column already exists. File will not be modified.DDone. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1767 RA = 75.6341, Dec = 13.6685 tmin = 697334401, tmax = 697593601 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='59658', job_status='RUN', time_executed='2023-02-09 00:33:16.621586', time_epoch_executed='1675931596.62' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1767' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/59658 Creating custom pfile directory: /scratch/kocevski/59658/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=697334401.0 && nMetStart<697593601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=697334401.0 && nMetStart<697593601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/59658/ft1_4FGL_J0502.5+1340_daily_bin1767.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=697334401.0 && nMetStart<697593601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/59658/ft1_4FGL_J0502.5+1340_daily_bin1767.fits outfile=/scratch/kocevski/59658/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1767.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=697334401.0 tmax=697593601.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.66 user 3.41 sys 0.25 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.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/59658/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.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.53 user 0.33 sys 0.17 Number of photons that the gtmktime cut: 1853 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/59658/ltcube_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.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/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits .....................! real 16.12 user 15.61 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/59658/ltcube_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.fits outfile=/scratch/kocevski/59658/expmap_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.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/59658/ltcube_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.fits .....................! real 192.93 user 186.71 sys 4.95 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_8years/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Added 161 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.fits scfile=/scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits outfile=/scratch/kocevski/59658/cmap_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=75.6341 yref=13.6685 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.55 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.fits scfile=/scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits outfile=/scratch/kocevski/59658/cmap_HighResolution_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=75.6341 yref=13.6685 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.57 user 0.39 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59658/Model_4FGL_J0502.5+1340_daily_bin1767.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 adding source IC 443 adding source S 147 Working on... /scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.fits.....................! real 425.86 user 423.66 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.fits', '/scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits', expMap='/scratch/kocevski/59658/expmap_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.fits', expCube='/scratch/kocevski/59658/ltcube_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/59658/Model_4FGL_J0502.5+1340_daily_bin1767.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/59658/ft1_filtered_4FGL_J0502.5+1340_daily_bin1767.fits Spacecraft file(s): /scratch/kocevski/59658/ft2_4FGL_J0502.5+1340_daily_bin1767.fits Exposure map: /scratch/kocevski/59658/expmap_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.fits Exposure cube: /scratch/kocevski/59658/ltcube_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/59658/Model_4FGL_J0502.5+1340_daily_bin1767.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) = 18867.7573911 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 18867.5782792 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19945E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 9.7815 1.0000 .0000 .10000E+07 3 'norm ' 2.6129 1.0000 .0000 .10000E+07 4 'Prefactor ' 5.6471 1.0000 .0000 .10000E+07 5 'norm ' .27731 1.0000 .0000 .10000E+07 6 'Prefactor ' 13.219 1.0000 .0000 .10000E+07 7 'Prefactor ' .50272E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' .10529E-02 1.0000 .0000 .10000E+07 9 'norm ' .43698E-06 1.0000 .0000 .10000E+07 10 'norm ' 6.5149 1.0000 .0000 .10000E+07 11 'Prefactor ' 3.7217 1.0000 .0000 .10000E+07 12 'norm ' 4.5353 1.0000 .0000 .10000E+07 13 'Prefactor ' 1.7213 1.0000 .0000 .10000E+07 14 'Prefactor ' .17496E-02 1.0000 .0000 .10000E+07 15 'norm ' 5.8552 1.0000 .0000 .10000E+07 16 'norm ' 4.6334 1.0000 .0000 .10000E+07 17 'norm ' .13284E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' .89759 1.0000 .10000E-03 10000. 19 'Prefactor ' 3.3708 1.0000 .0000 .10000E+07 20 'Prefactor ' 15.559 1.0000 .0000 .10000E+07 21 'Prefactor ' .64114E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' 1.5196 1.0000 .0000 .10000E+07 23 'Normalizat' 1.6215 1.0000 .10000E-01 10.000 24 'Prefactor ' .90550 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 18867.58 FROM MIGRAD STATUS=CONVERGED 175 CALLS 1641 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .67474E-04 61.173 -.11374E-05** at limit ** 2 Prefactor 9.9230 13.072 -.21626E-06 -.37007E-03 3 norm 2.6100 2.7205 -.11075E-06 -.80454E-03 4 Prefactor 4.5956 25.231 .53794E-06 -.33306E-01 5 norm .28972 5.3206 .55273E-06 -.10872E-03 6 Prefactor 12.578 20.206 .17008E-06 .13231 7 Prefactor .29698E-07 11.474 -.38862E-06** at limit ** 8 Prefactor .25741E-06 23.158 -.21492E-05** at limit ** 9 norm .0000 .48503 .63523E-07** at limit ** 10 norm 6.5256 3.6165 -.17100E-07 -.73674E-03 11 Prefactor 3.6983 3.2455 .25608E-07 .19569E-03 12 norm 4.4987 5.6496 -.31983E-07 .11746E-02 13 Prefactor 1.7212 2.5478 -.41386E-07 -.14912E-04 14 Prefactor .33920E-04 48.978 -.21361E-06** at limit ** 15 norm 5.8331 2.8278 -.11988E-07 -.60449E-03 16 norm 4.6280 5.9380 -.87374E-07 .70282E-03 17 norm .0000 .22401 .41288E-07** at limit ** 18 Prefactor .89768 .12052 -.12033E-07 -.98052E-03 19 Prefactor 3.3695 1.1383 .65095E-08 -.15503E-02 20 Prefactor 15.637 17.372 -.51102E-07 -.43100E-01 21 Prefactor .44686E-07 10.791 .34624E-06** at limit ** 22 Prefactor 1.5047 5.0242 -.26375E-06 .94400E-04 23 Normalizat 1.6240 .31382 -.31578E-05 -.38213E-04 24 Prefactor .90532 .56769E-01 .28909E-06 -.18619E-04 ERR DEF= .500 Final values: Prefactor = 6.7474e-05 Prefactor = 9.92303 norm = 2.61002 Prefactor = 4.5956 norm = 0.289718 Prefactor = 12.5779 Prefactor = 2.96985e-08 Prefactor = 2.57405e-07 norm = 0 norm = 6.52561 Prefactor = 3.69828 norm = 4.49873 Prefactor = 1.72117 Prefactor = 3.39198e-05 norm = 5.83313 norm = 4.62803 norm = 0 Prefactor = 0.897681 Prefactor = 3.36952 Prefactor = 15.6375 Prefactor = 4.46865e-08 Prefactor = 1.50466 Normalizat = 1.624 Prefactor = 0.905324 ********** ** 18 **HESSE ********** FCN= 18867.58 FROM HESSE STATUS=OK 467 CALLS 2108 TOTAL EDM= .49E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .67474E-04 105.67 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 9.9230 13.148 .32016E-03 -1.5645 3 norm 2.6100 2.7190 .63076E-03 -1.5676 4 Prefactor 4.5956 72.292 .42248E-03 -1.5665 5 norm .28972 .94222 .71568E-02 -1.5697 6 Prefactor 12.578 27.404 .27524E-03 -1.5637 7 Prefactor .29698E-07 11.475 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .25741E-06 23.039 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 .23036 .20269E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 6.5256 3.8296 .39295E-03 -1.5657 11 Prefactor 3.6983 3.2472 .52319E-03 -1.5670 12 norm 4.4987 5.6843 .47248E-03 -1.5666 13 Prefactor 1.7212 2.5677 .80033E-03 -1.5682 14 Prefactor .33920E-04 84.826 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 5.8331 2.8268 .41479E-03 -1.5660 16 norm 4.6280 6.0529 .46733E-03 -1.5665 17 norm .0000 .22318 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .89768 .11775 .31259E-02 -1.5518 19 Prefactor 3.3695 1.1119 .55091E-03 -1.5671 20 Prefactor 15.637 17.496 .25365E-03 -1.5629 21 Prefactor .44686E-07 10.861 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 1.5047 5.0988 .86650E-03 -1.5683 23 Normalizat 1.6240 .28941 .13560 -.74351 24 Prefactor .90532 .51464E-01 .34490E-01 -.95955 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.86055e-06 Minuit parameter uncertainties: 1 0.168881 2 13.1485 3 2.71897 4 36.4546 5 0.942217 6 27.4044 7 0.00116754 8 0.00487057 9 6.49309e-07 10 3.82965 11 3.24723 12 5.68427 13 2.56767 14 0.107282 15 2.8268 16 6.05293 17 7.29407e-07 18 0.117749 19 1.1119 20 17.4956 21 0.00139295 22 5.09878 23 0.289714 24 0.0514668 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 18867.5773493 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 2.574e-07 4.871e-03 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.053e-01 5.147e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.624e+00 2.897e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.01e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/59658/likelihoodResults_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.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) = 18867.5965125 delta logL = -0.0191632661445 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 18867.2090899 delta logL = 0.368259379487 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .25400 1.0000 .0000 .10000E+07 2 'Index ' 3.9253 1.0000 .0000 10.000 3 'Normalizat' 1.5395 1.0000 .10000E-01 10.000 4 'Prefactor ' .91215 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= 18867.21 FROM MIGRAD STATUS=CONVERGED 91 CALLS 293 TOTAL EDM= .19E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .25411 15.825 .75494E-05 -.96866E-01 2 Index 3.9257 6.9476 .80944E-02 -.72218E-03 3 Normalizat 1.5395 .23279 .61502E-03 -.54982E-03 4 Prefactor .91217 .44682E-01 .15187E-03 -.12561E-02 ERR DEF= .500 Final values: Prefactor = 0.254113 Index = 3.92571 Normalizat = 1.53946 Prefactor = 0.91217 ********** ** 18 **HESSE ********** FCN= 18867.21 FROM HESSE STATUS=OK 25 CALLS 318 TOTAL EDM= .97E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .25411 1.8543 .30198E-06 -1.5698 2 Index 3.9257 2.0144 .32377E-03 -.21655 3 Normalizat 1.5395 .29113 .24601E-04 -.76676 4 Prefactor .91217 .55217E-01 .30374E-04 -.95717 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.72676e-09 Minuit parameter uncertainties: 1 1.37288 2 2.07645 3 0.291448 4 0.0552203 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/59658': 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) = 18867.2090887 delta logL = 0.368260577539 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 2.541e-01 1.373e+00 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 3.926e+00 2.076e+00 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.122e-01 5.522e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.539e+00 2.914e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 75.634 13.668 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/59658/cmap_HighResolution_697334401_697593601_4FGL_J0502.5+1340_daily_bin1767.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/59658 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.01e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2023-02-09 00:57:03.326708', job_id='59658', GAL2='0.91', fit_tolerance='1e-08', EG2='1.54', EG='1.62', time_epoch_completed='1675933023.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.68e-01', ts2='0.81', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1767' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Feb 9 00:57:03 PST 2023 ---------------------------------------------------------- Sender: LSF System Subject: Job 59580: <4FGL_J0502.5+1340_daily_bin1767> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1767> was submitted from host by user in cluster at Thu Feb 9 00:06:12 2023 Job was executed on host(s) , in queue , as user in cluster at Thu Feb 9 00:29:08 2023 was used as the home directory. was used as the working directory. Started at Thu Feb 9 00:29:08 2023 Terminated at Thu Feb 9 00:53:26 2023 Results reported at Thu Feb 9 00:53:26 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1767 75.6341 13.6685 697334401 697593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1417.41 sec. Max Memory : 619 MB Average Memory : 374.13 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1459 sec. Turnaround time : 2834 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 59658: <4FGL_J0502.5+1340_daily_bin1767> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1767> was submitted from host by user in cluster at Thu Feb 9 00:06:16 2023 Job was executed on host(s) , in queue , as user in cluster at Thu Feb 9 00:30:03 2023 was used as the home directory. was used as the working directory. Started at Thu Feb 9 00:30:03 2023 Terminated at Thu Feb 9 00:57:03 2023 Results reported at Thu Feb 9 00:57:03 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1767 75.6341 13.6685 697334401 697593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1424.47 sec. Max Memory : 619 MB Average Memory : 354.16 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 1620 sec. Turnaround time : 3047 sec. The output (if any) is above this job summary.