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 216 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 = 7416
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1762
RA = 169.271, Dec = 20.2294
tmin = 696038401, tmax = 696297601
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='107758', job_status='RUN', time_executed='2023-01-25 00:55:02.296667', time_epoch_executed='1674636902.3' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107758

Creating custom pfile directory:
/scratch/kocevski/107758/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=696038401.0 && nMetStart<696297601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=696038401.0 && nMetStart<696297601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107758/ft1_4FGL_J1117.0+2013_daily_bin1762.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=696038401.0 && nMetStart<696297601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107758/ft1_4FGL_J1117.0+2013_daily_bin1762.fits outfile=/scratch/kocevski/107758/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1762.fits ra=169.271 dec=20.2294 rad=12.0 tmin=696038401.0 tmax=696297601.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 3.04
user 2.80
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.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/107758/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.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.44
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 570

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107758/ltcube_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.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/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits
.....................!
real 10.84
user 10.44
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107758/ltcube_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.fits outfile=/scratch/kocevski/107758/expmap_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.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/107758/ltcube_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.fits
.....................!
real 156.69
user 151.85
sys 4.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
Added 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1117.0+2013 @ 169.271 20.2294

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.fits scfile=/scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits outfile=/scratch/kocevski/107758/cmap_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.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=169.271 yref=20.2294 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.47
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.fits scfile=/scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits outfile=/scratch/kocevski/107758/cmap_HighResolution_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.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=169.271 yref=20.2294 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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107758/Model_4FGL_J1117.0+2013_daily_bin1762.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
Working on...
/scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.fits.....................!
real 50.39
user 49.07
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.fits', '/scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits', expMap='/scratch/kocevski/107758/expmap_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.fits', expCube='/scratch/kocevski/107758/ltcube_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107758/Model_4FGL_J1117.0+2013_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1117.0+2013'

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.413e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/107758/ft1_filtered_4FGL_J1117.0+2013_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/107758/ft2_4FGL_J1117.0+2013_daily_bin1762.fits
Exposure map: /scratch/kocevski/107758/expmap_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.fits
Exposure cube: /scratch/kocevski/107758/ltcube_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107758/Model_4FGL_J1117.0+2013_daily_bin1762.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) = 6509.96710556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6509.88847066

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45652E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41772E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    16.333       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.6365       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.681       1.0000          .0000       .10000E+07
     6 'Prefactor '    .57398E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .59659E-03   1.0000          .0000       .10000E+07
     8 'norm      '    1.0985       1.0000          .0000       .10000E+07
     9 'Prefactor '    .22629E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9882       1.0000          .0000       .10000E+07
    11 'norm      '    5.8805       1.0000          .0000       .10000E+07
    12 'Prefactor '    .40172E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10774E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .67235       1.0000          .0000       .10000E+07
    15 'Prefactor '    78.917       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.6394       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.0937       1.0000          .0000       .10000E+07
    18 'Prefactor '    .70425E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .93106       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3381       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6509.888     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1558 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63505E-07    8.1963        .45537E-06** at limit **
   2  Prefactor     .55511E-10    1.5807       -.11681E-06** at limit **
   3  Prefactor     16.386        8.7977       -.14929E-07    .35234E-02
   4  Prefactor     5.5055        7.9543        .31198E-05    .78987E-01
   5  Prefactor     18.844        6.3925        .12879E-05    .12206    
   6  Prefactor     .31373E-05    13.974       -.60625E-06** at limit **
   7  Prefactor     .67618E-06    13.438       -.55354E-06** at limit **
   8  norm          1.0984        1.1139        .31743E-07   -.38768E-02
   9  Prefactor     .34028E-07    8.8357       -.69328E-06** at limit **
  10  Prefactor     3.9909        5.5185        .40253E-06    .45876E-02
  11  norm          5.9168        10.412       -.26234E-06   -.45852E-02
  12  Prefactor     .11102E-08    3.6021       -.29929E-06** at limit **
  13  Prefactor     .64825E-05    25.026        .84253E-07** at limit **
  14  Prefactor     .63624        2.4959       -.19122E-05    .70220E-02
  15  Prefactor     79.715        22.408        .14807E-05   -.24681    
  16  Prefactor     7.6349        8.3604        .29818E-06    .91914E-02
  17  Prefactor     2.0712        2.7328       -.15436E-06    .22433E-02
  18  Prefactor     .39413E-06    16.714        .96610E-06** at limit **
  19  Normalizat    .93046        .23389       -.19583E-04   -.15660E-03
  20  Prefactor     1.3383        .23839        .46843E-05   -.22173E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.35048e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 16.3865
  Prefactor  = 5.50547
  Prefactor  = 18.8442
  Prefactor  = 3.13732e-06
  Prefactor  = 6.76181e-07
  norm       = 1.09842
  Prefactor  = 3.40283e-08
  Prefactor  = 3.99095
  norm       = 5.91683
  Prefactor  = 1.11022e-09
  Prefactor  = 6.48248e-06
  Prefactor  = 0.636238
  Prefactor  = 79.7153
  Prefactor  = 7.63492
  Prefactor  = 2.07123
  Prefactor  = 3.94129e-07
  Normalizat = 0.930455
  Prefactor  = 1.33829
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.888     FROM HESSE     STATUS=OK           339 CALLS     1897 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63505E-07    8.1834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    1.5706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.386        8.8171        .24756E-03   -1.5627    
   4  Prefactor     5.5055        15.003        .42289E-03   -1.5661    
   5  Prefactor     18.844        16.882        .23145E-03   -1.5621    
   6  Prefactor     .31373E-05    28.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .67618E-06    26.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0984        1.1336        .11348E-02   -1.5687    
   9  Prefactor     .34028E-07    8.4456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9909        5.5221        .50479E-03   -1.5668    
  11  norm          5.9168        10.435        .41389E-03   -1.5659    
  12  Prefactor     .11102E-08    3.6004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .64825E-05    31.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .63624        43.231        .62982E-03   -1.5692    
  15  Prefactor     79.715        36.333        .11257E-03   -1.5529    
  16  Prefactor     7.6349        8.3757        .36258E-03   -1.5653    
  17  Prefactor     2.0712        2.9176        .71309E-03   -1.5679    
  18  Prefactor     .39413E-06    16.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .93046        .19751        .65691E-01   -.95398    
  20  Prefactor     1.3383        .19821        .58897E-01   -.82175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60129e-06
