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 107 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1684
RA = 320.154, Dec = -12.9097
tmin = 675820801, tmax = 676080001
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='192795', job_status='RUN', time_executed='2022-06-05 00:44:20.618566', time_epoch_executed='1654415060.62' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192795

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192795/ft1_4FGL_J2120.6-1254_daily_bin1684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192795/ft1_4FGL_J2120.6-1254_daily_bin1684.fits outfile=/scratch/kocevski/192795/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1684.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=675820801.0 tmax=676080001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.46
user 4.20
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.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/192795/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1684.fits evtable="EVENTS" outfile="/scratch/kocevski/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.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.35
sys 0.15

Number of photons that the gtmktime cut: 843

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.fits" evtable="EVENTS" scfile=/scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits sctable="SC_DATA" outfile=/scratch/kocevski/192795/ltcube_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.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/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits
.....................!
real 13.78
user 13.37
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits sctable="SC_DATA" expcube=/scratch/kocevski/192795/ltcube_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.fits outfile=/scratch/kocevski/192795/expmap_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.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/192795/ltcube_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.fits
.....................!
real 191.23
user 185.51
sys 4.75

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

Setting source of interest to:
4FGL J2120.6-1254 @ 320.154 -12.9097

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.fits scfile=/scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits outfile=/scratch/kocevski/192795/cmap_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.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=320.154 yref=-12.9097 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.fits scfile=/scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits outfile=/scratch/kocevski/192795/cmap_HighResolution_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.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=320.154 yref=-12.9097 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.fits evtable="EVENTS" scfile=/scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192795/Model_4FGL_J2120.6-1254_daily_bin1684.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/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.fits.....................!
real 81.20
user 79.63
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.fits', '/scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits', expMap='/scratch/kocevski/192795/expmap_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.fits', expCube='/scratch/kocevski/192795/ltcube_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192795/Model_4FGL_J2120.6-1254_daily_bin1684.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2120.6-1254'

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.885e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.336e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/192795/ft1_filtered_4FGL_J2120.6-1254_daily_bin1684.fits
Spacecraft file(s): /scratch/kocevski/192795/ft2_4FGL_J2120.6-1254_daily_bin1684.fits
Exposure map: /scratch/kocevski/192795/expmap_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.fits
Exposure cube: /scratch/kocevski/192795/ltcube_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192795/Model_4FGL_J2120.6-1254_daily_bin1684.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) = 9065.16421162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6425       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3748       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0055       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10481E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .48147E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .32928       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.7958       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.108       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4072       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6776       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6903       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1774       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .83843       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9065.163     FROM MIGRAD    STATUS=CONVERGED    307 CALLS     1481 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6506        3.2010       -.36409E-07   -.33495E-04
   2  Prefactor     .10000E-03    2.3888       -.60427E-07** at limit **
   3  Prefactor     .10000E-03    3.4081       -.12927E-06** at limit **
   4  Prefactor     4.3924        12.193       -.70445E-05   -.14336E-03
   5  Prefactor     8.9928        11.067        .28881E-05   -.14300E-04
   6  Prefactor     .10000E-03    15.575       -.31170E-06** at limit **
   7  Prefactor     .10000E-03    1.9286        .16703E-06** at limit **
   8  Prefactor     .32968        1.3143       -.61729E-06   -.24660E-02
   9  Prefactor     3.8152        4.2609       -.10613E-05   -.33255E-03
  10  Prefactor     13.087        24.197       -.28270E-04    .36245E-05
  11  Prefactor     3.4026        10.778        .27029E-05   -.15702E-03
  12  norm          2.6790        3.6850        .36483E-07   -.15523E-03
  13  Prefactor     .10000E-03    1.5431       -.12141E-07** at limit **
  14  Prefactor     4.6936        11.736       -.33866E-05   -.12049E-03
  15  Normalizat    1.1774        .17299        .12126E-05    .11857E-04
  16  Prefactor     .83838        .94751E-01    .48829E-06    .69068E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.65061
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.39244
  Prefactor  = 8.99285
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.329682
  Prefactor  = 3.81516
  Prefactor  = 13.0871
  Prefactor  = 3.40262
  norm       = 2.67896
  Prefactor  = 0.0001
  Prefactor  = 4.69356
  Normalizat = 1.17741
  Prefactor  = 0.838385
 **********
 **   18 **HESSE 
 **********

 FCN=   9065.163     FROM HESSE     STATUS=OK           217 CALLS     1698 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6506        3.2021        .11473E-03   -1.5192    
   2  Prefactor     .10000E-03    2.4625        .28720E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.4192        .17165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3924        12.181        .19256E-03   -1.5289    
   5  Prefactor     8.9928        11.018        .13356E-03   -1.5108    
   6  Prefactor     .10000E-03    15.629        .20731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.2306        .46350E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .32968        1.3335        .21327E-03   -1.5593    
   9  Prefactor     3.8152        4.2645        .20166E-03   -1.5317    
  10  Prefactor     13.087        23.645        .11064E-03   -1.4984    
  11  Prefactor     3.4026        10.763        .21917E-03   -1.5339    
  12  norm          2.6790        3.6741        .20871E-03   -1.5381    
  13  Prefactor     .10000E-03    1.5528        .11546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.6936        11.747        .18581E-03   -1.5275    
  15  Normalizat    1.1774        .21044        .27775E-03   -.87304    
  16  Prefactor     .83838        .11542        .18175E-03   -.98329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56814e-09
