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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1683
RA = 320.154, Dec = -12.9097
tmin = 675561601, tmax = 675820801
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='52792', job_status='RUN', time_executed='2022-06-02 01:38:41.906170', time_epoch_executed='1654159121.91' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52792

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52792/ft1_4FGL_J2120.6-1254_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52792/ft1_4FGL_J2120.6-1254_daily_bin1683.fits outfile=/scratch/kocevski/52792/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1683.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=675561601.0 tmax=675820801.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.47
user 3.21
sys 0.22

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

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

Number of photons that the gtmktime cut: 727

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52792/ft1_filtered_4FGL_J2120.6-1254_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/52792/ltcube_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.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/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits
.....................!
real 14.27
user 13.85
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52792/ft1_filtered_4FGL_J2120.6-1254_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/52792/ltcube_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.fits outfile=/scratch/kocevski/52792/expmap_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.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/52792/ltcube_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.fits
.....................!
real 192.63
user 187.23
sys 4.61

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/52792/ft1_filtered_4FGL_J2120.6-1254_daily_bin1683.fits scfile=/scratch/kocevski/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits outfile=/scratch/kocevski/52792/cmap_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52792/ft1_filtered_4FGL_J2120.6-1254_daily_bin1683.fits scfile=/scratch/kocevski/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits outfile=/scratch/kocevski/52792/cmap_HighResolution_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52792/ft1_filtered_4FGL_J2120.6-1254_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52792/Model_4FGL_J2120.6-1254_daily_bin1683.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/52792/ft1_filtered_4FGL_J2120.6-1254_daily_bin1683.fits.....................!
real 73.47
user 71.56
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/52792/ft1_filtered_4FGL_J2120.6-1254_daily_bin1683.fits', '/scratch/kocevski/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits', expMap='/scratch/kocevski/52792/expmap_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.fits', expCube='/scratch/kocevski/52792/ltcube_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/52792/Model_4FGL_J2120.6-1254_daily_bin1683.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/52792/ft1_filtered_4FGL_J2120.6-1254_daily_bin1683.fits
Spacecraft file(s): /scratch/kocevski/52792/ft2_4FGL_J2120.6-1254_daily_bin1683.fits
Exposure map: /scratch/kocevski/52792/expmap_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.fits
Exposure cube: /scratch/kocevski/52792/ltcube_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/52792/Model_4FGL_J2120.6-1254_daily_bin1683.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) = 7937.82217894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.998       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12126E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1372       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .61044       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11871E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.0443       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .83330       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2325       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .71212       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7937.742     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1294 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .70283         .0000    ** at limit **
   2  Prefactor     .10000E-03    1.5723         .0000    ** at limit **
   3  Prefactor     .10000E-03    4.3103         .0000    ** at limit **
   4  Prefactor     .10000E-03    3.5348         .0000    ** at limit **
   5  Prefactor     10.995        8.5176         .0000        .30336E-04
   6  Prefactor     .10000E-03    11.674         .0000    ** at limit **
   7  Prefactor     .10000E-03    2.1612         .0000    ** at limit **
   8  Prefactor     3.1371        2.0797         .0000        .12842E-03
   9  Prefactor     .61743        6.3086         .0000        .49582E-01
  10  Prefactor     .10001E-03    12.895         .0000    ** at limit **
  11  Prefactor     .10001E-03    14.245         .0000    ** at limit **
  12  norm          6.0446        5.4300         .0000        .20166E-03
  13  Prefactor     .10000E-03    2.9873         .0000    ** at limit **
  14  Prefactor     .76571        7.8699         .0000        .27955E-03
  15  Normalizat    1.2330        .17490         .0000        .72010E-05
  16  Prefactor     .71187        .94156E-01     .0000        .10936E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9953
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 3.13709
  Prefactor  = 0.617431
  Prefactor  = 0.000100012
  Prefactor  = 0.000100006
  norm       = 6.04463
  Prefactor  = 0.0001
  Prefactor  = 0.765706
  Normalizat = 1.23301
  Prefactor  = 0.71187
 **********
 **   18 **HESSE 
 **********

 FCN=   7937.742     FROM HESSE     STATUS=OK           205 CALLS     1499 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .70376        .72940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.5994        .10906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.3275        .18063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.5412        .16358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.995        8.5202        .12081E-03   -1.5045    
   6  Prefactor     .10000E-03    11.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.8067        .25437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.1371        2.0758        .10146E-03   -1.5354    
   9  Prefactor     .61743        6.5489        .21566E-02   -1.5551    
  10  Prefactor     .10001E-03    12.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    14.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.0446        5.4260        .16331E-03   -1.5216    
  13  Prefactor     .10000E-03    6.5882        .29208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .76571        64.954        .46589E-02   -1.5533    
  15  Normalizat    1.2330        .21167        .25639E-03   -.85589    
  16  Prefactor     .71187        .11467        .18150E-03   -1.0306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55811e-09
