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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1717
RA = 168.405, Dec = -19.3359
tmin = 684374401, tmax = 684633601
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='101666', job_status='RUN', time_executed='2022-09-16 15:53:44.805395', time_epoch_executed='1663368824.81' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101666

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101666/ft1_4FGL_J1113.6-1920_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101666/ft1_4FGL_J1113.6-1920_daily_bin1717.fits outfile=/scratch/kocevski/101666/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1717.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=684374401.0 tmax=684633601.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 4.96
user 4.71
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.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/101666/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1717.fits evtable="EVENTS" outfile="/scratch/kocevski/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 460

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/101666/ltcube_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.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/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits
.....................!
real 12.28
user 11.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/101666/ltcube_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.fits outfile=/scratch/kocevski/101666/expmap_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.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/101666/ltcube_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.fits
.....................!
real 192.10
user 186.66
sys 5.08

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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1113.6-1920 @ 168.405 -19.3359

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.fits scfile=/scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits outfile=/scratch/kocevski/101666/cmap_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.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=168.405 yref=-19.3359 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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.fits scfile=/scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits outfile=/scratch/kocevski/101666/cmap_HighResolution_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.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=168.405 yref=-19.3359 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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101666/Model_4FGL_J1113.6-1920_daily_bin1717.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/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.fits....................!
real 53.83
user 52.48
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.fits', '/scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits', expMap='/scratch/kocevski/101666/expmap_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.fits', expCube='/scratch/kocevski/101666/ltcube_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/101666/Model_4FGL_J1113.6-1920_daily_bin1717.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1113.6-1920'

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  6.769e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
275        Index:  2.285e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/101666/ft1_filtered_4FGL_J1113.6-1920_daily_bin1717.fits
Spacecraft file(s): /scratch/kocevski/101666/ft2_4FGL_J1113.6-1920_daily_bin1717.fits
Exposure map: /scratch/kocevski/101666/expmap_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.fits
Exposure cube: /scratch/kocevski/101666/ltcube_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/101666/Model_4FGL_J1113.6-1920_daily_bin1717.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) = 5201.02449489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30587E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .95450E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    24.897       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.7069       1.0000          .0000       .10000E+07
     5 'norm      '    4.9078       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13889E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .52243E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.2022       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.7245       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11562E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .15821E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    53.760       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5110       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58897E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10055E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .22538E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0445       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1096       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5200.493     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1055 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0373       -.56377E-07** at limit **
   2  Prefactor     .11202E-06    50.604       -.13082E-07** at limit **
   3  Prefactor     24.684        12.238        .69089E-07    .15136E-01
   4  Prefactor     7.6906        8.4176        .20295E-06    .42303E-02
   5  norm          4.9030        4.8192       -.22383E-06   -.27549E-02
   6  Prefactor     .96584E-06    12.318       -.60512E-07** at limit **
   7  Prefactor     .67168E-08    63.722       -.30721E-06** at limit **
   8  Prefactor     4.8201        12.104       -.40874E-06    .78879E-01
   9  Prefactor     .67166E-05    474.03        .49263E-05** at limit **
  10  Prefactor     .44409E-09    8.1118        .70772E-07** at limit **
  11  norm           .0000        .39803        .57592E-08** at limit **
  12  Prefactor     53.044        17.951        .21312E-07    .10517    
  13  Prefactor     4.0496        3.3400        .15392E-07   -.47446E-03
  14  Prefactor      .0000        2.2059        .77918E-08** at limit **
  15  Prefactor     .12387E-05    12.359       -.38211E-06** at limit **
  16  norm          .55511E-10    3.5034        .14837E-06** at limit **
  17  Normalizat    1.0480        .32783       -.41117E-05   -.10496E-03
  18  Prefactor     1.1092        .18921       -.76313E-07   -.16384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.12022e-07
  Prefactor  = 24.6839
  Prefactor  = 7.69061
  norm       = 4.90303
  Prefactor  = 9.65839e-07
  Prefactor  = 6.71685e-09
  Prefactor  = 4.8201
  Prefactor  = 6.71663e-06
  Prefactor  = 4.44089e-10
  norm       = 0
  Prefactor  = 53.0438
  Prefactor  = 4.04956
  Prefactor  = 0
  Prefactor  = 1.23868e-06
  norm       = 5.55112e-11
  Normalizat = 1.04805
  Prefactor  = 1.10916
 **********
 **   18 **HESSE 
 **********

 FCN=   5200.493     FROM HESSE     STATUS=OK           276 CALLS     1331 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11202E-06    50.816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.684        12.268        .20046E-03   -1.5609    
   4  Prefactor     7.6906        8.4421        .36098E-03   -1.5652    
   5  norm          4.9030        4.8160        .45378E-03   -1.5664    
   6  Prefactor     .96584E-06    13.275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .67168E-08    63.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.8201        29.916        .49136E-03   -1.5664    
   9  Prefactor     .67166E-05    482.04        .61669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .44409E-09    8.1174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .39707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     53.044        18.786        .13640E-03   -1.5562    
  13  Prefactor     4.0496        60.958        .47378E-03   -1.5668    
  14  Prefactor      .0000        2.2149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12387E-05    13.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    3.5018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0480        .28430        .79303E-01   -.91438    
  18  Prefactor     1.1092        .16129        .37232E-01   -.89174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01226e-06
