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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin841
RA = 243.913, Dec = 21.5064
tmin = 457315201, tmax = 457574401
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='197737', job_status='RUN', time_executed='2021-09-13 18:13:15.783558', time_epoch_executed='1631581995.78' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='841'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/197737

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/197737/ft1_4FGL_J1615.6+2130_daily_bin841.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/197737/ft2_4FGL_J1615.6+2130_daily_bin841.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/197737/ft1_4FGL_J1615.6+2130_daily_bin841.fits outfile=/scratch/kocevski/197737/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin841.fits ra=243.913 dec=21.5064 rad=12.0 tmin=457315201.0 tmax=457574401.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 4.96
user 4.71
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/197737/ft1_filtered_4FGL_J1615.6+2130_daily_bin841.fits" evtable="EVENTS" scfile=/scratch/kocevski/197737/ft2_4FGL_J1615.6+2130_daily_bin841.fits sctable="SC_DATA" outfile=/scratch/kocevski/197737/ltcube_457315201_457574401_4FGL_J1615.6+2130_daily_bin841.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/197737/ft2_4FGL_J1615.6+2130_daily_bin841.fits
.....................!
real 13.36
user 13.02
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/197737/ft1_filtered_4FGL_J1615.6+2130_daily_bin841.fits evtable="EVENTS" scfile=/scratch/kocevski/197737/ft2_4FGL_J1615.6+2130_daily_bin841.fits sctable="SC_DATA" expcube=/scratch/kocevski/197737/ltcube_457315201_457574401_4FGL_J1615.6+2130_daily_bin841.fits outfile=/scratch/kocevski/197737/expmap_457315201_457574401_4FGL_J1615.6+2130_daily_bin841.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/197737/ltcube_457315201_457574401_4FGL_J1615.6+2130_daily_bin841.fits
.....................!
real 191.48
user 186.36
sys 4.70

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/197737/ft1_filtered_4FGL_J1615.6+2130_daily_bin841.fits scfile=/scratch/kocevski/197737/ft2_4FGL_J1615.6+2130_daily_bin841.fits outfile=/scratch/kocevski/197737/cmap_457315201_457574401_4FGL_J1615.6+2130_daily_bin841.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/197737/ft1_filtered_4FGL_J1615.6+2130_daily_bin841.fits scfile=/scratch/kocevski/197737/ft2_4FGL_J1615.6+2130_daily_bin841.fits outfile=/scratch/kocevski/197737/cmap_HighResolution_457315201_457574401_4FGL_J1615.6+2130_daily_bin841.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=243.913 yref=21.5064 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    37.002       1.0000         .10000E-03   10000.    
     3 'norm      '    6.7589       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.6364       1.0000         .10000E-03   10000.    
     6 'norm      '    5.9953       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.3305       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.026       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.141       1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.402       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7772       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .96311       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .90159       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=   6377.742     FROM MIGRAD    STATUS=CONVERGED    299 CALLS     1454 TOTAL
                     EDM=   .14E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0963       -.67411E-07** at limit **
   2  Prefactor     37.014        38.531       -.11861E-05    .41587E-05
   3  norm          6.7595        3.8624        .99352E-07    .66798E-05
   4  Prefactor     .10000E-03    11.306        .71152E-07** at limit **
   5  norm          3.6328        12.077        .24264E-06    .10484E-06
   6  norm          5.9955        2.6701       -.10331E-07    .24817E-06
   7  Prefactor     .10000E-03    3.0537       -.41083E-08** at limit **
   8  norm          2.3283        43.672        .31833E-06   -.70805E-05
   9  Prefactor     18.027        19.429        .13719E-06    .18775E-05
  10  Prefactor     15.114        37.846        .51021E-05   -.80799E-05
  11  Prefactor     36.411        24.976       -.84235E-06    .48840E-05
  12  Prefactor     3.7793        7.9345        .23949E-05    .21586E-04
  13  Prefactor     .10000E-03    23.288       -.97726E-07** at limit **
  14  Prefactor     .10000E-03    19.949        .36386E-06** at limit **
  15  Normalizat    .96233        .24552       -.17384E-05    .35544E-05
  16  Prefactor     .90197        .11556        .52481E-06    .14914E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 37.0143
  norm       = 6.75951
  Prefactor  = 0.0001
  norm       = 3.63275
  norm       = 5.9955
  Prefactor  = 0.0001
  norm       = 2.32832
  Prefactor  = 18.0273
  Prefactor  = 15.1138
  Prefactor  = 36.4114
  Prefactor  = 3.77927
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.96233
  Prefactor  = 0.901973
 **********
 **   18 **HESSE 
 **********

 FCN=   6377.742     FROM HESSE     STATUS=OK           205 CALLS     1659 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1538        .22556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     37.014        38.605        .65886E-04   -1.4490    
   3  norm          6.7595        3.8544        .11209E-03   -1.5188    
   4  Prefactor     .10000E-03    11.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.6328        11.959        .21185E-03   -1.5327    
   6  norm          5.9955        2.6592        .79885E-04   -1.5218    
   7  Prefactor     .10000E-03    3.0565        .13629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3283        43.331        .26864E-03   -1.5403    
   9  Prefactor     18.027        19.481        .94334E-04   -1.4859    
  10  Prefactor     15.114        37.902        .10293E-03   -1.4930    
  11  Prefactor     36.411        25.132        .66425E-04   -1.4500    
  12  Prefactor     3.7793        7.9962        .10386E-02   -1.5319    
  13  Prefactor     .10000E-03    23.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .96233        .28505        .34513E-03   -.94303    
  16  Prefactor     .90197        .13660        .17890E-03   -.96072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47807e-12
