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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1104
RA = 320.154, Dec = -12.9097
tmin = 525484801, tmax = 525744001
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='462228', job_status='RUN', time_executed='2021-09-26 11:57:44.147589', time_epoch_executed='1632682664.15' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1104'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462228

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462228/ft1_4FGL_J2120.6-1254_daily_bin1104.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462228/ft2_4FGL_J2120.6-1254_daily_bin1104.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462228/ft1_4FGL_J2120.6-1254_daily_bin1104.fits outfile=/scratch/kocevski/462228/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1104.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=525484801.0 tmax=525744001.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.89
user 3.43
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462228/ft1_filtered_4FGL_J2120.6-1254_daily_bin1104.fits" evtable="EVENTS" scfile=/scratch/kocevski/462228/ft2_4FGL_J2120.6-1254_daily_bin1104.fits sctable="SC_DATA" outfile=/scratch/kocevski/462228/ltcube_525484801_525744001_4FGL_J2120.6-1254_daily_bin1104.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/462228/ft2_4FGL_J2120.6-1254_daily_bin1104.fits
.....................!
real 15.49
user 14.83
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462228/ft1_filtered_4FGL_J2120.6-1254_daily_bin1104.fits evtable="EVENTS" scfile=/scratch/kocevski/462228/ft2_4FGL_J2120.6-1254_daily_bin1104.fits sctable="SC_DATA" expcube=/scratch/kocevski/462228/ltcube_525484801_525744001_4FGL_J2120.6-1254_daily_bin1104.fits outfile=/scratch/kocevski/462228/expmap_525484801_525744001_4FGL_J2120.6-1254_daily_bin1104.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/462228/ltcube_525484801_525744001_4FGL_J2120.6-1254_daily_bin1104.fits
.....................!
real 194.22
user 187.15
sys 5.86

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/462228/ft1_filtered_4FGL_J2120.6-1254_daily_bin1104.fits scfile=/scratch/kocevski/462228/ft2_4FGL_J2120.6-1254_daily_bin1104.fits outfile=/scratch/kocevski/462228/cmap_525484801_525744001_4FGL_J2120.6-1254_daily_bin1104.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462228/ft1_filtered_4FGL_J2120.6-1254_daily_bin1104.fits scfile=/scratch/kocevski/462228/ft2_4FGL_J2120.6-1254_daily_bin1104.fits outfile=/scratch/kocevski/462228/cmap_HighResolution_525484801_525744001_4FGL_J2120.6-1254_daily_bin1104.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.57
user 0.37
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462228/ft1_filtered_4FGL_J2120.6-1254_daily_bin1104.fits evtable="EVENTS" scfile=/scratch/kocevski/462228/ft2_4FGL_J2120.6-1254_daily_bin1104.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462228/Model_4FGL_J2120.6-1254_daily_bin1104.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/462228/ft1_filtered_4FGL_J2120.6-1254_daily_bin1104.fits.....................!
real 77.13
user 75.47
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.524       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5538       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.8213       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .47536       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6458       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8974       1.0000         .10000E-03   10000.    
    12 'norm      '    4.4074       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7919       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .98609       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .92351       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=   8985.208     FROM MIGRAD    STATUS=CONVERGED    307 CALLS     1284 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .64111        .33933E-07** at limit **
   2  Prefactor     .10000E-03    1.3688        .33591E-07** at limit **
   3  Prefactor     .10000E-03    5.5974        .41460E-07** at limit **
   4  Prefactor     13.523        12.121       -.68679E-06   -.18207E-03
   5  Prefactor     1.5545        5.2799        .62375E-05   -.74919E-03
   6  Prefactor     7.8062        24.506       -.25768E-05   -.53322E-03
   7  Prefactor     .48082        5.2348       -.74410E-05   -.38054E-03
   8  Prefactor     2.6454        2.1288       -.13134E-06   -.11780E-02
   9  Prefactor     .10000E-03    1.4850        .69625E-07** at limit **
  10  Prefactor     .10000E-03    8.9520       -.79212E-07** at limit **
  11  Prefactor     4.8977        9.7237       -.81484E-07   -.56890E-04
  12  norm          4.4073        4.0831       -.27355E-07   -.98820E-04
  13  Prefactor     .10000E-03    1.0828        .30973E-07** at limit **
  14  Prefactor     9.7920        9.4513       -.17974E-07   -.48402E-04
  15  Normalizat    .98606        .16968        .36681E-06   -.28950E-03
  16  Prefactor     .92352        .94302E-01   -.42645E-06   -.65723E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.523
  Prefactor  = 1.55448
  Prefactor  = 7.80625
  Prefactor  = 0.480817
  Prefactor  = 2.6454
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.89773
  norm       = 4.40734
  Prefactor  = 0.0001
  Prefactor  = 9.79198
  Normalizat = 0.986062
  Prefactor  = 0.923521
 **********
 **   18 **HESSE 
 **********

 FCN=   8985.208     FROM HESSE     STATUS=OK           205 CALLS     1489 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .64291        .74121E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.558        .21161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.6360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.523        12.236        .10892E-03   -1.4972    
   5  Prefactor     1.5545        9.6148        .17079E-02   -1.5459    
   6  Prefactor     7.8062        25.489        .14338E-03   -1.5149    
   7  Prefactor     .48082        7.1845        .25947E-02   -1.5569    
   8  Prefactor     2.6454        2.1236        .11629E-03   -1.5383    
   9  Prefactor     .10000E-03    1.4907        .11281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.9566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8977        9.7422        .18175E-03   -1.5265    
  12  norm          4.4073        4.0872        .17971E-03   -1.5288    
  13  Prefactor     .10000E-03    1.0879        .96309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.7920        9.4476        .12806E-03   -1.5082    
  15  Normalizat    .98606        .20720        .29073E-03   -.93499    
  16  Prefactor     .92352        .11642        .17062E-03   -.95324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30915e-09
