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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1759
RA = 169.271, Dec = 20.2294
tmin = 695260801, tmax = 695520001
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='555669', job_status='RUN', time_executed='2023-01-16 01:02:58.615040', time_epoch_executed='1673859778.62' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555669

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555669/ft1_4FGL_J1117.0+2013_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555669/ft1_4FGL_J1117.0+2013_daily_bin1759.fits outfile=/scratch/kocevski/555669/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1759.fits ra=169.271 dec=20.2294 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.75
user 2.52
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.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/555669/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 389

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/555669/ltcube_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.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/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits
.....................!
real 18.51
user 17.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/555669/ltcube_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.fits outfile=/scratch/kocevski/555669/expmap_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.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/555669/ltcube_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.fits
.....................!
real 194.04
user 187.16
sys 6.02

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/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.fits scfile=/scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits outfile=/scratch/kocevski/555669/cmap_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.fits scfile=/scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits outfile=/scratch/kocevski/555669/cmap_HighResolution_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555669/Model_4FGL_J1117.0+2013_daily_bin1759.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/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.fits.....................!
real 46.84
user 45.39
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.fits', '/scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits', expMap='/scratch/kocevski/555669/expmap_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.fits', expCube='/scratch/kocevski/555669/ltcube_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555669/Model_4FGL_J1117.0+2013_daily_bin1759.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/555669/ft1_filtered_4FGL_J1117.0+2013_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/555669/ft2_4FGL_J1117.0+2013_daily_bin1759.fits
Exposure map: /scratch/kocevski/555669/expmap_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.fits
Exposure cube: /scratch/kocevski/555669/ltcube_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555669/Model_4FGL_J1117.0+2013_daily_bin1759.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) = 4478.57464302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94883E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .59493E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.0824       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.061       1.0000          .0000       .10000E+07
     5 'Prefactor '    .15704E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .85304E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.8871       1.0000          .0000       .10000E+07
     8 'norm      '    .91978       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4014       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13225E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .10093E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.6485       1.0000          .0000       .10000E+07
    13 'Prefactor '    .42776E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    52.103       1.0000          .0000       .10000E+07
    15 'Prefactor '    135.21       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14495E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.2865       1.0000          .0000       .10000E+07
    18 'Prefactor '    .63821       1.0000          .0000       .10000E+07
    19 'Normalizat'    .40363       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.6278       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=   4478.556     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1508 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-09    6.7619       -.63168E-06** at limit **
   2  Prefactor      .0000        2.4627       -.24449E-06** at limit **
   3  Prefactor     7.1192        3.3232        .15578E-05    .28409E-01
   4  Prefactor     21.478        18.231       -.44765E-05   -.26206E-01
   5  Prefactor     .31641E-08    7.3121        .17313E-05** at limit **
   6  Prefactor     .83267E-09    5.3913        .38341E-06** at limit **
   7  Prefactor     5.0311        24.695        .15231E-05   -.39326E-01
   8  norm          .92373        1.3201       -.21382E-07   -.18209E-02
   9  Prefactor     3.3907        4.3944       -.58396E-07    .14789E-02
  10  Prefactor      .0000        4.1058        .55876E-07** at limit **
  11  norm          .21205E-07    15.751       -.12847E-05** at limit **
  12  Prefactor     5.6738        3.2302        .17248E-05    .50177E-01
  13  Prefactor     .19662E-06    1.7687        .22449E-05** at limit **
  14  Prefactor     52.560        18.356        .63421E-06   -.16502    
  15  Prefactor     136.74        43.362        .14044E-05   -.62589E-01
  16  Prefactor     .61062E-09    8.4480       -.69958E-06** at limit **
  17  Prefactor     2.2634        2.3168       -.18099E-06   -.60352E-03
  18  Prefactor     .73112        3.9922        .38325E-06   -.15015E-02
  19  Normalizat    .40048        .28228        .75662E-05   -.99271E-05
  20  Prefactor     1.6292        .28768       -.70241E-05    .19526E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-10
  Prefactor  = 0
  Prefactor  = 7.11916
  Prefactor  = 21.4777
  Prefactor  = 3.16414e-09
  Prefactor  = 8.32667e-10
  Prefactor  = 5.03109
  norm       = 0.92373
  Prefactor  = 3.39068
  Prefactor  = 0
  norm       = 2.12053e-08
  Prefactor  = 5.67382
  Prefactor  = 1.9662e-07
  Prefactor  = 52.56
  Prefactor  = 136.742
  Prefactor  = 6.10623e-10
  Prefactor  = 2.26339
  Prefactor  = 0.731121
  Normalizat = 0.400477
  Prefactor  = 1.62918
 **********
 **   18 **HESSE 
 **********

 FCN=   4478.556     FROM HESSE     STATUS=OK           339 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-09    6.7686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.4563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1192        11.780        .37671E-03   -1.5655    
   4  Prefactor     21.478        19.159        .21797E-03   -1.5615    
   5  Prefactor     .31641E-08    7.6058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83267E-09    5.4086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0311        38.637        .41365E-03   -1.5663    
   8  norm          .92373        1.3469        .44402E-03   -1.5689    
   9  Prefactor     3.3907        4.4256        .54831E-03   -1.5671    
  10  Prefactor      .0000        4.1174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .21205E-07    15.777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.6738        10.943        .42243E-03   -1.5660    
  13  Prefactor     .19662E-06    22.299        .15841E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     52.560        30.662        .13855E-03   -1.5563    
  15  Prefactor     136.74        44.685        .86007E-04   -1.5474    
  16  Prefactor     .61062E-09    8.5177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.2634        2.3439        .67864E-03   -1.5678    
  18  Prefactor     .73112        4.1199        .65873E-03   -1.5691    
  19  Normalizat    .40048        .28137        .93997E-01   -1.1728    
  20  Prefactor     1.6292        .26454        .52071E-01   -.73983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77664e-06
