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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin1103
RA = 243.913, Dec = 21.5064
tmin = 525225601, tmax = 525484801
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='199194', job_status='RUN', time_executed='2021-09-13 18:18:04.615654', time_epoch_executed='1631582284.62' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='1103'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/199194

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/199194/ft1_4FGL_J1615.6+2130_daily_bin1103.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/199194/ft1_4FGL_J1615.6+2130_daily_bin1103.fits outfile=/scratch/kocevski/199194/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1103.fits ra=243.913 dec=21.5064 rad=12.0 tmin=525225601.0 tmax=525484801.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.10
user 3.84
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.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/199194/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1103.fits evtable="EVENTS" outfile="/scratch/kocevski/199194/ft1_filtered_4FGL_J1615.6+2130_daily_bin1103.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/199194/ft1_filtered_4FGL_J1615.6+2130_daily_bin1103.fits" evtable="EVENTS" scfile=/scratch/kocevski/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.fits sctable="SC_DATA" outfile=/scratch/kocevski/199194/ltcube_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.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/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.fits
.....................!
real 13.78
user 13.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/199194/ft1_filtered_4FGL_J1615.6+2130_daily_bin1103.fits evtable="EVENTS" scfile=/scratch/kocevski/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.fits sctable="SC_DATA" expcube=/scratch/kocevski/199194/ltcube_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.fits outfile=/scratch/kocevski/199194/expmap_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.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/199194/ltcube_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.fits
.....................!
real 193.34
user 186.87
sys 5.18

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/199194/ft1_filtered_4FGL_J1615.6+2130_daily_bin1103.fits scfile=/scratch/kocevski/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.fits outfile=/scratch/kocevski/199194/cmap_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/199194/ft1_filtered_4FGL_J1615.6+2130_daily_bin1103.fits scfile=/scratch/kocevski/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.fits outfile=/scratch/kocevski/199194/cmap_HighResolution_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/199194/ft1_filtered_4FGL_J1615.6+2130_daily_bin1103.fits', '/scratch/kocevski/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.fits', expMap='/scratch/kocevski/199194/expmap_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.fits', expCube='/scratch/kocevski/199194/ltcube_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/199194/Model_4FGL_J1615.6+2130_daily_bin1103.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/199194/ft1_filtered_4FGL_J1615.6+2130_daily_bin1103.fits
Spacecraft file(s): /scratch/kocevski/199194/ft2_4FGL_J1615.6+2130_daily_bin1103.fits
Exposure map: /scratch/kocevski/199194/expmap_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.fits
Exposure cube: /scratch/kocevski/199194/ltcube_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/199194/Model_4FGL_J1615.6+2130_daily_bin1103.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) = 8102.78344914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4078       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0693       1.0000         .10000E-03   10000.    
     3 'norm      '    4.2664       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.4983       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.940       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9478       1.0000         .10000E-03   10000.    
    10 'Prefactor '    111.13       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.842       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0880       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .81535       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1326       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=   8102.779     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1449 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4080        2.3998        .54787E-02    .33372E-03
   2  Prefactor     3.0518        48.417        .57885E-02    .78848E-03
   3  norm          4.2652        2.7536        .48766E-02    .46695E-04
   4  Prefactor     .10000E-03    82.397        .90712E-02** at limit **
   5  norm          .10000E-03    9.6072        .90712E-02** at limit **
   6  norm          1.4982        1.1031        .87481E-02   -.40889E-03
   7  Prefactor     10.941        9.0592        .30281E-02    .11848E-03
   8  norm          .10000E-03    11.442        .90712E-02** at limit **
   9  Prefactor     4.9479        8.1408        .45202E-02    .18342E-03
  10  Prefactor     111.13        54.034        .95395E-03    .49000E-03
  11  Prefactor     26.845        19.055        .19331E-02    .63079E-03
  12  Prefactor     8.0887        5.5769        .35244E-02    .19371E-02
  13  Prefactor     .10000E-03    12.348        .90712E-02** at limit **
  14  Prefactor     .10000E-03    28.356        .90712E-02** at limit **
  15  Normalizat    .81523        .22575        .85735E-01    .27822E-04
  16  Prefactor     1.1326        .11642        .36462E-01   -.35291E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.40804
  Prefactor  = 3.05184
  norm       = 4.26518
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 1.49817
  Prefactor  = 10.9406
  norm       = 0.0001
  Prefactor  = 4.94786
  Prefactor  = 111.125
  Prefactor  = 26.8447
  Prefactor  = 8.0887
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.815228
  Prefactor  = 1.13263
 **********
 **   18 **HESSE 
 **********

 FCN=   8102.779     FROM HESSE     STATUS=OK           201 CALLS     1650 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4080        2.4030        .11198E-03   -1.5339    
   2  Prefactor     3.0518        48.350        .23154E-03   -1.5359    
   3  norm          4.2652        2.7507        .11601E-03   -1.5295    
   4  Prefactor     .10000E-03    83.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    9.8124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4982        1.1117        .79149E-04   -1.5463    
   7  Prefactor     10.941        9.0597        .12113E-03   -1.5046    
   8  norm          .10000E-03    11.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9479        8.1295        .18081E-03   -1.5263    
  10  Prefactor     111.13        54.050        .38158E-04   -1.3596    
  11  Prefactor     26.845        19.121        .77323E-04   -1.4671    
  12  Prefactor     8.0887        5.5736        .70489E-03   -1.5139    
  13  Prefactor     .10000E-03    12.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .81523        .25919        .37966E-03   -.99506    
  16  Prefactor     1.1326        .13473        .17586E-03   -.88430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27575e-08