Minuit parameter uncertainties:
  1  2.1013e-06
  2  3.40602e-07
  3  9.7539e-07
  4  12.2387
  5  7.73362
  6  25.5243
  7  3.71736
  8  2.12368
  9  6.34721e-06
  10  4.03514e-06
  11  9.74535
  12  4.08746
  13  2.96837e-06
  14  9.44906
  15  0.207365
  16  0.11645
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.554e+00  7.734e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.235e-01  1.164e-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.861e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/462228/likelihoodResults_525484801_525744001_4FGL_J2120.6-1254_daily_bin1104.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) = 8985.17986518
delta logL = 0.0282809017408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8985.17927465
delta logL = 0.0288714286016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3863       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7166       1.0000          .0000       10.000    
     3 'Normalizat'    .98233       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92415       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8985.179     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      253 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3868        15.390        .17417E-02   -.60189E-03
   2  Index         2.7190        2.4385        .14330E-01    .19929E-04
   3  Normalizat    .98222        .20286        .29123E-03   -.31230E-06
   4  Prefactor     .92423        .11590        .17056E-03   -.45327E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.3868
  Index      = 2.71901
  Normalizat = 0.982222
  Prefactor  = 0.924233
 **********
 **   18 **HESSE 
 **********

 FCN=   8985.179     FROM HESSE     STATUS=OK            27 CALLS      280 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3868        5.8272        .69668E-04   -1.5472    
   2  Index         2.7190        1.5577        .57321E-03   -.47372    
   3  Normalizat    .98222        .20313        .11649E-04   -.93628    
   4  Prefactor     .92423        .11587        .68222E-05   -.95299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12085e-09
Minuit parameter uncertainties:
  1  5.68619
  2  1.5914
  3  0.203291
  4  0.115905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462228': 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) = 8985.17927235
delta logL = 0.0288737259398

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.387e+00  5.686e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.719e+00  1.591e+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.242e-01  1.159e-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.822e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/462228/cmap_HighResolution_525484801_525744001_4FGL_J2120.6-1254_daily_bin1104.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.17e-03', job_status='DONE', photon_flux_upper_limit='6.72e-08', time_completed='2021-09-26 12:08:38.603635', job_id='462228', GAL2='0.92', fit_tolerance='1e-08', EG2='0.98', EG='0.99', time_epoch_completed='1632683318.6', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.89e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1104' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 12:08:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 462228: <4FGL_J2120.6-1254_daily_bin1104> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1104> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 11:55:38 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:56:40 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:56:40 2021
Terminated at Sun Sep 26 12:08:39 2021
Results reported at Sun Sep 26 12:08:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1104 320.154 -12.9097 525484801 525744001 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 :                                   639.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            781 sec.

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

