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


Performing analysis on: 4FGL_J2131.5-0916_daily_bin1764
RA = 322.891, Dec = -9.2684
tmin = 696556801, tmax = 696816001
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='464645', job_status='RUN', time_executed='2023-01-31 01:56:25.237057', time_epoch_executed='1675158985.24' WHERE source_name='4FGL J2131.5-0916' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464645

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464645/ft1_4FGL_J2131.5-0916_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464645/ft2_4FGL_J2131.5-0916_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464645/ft1_4FGL_J2131.5-0916_daily_bin1764.fits outfile=/scratch/kocevski/464645/ft1_filteredMKT_4FGL_J2131.5-0916_daily_bin1764.fits ra=322.891 dec=-9.2684 rad=12.0 tmin=696556801.0 tmax=696816001.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.72
user 3.49
sys 0.21

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

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

Number of photons that the gtmktime cut: 471

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464645/ft1_filtered_4FGL_J2131.5-0916_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/464645/ft2_4FGL_J2131.5-0916_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/464645/ltcube_696556801_696816001_4FGL_J2131.5-0916_daily_bin1764.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/464645/ft2_4FGL_J2131.5-0916_daily_bin1764.fits
.....................!
real 14.73
user 14.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464645/ft1_filtered_4FGL_J2131.5-0916_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/464645/ft2_4FGL_J2131.5-0916_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/464645/ltcube_696556801_696816001_4FGL_J2131.5-0916_daily_bin1764.fits outfile=/scratch/kocevski/464645/expmap_696556801_696816001_4FGL_J2131.5-0916_daily_bin1764.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/464645/ltcube_696556801_696816001_4FGL_J2131.5-0916_daily_bin1764.fits
.....................!
real 194.76
user 189.13
sys 4.85

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/464645/ft1_filtered_4FGL_J2131.5-0916_daily_bin1764.fits scfile=/scratch/kocevski/464645/ft2_4FGL_J2131.5-0916_daily_bin1764.fits outfile=/scratch/kocevski/464645/cmap_696556801_696816001_4FGL_J2131.5-0916_daily_bin1764.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464645/ft1_filtered_4FGL_J2131.5-0916_daily_bin1764.fits scfile=/scratch/kocevski/464645/ft2_4FGL_J2131.5-0916_daily_bin1764.fits outfile=/scratch/kocevski/464645/cmap_HighResolution_696556801_696816001_4FGL_J2131.5-0916_daily_bin1764.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.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/464645/ft1_filtered_4FGL_J2131.5-0916_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/464645/ft2_4FGL_J2131.5-0916_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/464645/Model_4FGL_J2131.5-0916_daily_bin1764.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/464645/ft1_filtered_4FGL_J2131.5-0916_daily_bin1764.fits.....................!
real 55.83
user 54.27
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8620       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34834E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .88609E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    22.534       1.0000          .0000       .10000E+07
     5 'Prefactor '    .69393E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7770       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36131E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .37242E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    38.573       1.0000          .0000       .10000E+07
    10 'norm      '    .12637E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.5504       1.0000          .0000       .10000E+07
    12 'Prefactor '    .49360       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.3177       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.169       1.0000          .0000       .10000E+07
    15 'Normalizat'    .95983       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97642       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=   5269.387     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1128 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9000        4.5393       -.30741E-08   -.36534E-02
   2  Prefactor     .55511E-10    13.580       -.13361E-06** at limit **
   3  Prefactor     .22204E-09    7.7870        .21041E-05** at limit **
   4  Prefactor     22.697        2.5156       -.17018E-06    .25282E-01
   5  Prefactor     .73275E-08    11.185        .12446E-05** at limit **
   6  Prefactor     9.8178        7.5156       -.17658E-06   -.33461E-02
   7  Prefactor     .22204E-09    6.7964       -.13540E-06** at limit **
   8  Prefactor     .15543E-08    8.4008       -.29663E-05** at limit **
   9  Prefactor     38.906        24.656        .20980E-05   -.61224E-02
  10  norm          .39968E-08    3.5355       -.12795E-06** at limit **
  11  Prefactor     5.4945        9.7716       -.30467E-05   -.27633E-02
  12  Prefactor     .47175        1.1399       -.79910E-08   -.54862E-02
  13  Prefactor     6.2756        3.1448       -.92028E-06   -.73783E-04
  14  Prefactor     11.145        1.9519       -.37929E-06    .25093E-02
  15  Normalizat    .95948        .29831        .13595E-04   -.72026E-03
  16  Prefactor     .97621        .15706       -.46321E-05   -.15156E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.89996
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 22.6969
  Prefactor  = 7.32747e-09
  Prefactor  = 9.81783
  Prefactor  = 2.22045e-10
  Prefactor  = 1.55431e-09
  Prefactor  = 38.9059
  norm       = 3.9968e-09
  Prefactor  = 5.49446
  Prefactor  = 0.471746
  Prefactor  = 6.27556
  Prefactor  = 11.1447
  Normalizat = 0.959481
  Prefactor  = 0.976208
 **********
 **   18 **HESSE 
 **********

 FCN=   5269.387     FROM HESSE     STATUS=OK           245 CALLS     1373 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9000        4.5458        .51325E-03   -1.5668    
   2  Prefactor     .55511E-10    13.563        .16206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    7.8136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.697        17.344        .21072E-03   -1.5613    
   5  Prefactor     .73275E-08    11.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.8178        7.5260        .32024E-03   -1.5645    
   7  Prefactor     .22204E-09    1.0599        .27857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .15543E-08    8.4755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.906        24.882        .16103E-03   -1.5583    
  10  norm          .39968E-08    3.5374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.4945        10.133        .42621E-03   -1.5661    
  12  Prefactor     .47175        8.3341        .11504E-01   -1.5694    
  13  Prefactor     6.2756        15.952        .39911E-03   -1.5658    
  14  Prefactor     11.145        14.353        .29953E-03   -1.5641    
  15  Normalizat    .95948        .25312        .75022E-01   -.94400    
  16  Prefactor     .97621        .13071        .45972E-01   -.93527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84062e-08
