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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1212
RA = 320.154, Dec = -12.9097
tmin = 553478401, tmax = 553737601
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='462401', job_status='RUN', time_executed='2021-09-26 11:58:23.436896', time_epoch_executed='1632682703.44' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1212'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462401

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462401/ft1_4FGL_J2120.6-1254_daily_bin1212.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462401/ft2_4FGL_J2120.6-1254_daily_bin1212.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462401/ft1_4FGL_J2120.6-1254_daily_bin1212.fits outfile=/scratch/kocevski/462401/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1212.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=553478401.0 tmax=553737601.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 2.66
user 2.44
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/462401/ft2_4FGL_J2120.6-1254_daily_bin1212.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/462401/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1212.fits evtable="EVENTS" outfile="/scratch/kocevski/462401/ft1_filtered_4FGL_J2120.6-1254_daily_bin1212.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.54
user 0.32
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462401/ft1_filtered_4FGL_J2120.6-1254_daily_bin1212.fits" evtable="EVENTS" scfile=/scratch/kocevski/462401/ft2_4FGL_J2120.6-1254_daily_bin1212.fits sctable="SC_DATA" outfile=/scratch/kocevski/462401/ltcube_553478401_553737601_4FGL_J2120.6-1254_daily_bin1212.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/462401/ft2_4FGL_J2120.6-1254_daily_bin1212.fits
.....................!
real 15.81
user 15.35
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462401/ft1_filtered_4FGL_J2120.6-1254_daily_bin1212.fits evtable="EVENTS" scfile=/scratch/kocevski/462401/ft2_4FGL_J2120.6-1254_daily_bin1212.fits sctable="SC_DATA" expcube=/scratch/kocevski/462401/ltcube_553478401_553737601_4FGL_J2120.6-1254_daily_bin1212.fits outfile=/scratch/kocevski/462401/expmap_553478401_553737601_4FGL_J2120.6-1254_daily_bin1212.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/462401/ltcube_553478401_553737601_4FGL_J2120.6-1254_daily_bin1212.fits
.....................!
real 192.09
user 186.08
sys 5.08

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/462401/ft1_filtered_4FGL_J2120.6-1254_daily_bin1212.fits scfile=/scratch/kocevski/462401/ft2_4FGL_J2120.6-1254_daily_bin1212.fits outfile=/scratch/kocevski/462401/cmap_553478401_553737601_4FGL_J2120.6-1254_daily_bin1212.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462401/ft1_filtered_4FGL_J2120.6-1254_daily_bin1212.fits scfile=/scratch/kocevski/462401/ft2_4FGL_J2120.6-1254_daily_bin1212.fits outfile=/scratch/kocevski/462401/cmap_HighResolution_553478401_553737601_4FGL_J2120.6-1254_daily_bin1212.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.58
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462401/ft1_filtered_4FGL_J2120.6-1254_daily_bin1212.fits evtable="EVENTS" scfile=/scratch/kocevski/462401/ft2_4FGL_J2120.6-1254_daily_bin1212.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462401/Model_4FGL_J2120.6-1254_daily_bin1212.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/462401/ft1_filtered_4FGL_J2120.6-1254_daily_bin1212.fits......................!
real 20.62
user 19.16
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10189E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10745E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10898E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12113E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    175.52       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.9616       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11093E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.905       1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.464       1.0000         .10000E-03   10000.    
    14 'Prefactor '    48.929       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0198       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=   799.0890     FROM MIGRAD    STATUS=CONVERGED    290 CALLS     1415 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    49.109        .86345E-08** at limit **
   2  Prefactor     .10000E-03    121.40       -.75537E-07** at limit **
   3  Prefactor     .10000E-03    42.558       -.71982E-07** at limit **
   4  Prefactor     .10000E-03    50.796       -.10607E-05** at limit **
   5  Prefactor     175.40        105.58       -.27727E-06    .25573E-04
   6  Prefactor     .10000E-03    135.14        .48815E-06** at limit **
   7  Prefactor     .10000E-03    10.780       -.13010E-06** at limit **
   8  Prefactor     .10000E-03    2.5190        .11574E-06** at limit **
   9  Prefactor     7.9401        48.016        .14117E-06    .79687E-04
  10  Prefactor     .10000E-03    36.813        .13808E-06** at limit **
  11  Prefactor     53.917        59.302        .24547E-06    .10313E-03
  12  norm          .10000E-03    9.0908       -.15329E-07** at limit **
  13  Prefactor     10.472        18.518       -.95450E-07    .13450E-03
  14  Prefactor     48.935        46.099        .29812E-08    .63432E-04
  15  Normalizat    .10000E-01    .25801       -.14607E-04** at limit **
  16  Prefactor     1.0202        .18528        .25541E-05    .16935E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 175.397
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.94012
  Prefactor  = 0.0001
  Prefactor  = 53.9173
  norm       = 0.0001
  Prefactor  = 10.4723
  Prefactor  = 48.9353
  Normalizat = 0.01
  Prefactor  = 1.02021
 **********
 **   18 **HESSE 
 **********

 FCN=   799.0890     FROM HESSE     STATUS=OK           191 CALLS     1606 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    49.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    121.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    42.572        .18030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    50.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     175.40        105.60        .15230E-03   -1.3051    
   6  Prefactor     .10000E-03    135.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.793        .90666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5248        .43766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.9401        48.723        .14210E-03   -1.5144    
  10  Prefactor     .10000E-03    36.809        .16762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.917        59.378        .54631E-04   -1.4238    
  12  norm          .10000E-03    9.0909        .83272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.472        18.585        .12386E-03   -1.5061    
  14  Prefactor     48.935        46.100        .57328E-04   -1.4308    
  15  Normalizat    .10000E-01    .35618        .85317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0202        .19645        .15153E-03   -.92059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00776e-10
