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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin676
RA = 243.913, Dec = 21.5064
tmin = 414547201, tmax = 414806401
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='197465', job_status='RUN', time_executed='2021-09-13 18:11:24.190702', time_epoch_executed='1631581884.19' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/197465

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/197465/ft1_4FGL_J1615.6+2130_daily_bin676.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/197465/ft2_4FGL_J1615.6+2130_daily_bin676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/197465/ft1_4FGL_J1615.6+2130_daily_bin676.fits outfile=/scratch/kocevski/197465/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin676.fits ra=243.913 dec=21.5064 rad=12.0 tmin=414547201.0 tmax=414806401.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 5.87
user 5.58
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/197465/ft1_filtered_4FGL_J1615.6+2130_daily_bin676.fits" evtable="EVENTS" scfile=/scratch/kocevski/197465/ft2_4FGL_J1615.6+2130_daily_bin676.fits sctable="SC_DATA" outfile=/scratch/kocevski/197465/ltcube_414547201_414806401_4FGL_J1615.6+2130_daily_bin676.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/197465/ft2_4FGL_J1615.6+2130_daily_bin676.fits
.....................!
real 14.09
user 13.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/197465/ft1_filtered_4FGL_J1615.6+2130_daily_bin676.fits evtable="EVENTS" scfile=/scratch/kocevski/197465/ft2_4FGL_J1615.6+2130_daily_bin676.fits sctable="SC_DATA" expcube=/scratch/kocevski/197465/ltcube_414547201_414806401_4FGL_J1615.6+2130_daily_bin676.fits outfile=/scratch/kocevski/197465/expmap_414547201_414806401_4FGL_J1615.6+2130_daily_bin676.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/197465/ltcube_414547201_414806401_4FGL_J1615.6+2130_daily_bin676.fits
.....................!
real 193.09
user 187.85
sys 4.81

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/197465/ft1_filtered_4FGL_J1615.6+2130_daily_bin676.fits scfile=/scratch/kocevski/197465/ft2_4FGL_J1615.6+2130_daily_bin676.fits outfile=/scratch/kocevski/197465/cmap_414547201_414806401_4FGL_J1615.6+2130_daily_bin676.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/197465/ft1_filtered_4FGL_J1615.6+2130_daily_bin676.fits scfile=/scratch/kocevski/197465/ft2_4FGL_J1615.6+2130_daily_bin676.fits outfile=/scratch/kocevski/197465/cmap_HighResolution_414547201_414806401_4FGL_J1615.6+2130_daily_bin676.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10646E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.724       1.0000         .10000E-03   10000.    
     3 'norm      '    4.2891       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.993       1.0000         .10000E-03   10000.    
     6 'norm      '    5.0857       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    12.529       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.864       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4012       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10628E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.547       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .90573       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98622       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=   11547.00     FROM MIGRAD    STATUS=CONVERGED    310 CALLS     1493 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1240       -.23956E-07** at limit **
   2  Prefactor     34.720        28.434       -.36551E-05   -.52316E-04
   3  norm          4.2893        2.1650        .91329E-07   -.91427E-03
   4  Prefactor     .10000E-03    12.842        .16811E-06** at limit **
   5  norm          10.994        7.1549       -.40809E-06   -.41529E-04
   6  norm          5.0857        1.4948        .10286E-07    .43035E-04
   7  Prefactor     .10000E-03    1.7432       -.66987E-07** at limit **
   8  norm          12.530        9.3482       -.12205E-06   -.29187E-05
   9  Prefactor     .10000E-03    4.1228        .33615E-08** at limit **
  10  Prefactor     41.862        24.971       -.15660E-05   -.33203E-04
  11  Prefactor     .10000E-03    17.927       -.17171E-06** at limit **
  12  Prefactor     2.4002        1.8216        .85111E-06   -.51812E-02
  13  Prefactor     .10000E-03    38.705       -.21882E-06** at limit **
  14  Prefactor     23.527        37.426       -.24940E-04   -.16952E-03
  15  Normalizat    .90552        .17030        .18803E-05   -.32396E-04
  16  Prefactor     .98633        .85261E-01   -.27138E-07    .12178E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 34.7199
  norm       = 4.28931
  Prefactor  = 0.0001
  norm       = 10.9938
  norm       = 5.08565
  Prefactor  = 0.0001
  norm       = 12.5299
  Prefactor  = 0.0001
  Prefactor  = 41.8619
  Prefactor  = 0.0001
  Prefactor  = 2.40025
  Prefactor  = 0.0001
  Prefactor  = 23.5267
  Normalizat = 0.905523
  Prefactor  = 0.986332
 **********
 **   18 **HESSE 
 **********

 FCN=   11547.00     FROM HESSE     STATUS=OK           203 CALLS     1696 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4991        .22108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.720        28.542        .68005E-04   -1.4529    
   3  norm          4.2893        2.1686        .53865E-03   -1.5294    
   4  Prefactor     .10000E-03    12.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.994        7.1503        .12083E-03   -1.5045    
   6  norm          5.0857        1.4952        .68593E-04   -1.5257    
   7  Prefactor     .10000E-03    1.7454        .13855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.530        9.3490        .11317E-03   -1.5000    
   9  Prefactor     .10000E-03    4.1469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.862        25.010        .61956E-04   -1.4413    
  11  Prefactor     .10000E-03    18.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4002        4.1147        .13212E-02   -1.5398    
  13  Prefactor     .10000E-03    39.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.527        37.513        .82547E-04   -1.4737    
  15  Normalizat    .90552        .20495        .34599E-03   -.96266    
  16  Prefactor     .98633        .10302        .16994E-03   -.93187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89684e-08
