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


Performing analysis on: 4FGL_J1117.0+2013_daily_bin1768
RA = 169.271, Dec = 20.2294
tmin = 697593601, tmax = 697852801
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='269043', job_status='RUN', time_executed='2023-02-12 00:47:53.367418', time_epoch_executed='1676191673.37' WHERE source_name='4FGL J1117.0+2013' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269043

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269043/ft1_4FGL_J1117.0+2013_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269043/ft2_4FGL_J1117.0+2013_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269043/ft1_4FGL_J1117.0+2013_daily_bin1768.fits outfile=/scratch/kocevski/269043/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1768.fits ra=169.271 dec=20.2294 rad=12.0 tmin=697593601.0 tmax=697852801.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.67
user 3.42
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/269043/ft2_4FGL_J1117.0+2013_daily_bin1768.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/269043/ft1_filteredMKT_4FGL_J1117.0+2013_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/269043/ft1_filtered_4FGL_J1117.0+2013_daily_bin1768.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.16

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/269043/ft1_filtered_4FGL_J1117.0+2013_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/269043/ft2_4FGL_J1117.0+2013_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/269043/ltcube_697593601_697852801_4FGL_J1117.0+2013_daily_bin1768.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/269043/ft2_4FGL_J1117.0+2013_daily_bin1768.fits
.....................!
real 16.51
user 15.98
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269043/ft1_filtered_4FGL_J1117.0+2013_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/269043/ft2_4FGL_J1117.0+2013_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/269043/ltcube_697593601_697852801_4FGL_J1117.0+2013_daily_bin1768.fits outfile=/scratch/kocevski/269043/expmap_697593601_697852801_4FGL_J1117.0+2013_daily_bin1768.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/269043/ltcube_697593601_697852801_4FGL_J1117.0+2013_daily_bin1768.fits
.....................!
real 193.67
user 186.75
sys 5.44

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/269043/ft1_filtered_4FGL_J1117.0+2013_daily_bin1768.fits scfile=/scratch/kocevski/269043/ft2_4FGL_J1117.0+2013_daily_bin1768.fits outfile=/scratch/kocevski/269043/cmap_697593601_697852801_4FGL_J1117.0+2013_daily_bin1768.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/269043/ft1_filtered_4FGL_J1117.0+2013_daily_bin1768.fits scfile=/scratch/kocevski/269043/ft2_4FGL_J1117.0+2013_daily_bin1768.fits outfile=/scratch/kocevski/269043/cmap_HighResolution_697593601_697852801_4FGL_J1117.0+2013_daily_bin1768.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0067       1.0000          .0000       .10000E+07
     2 'Prefactor '    .21050E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.123       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.249       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.2321       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10880E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32416E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.2527       1.0000          .0000       .10000E+07
    10 'Prefactor '    .65573E-04   1.0000          .0000       .10000E+07
    11 'norm      '    22.446       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.5650       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.562       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25405E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    88.365       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12298E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25313E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .85028E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2151       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91410       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=   6039.089     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1613 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9599        5.2643        .39879E-06   -.18331E-03
   2  Prefactor     .11102E-09    4.5470        .11980E-06** at limit **
   3  Prefactor     12.970        8.0720       -.29828E-06   -.18299E-02
   4  Prefactor     15.254        4.5276       -.13618E-06    .87766E-02
   5  Prefactor     6.1822        6.6925       -.28314E-06   -.59611E-02
   6  Prefactor     .11113E-06    3.4173        .14898E-05** at limit **
   7  Prefactor     .25757E-07    5.3993       -.39708E-06** at limit **
   8  norm           .0000        .45050        .14927E-06** at limit **
   9  Prefactor     1.2602        2.8453       -.56799E-06   -.25803E-02
  10  Prefactor     .74385E-08    6.0168       -.87802E-06** at limit **
  11  norm          22.594        12.359       -.18952E-05   -.13581E-03
  12  Prefactor     5.5743        2.5605       -.65269E-06   -.53107E-03
  13  Prefactor     11.460        4.8934       -.98941E-06    .11852E-02
  14  Prefactor     .77716E-09    5.2489       -.30726E-06** at limit **
  15  Prefactor     89.936        26.040       -.33675E-06   -.88689E-01
  16  Prefactor     .16026E-06    20.863        .17936E-05** at limit **
  17  Prefactor      .0000        .51953       -.17171E-06** at limit **
  18  Prefactor     .82189E-05    21.167        .34128E-05** at limit **
  19  Normalizat    1.2126        .22575       -.24567E-05   -.25104E-03
  20  Prefactor     .91574        .22117        .34235E-05   -.19765E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.95985
  Prefactor  = 1.11022e-10
  Prefactor  = 12.9697
  Prefactor  = 15.2541
  Prefactor  = 6.18225
  Prefactor  = 1.11133e-07
  Prefactor  = 2.57572e-08
  norm       = 0
  Prefactor  = 1.26017
  Prefactor  = 7.43849e-09
  norm       = 22.5941
  Prefactor  = 5.57433
  Prefactor  = 11.4598
  Prefactor  = 7.77156e-10
  Prefactor  = 89.9359
  Prefactor  = 1.60261e-07
  Prefactor  = 0
  Prefactor  = 8.21887e-06
  Normalizat = 1.21258
  Prefactor  = 0.91574
 **********
 **   18 **HESSE 
 **********

 FCN=   6039.089     FROM HESSE     STATUS=OK           345 CALLS     1958 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9599        5.3318        .58509E-03   -1.5674    
   2  Prefactor     .11102E-09    .93027        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.970        8.1161        .27625E-03   -1.5636    
   4  Prefactor     15.254        10.612        .25622E-03   -1.5630    
   5  Prefactor     6.1822        8.9242        .40188E-03   -1.5658    
   6  Prefactor     .11113E-06    6.9067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .25757E-07    7.3141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .44931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.2602        2.8732        .99819E-03   -1.5686    
  10  Prefactor     .74385E-08    6.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          22.594        14.825        .21113E-03   -1.5613    
  12  Prefactor     5.5743        12.691        .42564E-03   -1.5661    
  13  Prefactor     11.460        14.084        .29437E-03   -1.5640    
  14  Prefactor     .77716E-09    5.3490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     89.936        32.375        .10639E-03   -1.5518    
  16  Prefactor     .16026E-06    21.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .51986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .82189E-05    3.9861        .49563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2126        .19776        .55800E-01   -.86215    
  20  Prefactor     .91574        .18793        .65125E-01   -.95593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47139e-07