Minuit parameter uncertainties:
  1  1.27206e-05
  2  0.000193456
  3  7.64877e-05
  4  0.000449489
  5  105.711
  6  0.000677949
  7  1.78941e-05
  8  1.37085e-05
  9  39.3851
  10  2.61915e-05
  11  59.4436
  12  1.32379e-06
  13  18.5956
  14  46.1339
  15  6.48348e-06
  16  0.196589
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.754e+02  1.057e+02  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:  1.020e+00  1.966e-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.000e-02  6.483e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.59
Ra Dec: 320.154 -12.910
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 5.50e-07 +/- 3.31e-07
Energy Flux (Fixed Index): 1.97e-04 +/- 1.19e-04

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) = 799.083676985
delta logL = 0.00531559203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 799.075480318
delta logL = 0.0135122591355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    155.38       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4308       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0198       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=   799.0755     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     155.38        5746.3        .80855E-03    .50103E-04
   2  Index         2.4308        6.1881        .50584E-01    .18243E-04
   3  Normalizat    .10000E-01    .27072        .23292    ** at limit **
   4  Prefactor     1.0198        .19336        .42160E-01    .81266E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 155.379
  Index      = 2.43082
  Normalizat = 0.01
  Prefactor  = 1.01985
 **********
 **   18 **HESSE 
 **********

 FCN=   799.0755     FROM HESSE     STATUS=OK            29 CALLS      252 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     155.38        154.11        .32342E-04   -1.3208    
   2  Index         2.4308        .58740        .22042E-03   -.53965    
   3  Normalizat    .10000E-01    .34631        .84950E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0198        .17044        .15151E-03   -.92071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71164e-11
Minuit parameter uncertainties:
  1  154.51
  2  0.589247
  3  1.83088e-09
  4  0.170531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462401': 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) = 799.075479995
delta logL = 0.013512582778

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.554e+02  1.545e+02  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.431e+00  5.892e-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.020e+00  1.705e-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.000e-02  1.831e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.56
Ra Dec: 320.154 -12.910
Photon Index (Free Index): 2.43 +/- 0.59
Photon Flux (Free Index): 5.81e-07 +/- 3.93e-07
Energy Flux (Free Index): 1.83e-04 +/- 1.34e-04

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/462401/cmap_HighResolution_553478401_553737601_4FGL_J2120.6-1254_daily_bin1212.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.50e-07', energy_flux2='1.83e-04', photon_flux_error='3.31e-07', dlogl='1.35e-02', energy_flux='1.97e-04', photon_flux2='5.81e-07', job_status='DONE', time_completed='2021-09-26 12:05:03.655058', photon_index_error2='0.59', photon_index2='2.43', ts='5.59', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.34e-04', EG='0.01', time_epoch_completed='1632683103.66', return_code='0', job_id='462401', GAL2='1.02', EG2='0.01', return_code2='0', energy_flux_error='1.19e-04', photon_flux_error2='3.93e-07', ts2='5.56', photon_index='2.34' WHERE bin_id='1212' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 12:05:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 462401: <4FGL_J2120.6-1254_daily_bin1212> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1212> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 11:55:54 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:57:24 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:24 2021
Terminated at Sun Sep 26 12:05:04 2021
Results reported at Sun Sep 26 12:05:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1212 320.154 -12.9097 553478401 553737601 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 :                                   341.62 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   459 sec.
    Turnaround time :                            550 sec.

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