Minuit parameter uncertainties:
  1  1.56069e-06
  2  3.77717e-06
  3  4.6337e-05
  4  7.9e-06
  5  8.52114
  6  0.000295956
  7  1.2203e-05
  8  2.07584
  9  4.02192
  10  0.000789225
  11  0.000590474
  12  5.42641
  13  6.02684e-06
  14  14.1196
  15  0.211822
  16  0.114705
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.100e+01  8.521e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  7.119e-01  1.147e-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.233e+00  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 320.154 -12.910
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 3.45e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 9.57e-06

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) = 7937.49227025
delta logL = 0.249956898765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7937.44199007
delta logL = 0.300237079973

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.474       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8892       1.0000          .0000       10.000    
     3 'Normalizat'    1.2456       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70873       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=   7937.442     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      245 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.484        476.29        .26319E-02    .33787E-04
   2  Index         1.8898        5.2458        .18482        .37552E-04
   3  Normalizat    1.2463        .14844        .57718E-01    .22247E-04
   4  Prefactor     .70849        .56614E-01    .42517E-01    .25018E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.4836
  Index      = 1.88984
  Normalizat = 1.24627
  Prefactor  = 0.708492
 **********
 **   18 **HESSE 
 **********

 FCN=   7937.442     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.484        12.006        .52639E-03   -1.4947    
   2  Index         1.8898        .57353        .10214E-01   -.67134    
   3  Normalizat    1.2463        .20464        .25525E-03   -.85185    
   4  Prefactor     .70849        .11358        .18191E-03   -1.0320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25025e-12
Minuit parameter uncertainties:
  1  12.0083
  2  0.575599
  3  0.204775
  4  0.113619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52792': 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) = 7937.44198265
delta logL = 0.30024449956

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.448e+01  1.201e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  1.890e+00  5.756e-01  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:  7.085e-01  1.136e-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.246e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.80
Ra Dec: 320.154 -12.910
Photon Index (Free Index): 1.89 +/- 0.58
Photon Flux (Free Index): 2.15e-08 +/- 2.45e-08
Energy Flux (Free Index): 1.98e-05 +/- 2.29e-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/52792/cmap_HighResolution_675561601_675820801_4FGL_J2120.6-1254_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.45e-08', energy_flux2='1.98e-05', photon_flux_error='2.67e-08', dlogl='3.00e-01', energy_flux='1.23e-05', photon_flux2='2.15e-08', job_status='DONE', time_completed='2022-06-02 01:47:51.103107', photon_index_error2='0.58', photon_index2='1.89', ts='5.20', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='2.29e-05', EG='1.23', time_epoch_completed='1654159671.1', return_code='0', job_id='52792', GAL2='0.71', EG2='1.25', return_code2='0', energy_flux_error='9.57e-06', photon_flux_error2='2.45e-08', ts2='5.80', photon_index='2.34' WHERE bin_id='1683' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:47:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 52792: <4FGL_J2120.6-1254_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:18 2022
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:35:33 2022
Terminated at Thu Jun  2 01:47:51 2022
Results reported at Thu Jun  2 01:47:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1683 320.154 -12.9097 675561601 675820801 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 :                                   550.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             274.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            753 sec.

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

