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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1719
RA = 320.154, Dec = -12.9097
tmin = 684892801, tmax = 685152001
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='666647', job_status='RUN', time_executed='2022-09-18 01:19:30.082093', time_epoch_executed='1663489170.08' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666647/ft1_4FGL_J2120.6-1254_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666647/ft2_4FGL_J2120.6-1254_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666647/ft1_4FGL_J2120.6-1254_daily_bin1719.fits outfile=/scratch/kocevski/666647/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1719.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=684892801.0 tmax=685152001.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.14
user 2.91
sys 0.21

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

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

Number of photons that the gtmktime cut: 167

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666647/ft1_filtered_4FGL_J2120.6-1254_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/666647/ft2_4FGL_J2120.6-1254_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/666647/ltcube_684892801_685152001_4FGL_J2120.6-1254_daily_bin1719.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/666647/ft2_4FGL_J2120.6-1254_daily_bin1719.fits
.....................!
real 17.89
user 17.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666647/ft1_filtered_4FGL_J2120.6-1254_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666647/ft2_4FGL_J2120.6-1254_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/666647/ltcube_684892801_685152001_4FGL_J2120.6-1254_daily_bin1719.fits outfile=/scratch/kocevski/666647/expmap_684892801_685152001_4FGL_J2120.6-1254_daily_bin1719.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/666647/ltcube_684892801_685152001_4FGL_J2120.6-1254_daily_bin1719.fits
.....................!
real 193.67
user 187.48
sys 5.67

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/666647/ft1_filtered_4FGL_J2120.6-1254_daily_bin1719.fits scfile=/scratch/kocevski/666647/ft2_4FGL_J2120.6-1254_daily_bin1719.fits outfile=/scratch/kocevski/666647/cmap_684892801_685152001_4FGL_J2120.6-1254_daily_bin1719.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666647/ft1_filtered_4FGL_J2120.6-1254_daily_bin1719.fits scfile=/scratch/kocevski/666647/ft2_4FGL_J2120.6-1254_daily_bin1719.fits outfile=/scratch/kocevski/666647/cmap_HighResolution_684892801_685152001_4FGL_J2120.6-1254_daily_bin1719.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666647/ft1_filtered_4FGL_J2120.6-1254_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666647/ft2_4FGL_J2120.6-1254_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666647/Model_4FGL_J2120.6-1254_daily_bin1719.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/666647/ft1_filtered_4FGL_J2120.6-1254_daily_bin1719.fits.....................!
real 30.85
user 29.48
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59752E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .37924E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    17.839       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17047E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20530E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.605       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21610E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    16.743       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36865E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .19679E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    40.141       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37250E-02   1.0000          .0000       .10000E+07
    13 'Normalizat'    .94520       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .88745       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=   1958.612     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      936 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22204E-09    5.0999        .47923E-06** at limit **
   2  Prefactor     .33307E-09    4.8150        .55214E-06** at limit **
   3  Prefactor     21.881        49.934        .22364E-05   -.14729E-02
   4  Prefactor     .76050E-08    41.082       -.41897E-05** at limit **
   5  Prefactor     .30513E-05    25.429       -.41017E-06** at limit **
   6  Prefactor     15.726        22.031        .32966E-06    .38757E-01
   7  Prefactor     .55511E-10    2.1784        .22981E-06** at limit **
   8  Prefactor     16.446        15.798       -.60321E-07    .28569E-02
   9  Prefactor     .55511E-10    60.430       -.94069E-06** at limit **
  10  norm          .11102E-09    12.340        .19437E-06** at limit **
  11  Prefactor     41.652        34.793       -.30732E-07    .44401E-01
  12  Prefactor     .25147E-05    24.957        .58279E-07** at limit **
  13  Normalizat    .94040        .50880        .81941E-05   -.11353E-03
  14  Prefactor     .88756        .24902       -.21263E-05   -.15910E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.22045e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 21.8811
  Prefactor  = 7.60503e-09
  Prefactor  = 3.05134e-06
  Prefactor  = 15.7263
  Prefactor  = 5.55112e-11
  Prefactor  = 16.4456
  Prefactor  = 5.55112e-11
  norm       = 1.11022e-10
  Prefactor  = 41.6521
  Prefactor  = 2.51471e-06
  Normalizat = 0.940401
  Prefactor  = 0.887555
 **********
 **   18 **HESSE 
 **********

 FCN=   1958.612     FROM HESSE     STATUS=OK           186 CALLS     1122 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22204E-09    5.0801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .33307E-09    4.7928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.881        50.152        .23686E-03   -1.5614    
   4  Prefactor     .76050E-08    40.580        .17239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .30513E-05    36.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.726        24.251        .24552E-03   -1.5629    
   7  Prefactor     .55511E-10    2.1754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.446        15.795        .24450E-03   -1.5627    
   9  Prefactor     .55511E-10    60.132        .16108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .11102E-09    12.313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.652        39.565        .15785E-03   -1.5579    
  12  Prefactor     .25147E-05    33.871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .94040        .41684        .76769E-01   -.95055    
  14  Prefactor     .88756        .20185        .44845E-01   -.96577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82367e-07