Minuit parameter uncertainties:
  1  0.000161648
  2  1.4292e-05
  3  11.7797
  4  19.1587
  5  0.000308965
  6  0.000133982
  7  27.8846
  8  1.34691
  9  4.42556
  10  1.66013e-05
  11  0.00115629
  12  10.9433
  13  0.00418775
  14  30.6622
  15  44.6852
  16  0.000143742
  17  2.3439
  18  3.47109
  19  0.282368
  20  0.26477
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  1.660e-05  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.629e+00  2.648e-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:  4.005e-01  2.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/555669/likelihoodResults_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.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) = 4478.56264685
delta logL = -0.00664636926467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4478.55600089
delta logL = -4.13931957155e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10586E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.1174       1.0000          .0000       10.000    
     3 'Normalizat'    .40045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6293       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.

 FCN=   4478.556     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      250 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .48317        .42118E-03** at limit **
   2  Index         .24907        5.5038        .50000       -.81855E-09
   3  Normalizat    .40048        .24418        .93996E-01   -.17621E-03
   4  Prefactor     1.6292        .25826        .52071E-01   -.55284E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 0.24907
  Normalizat = 0.40048
  Prefactor  = 1.62917
 **********
 **   18 **HESSE 
 **********

 FCN=   4478.556     FROM HESSE     STATUS=OK            31 CALLS      281 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .44563        .43611E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .24907        5.4370        .50000       -1.2538    
   3  Normalizat    .40048        .26608        .41645E-03   -1.1728    
   4  Prefactor     1.6292        .28228        .23017E-03   -.73983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71306e-10
Minuit parameter uncertainties:
  1  1.85926e-05
  2  1.55907
  3  0.266928
  4  0.282555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555669': 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) = 4478.55600048
delta logL = -4.01996658184e-10

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.665e-10  1.859e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.491e-01  1.559e+00  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.629e+00  2.826e-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:  4.005e-01  2.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/555669/cmap_HighResolution_695260801_695520001_4FGL_J1117.0+2013_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-03', job_status='DONE', photon_flux_upper_limit='6.59e-08', time_completed='2023-01-16 01:11:27.763968', job_id='555669', GAL2='1.63', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1673860287.76', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.63', dlogl='-4.02e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1759' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:11:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 555669: <4FGL_J1117.0+2013_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1759> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Jan 16 01:00:23 2023
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:02:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:02:28 2023
Terminated at Mon Jan 16 01:11:28 2023
Results reported at Mon Jan 16 01:11:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1759 169.271 20.2294 695260801 695520001 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 :                                   510.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   540 sec.
    Turnaround time :                            665 sec.

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

