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 67 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_bin1666
RA = 320.154, Dec = -12.9097
tmin = 671155201, tmax = 671414401
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='414377', job_status='RUN', time_executed='2022-04-12 00:36:48.252998', time_epoch_executed='1649749008.25' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414377

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414377/ft1_4FGL_J2120.6-1254_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414377/ft2_4FGL_J2120.6-1254_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414377/ft1_4FGL_J2120.6-1254_daily_bin1666.fits outfile=/scratch/kocevski/414377/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1666.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.28
user 5.01
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414377/ft1_filtered_4FGL_J2120.6-1254_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414377/ft2_4FGL_J2120.6-1254_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414377/ltcube_671155201_671414401_4FGL_J2120.6-1254_daily_bin1666.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/414377/ft2_4FGL_J2120.6-1254_daily_bin1666.fits
.....................!
real 12.96
user 11.67
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414377/ft1_filtered_4FGL_J2120.6-1254_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414377/ft2_4FGL_J2120.6-1254_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414377/ltcube_671155201_671414401_4FGL_J2120.6-1254_daily_bin1666.fits outfile=/scratch/kocevski/414377/expmap_671155201_671414401_4FGL_J2120.6-1254_daily_bin1666.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/414377/ltcube_671155201_671414401_4FGL_J2120.6-1254_daily_bin1666.fits
.....................!
real 191.48
user 185.89
sys 5.16

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/414377/ft1_filtered_4FGL_J2120.6-1254_daily_bin1666.fits scfile=/scratch/kocevski/414377/ft2_4FGL_J2120.6-1254_daily_bin1666.fits outfile=/scratch/kocevski/414377/cmap_671155201_671414401_4FGL_J2120.6-1254_daily_bin1666.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414377/ft1_filtered_4FGL_J2120.6-1254_daily_bin1666.fits scfile=/scratch/kocevski/414377/ft2_4FGL_J2120.6-1254_daily_bin1666.fits outfile=/scratch/kocevski/414377/cmap_HighResolution_671155201_671414401_4FGL_J2120.6-1254_daily_bin1666.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414377/ft1_filtered_4FGL_J2120.6-1254_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414377/ft2_4FGL_J2120.6-1254_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414377/Model_4FGL_J2120.6-1254_daily_bin1666.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/414377/ft1_filtered_4FGL_J2120.6-1254_daily_bin1666.fits.....................!
real 77.87
user 76.45
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    2.3175       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3803       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.117       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5196       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14783       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.7913       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0211       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.198       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0304       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .92500       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=   8940.222     FROM MIGRAD    STATUS=CONVERGED    320 CALLS     1513 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0198       -.33318E-08** at limit **
   2  Prefactor     2.3173        2.8766        .15118E-07   -.81125E-04
   3  Prefactor     2.3795        2.7378        .30446E-06   -.46613E-03
   4  Prefactor     11.082        16.943        .22234E-06    .53866E-04
   5  Prefactor     2.5301        13.813       -.38861E-05   -.25806E-04
   6  Prefactor     .10000E-03    23.933        .87846E-07** at limit **
   7  Prefactor     .10000E-03    1.5288        .48467E-08** at limit **
   8  Prefactor     .12977        .96875       -.22175E-06    .71010E-04
   9  Prefactor     .10000E-03    5.6897       -.55758E-08** at limit **
  10  Prefactor     6.8038        20.907        .70869E-05    .17455E-04
  11  Prefactor     .10000E-03    5.0722        .14467E-07** at limit **
  12  norm          .10000E-03    1.6239        .13876E-07** at limit **
  13  Prefactor     4.0210        4.3452       -.92691E-07   -.60590E-04
  14  Prefactor     11.194        14.199        .16689E-05    .35684E-05
  15  Normalizat    1.0305        .17530        .11004E-06    .51076E-04
  16  Prefactor     .92504        .96168E-01   -.92936E-07    .10382E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.31726
  Prefactor  = 2.37954
  Prefactor  = 11.0816
  Prefactor  = 2.53011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.12977
  Prefactor  = 0.0001
  Prefactor  = 6.80375
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.02104
  Prefactor  = 11.194
  Normalizat = 1.03046
  Prefactor  = 0.925035
 **********
 **   18 **HESSE 
 **********

 FCN=   8940.222     FROM HESSE     STATUS=OK           205 CALLS     1718 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0320        .93235E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3173        2.8758        .17232E-03   -1.5404    
   3  Prefactor     2.3795        14.044        .13276E-02   -1.5399    
   4  Prefactor     11.082        16.600        .12016E-03   -1.5042    
   5  Prefactor     2.5301        13.452        .25737E-03   -1.5390    
   6  Prefactor     .10000E-03    23.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5403        .11415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12977        8.1066        .17819E-02   -1.5636    
   9  Prefactor     .10000E-03    5.8245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8038        20.953        .15396E-03   -1.5186    
  11  Prefactor     .10000E-03    5.0927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.6274        .11767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.0210        4.3557        .19568E-03   -1.5307    
  14  Prefactor     11.194        14.229        .11972E-03   -1.5039    
  15  Normalizat    1.0305        .21526        .29465E-03   -.92017    
  16  Prefactor     .92504        .11793        .17459E-03   -.95272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3212e-09
