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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1328
RA = 320.154, Dec = -12.9097
tmin = 583545601, tmax = 583804801
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='463568', job_status='RUN', time_executed='2021-09-26 12:00:59.001273', time_epoch_executed='1632682859.0' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1328'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/463568

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/463568/ft1_4FGL_J2120.6-1254_daily_bin1328.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/463568/ft2_4FGL_J2120.6-1254_daily_bin1328.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/463568/ft1_4FGL_J2120.6-1254_daily_bin1328.fits outfile=/scratch/kocevski/463568/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1328.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=583545601.0 tmax=583804801.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.60
user 3.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/463568/ft1_filtered_4FGL_J2120.6-1254_daily_bin1328.fits" evtable="EVENTS" scfile=/scratch/kocevski/463568/ft2_4FGL_J2120.6-1254_daily_bin1328.fits sctable="SC_DATA" outfile=/scratch/kocevski/463568/ltcube_583545601_583804801_4FGL_J2120.6-1254_daily_bin1328.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/463568/ft2_4FGL_J2120.6-1254_daily_bin1328.fits
.....................!
real 14.90
user 14.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/463568/ft1_filtered_4FGL_J2120.6-1254_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/463568/ft2_4FGL_J2120.6-1254_daily_bin1328.fits sctable="SC_DATA" expcube=/scratch/kocevski/463568/ltcube_583545601_583804801_4FGL_J2120.6-1254_daily_bin1328.fits outfile=/scratch/kocevski/463568/expmap_583545601_583804801_4FGL_J2120.6-1254_daily_bin1328.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/463568/ltcube_583545601_583804801_4FGL_J2120.6-1254_daily_bin1328.fits
.....................!
real 192.41
user 186.42
sys 4.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/463568/ft1_filtered_4FGL_J2120.6-1254_daily_bin1328.fits scfile=/scratch/kocevski/463568/ft2_4FGL_J2120.6-1254_daily_bin1328.fits outfile=/scratch/kocevski/463568/cmap_583545601_583804801_4FGL_J2120.6-1254_daily_bin1328.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/463568/ft1_filtered_4FGL_J2120.6-1254_daily_bin1328.fits scfile=/scratch/kocevski/463568/ft2_4FGL_J2120.6-1254_daily_bin1328.fits outfile=/scratch/kocevski/463568/cmap_HighResolution_583545601_583804801_4FGL_J2120.6-1254_daily_bin1328.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/463568/ft1_filtered_4FGL_J2120.6-1254_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/463568/ft2_4FGL_J2120.6-1254_daily_bin1328.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/463568/Model_4FGL_J2120.6-1254_daily_bin1328.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/463568/ft1_filtered_4FGL_J2120.6-1254_daily_bin1328.fits.....................!
real 60.10
user 58.40
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83510E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3678       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7205       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.300       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .31817E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.754       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10655E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2842       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15457E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .70252E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10553E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .11471E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.591       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24293E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .98282       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .83403       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=   6163.179     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1501 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32477E-01    2.0655       -.17141E-06   -.82917E-04
   2  Prefactor     3.3750        3.9914       -.43041E-06   -.27029E-03
   3  Prefactor     4.6998        15.160       -.63273E-05   -.67910E-04
   4  Prefactor     14.260        13.750       -.31718E-06    .39668E-04
   5  Prefactor     .10000E-03    6.5887       -.26000E-05** at limit **
   6  Prefactor     31.635        38.287       -.14599E-05    .48149E-05
   7  Prefactor     .10000E-03    1.7037        .18176E-07** at limit **
   8  Prefactor     2.2794        2.5081       -.81149E-07   -.29923E-03
   9  Prefactor     .10000E-03    3.5403       -.33683E-07** at limit **
  10  Prefactor     .10000E-03    17.887        .68412E-06** at limit **
  11  Prefactor     .10000E-03    4.5106        .34006E-06** at limit **
  12  norm          .10000E-03    4.1469       -.79561E-07** at limit **
  13  Prefactor     12.584        7.3273       -.37193E-05   -.74222E-04
  14  Prefactor     .10000E-03    5.1551        .14403E-06** at limit **
  15  Normalizat    .98270        .21242        .33003E-05   -.86170E-05
  16  Prefactor     .83436        .11218       -.13218E-06    .26247E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0324773
  Prefactor  = 3.37498
  Prefactor  = 4.69978
  Prefactor  = 14.2601
  Prefactor  = 0.0001
  Prefactor  = 31.6351
  Prefactor  = 0.0001
  Prefactor  = 2.27935
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.5845
  Prefactor  = 0.0001
  Normalizat = 0.982698
  Prefactor  = 0.834358
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.179     FROM HESSE     STATUS=OK           209 CALLS     1710 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32477E-01    4.7536        .37994E-01   -1.5672    
   2  Prefactor     3.3750        3.9988        .16485E-03   -1.5341    
   3  Prefactor     4.6998        15.298        .18520E-03   -1.5274    
   4  Prefactor     14.260        13.750        .10592E-03   -1.4953    
   5  Prefactor     .10000E-03    6.6230        .19669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.635        38.125        .71106E-04   -1.4582    
   7  Prefactor     .10000E-03    1.7090        .10006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2794        2.4910        .12043E-03   -1.5406    
   9  Prefactor     .10000E-03    3.6321        .28849E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.921        .20978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.5194        .16284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.2969        .31224E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.584        7.3540        .11289E-03   -1.4998    
  14  Prefactor     .10000E-03    5.1642        .17409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .98270        .26004        .29660E-03   -.93612    
  16  Prefactor     .83436        .13951        .17354E-03   -.98474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9776e-10