Minuit parameter uncertainties:
  1  3.20221
  2  1.13806e-05
  3  3.68039e-06
  4  12.1876
  5  11.0208
  6  9.48092e-05
  7  8.08399e-05
  8  1.32595
  9  4.26484
  10  23.6616
  11  10.7695
  12  3.67442
  13  1.76019e-06
  14  11.7526
  15  0.210592
  16  0.11545
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  8.993e+00  1.102e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.336e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.384e-01  1.155e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.177e+00  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.92
Ra Dec: 320.154 -12.910
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/192795/likelihoodResults_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.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) = 9064.92212376
delta logL = 0.24038819534

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9064.90777343
delta logL = 0.254738524698

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2808       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0059       1.0000          .0000       10.000    
     3 'Normalizat'    1.1481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84815       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9064.908     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      255 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2765        68.373        .48681E-02    .69934E-03
   2  Index         3.0063        2.4649        .16783        .14481E-03
   3  Normalizat    1.1480        .45736E-01    .63475E-01    .69060E-05
   4  Prefactor     .84820        .24307E-01    .44341E-01   -.17826E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.2765
  Index      = 3.00631
  Normalizat = 1.148
  Prefactor  = 0.8482
 **********
 **   18 **HESSE 
 **********

 FCN=   9064.908     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2765        18.239        .17168E-03   -1.5294    
   2  Index         3.0063        2.0685        .58743E-02   -.41014    
   3  Normalizat    1.1480        .21632        .28078E-03   -.88225    
   4  Prefactor     .84820        .11915        .18077E-03   -.97975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04894e-10
Minuit parameter uncertainties:
  1  17.6724
  2  2.14603
  3  0.216489
  4  0.119182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192795': 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) = 9064.90777309
delta logL = 0.254738868509

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  4.277e+00  1.767e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  3.006e+00  2.146e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.325e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.482e-01  1.192e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.148e+00  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 320.154 -12.910
Photon Index (Free Index): 3.01 +/- 2.15
Photon Flux (Free Index): 5.05e-08 +/- 5.22e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.11e-05

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/192795/cmap_HighResolution_675820801_676080001_4FGL_J2120.6-1254_daily_bin1684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.77e-03', comment='SUCCESS', energy_flux2='1.00e-05', dlogl='2.55e-01', photon_flux2='5.05e-08', job_status='DONE', time_completed='2022-06-05 00:55:24.601308', photon_index_error2='2.15', photon_index2='3.01', ts='0.92', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.11e-05', EG='1.18', time_epoch_completed='1654415724.6', return_code='0', job_id='192795', GAL2='0.85', EG2='1.15', return_code2='0', photon_flux_error2='5.22e-08', ts2='1.45', photon_index='2.34' WHERE bin_id='1684' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jun  5 00:55:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 192795: <4FGL_J2120.6-1254_daily_bin1684> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1684> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jun  5 00:40:31 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jun  5 00:42:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jun  5 00:42:23 2022
Terminated at Sun Jun  5 00:55:25 2022
Results reported at Sun Jun  5 00:55:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1684 320.154 -12.9097 675820801 676080001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2120.6-1254 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   664.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            894 sec.

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

