/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 111 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_J2315.6-5018_daily_bin1278
RA = 348.914, Dec = -50.3127
tmin = 570585601, tmax = 570844801
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='723407', job_status='RUN', time_executed='2021-09-29 10:02:54.067022', time_epoch_executed='1632934974.07' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1278'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723407

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723407/ft1_4FGL_J2315.6-5018_daily_bin1278.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723407/ft1_4FGL_J2315.6-5018_daily_bin1278.fits outfile=/scratch/kocevski/723407/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1278.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=570585601.0 tmax=570844801.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.03
user 2.82
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.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/723407/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1278.fits evtable="EVENTS" outfile="/scratch/kocevski/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.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/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.fits" evtable="EVENTS" scfile=/scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits sctable="SC_DATA" outfile=/scratch/kocevski/723407/ltcube_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.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/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits
.....................!
real 12.50
user 12.09
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.fits evtable="EVENTS" scfile=/scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits sctable="SC_DATA" expcube=/scratch/kocevski/723407/ltcube_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.fits outfile=/scratch/kocevski/723407/expmap_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.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/723407/ltcube_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.fits
.....................!
real 191.59
user 186.21
sys 5.03

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J2315.6-5018 @ 348.914 -50.3127

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.fits scfile=/scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits outfile=/scratch/kocevski/723407/cmap_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.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=348.914 yref=-50.3127 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.fits scfile=/scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits outfile=/scratch/kocevski/723407/cmap_HighResolution_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.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=348.914 yref=-50.3127 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.fits evtable="EVENTS" scfile=/scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723407/Model_4FGL_J2315.6-5018_daily_bin1278.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/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.fits.....................!
real 19.94
user 18.65
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.fits', '/scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits', expMap='/scratch/kocevski/723407/expmap_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.fits', expCube='/scratch/kocevski/723407/ltcube_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/723407/Model_4FGL_J2315.6-5018_daily_bin1278.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2315.6-5018'

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  3.550e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
434        Scale:  1.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/723407/ft1_filtered_4FGL_J2315.6-5018_daily_bin1278.fits
Spacecraft file(s): /scratch/kocevski/723407/ft2_4FGL_J2315.6-5018_daily_bin1278.fits
Exposure map: /scratch/kocevski/723407/expmap_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.fits
Exposure cube: /scratch/kocevski/723407/ltcube_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/723407/Model_4FGL_J2315.6-5018_daily_bin1278.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) = 1114.63244416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.659       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13328E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13703E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11373E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5515.6       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    13 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    15 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .25284E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10311E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .12539E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10717E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    28.441       1.0000         .10000E-03   10000.    
    24 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    14.335       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.4683       1.0000         .10000E-03   10000.    
    31 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.2863       1.0000         .10000E-03   10000.    
    33 'Prefactor '    1.0740       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.1019       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1113.518     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     5438 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    10.305       -.20932E-05** at limit **
   2  Prefactor     13.648        2.0286        .11031E-06   -.13791E-03
   3  Prefactor     .10000E-03    3.7165       -.12120E-07** at limit **
   4  Prefactor     .10000E-03    10.262        .23351E-05** at limit **
   5  Prefactor     .10000E-03    8.1357        .38397E-07** at limit **
   6  Prefactor     .11067E-03    116.44        .58238E-05** at limit **
   7  Prefactor     .10000E-03    9.9189       -.34805E-06** at limit **
   8  Prefactor     .66993E-03    464.69        .18615E-04** at limit **
   9  norm          .12105E-03    116.22       -.63098E-05** at limit **
  10  Prefactor     5515.6        1.0554        .29922E-08    .62961E-03
  11  Prefactor     .12008E-03    195.82        .34609E-05** at limit **
  12  Prefactor    10000.0        15.366        .31564E-05** at limit **
  13  Prefactor    10000.0        6.3298       -.16328E-05** at limit **
  14  Prefactor    10000.0        190.71        .85735E-06** at limit **
  15  Prefactor    10000.0        3.6593       -.16207E-05** at limit **
  16  Prefactor     .10000E-03    6.0400       -.48457E-06** at limit **
  17  Prefactor     .10349E-03    8.2280        .23683E-05** at limit **
  18  Prefactor     .10000E-03    23.450        .90454E-07** at limit **
  19  norm          .10000E-03    6.3924        .67467E-06** at limit **
  20  norm          .10000E-03    16.098        .10389E-06** at limit **
  21  norm          .10006E-03    30.189       -.12173E-05** at limit **
  22  Prefactor     .10001E-03    64.177       -.41816E-06** at limit **
  23  Prefactor     28.403        8.1374       -.56124E-06    .73678E-03
  24  norm          .10000E-03    3.4454       -.10074E-07** at limit **
  25  Prefactor     .10000E-03    13.298       -.11038E-06** at limit **
  26  norm          .10000E-03    1.7310        .21570E-08** at limit **
  27  norm          .10000E-03    1.8381       -.24989E-08** at limit **
  28  Prefactor     14.332        1.1170        .44558E-08   -.78164E-04
  29  Prefactor     .10000E-03    2.2806       -.40516E-08** at limit **
  30  Prefactor     4.4768        3.0579       -.61914E-06    .84696E-03
  31  norm          .10006E-03    31.512        .12454E-05** at limit **
  32  Prefactor     1.2869        5.2344       -.47777E-07    .31738E-06
  33  Prefactor     1.0734        4.3172       -.37388E-07    .54984E-06
  34  Normalizat    .10000E-01    .73278E-01    .17510E-07** at limit **
  35  Prefactor     1.1018        .19585        .16396E-06    .22455E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Prefactor  = 13.6481
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.000110672
  Prefactor  = 0.0001
  Prefactor  = 0.000669929
  norm       = 0.000121046
  Prefactor  = 5515.64
  Prefactor  = 0.000120079
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100002
  Prefactor  = 0.000103489
  Prefactor  = 0.000100001
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.00010006
  Prefactor  = 0.000100015
  Prefactor  = 28.4034
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.3318
  Prefactor  = 0.0001
  Prefactor  = 4.47685
  norm       = 0.000100059
  Prefactor  = 1.28689
  Prefactor  = 1.0734
  Normalizat = 0.01
  Prefactor  = 1.10176
 **********
 **   18 **HESSE 
 **********

 FCN=   1113.518     FROM HESSE     STATUS=OK           832 CALLS     6270 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    10.602        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.648        45.894        .27094E-02   -1.4969    
   3  Prefactor     .10000E-03    3.7133        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.348        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.0789        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11067E-03    136.40        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.9409        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .66993E-03    1194.5        .90712E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .12105E-03    157.76        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5515.6        3163.9        .20107E-03    .10331    
  11  Prefactor     .12008E-03    447.38        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor    10000.0        320.53        .10648E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor    10000.0        799.86        .10706E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        401.16        .90712E-02    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor    10000.0        7617.5        .10606E-01    1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.677        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10349E-03    1346.7        .10730E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.455        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    11.729        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    16.092        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10006E-03    16.098        .42605E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    21.543        .48162E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     28.403        38.171        .18781E-02   -1.4642    
  24  norm          .10000E-03    3.4263        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    13.292        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.6913        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    1.8363        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     14.332        38.595        .26447E-02   -1.4951    
  29  Prefactor     .10000E-03    2.2710        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     4.4768        25.773        .47621E-02   -1.5285    
  31  norm          .10006E-03    31.681        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     1.2869        5.4348        .97711E-02   -1.5481    
  33  Prefactor     1.0734        4.4694        .11684E-01   -1.5501    
  34  Normalizat    .10000E-01    .71769E-01    .12612       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     1.1018        .21926        .37513E-01   -.89410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81222e-07