Minuit parameter uncertainties:
  1  6.84632e-05
  2  7.96375e-05
  3  50.1526
  4  0.00110937
  5  0.0209778
  6  24.2514
  7  2.59143e-05
  8  15.7949
  9  8.3618e-05
  10  6.89983e-05
  11  39.5648
  12  0.0184582
  13  0.418282
  14  0.202022
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  7.605e-09  1.109e-03  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:  8.876e-01  2.020e-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:  9.404e-01  4.183e-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: 2.83e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666647/likelihoodResults_684892801_685152001_4FGL_J2120.6-1254_daily_bin1719.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) = 1958.62359108
delta logL = -0.0118261711343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1957.41336605
delta logL = 1.19839885397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22989E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.0597       1.0000          .0000       10.000    
     3 'Normalizat'    .63469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99090       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=   1957.413     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      265 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22762E-01    .43161        .11467E-03** at limit **
   2  Index         6.0645        3.1220        .62339E-01   -.24614E-03
   3  Normalizat    .63491        .14481        .91369E-01   -.30278E-03
   4  Prefactor     .99050        .71817E-01    .46153E-01   -.77744E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0227619
  Index      = 6.06452
  Normalizat = 0.634915
  Prefactor  = 0.990503
 **********
 **   18 **HESSE 
 **********

 FCN=   1957.413     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      292 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22762E-01    .67549        .49890E-06   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.0645        3.8900        .26307E-02    .21455    
   3  Normalizat    .63491        .47297        .40481E-03   -1.0652    
   4  Prefactor     .99050        .23044        .16392E-03   -.93047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.07108e-09
Minuit parameter uncertainties:
  1  0.247996
  2  4.49974
  3  0.476038
  4  0.230673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666647': 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) = 1957.41335882
delta logL = 1.19840608671

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  2.276e-02  2.480e-01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  6.065e+00  4.500e+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.905e-01  2.307e-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:  6.349e-01  4.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.73
Ra Dec: 320.154 -12.910
Photon Index (Free Index): 6.06 +/- 4.50
Photon Flux (Free Index): 2.90e-07 +/- 2.30e-07
Energy Flux (Free Index): 3.61e-05 +/- 3.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/666647/cmap_HighResolution_684892801_685152001_4FGL_J2120.6-1254_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-02', comment='SUCCESS', energy_flux2='3.61e-05', dlogl='1.20e+00', photon_flux2='2.90e-07', job_status='DONE', time_completed='2022-09-18 01:25:53.785549', photon_index_error2='4.50', photon_index2='6.06', ts='-0.00', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='2.83e-07', energy_flux_error2='3.09e-05', EG='0.94', time_epoch_completed='1663489553.79', return_code='0', job_id='666647', GAL2='0.99', EG2='0.63', return_code2='102', photon_flux_error2='2.30e-07', ts2='2.73', photon_index='2.34' WHERE bin_id='1719' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:25:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 666647: <4FGL_J2120.6-1254_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 01:15:39 2022
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:16:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:16:50 2022
Terminated at Sun Sep 18 01:25:54 2022
Results reported at Sun Sep 18 01:25:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1719 320.154 -12.9097 684892801 685152001 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 :                                   386.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             276.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   544 sec.
    Turnaround time :                            615 sec.

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