Minuit parameter uncertainties:
  1  0.00144187
  2  2.02586e-05
  3  8.81714
  4  15.0036
  5  16.882
  6  0.0189199
  7  0.00843943
  8  1.13359
  9  0.00107188
  10  5.52215
  11  10.435
  12  0.000126304
  13  0.028765
  14  10.4892
  15  36.3327
  16  8.37575
  17  2.91758
  18  0.00511785
  19  0.197665
  20  0.198322
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6509.8875868

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  3.991e+00  5.522e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.957e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.338e+00  1.983e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  9.305e-01  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.91
Ra Dec: 169.271 20.229
Photon Flux Upper Limit: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107758/likelihoodResults_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6509.86374025
delta logL = 0.0238465438742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6509.86197291
delta logL = 0.0256138826953

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2930       1.0000          .0000       .10000E+07
     2 'Index     '    1.7518       1.0000          .0000       10.000    
     3 'Normalizat'    .93475       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3360       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+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=   6509.862     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      238 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2934        5.9503        .19440E-04   -.87554E-02
   2  Index         1.7517        .87509        .12213E-01   -.14473E-03
   3  Normalizat    .93479        .22420        .28995E-03    .14304E-03
   4  Prefactor     1.3359        .23663        .26063E-03    .18457E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.29336
  Index      = 1.75168
  Normalizat = 0.934791
  Prefactor  = 1.33593
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.862     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2934        5.9319        .77758E-06   -1.5667    
   2  Index         1.7517        .87246        .48853E-03   -.70714    
   3  Normalizat    .93479        .22433        .11598E-04   -.95248    
   4  Prefactor     1.3359        .23682        .52126E-04   -.82245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77666e-09
Minuit parameter uncertainties:
  1  5.93188
  2  0.880304
  3  0.224559
  4  0.237014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107758': 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) = 6509.86197289
delta logL = 0.0256139078174

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  4.293e+00  5.932e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.752e+00  8.803e-01  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.912e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.336e+00  2.370e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  9.348e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.91
Ra Dec: 169.271 20.229

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/107758/cmap_HighResolution_696038401_696297601_4FGL_J1117.0+2013_daily_bin1762.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/107758

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.07e-03', job_status='DONE', photon_flux_upper_limit='6.78e-08', time_completed='2023-01-25 01:03:03.621389', job_id='107758', GAL2='1.34', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1674637383.62', return_code2='0', ts='0.91', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='2.56e-02', ts2='0.96', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1762' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:03:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 107758: <4FGL_J1117.0+2013_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:17 2023
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:51:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:51:17 2023
Terminated at Wed Jan 25 01:03:04 2023
Results reported at Wed Jan 25 01:03:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1762 169.271 20.2294 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1117.0+2013 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   482.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            767 sec.

The output (if any) is above this job summary.