Minuit parameter uncertainties:
  1  9.35171e-06
  2  0.00477242
  3  12.268
  4  8.4421
  5  4.81601
  6  0.00716159
  7  0.00130997
  8  24.0165
  9  0.11381
  10  0.000119687
  11  8.23734e-08
  12  18.7862
  13  31.4235
  14  6.99878e-06
  15  0.00819856
  16  3.17248e-05
  17  0.284717
  18  0.16136
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  6.717e-09  1.310e-03  0.000e+00  1.000e+06 ( 1.000e-14)
275        Index:  2.285e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.109e+00  1.614e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.048e+00  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 168.405 -19.336
Photon Flux Upper Limit: 9.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/101666/likelihoodResults_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.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) = 5200.50072996
delta logL = -0.0074916225858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5200.49323865
delta logL = -3.17462763633e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14327E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .36734       1.0000          .0000       10.000    
     3 'Normalizat'    1.0479       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1092       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5200.493     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      213 TOTAL
                     EDM=   .81E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    55.291        .50925E-06** at limit **
   2  Index         2.5909        7.4107       -.39104E-04    .11860E-11
   3  Normalizat    1.0480        .31889       -.33730E-05   -.15114E-04
   4  Prefactor     1.1092        .18868        .31973E-05   -.13688E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.59088
  Normalizat = 1.04805
  Prefactor  = 1.10916
 **********
 **   18 **HESSE 
 **********

 FCN=   5200.493     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      246 TOTAL
                     EDM=   .28E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .51789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5909        5.2536        .37779       -.50273    
   3  Normalizat    1.0480        .65194E-03    .79302E-01   -.91438    
   4  Prefactor     1.1092        .38806E-03    .37247E-01   -.89174    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.80149e-14
Minuit parameter uncertainties:
  1  8.31239e-06
  2  68033.5
  3  0.00065194
  4  0.000388064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101666': 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) = 5200.49323834
delta logL = 6.54836185277e-11

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  5.551e-11  8.312e-06  0.000e+00  1.000e+06 ( 1.000e-14)
275        Index:  2.591e+00  6.803e+04  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.109e+00  3.881e-04  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  1.048e+00  6.519e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 168.405 -19.336

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/101666/cmap_HighResolution_684374401_684633601_4FGL_J1113.6-1920_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.67e-08', time_completed='2022-09-16 16:02:01.296620', job_id='101666', GAL2='1.11', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1663369321.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='6.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1717' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:02:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 101666: <4FGL_J1113.6-1920_daily_bin1717> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1717> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 15:50:22 2022
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:51:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:51:37 2022
Terminated at Fri Sep 16 16:02:02 2022
Results reported at Fri Sep 16 16:02:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1717 168.405 -19.3359 684374401 684633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1113.6-1920 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   498.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            700 sec.

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