Minuit parameter uncertainties:
  1  0.784688
  2  3.99911
  3  15.3107
  4  13.7533
  5  5.16104e-06
  6  38.1544
  7  1.9014e-07
  8  2.49108
  9  9.14821e-06
  10  7.35255e-06
  11  4.36671e-06
  12  5.48606e-06
  13  7.3545
  14  7.98461e-06
  15  0.260376
  16  0.13957
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  5.161e-06  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.344e-01  1.396e-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.827e-01  2.604e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/463568/likelihoodResults_583545601_583804801_4FGL_J2120.6-1254_daily_bin1328.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) = 6163.17939601
delta logL = -0.000719554725038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6163.17867673
delta logL = -2.71868884738e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3204       1.0000          .0000       10.000    
     3 'Normalizat'    .98257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83443       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=   6163.179     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    406.58        .90712E-02** at limit **
   2  Index         2.3046        5.7820        .50000        .20236E-04
   3  Normalizat    .98270        .43130E-01    .67052E-01    .53666E-04
   4  Prefactor     .83436        .23567E-01    .44164E-01    .58675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3046
  Normalizat = 0.982701
  Prefactor  = 0.834356
 **********
 **   18 **HESSE 
 **********

 FCN=   6163.179     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1081.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3046        5.6223        .50000       -.56934    
   3  Normalizat    .98270        .89983E-01    .29660E-03   -.93612    
   4  Prefactor     .83436        .49228E-01    .17354E-03   -.98474    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.78972e-08
Minuit parameter uncertainties:
  1  0.00070137
  2  54.3446
  3  0.0899966
  4  0.0492307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/463568': 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) = 6163.17867631
delta logL = 1.52385837282e-07

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  7.014e-04  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.305e+00  5.434e+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:  8.344e-01  4.923e-02  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.827e-01  9.000e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-03', job_status='DONE', photon_flux_upper_limit='7.51e-08', time_completed='2021-09-26 12:10:08.264186', job_id='463568', GAL2='0.83', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1632683408.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.52e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1328' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 12:10:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 463568: <4FGL_J2120.6-1254_daily_bin1328> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1328> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 12:00:15 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 12:00:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 12:00:19 2021
Terminated at Sun Sep 26 12:10:09 2021
Results reported at Sun Sep 26 12:10:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1328 320.154 -12.9097 583545601 583804801 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 :                                   545.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            594 sec.

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