Minuit parameter uncertainties:
  1  1.24043e-06
  2  38.631
  3  3.85456
  4  7.61862e-06
  5  11.9668
  6  2.65922
  7  6.74633e-07
  8  20.1052
  9  19.4877
  10  37.962
  11  25.1388
  12  7.99842
  13  5.61292e-06
  14  3.19529e-06
  15  0.285501
  16  0.136648
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.803e+01  1.949e+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:  9.020e-01  1.366e-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.623e-01  2.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 243.913 21.506
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 7.24e-08 +/- 7.82e-08
Energy Flux (Fixed Index): 1.67e-05 +/- 1.81e-05

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

Saving results to:
/scratch/kocevski/197737/likelihoodResults_457315201_457574401_4FGL_J1615.6+2130_daily_bin841.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) = 6377.44737312
delta logL = 0.294980098462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6377.44587398
delta logL = 0.296479246075

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.642       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4748       1.0000          .0000       10.000    
     3 'Normalizat'    .92208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91541       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=   6377.446     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      295 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.639        20.079        .11266E-03   -.78004E-04
   2  Index         3.4749        1.2398        .83966E-02    .30075E-03
   3  Normalizat    .92217        .27593        .35172E-03   -.73865E-03
   4  Prefactor     .91543        .13646        .17768E-03   -.13864E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6389
  Index      = 3.47488
  Normalizat = 0.922166
  Prefactor  = 0.915429
 **********
 **   18 **HESSE 
 **********

 FCN=   6377.446     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.639        17.769        .45064E-05   -1.4997    
   2  Index         3.4749        1.0985        .16793E-02   -.30996    
   3  Normalizat    .92217        .27618        .70345E-04   -.95686    
   4  Prefactor     .91543        .13636        .35536E-04   -.95604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22904e-09
Minuit parameter uncertainties:
  1  17.7764
  2  1.10847
  3  0.27661
  4  0.136413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/197737': 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) = 6377.44587363
delta logL = 0.296479598139

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.264e+01  1.778e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  3.475e+00  1.108e+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:  9.154e-01  1.364e-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.222e-01  2.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 243.913 21.506
Photon Index (Free Index): 3.47 +/- 1.11
Photon Flux (Free Index): 1.10e-07 +/- 9.67e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.62e-05

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/197737/cmap_HighResolution_457315201_457574401_4FGL_J1615.6+2130_daily_bin841.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-02', comment='SUCCESS', photon_flux='7.24e-08', energy_flux2='1.84e-05', photon_flux_error='7.82e-08', dlogl='2.96e-01', energy_flux='1.67e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-13 18:22:17.468413', photon_index_error2='1.11', photon_index2='3.47', ts='1.04', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='2.23e-07', energy_flux_error2='1.62e-05', EG='0.96', time_epoch_completed='1631582537.47', return_code='0', job_id='197737', GAL2='0.92', EG2='0.92', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='9.67e-08', ts2='1.68', photon_index='2.76' WHERE bin_id='841' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:22:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 197737: <4FGL_J1615.6+2130_daily_bin841> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin841 243.913 21.5064 457315201 457574401 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 :                                   538.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            690 sec.

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

