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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1463
RA = 348.914, Dec = -50.3127
tmin = 618537601, tmax = 618796801
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='724646', job_status='RUN', time_executed='2021-09-29 10:05:59.589302', time_epoch_executed='1632935159.59' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724646

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724646/ft1_4FGL_J2315.6-5018_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724646/ft1_4FGL_J2315.6-5018_daily_bin1463.fits outfile=/scratch/kocevski/724646/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1463.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=618537601.0 tmax=618796801.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.76
user 3.50
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.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/724646/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1463.fits evtable="EVENTS" outfile="/scratch/kocevski/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.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.49
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/724646/ltcube_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.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/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits
.....................!
real 12.04
user 11.70
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/724646/ltcube_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.fits outfile=/scratch/kocevski/724646/expmap_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.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/724646/ltcube_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.fits
.....................!
real 191.90
user 186.41
sys 5.13

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/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.fits scfile=/scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits outfile=/scratch/kocevski/724646/cmap_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.fits scfile=/scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits outfile=/scratch/kocevski/724646/cmap_HighResolution_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724646/Model_4FGL_J2315.6-5018_daily_bin1463.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/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.fits.....................!
real 37.77
user 36.53
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.fits', '/scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits', expMap='/scratch/kocevski/724646/expmap_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.fits', expCube='/scratch/kocevski/724646/ltcube_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724646/Model_4FGL_J2315.6-5018_daily_bin1463.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/724646/ft1_filtered_4FGL_J2315.6-5018_daily_bin1463.fits
Spacecraft file(s): /scratch/kocevski/724646/ft2_4FGL_J2315.6-5018_daily_bin1463.fits
Exposure map: /scratch/kocevski/724646/expmap_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.fits
Exposure cube: /scratch/kocevski/724646/ltcube_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724646/Model_4FGL_J2315.6-5018_daily_bin1463.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) = 4554.79005253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1341       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.642       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9698       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.370       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8183       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11644E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.7331       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1987       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.968       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .66736E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    90.485       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19134E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8141       1.0000         .10000E-03   10000.    
    19 'norm      '    10.404       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10823E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.772       1.0000         .10000E-03   10000.    
    23 'Prefactor '    106.04       1.0000         .10000E-03   10000.    
    24 'norm      '    .11101E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10275E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    27.898       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.2236       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .82558       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=   4554.680     FROM MIGRAD    STATUS=CONVERGED   1765 CALLS     5879 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1331        14.415        .17743E-03   -.15378E-05
   2  Prefactor     .10000E-03    10.250        .18142E-02** at limit **
   3  Prefactor     13.638        12.569        .10845E-03   -.25789E-04
   4  Prefactor     3.9693        7.2508        .10122E-02   -.72343E-04
   5  Prefactor     .10000E-03    4.2715        .13606E-02** at limit **
   6  Prefactor     14.373        12.290        .10566E-03    .59394E-04
   7  Prefactor     6.8202        4.8936        .60726E-03    .68932E-04
   8  Prefactor     .10000E-03    81.719        .18142E-02** at limit **
   9  norm          8.7351        7.2449        .13564E-03    .48278E-04
  10  Prefactor     4.1975        5.8754        .18033E-03    .79433E-04
  11  Prefactor     13.027        39.117        .11123E-03   -.15535E-04
  12  Prefactor     .10000E-03    3.3557        .12021E-02** at limit **
  13  Prefactor     .10836E-03    39.845        .10069    ** at limit **
  14  Prefactor     .10000E-03    3.7448        .12748E-02** at limit **
  15  Prefactor     90.460        104.50        .42243E-04    .31326E-04
  16  Prefactor     .10000E-03    6.1430        .16279E-02** at limit **
  17  Prefactor     .10070E-03    436.00        .92651E-02** at limit **
  18  Prefactor     4.8141        15.387        .18335E-03    .18973E-04
  19  norm          10.403        11.521        .12422E-03   -.32032E-05
  20  norm          .10000E-03    3.1115        .11608E-02** at limit **
  21  norm          .10000E-03    7.4386        .35424E-03** at limit **
  22  Prefactor     14.772        8.4503        .10421E-03    .53891E-04
  23  Prefactor     106.05        52.924        .39053E-04    .62298E-05
  24  norm          .10000E-03    5.8307        .15757E-02** at limit **
  25  Prefactor     .10000E-03    11.807        .18142E-02** at limit **
  26  norm          .10000E-03    .41737        .42304E-03** at limit **
  27  norm          .10000E-03    3.5804        .12389E-02** at limit **
  28  Prefactor     27.900        23.026        .75849E-04    .77941E-05
  29  Prefactor     .10000E-03    1.2371        .73060E-03** at limit **
  30  Prefactor     .10000E-03    14.674        .18142E-02** at limit **
  31  norm          .10000E-03    6.6644        .17017E-02** at limit **
  32  Prefactor     .10000E-03    1.2194        .72757E-03** at limit **
  33  Prefactor     .10000E-03    1.7535        .87065E-03** at limit **
  34  Normalizat    1.2238        .27970        .23431E-03    .15994E-03
  35  Prefactor     .82559        .26696        .28115E-03    .49130E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.13306
  Prefactor  = 0.0001
  Prefactor  = 13.6377
  Prefactor  = 3.96928
  Prefactor  = 0.0001
  Prefactor  = 14.3731
  Prefactor  = 6.82018
  Prefactor  = 0.0001
  norm       = 8.73514
  Prefactor  = 4.19754
  Prefactor  = 13.0268
  Prefactor  = 0.0001
  Prefactor  = 0.000108362
  Prefactor  = 0.0001
  Prefactor  = 90.46
  Prefactor  = 0.0001
  Prefactor  = 0.000100701
  Prefactor  = 4.81412
  norm       = 10.4028
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.7719
  Prefactor  = 106.047
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 27.8998
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.22379
  Prefactor  = 0.82559
 **********
 **   18 **HESSE 
 **********

 FCN=   4554.680     FROM HESSE     STATUS=OK           748 CALLS     6627 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1331        14.415        .70973E-05   -1.5255    
   2  Prefactor     .10000E-03    10.250        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.638        12.569        .43378E-05   -1.4969    
   4  Prefactor     3.9693        7.2502        .40488E-04   -1.5309    
   5  Prefactor     .10000E-03    4.2718        .27212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.373        12.290        .42263E-05   -1.4950    
   7  Prefactor     6.8202        4.8932        .24290E-04   -1.5186    
   8  Prefactor     .10000E-03    81.721        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.7351        7.2447        .54255E-05   -1.5117    
  10  Prefactor     4.1975        5.8748        .72134E-05   -1.5298    
  11  Prefactor     13.027        39.106        .44493E-05   -1.4986    
  12  Prefactor     .10000E-03    3.3562        .24041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10836E-03    37.162        .10525       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7448        .25495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     90.460        104.47        .84486E-05   -1.3803    
  16  Prefactor     .10000E-03    6.1443        .32557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10070E-03    454.61        .37061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.8141        15.385        .73342E-05   -1.5269    
  19  norm          10.403        11.520        .49688E-05   -1.5063    
  20  norm          .10000E-03    3.1116        .23216E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    7.4389        .70849E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.772        8.4498        .41685E-05   -1.4939    
  23  Prefactor     106.05        52.913        .78105E-05   -1.3645    
  24  norm          .10000E-03    5.8319        .31515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    11.808        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .41738        .84609E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    3.5810        .24777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     27.900        23.026        .30340E-05   -1.4651    
  29  Prefactor     .10000E-03    1.2371        .14612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    14.677        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    6.6644        .34033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.2194        .14551E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    1.7536        .17413E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    1.2238        .28001        .46862E-04   -.85871    
  35  Prefactor     .82559        .26730        .11246E-04   -.98792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21521e-09