Minuit parameter uncertainties:
  1  5.33184
  2  1.98314e-05
  3  8.1161
  4  10.6122
  5  8.92424
  6  0.00175201
  7  0.00086852
  8  4.20222e-07
  9  2.87317
  10  0.00043892
  11  14.8246
  12  12.6912
  13  14.0842
  14  0.000129277
  15  32.3755
  16  0.00371911
  17  4.68938e-06
  18  0.0114475
  19  0.197879
  20  0.188068
Done.

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

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  7.438e-09  4.389e-04  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:  9.157e-01  1.881e-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:  1.213e+00  1.979e-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: 5.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/269043/likelihoodResults_697593601_697852801_4FGL_J1117.0+2013_daily_bin1768.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) = 6039.16773836
delta logL = -0.0789373773396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6039.08880391
delta logL = -2.93052380584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.9531       1.0000          .0000       10.000    
     3 'Normalizat'    1.2124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91600       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=   6039.089     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      268 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    .72387        .42118E-03** at limit **
   2  Index         1.0068        5.4509        .50000       -.14779E-08
   3  Normalizat    1.2126        .28710E-02    .55801E-01   -.74364E-03
   4  Prefactor     .91574        .29736E-02    .65125E-01   -.37423E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 1.00682
  Normalizat = 1.21257
  Prefactor  = 0.915743
 **********
 **   18 **HESSE 
 **********

 FCN=   6039.089     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      297 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    3.4073        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0068        6.3468        .50000       -.92502    
   3  Normalizat    1.2126        .62313E-02    .24675E-03   -.86215    
   4  Prefactor     .91574        .64501E-02    .28805E-03   -.95593    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03439e-10
Minuit parameter uncertainties:
  1  0.000118982
  2  41479.1
  3  0.00623135
  4  0.00645012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269043': 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): 102
logL (Free Index) = 6039.08880098
delta logL = -4.45652403869e-11

Extracting fit parameters...

4FGL J1117.0+2013
   Spectrum: PowerLaw
300    Prefactor:  1.055e-09  1.190e-04  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  1.007e+00  4.148e+04  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:  9.157e-01  6.450e-03  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:  1.213e+00  6.231e-03  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/269043/cmap_HighResolution_697593601_697852801_4FGL_J1117.0+2013_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.18e-03', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2023-02-12 00:58:16.958238', job_id='269043', GAL2='0.92', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1676192296.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-4.46e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1768' AND source_name='4FGL J1117.0+2013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 00:58:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 269043: <4FGL_J1117.0+2013_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1117.0+2013_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 00:45:12 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:46:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:46:45 2023
Terminated at Sun Feb 12 00:58:17 2023
Results reported at Sun Feb 12 00:58:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1117.0+2013_daily_bin1768 169.271 20.2294 697593601 697852801 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 :                                   623.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            785 sec.

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