Minuit parameter uncertainties:
  1  0.000479654
  2  46.0127
  3  6.5976e-09
  4  0.000435319
  5  1.66844e-07
  6  0.0764798
  7  2.75455e-05
  8  1.68497
  9  0.115549
  10  3429.2
  11  0.190997
  12  0.0510502
  13  0.0198295
  14  0.14851
  15  2.2153
  16  0.000280963
  17  0.140372
  18  0.000233028
  19  0.000176266
  20  5.37423e-05
  21  0.00196587
  22  0.00111869
  23  38.2037
  24  1.20611e-08
  25  6.58939e-05
  26  1.98364e-08
  27  1.56524e-08
  28  38.662
  29  1.82236e-08
  30  21.4971
  31  0.00274114
  32  5.28984
  33  4.381
  34  7.04167e-11
  35  0.219435
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  2.330e-04  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.395e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
434        Scale:  1.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.102e+00  2.194e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.000e-02  7.042e-11  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 348.914 -50.313
Photon Flux Upper Limit: 2.79e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/723407/likelihoodResults_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.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) = 1113.51853602
delta logL = -0.00020224407217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1113.51833507
delta logL = -1.2956561477e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7235       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+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=   1113.518     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      279 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10510E-03    18.172        .12845E-01** at limit **
   2  Index         2.6214        6.9403        .50000        .20373E-04
   3  Normalizat    .10000E-01    .15597E-03    .53779E-02** at limit **
   4  Prefactor     1.1018        .85690E-02    .19352E-03   -.55948E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105095
  Index      = 2.62136
  Normalizat = 0.01
  Prefactor  = 1.10176
 **********
 **   18 **HESSE 
 **********

 FCN=   1113.518     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10510E-03    161.00        .13488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6214        5.1259        .50000       -.49579    
   3  Normalizat    .10000E-01    .14117E-02    .10756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1018        .25778E-01    .38704E-04   -.89410    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.77669e-09
Minuit parameter uncertainties:
  1  0.057437
  2  368.432
  3  6.69659e-07
  4  0.0257784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723407': 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) = 1113.51833471
delta logL = -9.37329559747e-07

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.051e-04  5.744e-02  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.621e+00  3.684e+02  0.000e+00  1.000e+01 (-1.000e+00)
434        Scale:  1.098e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.102e+00  2.578e-02  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.000e-02  6.697e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 348.914 -50.313

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/723407/cmap_HighResolution_570585601_570844801_4FGL_J2315.6-5018_daily_bin1278.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-02', job_status='DONE', photon_flux_upper_limit='2.79e-07', time_completed='2021-09-29 10:10:43.110665', job_id='723407', GAL2='1.10', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632935443.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-9.37e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1278' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:10:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 723407: <4FGL_J2315.6-5018_daily_bin1278> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1278> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 10:00:51 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:00:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 10:00:53 2021
Terminated at Wed Sep 29 10:10:43 2021
Results reported at Wed Sep 29 10:10:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1278 348.914 -50.3127 570585601 570844801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2315.6-5018 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   465.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            592 sec.

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

