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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1710
RA = 320.154, Dec = -12.9097
tmin = 682560001, tmax = 682819201
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='231836', job_status='RUN', time_executed='2022-09-16 23:14:22.828363', time_epoch_executed='1663395262.83' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/231836

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/231836/ft1_4FGL_J2120.6-1254_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/231836/ft1_4FGL_J2120.6-1254_daily_bin1710.fits outfile=/scratch/kocevski/231836/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1710.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=682560001.0 tmax=682819201.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.45
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.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/231836/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.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.53
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 524

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/231836/ltcube_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.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/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits
.....................!
real 16.43
user 16.00
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/231836/ltcube_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.fits outfile=/scratch/kocevski/231836/expmap_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.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/231836/ltcube_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.fits
.....................!
real 193.70
user 188.31
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 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/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.fits scfile=/scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits outfile=/scratch/kocevski/231836/cmap_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.fits scfile=/scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits outfile=/scratch/kocevski/231836/cmap_HighResolution_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.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.59
user 0.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/231836/Model_4FGL_J2120.6-1254_daily_bin1710.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/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.fits.....................!
real 60.38
user 59.02
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.fits', '/scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits', expMap='/scratch/kocevski/231836/expmap_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.fits', expCube='/scratch/kocevski/231836/ltcube_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/231836/Model_4FGL_J2120.6-1254_daily_bin1710.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  0.000e+00  1.000e+06 ( 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/231836/ft1_filtered_4FGL_J2120.6-1254_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/231836/ft2_4FGL_J2120.6-1254_daily_bin1710.fits
Exposure map: /scratch/kocevski/231836/expmap_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.fits
Exposure cube: /scratch/kocevski/231836/ltcube_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/231836/Model_4FGL_J2120.6-1254_daily_bin1710.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) = 5920.26422636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83822E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.9296       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27765E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10529E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12965E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .99992E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6530       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13275E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.9788       1.0000          .0000       .10000E+07
    10 'norm      '    .14940E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21573E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    51.113       1.0000          .0000       .10000E+07
    13 'Normalizat'    .88553       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1943       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5920.210     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      930 TOTAL
                     EDM=   .89E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.0023       -.49879E-07** at limit **
   2  Prefactor     3.9143        5.9145        .32390E-07   -.65107E-04
   3  Prefactor      .0000        19.393       -.42332E-06** at limit **
   4  Prefactor      .0000        4.5606        .34471E-06** at limit **
   5  Prefactor      .0000        15.065       -.15369E-06** at limit **
   6  Prefactor      .0000        2.0850       -.68648E-07** at limit **
   7  Prefactor     1.6572        2.7903        .53308E-07   -.60918E-04
   8  Prefactor      .0000        14.023        .17581E-06** at limit **
   9  Prefactor     6.8390        5.6240       -.96229E-08   -.27041E-02
  10  norm           .0000        2.5953       -.31155E-07** at limit **
  11  Prefactor      .0000        2.7429       -.88271E-07** at limit **
  12  Prefactor     51.533        29.141        .38068E-08   -.13913E-02
  13  Normalizat    .88495        .30242       -.37216E-05    .25672E-05
  14  Prefactor     1.1946        .16635        .19445E-05   -.10681E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 3.9143
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.65721
  Prefactor  = 0
  Prefactor  = 6.83901
  norm       = 0
  Prefactor  = 0
  Prefactor  = 51.5331
  Normalizat = 0.884954
  Prefactor  = 1.19459
 **********
 **   18 **HESSE 
 **********

 FCN=   5920.210     FROM HESSE     STATUS=OK           186 CALLS     1116 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.0050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9143        5.9336        .50867E-03   -1.5668    
   3  Prefactor      .0000        19.384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.5639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        15.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.0850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6572        2.8169        .82072E-03   -1.5682    
   8  Prefactor      .0000        13.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8390        17.747        .37952E-03   -1.5656    
  10  norm           .0000        2.5982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.7432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     51.533        29.362        .13988E-03   -1.5564    
  13  Normalizat    .88495        .26301        .84158E-01   -.96991    
  14  Prefactor     1.1946        .14207        .34766E-01   -.86498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03976e-07
Minuit parameter uncertainties:
  1  4.07556e-07
  2  5.9336
  3  8.18708e-06
  4  3.59981e-06
  5  2.43571e-05
  6  6.20916e-07
  7  2.8169
  8  2.20129e-05
  9  17.7467
  10  5.13487e-07
  11  1.52356e-06
  12  29.3618
  13  0.263392
  14  0.142118
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  3.600e-06  0.000e+00  1.000e+06 ( 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:  1.195e+00  1.421e-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:  8.850e-01  2.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/231836/likelihoodResults_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.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): 102
logL (Free Index) = 5920.21307268
delta logL = -0.00266060880858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5920.21041232
delta logL = -2.49897311733e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16937E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5790       1.0000          .0000       10.000    
     3 'Normalizat'    .88492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1946       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5920.210     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      223 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.6593        .42118E-03** at limit **
   2  Index         1.0828        .71647       -.45410E-04     .0000    
   3  Normalizat    .88495        1.2209       -.20854E-04    .11484E-03
   4  Prefactor     1.1946        1.1048        .11172E-04    .25978E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.08282
  Normalizat = 0.884954
  Prefactor  = 1.19459
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5920.210     FROM HESSE     STATUS=FAILED         9 CALLS      232 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.6593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .64358E-01    1.1240       -.45410E-04   -.90018    
   3  Normalizat    .88495        1.2209       -.20854E-04   -.96991    
   4  Prefactor     1.1946        1.1048        .11172E-04   -.86498    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.57073e-11
Minuit parameter uncertainties:
  1  1.18029e-05
  2  0.722975
  3  1.26259
  4  1.12734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/231836': 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): 101
logL (Free Index) = 5920.21041207
delta logL = -1.90993887372e-11

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  1.180e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.083e+00  7.230e-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:  1.195e+00  1.127e+00  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:  8.850e-01  1.263e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 320.154 -12.910

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/231836/cmap_HighResolution_682560001_682819201_4FGL_J2120.6-1254_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.36e-08', time_completed='2022-09-16 23:22:29.979279', job_id='231836', GAL2='1.19', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1663395749.98', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='-1.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1710' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:22:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 231836: <4FGL_J2120.6-1254_daily_bin1710> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1710> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 23:10:18 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:12:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:12:38 2022
Terminated at Fri Sep 16 23:22:30 2022
Results reported at Fri Sep 16 23:22:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1710 320.154 -12.9097 682560001 682819201 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 :                                   489.06 sec.
    Max Memory :                                 1103 MB
    Average Memory :                             269.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            732 sec.

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