Minuit parameter uncertainties:
  1  4.54581
  2  6.51856e-05
  3  8.74413e-05
  4  17.3442
  5  0.000573997
  6  7.526
  7  3.018e-05
  8  0.000231561
  9  24.8822
  10  0.000237539
  11  10.1329
  12  3.96565
  13  15.9524
  14  14.3532
  15  0.253432
  16  0.130751
Done.

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

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  9.818e+00  7.526e+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.762e-01  1.308e-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:  9.595e-01  2.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.66
Ra Dec: 322.891 -9.268
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 5.26e-08 +/- 4.03e-08
Energy Flux (Fixed Index): 3.74e-05 +/- 2.86e-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) = 5268.06960201
delta logL = 1.31723204533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5268.06850784
delta logL = 1.31832621447

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7764       1.0000          .0000       .10000E+07
     2 'Index     '    3.0005       1.0000          .0000       10.000    
     3 'Normalizat'    .81374       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0199       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=   5268.069     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      230 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7802        19.210        .61049E-03    .25248E-02
   2  Index         2.9999        2.0012        .67256E-01    .19265E-03
   3  Normalizat    .81380        .10994        .80518E-01    .21504E-04
   4  Prefactor     1.0199        .51439E-01    .42149E-01   -.10182E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.78016
  Index      = 2.99988
  Normalizat = 0.813795
  Prefactor  = 1.0199
 **********
 **   18 **HESSE 
 **********

 FCN=   5268.069     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7802        6.3102        .52981E-05   -1.5675    
   2  Index         2.9999        1.0016        .27163E-02   -.41154    
   3  Normalizat    .81380        .30904        .35647E-03   -.99559    
   4  Prefactor     1.0199        .16160        .17597E-03   -.92069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26879e-11
Minuit parameter uncertainties:
  1  6.31025
  2  1.00974
  3  0.309712
  4  0.161676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464645': 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) = 5268.06850732
delta logL = 1.31832673306

Extracting fit parameters...

4FGL J2131.5-0916
   Spectrum: PowerLaw
287    Prefactor:  2.780e+00  6.310e+00  0.000e+00  1.000e+06 ( 1.000e-13)
288        Index:  3.000e+00  1.010e+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:  1.020e+00  1.617e-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.138e-01  3.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.59
Ra Dec: 322.891 -9.268
Photon Index (Free Index): 3.00 +/- 1.01
Photon Flux (Free Index): 1.79e-07 +/- 1.17e-07
Energy Flux (Free Index): 3.57e-05 +/- 1.68e-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/464645/cmap_HighResolution_696556801_696816001_4FGL_J2131.5-0916_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.26e-08', energy_flux2='3.57e-05', photon_flux_error='4.03e-08', dlogl='1.32e+00', energy_flux='3.74e-05', photon_flux2='1.79e-07', job_status='DONE', time_completed='2023-01-31 02:04:05.716701', photon_index_error2='1.01', photon_index2='3.00', ts='5.66', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='0.96', time_epoch_completed='1675159445.72', return_code='0', job_id='464645', GAL2='1.02', EG2='0.81', return_code2='0', energy_flux_error='2.86e-05', photon_flux_error2='1.17e-07', ts2='8.59', photon_index='1.99' WHERE bin_id='1764' AND source_name='4FGL J2131.5-0916' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:04:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 464645: <4FGL_J2131.5-0916_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2131.5-0916_daily_bin1764> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 31 01:55:15 2023
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:55:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:55:53 2023
Terminated at Tue Jan 31 02:04:06 2023
Results reported at Tue Jan 31 02:04:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.5-0916_daily_bin1764 322.891 -9.2684 696556801 696816001 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 :                                   462.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   493 sec.
    Turnaround time :                            531 sec.

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

