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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin1380
RA = 243.913, Dec = 21.5064
tmin = 597024001, tmax = 597283201
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='200634', job_status='RUN', time_executed='2021-09-13 18:25:52.847112', time_epoch_executed='1631582752.85' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='1380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200634

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200634/ft1_4FGL_J1615.6+2130_daily_bin1380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200634/ft2_4FGL_J1615.6+2130_daily_bin1380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200634/ft1_4FGL_J1615.6+2130_daily_bin1380.fits outfile=/scratch/kocevski/200634/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1380.fits ra=243.913 dec=21.5064 rad=12.0 tmin=597024001.0 tmax=597283201.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.70
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200634/ft2_4FGL_J1615.6+2130_daily_bin1380.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/200634/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1380.fits evtable="EVENTS" outfile="/scratch/kocevski/200634/ft1_filtered_4FGL_J1615.6+2130_daily_bin1380.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200634/ft1_filtered_4FGL_J1615.6+2130_daily_bin1380.fits" evtable="EVENTS" scfile=/scratch/kocevski/200634/ft2_4FGL_J1615.6+2130_daily_bin1380.fits sctable="SC_DATA" outfile=/scratch/kocevski/200634/ltcube_597024001_597283201_4FGL_J1615.6+2130_daily_bin1380.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/200634/ft2_4FGL_J1615.6+2130_daily_bin1380.fits
.....................!
real 15.59
user 15.02
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200634/ft1_filtered_4FGL_J1615.6+2130_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/200634/ft2_4FGL_J1615.6+2130_daily_bin1380.fits sctable="SC_DATA" expcube=/scratch/kocevski/200634/ltcube_597024001_597283201_4FGL_J1615.6+2130_daily_bin1380.fits outfile=/scratch/kocevski/200634/expmap_597024001_597283201_4FGL_J1615.6+2130_daily_bin1380.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/200634/ltcube_597024001_597283201_4FGL_J1615.6+2130_daily_bin1380.fits
.....................!
real 193.07
user 187.64
sys 4.16

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/200634/ft1_filtered_4FGL_J1615.6+2130_daily_bin1380.fits scfile=/scratch/kocevski/200634/ft2_4FGL_J1615.6+2130_daily_bin1380.fits outfile=/scratch/kocevski/200634/cmap_597024001_597283201_4FGL_J1615.6+2130_daily_bin1380.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200634/ft1_filtered_4FGL_J1615.6+2130_daily_bin1380.fits scfile=/scratch/kocevski/200634/ft2_4FGL_J1615.6+2130_daily_bin1380.fits outfile=/scratch/kocevski/200634/cmap_HighResolution_597024001_597283201_4FGL_J1615.6+2130_daily_bin1380.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86559       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4036       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6178       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .15766E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    5.5420       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.807       1.0000         .10000E-03   10000.    
     8 'norm      '    38.448       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    84.803       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.423       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .28013       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2007       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=   6521.365     FROM MIGRAD    STATUS=CONVERGED    311 CALLS     1496 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86651        2.0103       -.28676E-06   -.53367E-03
   2  Prefactor     1.3691        113.79       -.15955E-05    .31131E-04
   3  norm          2.6178        2.0537        .41483E-07    .74099E-04
   4  Prefactor     .10000E-03    13.608        .70448E-06** at limit **
   5  norm          .10965E-03    7.4091       -.20726E-05** at limit **
   6  norm          5.5422        2.3701       -.25706E-07    .96096E-03
   7  Prefactor     22.810        10.581       -.34333E-06   -.12938E-03
   8  norm          38.450        19.332       -.39996E-06    .11052E-03
   9  Prefactor     .10000E-03    15.322       -.80330E-06** at limit **
  10  Prefactor     84.809        46.340       -.73938E-06   -.43752E-04
  11  Prefactor     10.428        13.226       -.14337E-05   -.19781E-03
  12  Prefactor     .10000E-03    1.2425       -.10921E-06** at limit **
  13  Prefactor     .10000E-03    8.1338       -.61333E-07** at limit **
  14  Prefactor     .10000E-03    23.333       -.19543E-06** at limit **
  15  Normalizat    .27974        .23847        .16582E-04    .75444E-04
  16  Prefactor     1.2009        .13251       -.37375E-05    .85115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.866515
  Prefactor  = 1.36912
  norm       = 2.61777
  Prefactor  = 0.0001
  norm       = 0.000109645
  norm       = 5.54216
  Prefactor  = 22.8099
  norm       = 38.45
  Prefactor  = 0.0001
  Prefactor  = 84.809
  Prefactor  = 10.4279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.279745
  Prefactor  = 1.20089
 **********
 **   18 **HESSE 
 **********

 FCN=   6521.365     FROM HESSE     STATUS=OK           211 CALLS     1707 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86651        1.9880        .16635E-03   -1.5522    
   2  Prefactor     1.3691        110.52        .36607E-03   -1.5474    
   3  norm          2.6178        2.0521        .99220E-04   -1.5384    
   4  Prefactor     .10000E-03    13.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10965E-03    13.673        .58145E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.5422        2.3809        .77303E-04   -1.5237    
   7  Prefactor     22.810        10.599        .83875E-04   -1.4752    
   8  norm          38.450        19.341        .64639E-04   -1.4467    
   9  Prefactor     .10000E-03    15.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     84.809        46.532        .43623E-04   -1.3864    
  11  Prefactor     10.428        13.314        .12411E-03   -1.5062    
  12  Prefactor     .10000E-03    1.2452        .87901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.1558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .27974        .24023        .53152E-03   -1.2407    
  16  Prefactor     1.2009        .13244        .15110E-03   -.86304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27e-09