Minuit parameter uncertainties:
  1  2.40303
  2  24.3176
  3  2.75076
  4  0.00108017
  5  1.80888e-06
  6  1.1117
  7  9.0608
  8  3.06494e-05
  9  8.13133
  10  54.0741
  11  19.1255
  12  5.57392
  13  3.21396e-05
  14  7.0727e-05
  15  0.25958
  16  0.134773
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  4.948e+00  8.131e+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.133e+00  1.348e-01  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:  8.152e-01  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 243.913 21.506
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/199194/likelihoodResults_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.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) = 8102.37272428
delta logL = 0.406091051323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8102.34226319
delta logL = 0.43655213996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9090       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8977       1.0000          .0000       10.000    
     3 'Normalizat'    .83010       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1254       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=   8102.342     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      210 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9090        8.3023        .38159E-02    .30005E-02
   2  Index         1.8983        .52630        .26413       -.61192E-04
   3  Normalizat    .82994        .21335        .85033E-01    .34097E-04
   4  Prefactor     1.1255        .11524        .36692E-01    .13621E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.90897
  Index      = 1.89828
  Normalizat = 0.829941
  Prefactor  = 1.12549
 **********
 **   18 **HESSE 
 **********

 FCN=   8102.342     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9090        8.5714        .15263E-03   -1.5182    
   2  Index         1.8983        .71987        .11384E-01   -.66918    
   3  Normalizat    .82994        .24554        .37654E-03   -.98968    
   4  Prefactor     1.1255        .13296        .17627E-03   -.88656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.23855e-09
Minuit parameter uncertainties:
  1  8.57288
  2  0.723975
  3  0.245865
  4  0.132998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/199194': 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) = 8102.34226264
delta logL = 0.436552691243

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  6.909e+00  8.573e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  1.898e+00  7.240e-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.125e+00  1.330e-01  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:  8.299e-01  2.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 243.913 21.506
Photon Index (Free Index): 1.90 +/- 0.72
Photon Flux (Free Index): 1.44e-08 +/- 2.00e-08
Energy Flux (Free Index): 1.30e-05 +/- 2.19e-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/199194/cmap_HighResolution_525225601_525484801_4FGL_J1615.6+2130_daily_bin1103.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.37e-03', comment='SUCCESS', energy_flux2='1.30e-05', dlogl='4.37e-01', photon_flux2='1.44e-08', job_status='DONE', time_completed='2021-09-13 18:28:07.417134', photon_index_error2='0.72', photon_index2='1.90', ts='0.52', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='2.19e-05', EG='0.82', time_epoch_completed='1631582887.42', return_code='0', job_id='199194', GAL2='1.13', EG2='0.83', return_code2='0', photon_flux_error2='2.00e-08', ts2='1.40', photon_index='2.76' WHERE bin_id='1103' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:28:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 199194: <4FGL_J1615.6+2130_daily_bin1103> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin1103> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep 13 18:15:40 2021
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:17:51 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:17:51 2021
Terminated at Mon Sep 13 18:28:08 2021
Results reported at Mon Sep 13 18:28:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin1103 243.913 21.5064 525225601 525484801 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 :                                   597.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            748 sec.

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

