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


Performing analysis on: 4FGL_J2120.6-1254_daily_bin1078
RA = 320.154, Dec = -12.9097
tmin = 518745601, tmax = 519004801
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='462188', job_status='RUN', time_executed='2021-09-26 12:00:29.620703', time_epoch_executed='1632682829.62' WHERE source_name='4FGL J2120.6-1254' and cadence='daily' and bin_id='1078'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462188

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462188/ft1_4FGL_J2120.6-1254_daily_bin1078.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462188/ft2_4FGL_J2120.6-1254_daily_bin1078.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462188/ft1_4FGL_J2120.6-1254_daily_bin1078.fits outfile=/scratch/kocevski/462188/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1078.fits ra=320.154 dec=-12.9097 rad=12.0 tmin=518745601.0 tmax=519004801.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 4.44
user 4.13
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/462188/ft2_4FGL_J2120.6-1254_daily_bin1078.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/462188/ft1_filteredMKT_4FGL_J2120.6-1254_daily_bin1078.fits evtable="EVENTS" outfile="/scratch/kocevski/462188/ft1_filtered_4FGL_J2120.6-1254_daily_bin1078.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462188/ft1_filtered_4FGL_J2120.6-1254_daily_bin1078.fits" evtable="EVENTS" scfile=/scratch/kocevski/462188/ft2_4FGL_J2120.6-1254_daily_bin1078.fits sctable="SC_DATA" outfile=/scratch/kocevski/462188/ltcube_518745601_519004801_4FGL_J2120.6-1254_daily_bin1078.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/462188/ft2_4FGL_J2120.6-1254_daily_bin1078.fits
.....................!
real 14.21
user 13.83
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462188/ft1_filtered_4FGL_J2120.6-1254_daily_bin1078.fits evtable="EVENTS" scfile=/scratch/kocevski/462188/ft2_4FGL_J2120.6-1254_daily_bin1078.fits sctable="SC_DATA" expcube=/scratch/kocevski/462188/ltcube_518745601_519004801_4FGL_J2120.6-1254_daily_bin1078.fits outfile=/scratch/kocevski/462188/expmap_518745601_519004801_4FGL_J2120.6-1254_daily_bin1078.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/462188/ltcube_518745601_519004801_4FGL_J2120.6-1254_daily_bin1078.fits
.....................!
real 191.10
user 185.68
sys 4.71

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/462188/ft1_filtered_4FGL_J2120.6-1254_daily_bin1078.fits scfile=/scratch/kocevski/462188/ft2_4FGL_J2120.6-1254_daily_bin1078.fits outfile=/scratch/kocevski/462188/cmap_518745601_519004801_4FGL_J2120.6-1254_daily_bin1078.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462188/ft1_filtered_4FGL_J2120.6-1254_daily_bin1078.fits scfile=/scratch/kocevski/462188/ft2_4FGL_J2120.6-1254_daily_bin1078.fits outfile=/scratch/kocevski/462188/cmap_HighResolution_518745601_519004801_4FGL_J2120.6-1254_daily_bin1078.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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462188/ft1_filtered_4FGL_J2120.6-1254_daily_bin1078.fits evtable="EVENTS" scfile=/scratch/kocevski/462188/ft2_4FGL_J2120.6-1254_daily_bin1078.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462188/Model_4FGL_J2120.6-1254_daily_bin1078.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/462188/ft1_filtered_4FGL_J2120.6-1254_daily_bin1078.fits.....................!
real 56.90
user 55.47
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70131E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7307       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.493       1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.287       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .30885E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10448E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.900       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.6708       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .65523       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=   5388.269     FROM MIGRAD    STATUS=CONVERGED    308 CALLS     1470 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56378E-01    2.7317        .14607E-05   -.13637E-02
   2  Prefactor     7.7337        6.0324       -.23957E-07    .55723E-04
   3  Prefactor     .10000E-03    14.609       -.21039E-05** at limit **
   4  Prefactor     .10000E-03    16.726        .26076E-05** at limit **
   5  Prefactor     13.511        17.013        .43684E-06    .10238E-03
   6  Prefactor     33.209        49.618        .13808E-05    .11258E-03
   7  Prefactor     .10000E-03    2.4402       -.39329E-07** at limit **
   8  Prefactor     .10018E-03    1.6657       -.60133E-06** at limit **
   9  Prefactor     .10000E-03    2.8692        .72198E-07** at limit **
  10  Prefactor     .10000E-03    11.754        .81326E-06** at limit **
  11  Prefactor     .10000E-03    7.9961        .14770E-06** at limit **
  12  norm          .10000E-03    5.0644        .13961E-06** at limit **
  13  Prefactor     .10000E-03    14.289       -.72057E-06** at limit **
  14  Prefactor     28.926        20.199        .23628E-05    .40405E-03
  15  Normalizat    1.6703        .25681        .31196E-05    .32256E-03
  16  Prefactor     .65545        .13108       -.76666E-06    .46732E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0563779
  Prefactor  = 7.73365
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 13.511
  Prefactor  = 33.2092
  Prefactor  = 0.0001
  Prefactor  = 0.000100181
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 28.9265
  Normalizat = 1.6703
  Prefactor  = 0.655454
 **********
 **   18 **HESSE 
 **********

 FCN=   5388.269     FROM HESSE     STATUS=OK           203 CALLS     1673 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56378E-01    37.870        .21579E-02   -1.5661    
   2  Prefactor     7.7337        6.0317        .14422E-03   -1.5152    
   3  Prefactor     .10000E-03    14.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.511        17.027        .10904E-03   -1.4973    
   6  Prefactor     33.209        56.483        .69454E-04   -1.4555    
   7  Prefactor     .10000E-03    2.4496        .11199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10018E-03    3.6091        .31139E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.8733        .12141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.0072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.1171        .16130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.083        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.926        20.325        .74526E-04   -1.4632    
  15  Normalizat    1.6703        .30264        .26593E-03   -.73099    
  16  Prefactor     .65545        .15703        .21090E-03   -1.0530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73148e-08
