/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 236 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 = 7401
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1615.6+2130_daily_bin19
RA = 243.913, Dec = 21.5064
tmin = 244252801, tmax = 244512001
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='193251', job_status='RUN', time_executed='2021-09-13 18:03:13.525032', time_epoch_executed='1631581393.53' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193251

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193251/ft1_4FGL_J1615.6+2130_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193251/ft2_4FGL_J1615.6+2130_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193251/ft1_4FGL_J1615.6+2130_daily_bin19.fits outfile=/scratch/kocevski/193251/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin19.fits ra=243.913 dec=21.5064 rad=12.0 tmin=244252801.0 tmax=244512001.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 2.43
user 2.22
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193251/ft1_filtered_4FGL_J1615.6+2130_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/193251/ft2_4FGL_J1615.6+2130_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/193251/ltcube_244252801_244512001_4FGL_J1615.6+2130_daily_bin19.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/193251/ft2_4FGL_J1615.6+2130_daily_bin19.fits
.....................!
real 16.16
user 15.76
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193251/ft1_filtered_4FGL_J1615.6+2130_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/193251/ft2_4FGL_J1615.6+2130_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/193251/ltcube_244252801_244512001_4FGL_J1615.6+2130_daily_bin19.fits outfile=/scratch/kocevski/193251/expmap_244252801_244512001_4FGL_J1615.6+2130_daily_bin19.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/193251/ltcube_244252801_244512001_4FGL_J1615.6+2130_daily_bin19.fits
.....................!
real 191.60
user 186.84
sys 4.23

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/193251/ft1_filtered_4FGL_J1615.6+2130_daily_bin19.fits scfile=/scratch/kocevski/193251/ft2_4FGL_J1615.6+2130_daily_bin19.fits outfile=/scratch/kocevski/193251/cmap_244252801_244512001_4FGL_J1615.6+2130_daily_bin19.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193251/ft1_filtered_4FGL_J1615.6+2130_daily_bin19.fits scfile=/scratch/kocevski/193251/ft2_4FGL_J1615.6+2130_daily_bin19.fits outfile=/scratch/kocevski/193251/cmap_HighResolution_244252801_244512001_4FGL_J1615.6+2130_daily_bin19.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63389       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    16.853       1.0000         .10000E-03   10000.    
     6 'norm      '    2.6754       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2755       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9998       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13429E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .90802       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1049       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7152.756     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1269 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64160        2.4341         .0000        .93495E-03
   2  Prefactor     .10008E-03    83.587         .0000    ** at limit **
   3  norm          .10000E-03    .85588         .0000    ** at limit **
   4  Prefactor     .10000E-03    22.879         .0000    ** at limit **
   5  norm          16.854        10.229         .0000       -.27072E-03
   6  norm          2.6755        1.6199         .0000        .26890E-04
   7  Prefactor     .10000E-03    3.0503         .0000    ** at limit **
   8  norm          .10000E-03    4.1728         .0000    ** at limit **
   9  Prefactor     3.2731        11.676         .0000        .36694E-02
  10  Prefactor     .10000E-03    9.8682         .0000    ** at limit **
  11  Prefactor     1.9941        15.775         .0000        .53340E-02
  12  Prefactor     .10000E-03    4.0272         .0000    ** at limit **
  13  Prefactor     .10013E-03    81.990         .0000    ** at limit **
  14  Prefactor     .10000E-03    13.640         .0000    ** at limit **
  15  Normalizat    .90799        .22353         .0000        .80570E-04
  16  Prefactor     1.1049        .11363         .0000        .18367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.6416
  Prefactor  = 0.00010008
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 16.8536
  norm       = 2.67554
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.27307
  Prefactor  = 0.0001
  Prefactor  = 1.99413
  Prefactor  = 0.0001
  Prefactor  = 0.000100128
  Prefactor  = 0.0001
  Normalizat = 0.907992
  Prefactor  = 1.10486
 **********
 **   18 **HESSE 
 **********

 FCN=   7152.756     FROM HESSE     STATUS=OK           199 CALLS     1468 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64160        4.2566        .23652E-02   -1.5548    
   2  Prefactor     .10008E-03    84.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .86125        .76391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.854        10.217        .97561E-04   -1.4887    
   6  norm          2.6755        1.6197        .80584E-04   -1.5381    
   7  Prefactor     .10000E-03    3.0542        .14425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.1769        .16872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2731        11.672        .11187E-02   -1.5346    
  10  Prefactor     .10000E-03    9.8742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9941        15.779        .14644E-02   -1.5426    
  12  Prefactor     .10000E-03    4.1178        .16563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10013E-03    83.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .90799        .25940        .34578E-03   -.96180    
  16  Prefactor     1.1049        .13344        .16930E-03   -.89311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05717e-08
Minuit parameter uncertainties:
  1  3.30525
  2  0.00521946
  3  5.86601e-06
  4  0.00015949
  5  10.2179
  6  1.61976
  7  1.28375e-05
  8  2.35653e-06
  9  11.6803
  10  3.08187e-05
  11  11.2227
  12  2.36794e-06
  13  0.00656136
  14  5.62154e-05
  15  0.25976
  16  0.133481
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  3.273e+00  1.168e+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.105e+00  1.335e-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.080e-01  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/193251/likelihoodResults_244252801_244512001_4FGL_J1615.6+2130_daily_bin19.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) = 7152.71744138
delta logL = 0.0383887188864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7152.65877105
delta logL = 0.0970590560792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61907       1.0000         .10000E-03   10000.    
     2 'Index     '    4.7894       1.0000          .0000       10.000    
     3 'Normalizat'    .88768       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1124       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=   7152.659     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      275 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61890        123.06        .12819E-03   -.66238E-03
   2  Index         4.7892        7.1487        .11505E-01   -.66204E-04
   3  Normalizat    .88732        .19371        .34943E-03   -.11111E-03
   4  Prefactor     1.1126        .10338        .16877E-03   -.15684E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.6189
  Index      = 4.78925
  Normalizat = 0.887317
  Prefactor  = 1.11261
 **********
 **   18 **HESSE 
 **********

 FCN=   7152.659     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61890        11.152        .51278E-05   -1.5551    
   2  Index         4.7892        7.2746        .46020E-03   -.42163E-01
   3  Normalizat    .88732        .25140        .13977E-04   -.96907    
   4  Prefactor     1.1126        .13289        .33755E-04   -.89065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35413e-09
Minuit parameter uncertainties:
  1  5.25511
  2  6.08213
  3  0.251732
  4  0.132926
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193251': 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) = 7152.65876987
delta logL = 0.0970602348089

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  6.189e-01  5.255e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  4.789e+00  6.082e+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.113e+00  1.329e-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.873e-01  2.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/193251/cmap_HighResolution_244252801_244512001_4FGL_J1615.6+2130_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.56e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-13 18:12:25.146134', job_id='193251', GAL2='1.11', fit_tolerance='1e-08', EG2='0.89', EG='0.91', time_epoch_completed='1631581945.15', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='9.71e-02', ts2='0.29', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='19' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:12:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 193251: <4FGL_J1615.6+2130_daily_bin19> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin19> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 13 17:55:46 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 17:59:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 13 17:59:09 2021
Terminated at Mon Sep 13 18:12:25 2021
Results reported at Mon Sep 13 18:12:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin19 243.913 21.5064 244252801 244512001 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 :                                   551.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            999 sec.

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

