/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 217 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 = 7425
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1272
RA = 320.154, Dec = -12.9097
tmin = 569030401, tmax = 569289601
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='462492', job_status='RUN', time_executed='2021-09-26 12:01:36.839768', time_epoch_executed='1632682896.84' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462492/ft1_4FGL_J2120.6-1254_daily_bin1272.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462492/ft2_4FGL_J2120.6-1254_daily_bin1272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462492/ft1_4FGL_J2120.6-1254_daily_bin1272.fits outfile=/scratch/kocevski/462492/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1272.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=569030401.0 tmax=569289601.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.69
user 3.36
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462492/ft1_filtered_4FGL_J2120.6-1254_daily_bin1272.fits" evtable="EVENTS" scfile=/scratch/kocevski/462492/ft2_4FGL_J2120.6-1254_daily_bin1272.fits sctable="SC_DATA" outfile=/scratch/kocevski/462492/ltcube_569030401_569289601_4FGL_J2120.6-1254_daily_bin1272.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/462492/ft2_4FGL_J2120.6-1254_daily_bin1272.fits
.....................!
real 14.45
user 13.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462492/ft1_filtered_4FGL_J2120.6-1254_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/462492/ft2_4FGL_J2120.6-1254_daily_bin1272.fits sctable="SC_DATA" expcube=/scratch/kocevski/462492/ltcube_569030401_569289601_4FGL_J2120.6-1254_daily_bin1272.fits outfile=/scratch/kocevski/462492/expmap_569030401_569289601_4FGL_J2120.6-1254_daily_bin1272.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/462492/ltcube_569030401_569289601_4FGL_J2120.6-1254_daily_bin1272.fits
.....................!
real 191.28
user 186.06
sys 4.78

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/462492/ft1_filtered_4FGL_J2120.6-1254_daily_bin1272.fits scfile=/scratch/kocevski/462492/ft2_4FGL_J2120.6-1254_daily_bin1272.fits outfile=/scratch/kocevski/462492/cmap_569030401_569289601_4FGL_J2120.6-1254_daily_bin1272.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.60
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462492/ft1_filtered_4FGL_J2120.6-1254_daily_bin1272.fits scfile=/scratch/kocevski/462492/ft2_4FGL_J2120.6-1254_daily_bin1272.fits outfile=/scratch/kocevski/462492/cmap_HighResolution_569030401_569289601_4FGL_J2120.6-1254_daily_bin1272.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=320.154 yref=-12.9097 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462492/ft1_filtered_4FGL_J2120.6-1254_daily_bin1272.fits evtable="EVENTS" scfile=/scratch/kocevski/462492/ft2_4FGL_J2120.6-1254_daily_bin1272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462492/Model_4FGL_J2120.6-1254_daily_bin1272.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/462492/ft1_filtered_4FGL_J2120.6-1254_daily_bin1272.fits....................!
real 55.65
user 53.98
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.830       1.0000         .10000E-03   10000.    
     6 'Prefactor '    76.682       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6592       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .24256E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.348       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .33563E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5393       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12581E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.4733       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .80575       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=   5326.883     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     1490 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.7194        .41236E-07** at limit **
   2  Prefactor     .10000E-03    2.9497        .31588E-07** at limit **
   3  Prefactor     .10000E-03    12.432        .10792E-06** at limit **
   4  Prefactor     .10000E-03    7.8412       -.17938E-07** at limit **
   5  Prefactor     11.805        15.828        .16483E-06   -.44465E-05
   6  Prefactor     76.884        53.820        .16397E-05    .38984E-03
   7  Prefactor     7.6593        7.2863        .56969E-07    .43545E-05
   8  Prefactor     .10000E-03    1.8788       -.84548E-06** at limit **
   9  Prefactor     .10000E-03    5.0196        .31136E-07** at limit **
  10  Prefactor     14.327        38.796        .41643E-05    .50797E-04
  11  Prefactor     .10000E-03    21.980        .18506E-06** at limit **
  12  norm          .10000E-03    6.8747        .25692E-05** at limit **
  13  Prefactor     3.5450        8.6534        .41660E-05   -.23946E-04
  14  Prefactor     .10000E-03    20.463        .12563E-06** at limit **
  15  Normalizat    1.4735        .26451       -.10880E-05    .18032E-03
  16  Prefactor     .80575        .13523        .13532E-07    .88991E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8047
  Prefactor  = 76.8836
  Prefactor  = 7.65934
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 14.327
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 3.54504
  Prefactor  = 0.0001
  Normalizat = 1.47345
  Prefactor  = 0.805752
 **********
 **   18 **HESSE 
 **********

 FCN=   5326.883     FROM HESSE     STATUS=OK           199 CALLS     1689 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.8223        .27480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.0608        .24476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.8470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.805        15.843        .11647E-03   -1.5021    
   6  Prefactor     76.884        51.134        .45856E-04   -1.3952    
   7  Prefactor     7.6593        7.2822        .14490E-03   -1.5154    
   8  Prefactor     .10000E-03    17.385        .17545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0592        .15969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.327        38.713        .10574E-03   -1.4951    
  11  Prefactor     .10000E-03    22.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    17.603        .32898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.5450        8.9681        .10743E-02   -1.5331    
  14  Prefactor     .10000E-03    20.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.4735        .32519        .28970E-03   -.78527    
  16  Prefactor     .80575        .16626        .19968E-03   -.99517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.66211e-10