Minuit parameter uncertainties:
  1  2.92162
  2  6.03221
  3  0.000197108
  4  0.000159921
  5  17.0329
  6  56.5745
  7  5.81982e-06
  8  0.00161785
  9  1.46799e-06
  10  5.33421e-05
  11  1.45788e-05
  12  1.6382e-06
  13  0.000212687
  14  20.3303
  15  0.302971
  16  0.157138
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  6.555e-01  1.571e-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.670e+00  3.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/462188/likelihoodResults_518745601_519004801_4FGL_J2120.6-1254_daily_bin1078.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) = 5387.98630668
delta logL = 0.283053514976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5387.97629099
delta logL = 0.293069203151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9124       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0834       1.0000          .0000       10.000    
     3 'Normalizat'    1.6214       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67159       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=   5387.976     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      250 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9038        147.30        .41287E-02    .37274E-03
   2  Index         3.0841        3.5859        .10952        .15313E-03
   3  Normalizat    1.6215        .90922E-01    .60831E-01    .47479E-04
   4  Prefactor     .67155        .43769E-01    .42022E-01   -.26722E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.90375
  Index      = 3.08408
  Normalizat = 1.62149
  Prefactor  = 0.671546
 **********
 **   18 **HESSE 
 **********

 FCN=   5387.976     FROM HESSE     STATUS=OK            31 CALLS      281 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9038        24.870        .15909E-03   -1.5222    
   2  Index         3.0841        1.9946        .57926E-02   -.39324    
   3  Normalizat    1.6215        .31226        .26901E-03   -.74420    
   4  Prefactor     .67155        .16165        .20852E-03   -1.0465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29315e-10
Minuit parameter uncertainties:
  1  24.2512
  2  2.06247
  3  0.312641
  4  0.161764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462188': 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) = 5387.97629071
delta logL = 0.293069488208

Extracting fit parameters...

4FGL J2120.6-1254
   Spectrum: PowerLaw
314    Prefactor:  5.904e+00  2.425e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  3.084e+00  2.062e+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:  6.715e-01  1.618e-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.621e+00  3.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 320.154 -12.910
Photon Index (Free Index): 3.08 +/- 2.06
Photon Flux (Free Index): 8.21e-08 +/- 8.36e-08
Energy Flux (Free Index): 1.57e-05 +/- 1.75e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', energy_flux2='1.57e-05', dlogl='2.93e-01', photon_flux2='8.21e-08', job_status='DONE', time_completed='2021-09-26 12:11:25.068420', photon_index_error2='2.06', photon_index2='3.08', ts='0.82', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='1.75e-05', EG='1.67', time_epoch_completed='1632683485.07', return_code='0', job_id='462188', GAL2='0.67', EG2='1.62', return_code2='0', photon_flux_error2='8.36e-08', ts2='1.43', photon_index='2.34' WHERE bin_id='1078' AND source_name='4FGL J2120.6-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 12:11:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 462188: <4FGL_J2120.6-1254_daily_bin1078> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2120.6-1254_daily_bin1078 320.154 -12.9097 518745601 519004801 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 :                                   525.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             227.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            950 sec.

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

