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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1737
RA = 322.891, Dec = -9.2684
tmin = 689558401, tmax = 689817601
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='163079', job_status='RUN', time_executed='2022-11-11 00:58:14.132395', time_epoch_executed='1668157094.13' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163079

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163079/ft1_4FGL_J2131.5-0916_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163079/ft1_4FGL_J2131.5-0916_daily_bin1737.fits outfile=/scratch/kocevski/163079/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1737.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=689558401.0 tmax=689817601.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.77
user 3.44
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.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/163079/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 810

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/163079/ltcube_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.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/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits
.....................!
real 14.94
user 14.54
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/163079/ltcube_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.fits outfile=/scratch/kocevski/163079/expmap_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.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/163079/ltcube_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.fits
.....................!
real 193.35
user 187.55
sys 5.36

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

Setting source of interest to:
4FGL J2131.5-0916 @ 322.891 -9.2684

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.fits scfile=/scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits outfile=/scratch/kocevski/163079/cmap_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.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=322.891 yref=-9.2684 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.fits scfile=/scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits outfile=/scratch/kocevski/163079/cmap_HighResolution_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.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=322.891 yref=-9.2684 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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/163079/Model_4FGL_J2131.5-0916_daily_bin1737.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/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.fits.....................!
real 79.31
user 77.59
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.fits', '/scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits', expMap='/scratch/kocevski/163079/expmap_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.fits', expCube='/scratch/kocevski/163079/ltcube_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/163079/Model_4FGL_J2131.5-0916_daily_bin1737.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2131.5-0916'

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  1.196e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.989e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.343e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/163079/ft1_filtered_4FGL_J2131.5-0916_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/163079/ft2_4FGL_J2131.5-0916_daily_bin1737.fits
Exposure map: /scratch/kocevski/163079/expmap_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.fits
Exposure cube: /scratch/kocevski/163079/ltcube_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/163079/Model_4FGL_J2131.5-0916_daily_bin1737.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) = 8705.39141284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21044E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70625E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4095       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88408E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.0459       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5362       1.0000          .0000       .10000E+07
     7 'Prefactor '    .69345E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .69128E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22163E-03   1.0000          .0000       .10000E+07
    10 'norm      '    2.8589       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.729       1.0000          .0000       .10000E+07
    12 'Prefactor '    .66665E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38025E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15099E-07   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0488       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .93804       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8705.348     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      933 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79881E-07    1.5363        .12261E-06** at limit **
   2  Prefactor      .0000        27.227       -.15992E-05** at limit **
   3  Prefactor     2.4226        1.3087       -.46268E-08   -.90419E-03
   4  Prefactor     .55511E-10    6.2778        .13355E-06** at limit **
   5  Prefactor     3.1411        74.300        .57152E-06   -.60817E-03
   6  Prefactor     2.5314        4.3130       -.17491E-06    .16045E-03
   7  Prefactor     .44409E-09    4.9474        .70763E-06** at limit **
   8  Prefactor     .16653E-09    10.071       -.31624E-06** at limit **
   9  Prefactor     .88818E-09    3.4999        .23834E-06** at limit **
  10  norm          2.8592        3.3180        .29673E-06   -.13315E-02
  11  Prefactor     14.704        5.7291        .29462E-06   -.22700E-02
  12  Prefactor     .99920E-09    5.3249        .14930E-06** at limit **
  13  Prefactor     .42910E-07    2.4590        .64841E-07** at limit **
  14  Prefactor     .19984E-08    4.0003        .14992E-06** at limit **
  15  Normalizat    1.0488        .21573       -.13026E-05    .11804E-04
  16  Prefactor     .93803        .12107        .86209E-07    .29637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.98805e-08
  Prefactor  = 0
  Prefactor  = 2.42261
  Prefactor  = 5.55112e-11
  Prefactor  = 3.14107
  Prefactor  = 2.53141
  Prefactor  = 4.44089e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 8.88178e-10
  norm       = 2.85922
  Prefactor  = 14.7042
  Prefactor  = 9.99201e-10
  Prefactor  = 4.29101e-08
  Prefactor  = 1.9984e-09
  Normalizat = 1.04882
  Prefactor  = 0.938031
 **********
 **   18 **HESSE 
 **********

 FCN=   8705.348     FROM HESSE     STATUS=OK           233 CALLS     1166 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79881E-07    3.9414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        27.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.4226        21.275        .65926E-03   -1.5677    
   4  Prefactor     .55511E-10    6.2655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1411        83.172        .58109E-03   -1.5673    
   6  Prefactor     2.5314        4.3426        .64104E-03   -1.5676    
   7  Prefactor     .44409E-09    .81136        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    10.058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .88818E-09    3.5202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8592        3.3214        .60100E-03   -1.5674    
  11  Prefactor     14.704        5.7096        .26072E-03   -1.5631    
  12  Prefactor     .99920E-09    5.3421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .42910E-07    3.7407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .19984E-08    4.0425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0488        .17817        .66532E-01   -.91413    
  16  Prefactor     .93803        .98821E-01    .45488E-01   -.94825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13993e-07
