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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin1232
RA = 243.913, Dec = 21.5064
tmin = 558662401, tmax = 558921601
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='199380', job_status='RUN', time_executed='2021-09-13 18:19:41.844786', time_epoch_executed='1631582381.84' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/199380

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/199380/ft1_4FGL_J1615.6+2130_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/199380/ft2_4FGL_J1615.6+2130_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/199380/ft1_4FGL_J1615.6+2130_daily_bin1232.fits outfile=/scratch/kocevski/199380/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1232.fits ra=243.913 dec=21.5064 rad=12.0 tmin=558662401.0 tmax=558921601.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.56
user 3.32
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/199380/ft1_filtered_4FGL_J1615.6+2130_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/199380/ft2_4FGL_J1615.6+2130_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/199380/ltcube_558662401_558921601_4FGL_J1615.6+2130_daily_bin1232.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/199380/ft2_4FGL_J1615.6+2130_daily_bin1232.fits
.....................!
real 16.60
user 16.11
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/199380/ft1_filtered_4FGL_J1615.6+2130_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/199380/ft2_4FGL_J1615.6+2130_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/199380/ltcube_558662401_558921601_4FGL_J1615.6+2130_daily_bin1232.fits outfile=/scratch/kocevski/199380/expmap_558662401_558921601_4FGL_J1615.6+2130_daily_bin1232.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/199380/ltcube_558662401_558921601_4FGL_J1615.6+2130_daily_bin1232.fits
.....................!
real 193.48
user 188.10
sys 4.93

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/199380/ft1_filtered_4FGL_J1615.6+2130_daily_bin1232.fits scfile=/scratch/kocevski/199380/ft2_4FGL_J1615.6+2130_daily_bin1232.fits outfile=/scratch/kocevski/199380/cmap_558662401_558921601_4FGL_J1615.6+2130_daily_bin1232.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/199380/ft1_filtered_4FGL_J1615.6+2130_daily_bin1232.fits scfile=/scratch/kocevski/199380/ft2_4FGL_J1615.6+2130_daily_bin1232.fits outfile=/scratch/kocevski/199380/cmap_HighResolution_558662401_558921601_4FGL_J1615.6+2130_daily_bin1232.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8175       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .27491E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12467E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.1636       1.0000         .10000E-03   10000.    
     6 'norm      '    4.2966       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10669E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .13617E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10557E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    71.306       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .93565       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95688       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=   6244.984     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1463 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8177        2.0174       -.15056E-06   -.22193E-03
   2  Prefactor     .10018E-03    299.66       -.26264E-03** at limit **
   3  norm          .10000E-03    1.2666        .23136E-07** at limit **
   4  Prefactor     .10000E-03    31.168       -.84760E-05** at limit **
   5  norm          5.1571        15.956        .75902E-06    .14764E-03
   6  norm          4.2971        3.0944       -.25601E-07    .23214E-03
   7  Prefactor     .10000E-03    29.274        .94563E-05** at limit **
   8  norm          .10000E-03    46.046       -.51352E-05** at limit **
   9  Prefactor     .10000E-03    5.0411       -.48918E-07** at limit **
  10  Prefactor     .10000E-03    129.53        .53779E-04** at limit **
  11  Prefactor     .10000E-03    7.3017       -.15797E-07** at limit **
  12  Prefactor     .10000E-03    5.9930        .14228E-06** at limit **
  13  Prefactor     71.299        45.774       -.45614E-05    .47611E-05
  14  Prefactor     .10000E-03    19.028       -.27019E-06** at limit **
  15  Normalizat    .93558        .21353        .11815E-05    .64224E-03
  16  Prefactor     .95682        .11463        .56179E-06    .11622E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.8177
  Prefactor  = 0.000100181
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.15708
  norm       = 4.29714
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.2993
  Prefactor  = 0.0001
  Normalizat = 0.935582
  Prefactor  = 0.956825
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.984     FROM HESSE     STATUS=OK           193 CALLS     1656 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8177        2.0088        .11390E-03   -1.5438    
   2  Prefactor     .10018E-03    300.31        .39842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2690        .86829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    31.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.1571        15.908        .17691E-03   -1.5254    
   6  norm          4.2971        3.0905        .11120E-03   -1.5293    
   7  Prefactor     .10000E-03    30.256        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    46.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0568        .17327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    130.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.3278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.0912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     71.299        45.811        .47540E-04   -1.4017    
  14  Prefactor     .10000E-03    19.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .93558        .25410        .32862E-03   -.95221    
  16  Prefactor     .95682        .13721        .17484E-03   -.94183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54484e-09
Minuit parameter uncertainties:
  1  2.00888
  2  0.0148316
  3  4.03362e-06
  4  0.000174854
  5  15.9212
  6  3.09065
  7  0.000247476
  8  3.60313e-05
  9  4.50778e-06
  10  0.00032724
  11  5.06334e-06
  12  3.86339e-05
  13  45.8338
  14  2.20272e-06
  15  0.254431
  16  0.137265
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  4.508e-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.568e-01  1.373e-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.356e-01  2.544e-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: 8.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/199380/likelihoodResults_558662401_558921601_4FGL_J1615.6+2130_daily_bin1232.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) = 6244.98523101
delta logL = -0.000942289646446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6244.98428906
delta logL = -3.31907358486e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7400       1.0000          .0000       10.000    
     3 'Normalizat'    .93550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95681       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=   6244.984     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      260 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    119.83        .17488E-01** at limit **
   2  Index         2.0506        5.5019        .50000       -.17792E-06
   3  Normalizat    .93558        .23811E-01    .32862E-03    .14634E-04
   4  Prefactor     .95682        .12887E-01    .17484E-03    .55321E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.05061
  Normalizat = 0.93558
  Prefactor  = 0.956824
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.984     FROM HESSE     STATUS=OK            29 CALLS      289 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3966        .39857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0506        8.9404        .50000       -.63091    
   3  Normalizat    .93558        .25220        .13145E-04   -.95221    
   4  Prefactor     .95682        .13661        .34969E-04   -.94183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13597e-11
Minuit parameter uncertainties:
  1  3.64462e-06
  2  118.621
  3  0.252521
  4  0.136655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/199380': 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) = 6244.98428613
delta logL = 2.59195439867e-06

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  3.645e-06  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.051e+00  1.186e+02  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.568e-01  1.367e-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.356e-01  2.525e-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/199380/cmap_HighResolution_558662401_558921601_4FGL_J1615.6+2130_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.76e-03', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2021-09-13 18:28:46.707520', job_id='199380', GAL2='0.96', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631582926.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.59e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1232' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:28:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 199380: <4FGL_J1615.6+2130_daily_bin1232> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin1232 243.913 21.5064 558662401 558921601 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 :                                   527.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   554 sec.
    Turnaround time :                            774 sec.

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

