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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1710
RA = 168.405, Dec = -19.3359
tmin = 682560001, tmax = 682819201
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='101656', job_status='RUN', time_executed='2022-09-16 15:54:42.983876', time_epoch_executed='1663368882.98' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101656

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101656/ft1_4FGL_J1113.6-1920_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101656/ft1_4FGL_J1113.6-1920_daily_bin1710.fits outfile=/scratch/kocevski/101656/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1710.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=682560001.0 tmax=682819201.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.69
user 3.44
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.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/101656/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.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: 961

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/101656/ltcube_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.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/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits
.....................!
real 16.25
user 15.86
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/101656/ltcube_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.fits outfile=/scratch/kocevski/101656/expmap_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.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/101656/ltcube_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.fits
.....................!
real 193.24
user 186.74
sys 6.06

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/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.fits scfile=/scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits outfile=/scratch/kocevski/101656/cmap_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.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.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.fits scfile=/scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits outfile=/scratch/kocevski/101656/cmap_HighResolution_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.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.57
user 0.37
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101656/Model_4FGL_J1113.6-1920_daily_bin1710.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/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.fits.....................!
real 84.64
user 83.22
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.fits', '/scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits', expMap='/scratch/kocevski/101656/expmap_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.fits', expCube='/scratch/kocevski/101656/ltcube_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/101656/Model_4FGL_J1113.6-1920_daily_bin1710.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/101656/ft1_filtered_4FGL_J1113.6-1920_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/101656/ft2_4FGL_J1113.6-1920_daily_bin1710.fits
Exposure map: /scratch/kocevski/101656/expmap_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.fits
Exposure cube: /scratch/kocevski/101656/ltcube_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/101656/Model_4FGL_J1113.6-1920_daily_bin1710.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) = 10151.8671702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20572E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31725E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.7417       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7195       1.0000          .0000       .10000E+07
     5 'norm      '    1.8926       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18417E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32425E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19967E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26472E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7949       1.0000          .0000       .10000E+07
    11 'norm      '    .17088       1.0000          .0000       .10000E+07
    12 'Prefactor '    31.808       1.0000          .0000       .10000E+07
    13 'Prefactor '    .14205E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2204       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.0201       1.0000          .0000       .10000E+07
    16 'norm      '    .48616E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1998       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93011       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=   10150.89     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1103 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6454        .36917E-07** at limit **
   2  Prefactor      .0000        4.1866        .46392E-06** at limit **
   3  Prefactor     4.7402        4.6226        .10827E-06    .90094E-03
   4  Prefactor     3.7165        3.1103        .73085E-07    .33575E-03
   5  norm          1.8941        4.7762        .26915E-06   -.99738E-03
   6  Prefactor      .0000        12.899       -.71515E-06** at limit **
   7  Prefactor     .27756E-09    33.629       -.73497E-06** at limit **
   8  Prefactor      .0000        37.071        .43611E-05** at limit **
   9  Prefactor     .11102E-09    14.973        .25352E-06** at limit **
  10  Prefactor     1.7874        5.5717       -.64446E-06   -.35347E-03
  11  norm          .17103        .51014        .83253E-07** at limit **
  12  Prefactor     31.873        8.7722       -.36578E-06    .30382E-03
  13  Prefactor      .0000        5.3370        .16592E-06** at limit **
  14  Prefactor     2.2214        2.5744        .10163E-06    .80036E-04
  15  Prefactor     3.9182        7.3514        .18401E-06   -.63647E-03
  16  norm          .16653E-09    10.340       -.91597E-06** at limit **
  17  Normalizat    1.1998        .19710        .10109E-05    .26778E-04
  18  Prefactor     .93020        .12054       -.21454E-05   -.15777E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.7402
  Prefactor  = 3.71651
  norm       = 1.89413
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 1.78735
  norm       = 0.171027
  Prefactor  = 31.8733
  Prefactor  = 0
  Prefactor  = 2.22138
  Prefactor  = 3.91822
  norm       = 1.66533e-10
  Normalizat = 1.19978
  Prefactor  = 0.930199
 **********
 **   18 **HESSE 
 **********

 FCN=   10150.89     FROM HESSE     STATUS=OK           290 CALLS     1393 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.1863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.7402        4.6239        .46184E-03   -1.5664    
   4  Prefactor     3.7165        3.1066        .52335E-03   -1.5669    
   5  norm          1.8941        4.7909        .75598E-03   -1.5680    
   6  Prefactor      .0000        12.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-09    33.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.7424        .12991E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    14.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7874        5.5930        .78022E-03   -1.5681    
  11  norm          .17103        .50961        .12319E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     31.873        8.7499        .17734E-03   -1.5595    
  13  Prefactor      .0000        5.3410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2214        2.5791        .68982E-03   -1.5678    
  15  Prefactor     3.9182        8.3626        .50271E-03   -1.5668    
  16  norm          .16653E-09    2.2213        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1998        .16664        .64126E-01   -.86610    
  18  Prefactor     .93020        .10104        .45388E-01   -.95094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6404e-06
Minuit parameter uncertainties:
  1  8.72271e-06
  2  9.27375e-06
  3  4.62389
  4  3.10664
  5  4.79093
  6  1.68524e-05
  7  0.00018432
  8  1.9807e-05
  9  7.96761e-05
  10  5.59302
  11  0.509612
  12  8.74993
  13  2.04048e-05
  14  2.57912
  15  8.36261
  16  3.83564e-05
  17  0.166711
  18  0.101058
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  2.776e-10  1.843e-04  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:  9.302e-01  1.011e-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.200e+00  1.667e-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: 5.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/101656/likelihoodResults_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.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) = 10150.8995571
delta logL = -0.0142554295908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10150.8853017
delta logL = -8.27276380733e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10150.89     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      262 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41633E-08    .68827        .42118E-03** at limit **
   2  Index         2.8330        6.6776        .37781        .48145E-09
   3  Normalizat    1.1998        .73067E-03    .64126E-01    .10375E-02
   4  Prefactor     .93020        .45936E-03    .45389E-01    .13123E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.16334e-09
  Index      = 2.83295
  Normalizat = 1.19978
  Prefactor  = 0.930201
 **********
 **   18 **HESSE 
 **********

 FCN=   10150.89     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      291 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41633E-08    1.7139        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8330        8.2903        .50000       -.44827    
   3  Normalizat    1.1998        .11509E-02    .28367E-03   -.86610    
   4  Prefactor     .93020        .72401E-03    .19867E-03   -.95094    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11612e-11
Minuit parameter uncertainties:
  1  0.000169353
  2  4660.17
  3  0.00115091
  4  0.000724013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101656': 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) = 10150.8853016
delta logL = -4.91127138957e-10

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  4.163e-09  1.694e-04  0.000e+00  1.000e+06 ( 1.000e-14)
275        Index:  2.833e+00  4.660e+03  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:  9.302e-01  7.240e-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.200e+00  1.151e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/101656/cmap_HighResolution_682560001_682819201_4FGL_J1113.6-1920_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-03', job_status='DONE', photon_flux_upper_limit='5.04e-08', time_completed='2022-09-16 16:06:12.427351', job_id='101656', GAL2='0.93', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1663369572.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-4.91e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1710' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:06:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 101656: <4FGL_J1113.6-1920_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1710> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 15:50:21 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:51:22 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:22 2022
Terminated at Fri Sep 16 16:06:13 2022
Results reported at Fri Sep 16 16:06:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1710 168.405 -19.3359 682560001 682819201 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 :                                   691.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            952 sec.

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

