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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1257
RA = 320.154, Dec = -12.9097
tmin = 565142401, tmax = 565401601
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='462470', job_status='RUN', time_executed='2021-09-26 11:58:58.532758', time_epoch_executed='1632682738.53' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1257'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462470

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462470/ft1_4FGL_J2120.6-1254_daily_bin1257.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462470/ft2_4FGL_J2120.6-1254_daily_bin1257.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462470/ft1_4FGL_J2120.6-1254_daily_bin1257.fits outfile=/scratch/kocevski/462470/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1257.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=565142401.0 tmax=565401601.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.58
user 3.31
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462470/ft1_filtered_4FGL_J2120.6-1254_daily_bin1257.fits" evtable="EVENTS" scfile=/scratch/kocevski/462470/ft2_4FGL_J2120.6-1254_daily_bin1257.fits sctable="SC_DATA" outfile=/scratch/kocevski/462470/ltcube_565142401_565401601_4FGL_J2120.6-1254_daily_bin1257.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/462470/ft2_4FGL_J2120.6-1254_daily_bin1257.fits
.....................!
real 14.21
user 13.74
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462470/ft1_filtered_4FGL_J2120.6-1254_daily_bin1257.fits evtable="EVENTS" scfile=/scratch/kocevski/462470/ft2_4FGL_J2120.6-1254_daily_bin1257.fits sctable="SC_DATA" expcube=/scratch/kocevski/462470/ltcube_565142401_565401601_4FGL_J2120.6-1254_daily_bin1257.fits outfile=/scratch/kocevski/462470/expmap_565142401_565401601_4FGL_J2120.6-1254_daily_bin1257.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/462470/ltcube_565142401_565401601_4FGL_J2120.6-1254_daily_bin1257.fits
.....................!
real 191.85
user 186.44
sys 4.54

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/462470/ft1_filtered_4FGL_J2120.6-1254_daily_bin1257.fits scfile=/scratch/kocevski/462470/ft2_4FGL_J2120.6-1254_daily_bin1257.fits outfile=/scratch/kocevski/462470/cmap_565142401_565401601_4FGL_J2120.6-1254_daily_bin1257.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462470/ft1_filtered_4FGL_J2120.6-1254_daily_bin1257.fits scfile=/scratch/kocevski/462470/ft2_4FGL_J2120.6-1254_daily_bin1257.fits outfile=/scratch/kocevski/462470/cmap_HighResolution_565142401_565401601_4FGL_J2120.6-1254_daily_bin1257.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.68
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462470/ft1_filtered_4FGL_J2120.6-1254_daily_bin1257.fits evtable="EVENTS" scfile=/scratch/kocevski/462470/ft2_4FGL_J2120.6-1254_daily_bin1257.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462470/Model_4FGL_J2120.6-1254_daily_bin1257.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/462470/ft1_filtered_4FGL_J2120.6-1254_daily_bin1257.fits.....................!
real 60.85
user 59.13
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.3134       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1363       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11926       1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.307       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7398       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3289       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.8099       1.0000         .10000E-03   10000.    
    12 'norm      '    .96794       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.031       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1939       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3739       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .87248       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6121.920     FROM MIGRAD    STATUS=CONVERGED     69 CALLS     1246 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.3134        4.6566        .42386E-05   -.83337E-04
   2  Prefactor     3.1355        2.6499        .34121E-05    .35059E-03
   3  Prefactor     .10004E-03    457.42       -.25948E-05** at limit **
   4  Prefactor     41.312        1.1499       -.28493E-06    .45459E-02
   5  Prefactor     .10001E-03    23.088        .22458E-05** at limit **
   6  Prefactor     4.7401        1.0292       -.37166E-06    .66186E-03
   7  Prefactor     .10000E-03    4.7937       -.18994E-05** at limit **
   8  Prefactor     4.3287        2.7354        .44810E-06    .20519E-03
   9  Prefactor     .10000E-03    2.7561       -.65135E-07** at limit **
  10  Prefactor     .10000E-03    16.917        .75348E-06** at limit **
  11  Prefactor     7.8025        1.1394        .17994E-06   -.52526E-03
  12  norm          .96708        8.2801        .17349E-04   -.75912E-04
  13  Prefactor     10.029        1.1162       -.38942E-06    .75711E-03
  14  Prefactor     5.1830        1.2452        .13859E-06   -.41322E-03
  15  Normalizat    1.3742        .29876       -.99264E-06    .15624E-03
  16  Prefactor     .87239        .16146       -.21576E-05    .33285E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.31336
  Prefactor  = 3.13547
  Prefactor  = 0.000100041
  Prefactor  = 41.3117
  Prefactor  = 0.000100013
  Prefactor  = 4.74011
  Prefactor  = 0.000100001
  Prefactor  = 4.32872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.80252
  norm       = 0.967076
  Prefactor  = 10.0288
  Prefactor  = 5.183
  Normalizat = 1.37423
  Prefactor  = 0.872388
 **********
 **   18 **HESSE 
 **********

 FCN=   6121.920     FROM HESSE     STATUS=OK           241 CALLS     1487 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.3134        5.2958        .32831E-02   -1.5098    
   2  Prefactor     3.1355        5.2765        .57228E-02   -1.5354    
   3  Prefactor     .10004E-03    12.373        .96027E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.312        25.534        .15593E-02   -1.4422    
   5  Prefactor     .10001E-03    23.702        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.7401        24.084        .46205E-02   -1.5272    
   7  Prefactor     .10000E-03    4.7611        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3287        2.7612        .48402E-02   -1.5292    
   9  Prefactor     .10000E-03    2.7461        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.8025        19.627        .35871E-02   -1.5149    
  12  norm          .96708        8.4455        .13052E-01   -1.5511    
  13  Prefactor     10.029        7.4431        .31630E-02   -1.5074    
  14  Prefactor     5.1830        26.994        .44097E-02   -1.5253    
  15  Normalizat    1.3742        .25354        .69959E-01   -.81377    
  16  Prefactor     .87239        .13284        .44653E-01   -.97113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71306e-08