Minuit parameter uncertainties:
  1  3.72802e-05
  2  28.5529
  3  2.1686
  4  2.48896e-05
  5  7.15089
  6  1.49523
  7  1.90018e-06
  8  9.35014
  9  9.1235e-06
  10  25.0158
  11  0.000138157
  12  4.11515
  13  2.00732e-05
  14  37.5504
  15  0.205122
  16  0.103038
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  9.123e-06  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:  9.863e-01  1.030e-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:  9.055e-01  2.051e-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: 6.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/197465/likelihoodResults_414547201_414806401_4FGL_J1615.6+2130_daily_bin676.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) = 11547.0032886
delta logL = -0.00114951181422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11547.0021391
delta logL = -4.05943865189e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7477       1.0000          .0000       10.000    
     3 'Normalizat'    .90552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98632       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=   11547.00     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      255 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    42.080        .18142E-01** at limit **
   2  Index         2.3833        6.1161        .50000        .18426E-06
   3  Normalizat    .90553        .13195E-01    .34598E-03    .33910E-03
   4  Prefactor     .98633        .67834E-02    .16994E-03    .72891E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.38335
  Normalizat = 0.905525
  Prefactor  = 0.986332
 **********
 **   18 **HESSE 
 **********

 FCN=   11547.00     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    755.51        .21876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3833        6.1826        .50000       -.55075    
   3  Normalizat    .90553        .78101E-01    .13839E-04   -.96266    
   4  Prefactor     .98633        .40158E-01    .33987E-04   -.93187    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.12991e-09
Minuit parameter uncertainties:
  1  0.00135182
  2  1583.44
  3  0.0781107
  4  0.0401588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/197465': 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) = 11547.0021383
delta logL = 7.72428393248e-07

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  1.352e-03  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.383e+00  1.583e+03  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:  9.863e-01  4.016e-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:  9.055e-01  7.811e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/197465/cmap_HighResolution_414547201_414806401_4FGL_J1615.6+2130_daily_bin676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-03', job_status='DONE', photon_flux_upper_limit='6.13e-08', time_completed='2021-09-13 18:23:56.055386', job_id='197465', GAL2='0.99', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1631582636.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='7.72e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='676' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:23:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 197465: <4FGL_J1615.6+2130_daily_bin676> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin676> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Sep 13 18:10:24 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:11:14 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:11:14 2021
Terminated at Mon Sep 13 18:23:56 2021
Results reported at Mon Sep 13 18:23:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin676 243.913 21.5064 414547201 414806401 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 :                                   747.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            812 sec.

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

