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 160 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_J2131.5-0916_daily_bin1731
RA = 322.891, Dec = -9.2684
tmin = 688003201, tmax = 688262401
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='551060', job_status='RUN', time_executed='2022-10-24 00:43:10.421351', time_epoch_executed='1666597390.42' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551060

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551060/ft1_4FGL_J2131.5-0916_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551060/ft1_4FGL_J2131.5-0916_daily_bin1731.fits outfile=/scratch/kocevski/551060/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1731.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=688003201.0 tmax=688262401.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.53
user 3.29
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.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/551060/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.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.33
sys 0.15

Number of photons that the gtmktime cut: 465

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551060/ltcube_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.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/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits
.....................!
real 12.16
user 11.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551060/ltcube_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.fits outfile=/scratch/kocevski/551060/expmap_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.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/551060/ltcube_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.fits
.....................!
real 191.66
user 185.59
sys 5.65

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/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.fits scfile=/scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits outfile=/scratch/kocevski/551060/cmap_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.fits scfile=/scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits outfile=/scratch/kocevski/551060/cmap_HighResolution_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551060/Model_4FGL_J2131.5-0916_daily_bin1731.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/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.fits.....................!
real 54.26
user 52.43
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.fits', '/scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits', expMap='/scratch/kocevski/551060/expmap_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.fits', expCube='/scratch/kocevski/551060/ltcube_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551060/Model_4FGL_J2131.5-0916_daily_bin1731.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/551060/ft1_filtered_4FGL_J2131.5-0916_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/551060/ft2_4FGL_J2131.5-0916_daily_bin1731.fits
Exposure map: /scratch/kocevski/551060/expmap_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.fits
Exposure cube: /scratch/kocevski/551060/ltcube_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551060/Model_4FGL_J2131.5-0916_daily_bin1731.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) = 5230.51024057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5518       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15844E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4552       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.023       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24933       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.1857       1.0000          .0000       .10000E+07
     7 'Prefactor '    .74744E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    73.630       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.437       1.0000          .0000       .10000E+07
    10 'norm      '    .72046E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    13.199       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12788E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2121       1.0000          .0000       .10000E+07
    14 'Prefactor '    .36989E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    .79347       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96812       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=   5230.431     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1094 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5833        6.5039       -.14099E-06    .17170E-03
   2  Prefactor     .67890E-07    26.723       -.48242E-06** at limit **
   3  Prefactor     5.2598        7.2169        .82655E-07    .48486E-01
   4  Prefactor     23.796        10.155        .57668E-07    .11840    
   5  Prefactor     .55511E-10    43.332       -.16081E-05** at limit **
   6  Prefactor     4.1882        4.1007       -.43025E-06   -.75226E-03
   7  Prefactor      .0000        3.1536        .96733E-06** at limit **
   8  Prefactor     76.160        40.954        .22082E-06   -.97221E-02
   9  Prefactor     16.268        5.6300        .51307E-07   -.14976E-01
  10  norm           .0000        2.2540        .30513E-06** at limit **
  11  Prefactor     13.207        8.4180       -.55317E-07    .14595E-01
  12  Prefactor     .20206E-07    8.5720        .11185E-05** at limit **
  13  Prefactor     6.0028        7.4962        .13876E-06   -.12404    
  14  Prefactor     .59841E-07    8.3613        .10877E-05** at limit **
  15  Normalizat    .79251        .29513        .28255E-05   -.64489E-05
  16  Prefactor     .96831        .15578       -.51570E-05   -.21639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.58334
  Prefactor  = 6.78901e-08
  Prefactor  = 5.25985
  Prefactor  = 23.7961
  Prefactor  = 5.55112e-11
  Prefactor  = 4.18823
  Prefactor  = 0
  Prefactor  = 76.1596
  Prefactor  = 16.2683
  norm       = 0
  Prefactor  = 13.207
  Prefactor  = 2.02061e-08
  Prefactor  = 6.00284
  Prefactor  = 5.9841e-08
  Normalizat = 0.792512
  Prefactor  = 0.968312
 **********
 **   18 **HESSE 
 **********

 FCN=   5230.431     FROM HESSE     STATUS=OK           235 CALLS     1329 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5833        6.4770        .63891E-03   -1.5676    
   2  Prefactor     .67890E-07    26.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.2598        19.731        .42998E-03   -1.5662    
   4  Prefactor     23.796        17.902        .20407E-03   -1.5610    
   5  Prefactor     .55511E-10    42.681        .10956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.1882        4.0981        .49236E-03   -1.5667    
   7  Prefactor      .0000        3.0754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     76.160        40.884        .11655E-03   -1.5533    
   9  Prefactor     16.268        16.804        .24677E-03   -1.5627    
  10  norm           .0000        2.2617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.207        8.4530        .27545E-03   -1.5635    
  12  Prefactor     .20206E-07    17.213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.0028        16.872        .40253E-03   -1.5659    
  14  Prefactor     .59841E-07    16.398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .79251        .24786        .78195E-01   -1.0035    
  16  Prefactor     .96831        .12979        .45867E-01   -.93793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.42671e-07