Minuit parameter uncertainties:
  1  14.4248
  2  1.7233e-06
  3  12.571
  4  7.2518
  5  1.61021e-06
  6  12.2917
  7  4.89353
  8  1.59313e-05
  9  7.2454
  10  5.87563
  11  39.1834
  12  1.74037e-06
  13  0.0352787
  14  5.55783e-06
  15  104.682
  16  2.78018e-05
  17  0.0359771
  18  15.3978
  19  11.5228
  20  5.69729e-07
  21  1.50959e-05
  22  8.45046
  23  52.9361
  24  1.53577e-05
  25  5.48817e-06
  26  4.83913e-07
  27  4.28438e-06
  28  23.0333
  29  4.95599e-07
  30  8.58511e-07
  31  6.96709e-07
  32  1.74738e-06
  33  1.69436e-07
  34  0.280358
  35  0.267722
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  4.814e+00  1.540e+01  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:  8.256e-01  2.677e-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.224e+00  2.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 348.914 -50.313
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724646/likelihoodResults_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.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) = 4554.66094487
delta logL = 0.0191634895109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4554.65411327
delta logL = 0.0259950891714

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9088       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0419       1.0000          .0000       10.000    
     3 'Normalizat'    1.2290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82073       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=   4554.654     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      264 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9080        19.147        .15264E-03    .91390E-04
   2  Index         2.0418        1.3313        .10913E-01    .42258E-04
   3  Normalizat    1.2290        .25950        .23387E-03   -.13310E-03
   4  Prefactor     .82072        .26238        .28188E-03   -.13519E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.90803
  Index      = 2.0418
  Normalizat = 1.22901
  Prefactor  = 0.82072
 **********
 **   18 **HESSE 
 **********

 FCN=   4554.654     FROM HESSE     STATUS=OK            23 CALLS      287 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9080        18.959        .61054E-05   -1.5182    
   2  Index         2.0418        1.3187        .43651E-03   -.63309    
   3  Normalizat    1.2290        .25968        .46774E-04   -.85711    
   4  Prefactor     .82072        .26257        .11275E-04   -.98969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62653e-10
Minuit parameter uncertainties:
  1  18.9759
  2  1.34346
  3  0.259955
  4  0.262971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724646': 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) = 4554.65411326
delta logL = 0.0259950955888

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  6.908e+00  1.898e+01  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.042e+00  1.343e+00  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:  8.207e-01  2.630e-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.229e+00  2.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/724646/cmap_HighResolution_618537601_618796801_4FGL_J2315.6-5018_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.12e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-29 10:20:51.524469', job_id='724646', GAL2='0.82', fit_tolerance='1e-08', EG2='1.23', EG='1.22', time_epoch_completed='1632936051.52', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.60e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1463' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:20:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 724646: <4FGL_J2315.6-5018_daily_bin1463> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1463> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 10:05:30 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:05:31 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:05:31 2021
Terminated at Wed Sep 29 10:20:52 2021
Results reported at Wed Sep 29 10:20:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1463 348.914 -50.3127 618537601 618796801 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 :                                   880.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            922 sec.

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