Minuit parameter uncertainties:
  1  5.29607
  2  5.27724
  3  0.00142785
  4  25.5407
  5  0.00111348
  6  21.3827
  7  0.00013261
  8  2.76126
  9  9.74201e-06
  10  0.000113209
  11  19.6435
  12  5.71652
  13  7.44383
  14  23.6732
  15  0.253767
  16  0.132887
Done.

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

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.113e-03  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.724e-01  1.329e-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.374e+00  2.538e-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: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462470/likelihoodResults_565142401_565401601_4FGL_J2120.6-1254_daily_bin1257.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) = 6121.92018998
delta logL = -0.000198776796424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6121.91999156
delta logL = -3.57233147952e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11213E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2620       1.0000          .0000       10.000    
     3 'Normalizat'    1.3739       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87256       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6121.920     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      256 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    72.827        .36285E-03** at limit **
   2  Index         2.1492        6.0719        .50000        .36250E-04
   3  Normalizat    1.3742        .29652        .30953E-03    .51164E-04
   4  Prefactor     .87239        .15941        .20191E-03    .43412E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100108
  Index      = 2.14921
  Normalizat = 1.37423
  Prefactor  = 0.872386
 **********
 **   18 **HESSE 
 **********

 FCN=   6121.920     FROM HESSE     STATUS=OK            29 CALLS      285 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    71.341        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1492        6.0729        .50000       -.60670    
   3  Normalizat    1.3742        .29686        .12381E-04   -.81377    
   4  Prefactor     .87239        .15959        .80764E-05   -.97113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66097e-09
Minuit parameter uncertainties:
  1  0.00556262
  2  4.10996
  3  0.297229
  4  0.159676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462470': 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) = 6121.9199898
delta logL = 1.40278643812e-06

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  1.001e-04  5.563e-03  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.149e+00  4.110e+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.724e-01  1.597e-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.374e+00  2.972e-01  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/462470/cmap_HighResolution_565142401_565401601_4FGL_J2120.6-1254_daily_bin1257.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.42e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-09-26 12:07:56.497070', job_id='462470', GAL2='0.87', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1632683276.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.40e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1257' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 12:07:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 462470: <4FGL_J2120.6-1254_daily_bin1257> in cluster <slac> Done

Job <4FGL_J2120.6-1254_daily_bin1257> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 11:56:00 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:57:42 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:42 2021
Terminated at Sun Sep 26 12:07:57 2021
Results reported at Sun Sep 26 12:07:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1257 320.154 -12.9097 565142401 565401601 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 :                                   529.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            717 sec.

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

