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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin807
RA = 243.913, Dec = 21.5064
tmin = 448502401, tmax = 448761601
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='197679', job_status='RUN', time_executed='2021-09-13 18:12:52.297223', time_epoch_executed='1631581972.3' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='807'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/197679

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/197679/ft1_4FGL_J1615.6+2130_daily_bin807.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/197679/ft1_4FGL_J1615.6+2130_daily_bin807.fits outfile=/scratch/kocevski/197679/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin807.fits ra=243.913 dec=21.5064 rad=12.0 tmin=448502401.0 tmax=448761601.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 6.09
user 5.79
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.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/197679/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin807.fits evtable="EVENTS" outfile="/scratch/kocevski/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.fits" evtable="EVENTS" scfile=/scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits sctable="SC_DATA" outfile=/scratch/kocevski/197679/ltcube_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.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/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits
.....................!
real 14.52
user 14.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits sctable="SC_DATA" expcube=/scratch/kocevski/197679/ltcube_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.fits outfile=/scratch/kocevski/197679/expmap_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.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/197679/ltcube_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.fits
.....................!
real 191.96
user 186.32
sys 5.07

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J1615.6+2130 @ 243.913 21.5064

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.fits scfile=/scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits outfile=/scratch/kocevski/197679/cmap_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.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=243.913 yref=21.5064 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.fits scfile=/scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits outfile=/scratch/kocevski/197679/cmap_HighResolution_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.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=243.913 yref=21.5064 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.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/197679/Model_4FGL_J1615.6+2130_daily_bin807.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/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.fits.....................!
real 106.99
user 105.42
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.fits', '/scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits', expMap='/scratch/kocevski/197679/expmap_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.fits', expCube='/scratch/kocevski/197679/ltcube_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/197679/Model_4FGL_J1615.6+2130_daily_bin807.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1615.6+2130'

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  3.532e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.755e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/197679/ft1_filtered_4FGL_J1615.6+2130_daily_bin807.fits
Spacecraft file(s): /scratch/kocevski/197679/ft2_4FGL_J1615.6+2130_daily_bin807.fits
Exposure map: /scratch/kocevski/197679/expmap_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.fits
Exposure cube: /scratch/kocevski/197679/ltcube_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/197679/Model_4FGL_J1615.6+2130_daily_bin807.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) = 15112.4843772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45056       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.388       1.0000         .10000E-03   10000.    
     3 'norm      '    3.1464       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.0591       1.0000         .10000E-03   10000.    
     5 'norm      '    11.178       1.0000         .10000E-03   10000.    
     6 'norm      '    6.3845       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    41.266       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2847       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10755E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.109       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.9499       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.6806       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0759       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0239       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15111.88     FROM MIGRAD    STATUS=CONVERGED    307 CALLS     1297 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45070        1.5342        .17549E-05   -.72910E-03
   2  Prefactor     13.387        24.655        .36363E-05    .26874E-03
   3  norm          3.1473        2.0444        .38676E-07   -.59352E-04
   4  Prefactor     4.0056        34.123       -.13856E-05   -.44049E-04
   5  norm          11.179        6.1416       -.64849E-07   -.16284E-03
   6  norm          6.3846        1.4729        .23000E-08    .50913E-04
   7  Prefactor     .10000E-03    3.6227       -.18241E-08** at limit **
   8  norm          41.265        12.304       -.13880E-06   -.23306E-03
   9  Prefactor     6.2848        5.6795       -.32332E-07   -.94764E-04
  10  Prefactor     .10000E-03    40.840       -.10394E-07** at limit **
  11  Prefactor     16.109        12.358        .69319E-06    .17748E-03
  12  Prefactor     .10000E-03    2.7510        .30866E-07** at limit **
  13  Prefactor     8.9481        15.889        .34196E-06    .31734E-07
  14  Prefactor     9.6758        31.106       -.10633E-05   -.50412E-04
  15  Normalizat    1.0761        .16702       -.11524E-05   -.23319E-04
  16  Prefactor     1.0238        .81559E-01    .20107E-06   -.22516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.4507
  Prefactor  = 13.387
  norm       = 3.14733
  Prefactor  = 4.00561
  norm       = 11.1785
  norm       = 6.38456
  Prefactor  = 0.0001
  norm       = 41.2645
  Prefactor  = 6.28479
  Prefactor  = 0.0001
  Prefactor  = 16.1086
  Prefactor  = 0.0001
  Prefactor  = 8.94806
  Prefactor  = 9.67576
  Normalizat = 1.07609
  Prefactor  = 1.02376
 **********
 **   18 **HESSE 
 **********

 FCN=   15111.88     FROM HESSE     STATUS=OK           205 CALLS     1502 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45070        1.6091        .28346E-03   -1.5574    
   2  Prefactor     13.387        26.394        .10947E-03   -1.4976    
   3  norm          3.1473        2.0385        .13434E-03   -1.5353    
   4  Prefactor     4.0056        34.740        .20013E-03   -1.5308    
   5  norm          11.179        6.1447        .11983E-03   -1.5039    
   6  norm          6.3846        1.4734        .69511E-04   -1.5203    
   7  Prefactor     .10000E-03    3.6486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          41.265        12.333        .62401E-04   -1.4422    
   9  Prefactor     6.2848        5.6864        .16012E-03   -1.5207    
  10  Prefactor     .10000E-03    41.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.109        12.467        .99789E-04   -1.4905    
  12  Prefactor     .10000E-03    2.8307        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.9481        15.878        .13398E-03   -1.5110    
  14  Prefactor     9.6758        31.240        .12880E-03   -1.5086    
  15  Normalizat    1.0761        .19817        .34838E-03   -.90523    
  16  Prefactor     1.0238        .97646E-01    .18100E-03   -.91942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.6265e-10
