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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin1099
RA = 243.913, Dec = 21.5064
tmin = 524188801, tmax = 524448001
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='199188', job_status='RUN', time_executed='2021-09-13 18:21:05.521943', time_epoch_executed='1631582465.52' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='1099'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/199188

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/199188/ft1_4FGL_J1615.6+2130_daily_bin1099.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/199188/ft2_4FGL_J1615.6+2130_daily_bin1099.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/199188/ft1_4FGL_J1615.6+2130_daily_bin1099.fits outfile=/scratch/kocevski/199188/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1099.fits ra=243.913 dec=21.5064 rad=12.0 tmin=524188801.0 tmax=524448001.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.46
user 3.21
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/199188/ft2_4FGL_J1615.6+2130_daily_bin1099.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/199188/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1099.fits evtable="EVENTS" outfile="/scratch/kocevski/199188/ft1_filtered_4FGL_J1615.6+2130_daily_bin1099.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/199188/ft1_filtered_4FGL_J1615.6+2130_daily_bin1099.fits" evtable="EVENTS" scfile=/scratch/kocevski/199188/ft2_4FGL_J1615.6+2130_daily_bin1099.fits sctable="SC_DATA" outfile=/scratch/kocevski/199188/ltcube_524188801_524448001_4FGL_J1615.6+2130_daily_bin1099.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/199188/ft2_4FGL_J1615.6+2130_daily_bin1099.fits
.....................!
real 15.17
user 14.80
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/199188/ft1_filtered_4FGL_J1615.6+2130_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/199188/ft2_4FGL_J1615.6+2130_daily_bin1099.fits sctable="SC_DATA" expcube=/scratch/kocevski/199188/ltcube_524188801_524448001_4FGL_J1615.6+2130_daily_bin1099.fits outfile=/scratch/kocevski/199188/expmap_524188801_524448001_4FGL_J1615.6+2130_daily_bin1099.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/199188/ltcube_524188801_524448001_4FGL_J1615.6+2130_daily_bin1099.fits
.....................!
real 192.26
user 186.84
sys 4.49

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/199188/ft1_filtered_4FGL_J1615.6+2130_daily_bin1099.fits scfile=/scratch/kocevski/199188/ft2_4FGL_J1615.6+2130_daily_bin1099.fits outfile=/scratch/kocevski/199188/cmap_524188801_524448001_4FGL_J1615.6+2130_daily_bin1099.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/199188/ft1_filtered_4FGL_J1615.6+2130_daily_bin1099.fits scfile=/scratch/kocevski/199188/ft2_4FGL_J1615.6+2130_daily_bin1099.fits outfile=/scratch/kocevski/199188/cmap_HighResolution_524188801_524448001_4FGL_J1615.6+2130_daily_bin1099.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.58
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7955       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11295E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4263       1.0000         .10000E-03   10000.    
     5 'norm      '    8.4173       1.0000         .10000E-03   10000.    
     6 'norm      '    5.2317       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.085       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.3497       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .49579       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2257       1.0000         .10000E-03   10000.    
    14 'Prefactor '    75.756       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .61153       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1990       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=   7446.465     FROM MIGRAD    STATUS=CONVERGED    299 CALLS     1308 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7954        2.7167       -.40778E-06   -.20700E-03
   2  Prefactor     .10000E-03    22.456        .14587E-04** at limit **
   3  norm          .10000E-03    1.5635        .28150E-06** at limit **
   4  Prefactor     8.4032        25.407       -.52353E-04   -.42600E-04
   5  norm          8.4163        7.7022        .45724E-07   -.49422E-04
   6  norm          5.2318        1.9735       -.40661E-08    .18988E-03
   7  Prefactor     .10000E-03    5.6718       -.35072E-06** at limit **
   8  norm          10.084        15.949       -.35308E-05   -.21302E-04
   9  Prefactor     7.3444        13.403       -.56780E-05   -.71457E-04
  10  Prefactor     .10000E-03    11.229       -.46066E-05** at limit **
  11  Prefactor     .10000E-03    7.9632        .18527E-05** at limit **
  12  Prefactor     .49166        2.5577        .19887E-05   -.48091E-03
  13  Prefactor     1.1749        54.073       -.10325E-03   -.64471E-04
  14  Prefactor     75.751        57.868       -.59911E-05    .77899E-05
  15  Normalizat    .61147        .22191        .57503E-05    .22864E-03
  16  Prefactor     1.1991        .11805        .24861E-05    .27539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.79543
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 8.40324
  norm       = 8.41631
  norm       = 5.23175
  Prefactor  = 0.0001
  norm       = 10.0841
  Prefactor  = 7.34437
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.491665
  Prefactor  = 1.17493
  Prefactor  = 75.7505
  Normalizat = 0.611474
  Prefactor  = 1.19907
 **********
 **   18 **HESSE 
 **********

 FCN=   7446.465     FROM HESSE     STATUS=OK           205 CALLS     1513 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7954        2.7153        .10248E-03   -1.5270    
   2  Prefactor     .10000E-03    22.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.6234        .21056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4032        25.442        .13810E-03   -1.5128    
   5  norm          8.4163        7.6907        .13818E-03   -1.5128    
   6  norm          5.2318        1.9744        .72245E-04   -1.5250    
   7  Prefactor     .10000E-03    5.7488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.084        15.937        .12617E-03   -1.5073    
   9  Prefactor     7.3444        13.396        .14795E-03   -1.5166    
  10  Prefactor     .10000E-03    11.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.9974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .49166        10.233        .25869E-02   -1.5568    
  13  Prefactor     1.1749        56.000        .40676E-03   -1.5491    
  14  Prefactor     75.751        57.833        .46133E-04   -1.3965    
  15  Normalizat    .61147        .24409        .40040E-03   -1.0750    
  16  Prefactor     1.1991        .13218        .16310E-03   -.86360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31166e-09