Minuit parameter uncertainties:
  1  1.09509e-07
  2  2.876
  3  11.5657
  4  16.6068
  5  11.6717
  6  1.20291e-05
  7  7.01215e-07
  8  2.05083
  9  5.48694e-07
  10  20.976
  11  5.15289e-06
  12  2.48104e-07
  13  4.35607
  14  14.2331
  15  0.215445
  16  0.117958
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  2.530e+00  1.167e+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:  9.250e-01  1.180e-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.030e+00  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 320.154 -12.910
Photon Flux Upper Limit: 8.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/414377/likelihoodResults_671155201_671414401_4FGL_J2120.6-1254_daily_bin1666.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) = 8938.56762207
delta logL = 1.65437815223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8938.51141366
delta logL = 1.71058655997

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33554       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4098       1.0000          .0000       10.000    
     3 'Normalizat'    .93014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95740       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=   8938.511     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      274 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33465        2.3529        .71380E-02    .15875E-02
   2  Index         4.4111        1.7683        .10618        .20894E-03
   3  Normalizat    .93003        .41666E-01    .69606E-01    .37198E-04
   4  Prefactor     .95741        .23618E-01    .45732E-01    .30062E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.334649
  Index      = 4.41113
  Normalizat = 0.930034
  Prefactor  = 0.957413
 **********
 **   18 **HESSE 
 **********

 FCN=   8938.511     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      309 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33465        5.9408        .32407E-03   -1.5592    
   2  Index         4.4111        3.3150        .38458E-02   -.11805    
   3  Normalizat    .93003        .16167        .30795E-03   -.95413    
   4  Prefactor     .95741        .90782E-01    .17175E-03   -.94163    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.06602e-07
Minuit parameter uncertainties:
  1  2.81989
  2  3.62974
  3  0.161759
  4  0.0907963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414377': 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): 102
logL (Free Index) = 8938.51141281
delta logL = 1.71058741221

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  3.346e-01  2.820e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  4.411e+00  3.630e+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:  9.574e-01  9.080e-02  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:  9.300e-01  1.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.69
Ra Dec: 320.154 -12.910
Photon Index (Free Index): 4.41 +/- 3.63
Photon Flux (Free Index): 8.79e-08 +/- 5.19e-08
Energy Flux (Free Index): 1.24e-05 +/- 9.80e-06

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/414377/cmap_HighResolution_671155201_671414401_4FGL_J2120.6-1254_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='1.71e+00', photon_flux2='8.79e-08', job_status='DONE', time_completed='2022-04-12 00:47:48.419277', photon_index_error2='3.63', photon_index2='4.41', ts='0.06', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.53e-08', energy_flux_error2='9.80e-06', EG='1.03', time_epoch_completed='1649749668.42', return_code='0', job_id='414377', GAL2='0.96', EG2='0.93', return_code2='102', photon_flux_error2='5.19e-08', ts2='3.69', photon_index='2.34' WHERE bin_id='1666' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:47:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 414377: <4FGL_J2120.6-1254_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:28 2022
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:30 2022
Terminated at Tue Apr 12 00:47:49 2022
Results reported at Tue Apr 12 00:47:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1666 320.154 -12.9097 671155201 671414401 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 :                                   660.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            741 sec.

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