Minuit parameter uncertainties:
  1  1.60927
  2  26.4169
  3  2.03851
  4  23.6108
  5  6.14502
  6  1.47341
  7  1.248e-06
  8  12.3339
  9  5.68686
  10  6.0947e-05
  11  12.4694
  12  1.39405e-06
  13  15.8859
  14  31.2924
  15  0.198307
  16  0.0976626
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  6.285e+00  5.687e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.755e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.024e+00  9.766e-02  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.076e+00  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.67
Ra Dec: 243.913 21.506
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 5.83e-06 +/- 5.27e-06

TS (Fixed Index): 3.67
Ra Dec: 243.913 21.506
Photon Flux Upper Limit: 8.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/197679/likelihoodResults_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.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) = 15109.959573
delta logL = 1.91755557351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15109.6591431
delta logL = 2.21798544436

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7951       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2842       1.0000          .0000       10.000    
     3 'Normalizat'    1.0950       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0206       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15109.66     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      218 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7931        1.8109        .78027E-02   -.57891E-03
   2  Index         1.2837        .28386        .27865       -.17495E-03
   3  Normalizat    1.0950        .15810        .78084E-01    .22499E-04
   4  Prefactor     1.0206        .80770E-01    .42078E-01    .15492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.79311
  Index      = 1.28371
  Normalizat = 1.09498
  Prefactor  = 1.02063
 **********
 **   18 **HESSE 
 **********

 FCN=   15109.66     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7931        3.2305        .15700E-03   -1.5440    
   2  Index         1.2837        .62512        .98643E-02   -.83793    
   3  Normalizat    1.0950        .18945        .34563E-03   -.89913    
   4  Prefactor     1.0206        .96969E-01    .18123E-03   -.92045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.32834e-11
Minuit parameter uncertainties:
  1  3.23078
  2  0.628817
  3  0.189566
  4  0.0969857
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/197679': 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) = 15109.6591427
delta logL = 2.21798588857

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.793e+00  3.231e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  1.284e+00  6.288e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.021e+00  9.699e-02  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.095e+00  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.10
Ra Dec: 243.913 21.506
Photon Index (Free Index): 1.28 +/- 0.63
Photon Flux (Free Index): 3.94e-09 +/- 5.47e-09
Energy Flux (Free Index): 2.54e-05 +/- 3.60e-05

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/197679/cmap_HighResolution_448502401_448761601_4FGL_J1615.6+2130_daily_bin807.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='2.54e-05', photon_flux_error='2.28e-08', dlogl='2.22e+00', energy_flux='5.83e-06', photon_flux2='3.94e-09', job_status='DONE', time_completed='2021-09-13 18:26:46.856622', photon_index_error2='0.63', photon_index2='1.28', ts='3.67', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='8.46e-08', energy_flux_error2='3.60e-05', EG='1.08', time_epoch_completed='1631582806.86', return_code='0', job_id='197679', GAL2='1.02', EG2='1.09', return_code2='0', energy_flux_error='5.27e-06', photon_flux_error2='5.47e-09', ts2='8.10', photon_index='2.76' WHERE bin_id='807' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:26:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 197679: <4FGL_J1615.6+2130_daily_bin807> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin807> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Sep 13 18:10:43 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:12:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 13 18:12:36 2021
Terminated at Mon Sep 13 18:26:47 2021
Results reported at Mon Sep 13 18:26:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin807 243.913 21.5064 448502401 448761601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1615.6+2130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   829.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             380.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            964 sec.

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