Minuit parameter uncertainties:
  1  0.00112208
  2  4.07368e-05
  3  14.3584
  4  2.97807e-05
  5  32.3268
  6  4.34257
  7  3.86269e-05
  8  7.9003e-05
  9  0.000111583
  10  3.32139
  11  5.70958
  12  0.000147435
  13  0.00080111
  14  0.000180929
  15  0.178269
  16  0.0988404
Done.

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

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  2.531e+00  4.343e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.989e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  2.343e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  9.380e-01  9.884e-02  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.049e+00  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 322.891 -9.268
Photon Flux Upper Limit: 7.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163079/likelihoodResults_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.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) = 8705.34503187
delta logL = 0.00339819796136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8705.34372455
delta logL = 0.00470551652506

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8705.344     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      229 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2908        139.68        .67836E-03    .90444E-02
   2  Index         2.0766        5.9706        .16484        .11183E-03
   3  Normalizat    1.0471        .50568E-01    .66579E-01    .12926E-04
   4  Prefactor     .93857        .26838E-01    .45495E-01   -.53153E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.2908
  Index      = 2.07663
  Normalizat = 1.04713
  Prefactor  = 0.938574
 **********
 **   18 **HESSE 
 **********

 FCN=   8705.344     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2908        5.4416        .22877E-04   -1.5678    
   2  Index         2.0766        1.0406        .11403E-01   -.62448    
   3  Normalizat    1.0471        .21085        .29454E-03   -.91468    
   4  Prefactor     .93857        .12069        .17624E-03   -.94806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37835e-08
Minuit parameter uncertainties:
  1  5.44161
  2  1.05237
  3  0.211021
  4  0.12072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163079': 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) = 8705.34371942
delta logL = 0.00471064443445

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  2.291e+00  5.442e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  2.077e+00  1.052e+00  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  2.343e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  9.386e-01  1.207e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.047e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
Ra Dec: 322.891 -9.268

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/163079/cmap_HighResolution_689558401_689817601_4FGL_J2131.5-0916_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.25e-03', job_status='DONE', photon_flux_upper_limit='7.00e-08', time_completed='2022-11-11 01:07:58.635651', job_id='163079', GAL2='0.94', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1668157678.64', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.71e-03', ts2='0.44', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1737' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:07:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 163079: <4FGL_J2131.5-0916_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1737> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Nov 11 00:55:38 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 00:57:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 00:57:44 2022
Terminated at Fri Nov 11 01:08:00 2022
Results reported at Fri Nov 11 01:08:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1737 322.891 -9.2684 689558401 689817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2131.5-0916 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   586.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   615 sec.
    Turnaround time :                            742 sec.

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