Minuit parameter uncertainties:
  1  2.7154
  2  0.00028653
  3  3.60049e-05
  4  25.475
  5  7.69165
  6  1.9744
  7  1.66983e-05
  8  15.9434
  9  13.4015
  10  1.86163e-05
  11  2.59239e-05
  12  4.48658
  13  16.2384
  14  57.8759
  15  0.244525
  16  0.132218
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  7.344e+00  1.340e+01  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.199e+00  1.322e-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:  6.115e-01  2.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 243.913 21.506
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/199188/likelihoodResults_524188801_524448001_4FGL_J1615.6+2130_daily_bin1099.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) = 7445.3895025
delta logL = 1.07513038294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7445.38292278
delta logL = 1.08171011044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3103       1.0000         .10000E-03   10000.    
     2 'Index     '    5.1067       1.0000          .0000       10.000    
     3 'Normalizat'    .53581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2243       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=   7445.383     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      303 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3125        14.452        .96302E-02    .13171E-02
   2  Index         5.1052        3.4932        .19707        .15898E-03
   3  Normalizat    .53580        .52395E-01    .96152E-01    .59915E-04
   4  Prefactor     1.2243        .29093E-01    .34080E-01   -.90635E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.31251
  Index      = 5.10523
  Normalizat = 0.535803
  Prefactor  = 1.22431
 **********
 **   18 **HESSE 
 **********

 FCN=   7445.383     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      336 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3125        34.043        .69568E-04   -1.5479    
   2  Index         5.1052        7.5358        .70755E-02    .21047E-01
   3  Normalizat    .53580        .21106        .42606E-03   -1.1078    
   4  Prefactor     1.2243        .11598        .16154E-03   -.85586    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.18531e-10
Minuit parameter uncertainties:
  1  13.3767
  2  7.37746
  3  0.21138
  4  0.115999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/199188': 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): 102
logL (Free Index) = 7445.38292247
delta logL = 1.08171041193

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.313e+00  1.338e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  5.105e+00  7.377e+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.224e+00  1.160e-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:  5.358e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.68
Ra Dec: 243.913 21.506
Photon Index (Free Index): 5.11 +/- 7.38
Photon Flux (Free Index): 8.54e-08 +/- 7.87e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.53e-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/199188/cmap_HighResolution_524188801_524448001_4FGL_J1615.6+2130_daily_bin1099.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='1.08e+00', photon_flux2='8.54e-08', job_status='DONE', time_completed='2021-09-13 18:31:16.565301', photon_index_error2='7.38', photon_index2='5.11', ts='0.35', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='1.53e-05', EG='0.61', time_epoch_completed='1631583076.57', return_code='0', job_id='199188', GAL2='1.22', EG2='0.54', return_code2='102', photon_flux_error2='7.87e-08', ts2='2.68', photon_index='2.76' WHERE bin_id='1099' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:31:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 199188: <4FGL_J1615.6+2130_daily_bin1099> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin1099 243.913 21.5064 524188801 524448001 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 :                                   570.44 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             253.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            938 sec.

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