Minuit parameter uncertainties:
  1  5.96108e-06
  2  5.19967e-06
  3  1.07478e-05
  4  3.06202e-06
  5  15.8483
  6  51.1631
  7  7.28308
  8  0.00056529
  9  5.94364e-06
  10  38.7806
  11  2.2118e-05
  12  0.000470407
  13  8.97148
  14  1.85449e-05
  15  0.325649
  16  0.166361
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.058e-01  1.664e-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.473e+00  3.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 320.154 -12.910
Photon Flux Upper Limit: 1.56e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462492/likelihoodResults_569030401_569289601_4FGL_J2120.6-1254_daily_bin1272.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) = 5326.49807893
delta logL = 0.385121439539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5326.48478685
delta logL = 0.398413518721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9283       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1705       1.0000          .0000       10.000    
     3 'Normalizat'    1.4243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82076       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=   5326.485     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      276 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9217        122.22        .45293E-02    .42445E-03
   2  Index         3.1717        3.6030        .10992        .15848E-03
   3  Normalizat    1.4240        .94170E-01    .66392E-01   -.18165E-04
   4  Prefactor     .82083        .45913E-01    .43987E-01    .10845E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.92171
  Index      = 3.17172
  Normalizat = 1.42402
  Prefactor  = 0.820834
 **********
 **   18 **HESSE 
 **********

 FCN=   5326.485     FROM HESSE     STATUS=OK            33 CALLS      309 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9217        15.403        .14349E-03   -1.5264    
   2  Index         3.1717        1.5431        .57168E-02   -.37434    
   3  Normalizat    1.4240        .32070        .29369E-03   -.79936    
   4  Prefactor     .82083        .16715        .19792E-03   -.98965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52822e-11
Minuit parameter uncertainties:
  1  15.4158
  2  1.57291
  3  0.321153
  4  0.167254
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462492': 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) = 5326.48478561
delta logL = 0.39841476184

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.208e-01  1.673e-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.424e+00  3.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.63
Ra Dec: 320.154 -12.910
Photon Index (Free Index): 3.17 +/- 1.57
Photon Flux (Free Index): 8.23e-08 +/- 8.30e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.49e-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/462492/cmap_HighResolution_569030401_569289601_4FGL_J2120.6-1254_daily_bin1272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', comment='SUCCESS', energy_flux2='1.52e-05', dlogl='3.98e-01', photon_flux2='8.23e-08', job_status='DONE', time_completed='2021-09-26 12:10:25.136413', photon_index_error2='1.57', photon_index2='3.17', ts='0.80', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.56e-07', energy_flux_error2='1.49e-05', EG='1.47', time_epoch_completed='1632683425.14', return_code='0', job_id='462492', GAL2='0.82', EG2='1.42', return_code2='0', photon_flux_error2='8.30e-08', ts2='1.63', photon_index='2.34' WHERE bin_id='1272' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 12:10:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 462492: <4FGL_J2120.6-1254_daily_bin1272> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1272> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 11:56:02 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:57:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 11:57:47 2021
Terminated at Sun Sep 26 12:10:25 2021
Results reported at Sun Sep 26 12:10:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1272 320.154 -12.9097 569030401 569289601 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 :                                   520.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            863 sec.

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