Minuit parameter uncertainties:
  1  1.98815
  2  24.6488
  3  2.05214
  4  9.45025e-05
  5  0.022973
  6  2.38094
  7  10.6003
  8  19.3438
  9  5.09206e-05
  10  46.5523
  11  13.3177
  12  8.79442e-07
  13  2.91432e-06
  14  1.54735e-05
  15  0.241122
  16  0.132475
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  5.092e-05  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.201e+00  1.325e-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:  2.797e-01  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/200634/likelihoodResults_597024001_597283201_4FGL_J1615.6+2130_daily_bin1380.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) = 6521.36499619
delta logL = -0.00030321128088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6521.36469451
delta logL = -1.53143901116e-06

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6521.365     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      256 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    19.867        .36285E-03** at limit **
   2  Index         2.8492        6.4111        .50000       -.28162E-04
   3  Normalizat    .27974        .22675        .53154E-03   -.10865E-04
   4  Prefactor     1.2009        .13013        .15109E-03   -.44920E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100016
  Index      = 2.8492
  Normalizat = 0.279743
  Prefactor  = 1.20089
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    19.047        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8492        6.4050        .50000       -.44467    
   3  Normalizat    .27974        .22658        .21262E-04   -1.2407    
   4  Prefactor     1.2009        .13003        .60438E-05   -.86304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55228e-09
Minuit parameter uncertainties:
  1  0.00110324
  2  4.51812
  3  0.227327
  4  0.130066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200634': 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) = 6521.36469241
delta logL = 5.6746739574e-07

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  1.103e-03  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.849e+00  4.518e+00  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.201e+00  1.301e-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:  2.797e-01  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 243.913 21.506

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/200634/cmap_HighResolution_597024001_597283201_4FGL_J1615.6+2130_daily_bin1380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.55e-03', job_status='DONE', photon_flux_upper_limit='9.57e-08', time_completed='2021-09-13 18:36:04.087712', job_id='200634', GAL2='1.20', fit_tolerance='1e-08', EG2='0.28', EG='0.28', time_epoch_completed='1631583364.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='5.67e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1380' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:36:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 200634: <4FGL_J1615.6+2130_daily_bin1380> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin1380> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 13 18:20:28 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:22:15 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:22:15 2021
Terminated at Mon Sep 13 18:36:04 2021
Results reported at Mon Sep 13 18:36:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin1380 243.913 21.5064 597024001 597283201 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 :                                   554.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            936 sec.

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