Minuit parameter uncertainties:
  1  6.47699
  2  0.0026943
  3  19.7308
  4  17.9016
  5  8.62647e-05
  6  4.09814
  7  7.83915e-06
  8  40.8842
  9  16.8041
  10  1.08055e-05
  11  8.45301
  12  0.00117913
  13  16.8726
  14  0.00198158
  15  0.248213
  16  0.129828
Done.

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

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  4.188e+00  4.098e+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.683e-01  1.298e-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:  7.925e-01  2.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.58
Ra Dec: 322.891 -9.268
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.24e-08 +/- 2.19e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.56e-05

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) = 5230.31962106
delta logL = 0.11124645412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5230.31757744
delta logL = 0.113290081478

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8386       1.0000          .0000       .10000E+07
     2 'Index     '    1.5979       1.0000          .0000       10.000    
     3 'Normalizat'    .80188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96657       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5230.318     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      277 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8388        4.9252        .15776E-04   -.68253E-02
   2  Index         1.5980        .79408        .12008E-01   -.10383E-03
   3  Normalizat    .80188        .28251        .34433E-03    .92745E-04
   4  Prefactor     .96658        .15529        .17254E-03    .18556E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.83875
  Index      = 1.598
  Normalizat = 0.801875
  Prefactor  = 0.966575
 **********
 **   18 **HESSE 
 **********

 FCN=   5230.318     FROM HESSE     STATUS=OK            23 CALLS      300 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8388        4.9232        .63102E-06   -1.5664    
   2  Index         1.5980        .79395        .48032E-03   -.74831    
   3  Normalizat    .80188        .28271        .13773E-04   -.99999    
   4  Prefactor     .96658        .15541        .34509E-04   -.93852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02062e-10
Minuit parameter uncertainties:
  1  4.92316
  2  0.800294
  3  0.283227
  4  0.155486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551060': 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) = 5230.31757742
delta logL = 0.113290094211

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  4.839e+00  4.923e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  1.598e+00  8.003e-01  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.666e-01  1.555e-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:  8.019e-01  2.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.80
Ra Dec: 322.891 -9.268
Photon Index (Free Index): 1.60 +/- 0.80
Photon Flux (Free Index): 1.23e-08 +/- 2.01e-08
Energy Flux (Free Index): 2.80e-05 +/- 4.79e-05

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/551060/cmap_HighResolution_688003201_688262401_4FGL_J2131.5-0916_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.24e-08', energy_flux2='2.80e-05', photon_flux_error='2.19e-08', dlogl='1.13e-01', energy_flux='1.59e-05', photon_flux2='1.23e-08', job_status='DONE', time_completed='2022-10-24 00:50:37.647444', photon_index_error2='0.80', photon_index2='1.60', ts='4.58', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='4.79e-05', EG='0.79', time_epoch_completed='1666597837.65', return_code='0', job_id='551060', GAL2='0.97', EG2='0.80', return_code2='0', energy_flux_error='1.56e-05', photon_flux_error2='2.01e-08', ts2='4.80', photon_index='1.99' WHERE bin_id='1731' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:50:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 551060: <4FGL_J2131.5-0916_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:16 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:17 2022
Terminated at Mon Oct 24 00:50:38 2022
Results reported at Mon Oct 24 00:50:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1731 322.891 -9.2684 688003201 688262401 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 :                                   449.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             297.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            622 sec.

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

