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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin934
RA = 348.914, Dec = -50.3127
tmin = 481420801, tmax = 481680001
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='721880', job_status='RUN', time_executed='2021-09-29 09:56:03.581745', time_epoch_executed='1632934563.58' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='934'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721880

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721880/ft1_4FGL_J2315.6-5018_daily_bin934.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721880/ft2_4FGL_J2315.6-5018_daily_bin934.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721880/ft1_4FGL_J2315.6-5018_daily_bin934.fits outfile=/scratch/kocevski/721880/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin934.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=481420801.0 tmax=481680001.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.72
user 3.52
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/721880/ft1_filtered_4FGL_J2315.6-5018_daily_bin934.fits" evtable="EVENTS" scfile=/scratch/kocevski/721880/ft2_4FGL_J2315.6-5018_daily_bin934.fits sctable="SC_DATA" outfile=/scratch/kocevski/721880/ltcube_481420801_481680001_4FGL_J2315.6-5018_daily_bin934.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/721880/ft2_4FGL_J2315.6-5018_daily_bin934.fits
.....................!
real 11.83
user 11.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721880/ft1_filtered_4FGL_J2315.6-5018_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/721880/ft2_4FGL_J2315.6-5018_daily_bin934.fits sctable="SC_DATA" expcube=/scratch/kocevski/721880/ltcube_481420801_481680001_4FGL_J2315.6-5018_daily_bin934.fits outfile=/scratch/kocevski/721880/expmap_481420801_481680001_4FGL_J2315.6-5018_daily_bin934.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/721880/ltcube_481420801_481680001_4FGL_J2315.6-5018_daily_bin934.fits
.....................!
real 191.04
user 186.04
sys 4.68

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/721880/ft1_filtered_4FGL_J2315.6-5018_daily_bin934.fits scfile=/scratch/kocevski/721880/ft2_4FGL_J2315.6-5018_daily_bin934.fits outfile=/scratch/kocevski/721880/cmap_481420801_481680001_4FGL_J2315.6-5018_daily_bin934.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/721880/ft1_filtered_4FGL_J2315.6-5018_daily_bin934.fits scfile=/scratch/kocevski/721880/ft2_4FGL_J2315.6-5018_daily_bin934.fits outfile=/scratch/kocevski/721880/cmap_HighResolution_481420801_481680001_4FGL_J2315.6-5018_daily_bin934.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10540E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11362E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4020       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9208       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29219E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3605       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4661       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4577       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.508       1.0000         .10000E-03   10000.    
    19 'norm      '    9.4890       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.7031       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.3782       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.503       1.0000         .10000E-03   10000.    
    24 'norm      '    1.5103       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    2.2548       1.0000         .10000E-03   10000.    
    27 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .87771       1.0000         .10000E-03   10000.    
    30 'Prefactor '    11.015       1.0000         .10000E-03   10000.    
    31 'norm      '    12.947       1.0000         .10000E-03   10000.    
    32 'Prefactor '    7.5279       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .96346       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .99020       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=   4377.504     FROM MIGRAD    STATUS=CONVERGED   1758 CALLS     6600 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.278        .18142E-02** at limit **
   2  Prefactor     .10000E-03    112.79        .18142E-02** at limit **
   3  Prefactor     .10000E-03    6.6516        .16621E-02** at limit **
   4  Prefactor     .10000E-03    11.106        .18142E-02** at limit **
   5  Prefactor     .10000E-03    6.1493        .16006E-02** at limit **
   6  Prefactor     8.3975        12.421        .13830E-03   -.83929E-04
   7  Prefactor     3.9208        4.5324        .14432E-03   -.58689E-04
   8  Prefactor     .10002E-03    113.38        .20430    ** at limit **
   9  norm          .10000E-03    9.4660        .18142E-02** at limit **
  10  Prefactor     .10000E-03    1.0721        .66834E-03** at limit **
  11  Prefactor     .10000E-03    16.097        .18142E-02** at limit **
  12  Prefactor     2.3610        6.0936        .24530E-03   -.65626E-04
  13  Prefactor     2.4593        60.208        .26041E-03   -.13577E-04
  14  Prefactor     .10000E-03    3.2795        .11694E-02** at limit **
  15  Prefactor     .10000E-03    45.396        .18142E-02** at limit **
  16  Prefactor     2.4577        5.4791        .11256E-02   -.67712E-03
  17  Prefactor     .10000E-03    14.136        .18142E-02** at limit **
  18  Prefactor     27.508        20.431        .76383E-04    .16967E-04
  19  norm          9.4889        9.6029        .13010E-03    .65540E-05
  20  norm          .10000E-03    2.8999        .11001E-02** at limit **
  21  norm          1.7001        9.5722        .29685E-03   -.48293E-04
  22  Prefactor     8.3753        6.9043        .13850E-03   -.21588E-04
  23  Prefactor     12.416        124.05        .11329E-03   -.17963E-04
  24  norm          1.5203        22.132        .28853E-03    .12175E-04
  25  Prefactor     .10000E-03    19.370        .18142E-02** at limit **
  26  norm          2.2549        1.6266        .66488E-04    .17099E-04
  27  norm          .10001E-03    7.6584        .25050E-02** at limit **
  28  Prefactor     .10000E-03    8.4163        .18142E-02** at limit **
  29  Prefactor     .87813        5.9794        .26839E-03   -.77515E-04
  30  Prefactor     11.016        30.411        .12071E-03    .47185E-04
  31  norm          12.947        20.284        .11132E-03    .80677E-05
  32  Prefactor     7.5271        8.5426        .14617E-03    .68211E-04
  33  Prefactor     .10000E-03    3.5772        .12133E-02** at limit **
  34  Normalizat    .96373        .25961        .24100E-03    .33823E-04
  35  Prefactor     .98995        .24703        .24356E-03    .33459E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.39755
  Prefactor  = 3.92077
  Prefactor  = 0.00010002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.36098
  Prefactor  = 2.4593
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 2.45766
  Prefactor  = 0.0001
  Prefactor  = 27.5079
  norm       = 9.48888
  norm       = 0.0001
  norm       = 1.70015
  Prefactor  = 8.37529
  Prefactor  = 12.4165
  norm       = 1.52029
  Prefactor  = 0.0001
  norm       = 2.25488
  norm       = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.878125
  Prefactor  = 11.0165
  norm       = 12.9468
  Prefactor  = 7.5271
  Prefactor  = 0.0001
  Normalizat = 0.963735
  Prefactor  = 0.989948
 **********
 **   18 **HESSE 
 **********

 FCN=   4377.504     FROM HESSE     STATUS=OK           746 CALLS     7346 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.290        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    112.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.6528        .33242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.111        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1497        .32012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3975        12.416        .55321E-05   -1.5128    
   7  Prefactor     3.9208        4.5321        .57726E-05   -1.5312    
   8  Prefactor     .10002E-03    116.35        .20007       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.4702        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.0721        .13367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.098        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.3610        6.0915        .98120E-05   -1.5401    
  13  Prefactor     2.4593        60.138        .10416E-04   -1.5394    
  14  Prefactor     .10000E-03    3.2795        .23389E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    45.397        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.4577        5.4778        .45026E-04   -1.5394    
  17  Prefactor     .10000E-03    14.136        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     27.508        20.431        .30553E-05   -1.4659    
  19  norm          9.4889        9.6031        .52038E-05   -1.5092    
  20  norm          .10000E-03    2.8999        .22003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.7001        9.4581        .11874E-04   -1.5447    
  22  Prefactor     8.3753        6.9035        .55400E-05   -1.5129    
  23  Prefactor     12.416        122.12        .45314E-05   -1.5003    
  24  norm          1.5203        21.612        .11541E-04   -1.5461    
  25  Prefactor     .10000E-03    19.375        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.2549        1.6264        .26595E-05   -1.5408    
  27  norm          .10001E-03    7.6827        .50100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    8.4169        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .87813        5.9542        .10736E-04   -1.5521    
  30  Prefactor     11.016        30.370        .48285E-05   -1.5044    
  31  norm          12.947        20.282        .44529E-05   -1.4988    
  32  Prefactor     7.5271        8.5388        .58467E-05   -1.5159    
  33  Prefactor     .10000E-03    3.5780        .24266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .96373        .25988        .96401E-05   -.94255    
  35  Prefactor     .98995        .24732        .48712E-04   -.93065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55392e-09
Minuit parameter uncertainties:
  1  0.000675253
  2  0.000615246
  3  3.19965e-05
  4  6.87056e-05
  5  2.45987e-05
  6  12.4202
  7  4.53246
  8  0.00303323
  9  8.34241e-05
  10  2.17611e-06
  11  4.65398e-05
  12  6.09309
  13  24.3495
  14  2.65176e-06
  15  0.000803613
  16  5.47893
  17  0.000115112
  18  20.4366
  19  9.60463
  20  1.25371e-06
  21  8.02171
  22  6.90415
  23  78.0888
  24  11.4687
  25  3.74025e-05
  26  1.62648
  27  0.000463076
  28  1.09227e-05
  29  4.57361
  30  30.413
  31  20.2927
  32  8.54017
  33  2.11236e-05
  34  0.260225
  35  0.247602
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  2.751e+01  2.044e+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:  9.899e-01  2.476e-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:  9.637e-01  2.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.29
Ra Dec: 348.914 -50.313
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 6.13e-08 +/- 4.55e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.50e-05

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

Saving results to:
/scratch/kocevski/721880/likelihoodResults_481420801_481680001_4FGL_J2315.6-5018_daily_bin934.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) = 4377.44722672
delta logL = 0.0570461696943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4377.44480101
delta logL = 0.0594718800712

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.477       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1887       1.0000          .0000       10.000    
     3 'Normalizat'    .97481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98154       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=   4377.445     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      279 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.474        29.187        .69257E-04    .54354E-03
   2  Index         2.1886        .58845        .60063E-02    .22059E-03
   3  Normalizat    .97485        .23304        .23982E-03   -.16929E-03
   4  Prefactor     .98153        .23754        .24447E-03   -.22176E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.4743
  Index      = 2.18863
  Normalizat = 0.974849
  Prefactor  = 0.981528
 **********
 **   18 **HESSE 
 **********

 FCN=   4377.445     FROM HESSE     STATUS=OK            23 CALLS      302 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.474        28.502        .13851E-04   -1.4550    
   2  Index         2.1886        .57441        .24025E-03   -.59713    
   3  Normalizat    .97485        .23311        .47964E-04   -.93878    
   4  Prefactor     .98153        .23764        .48893E-04   -.93348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.52085e-10
Minuit parameter uncertainties:
  1  28.5139
  2  0.576274
  3  0.233354
  4  0.237897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721880': 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) = 4377.44480095
delta logL = 0.059471940408

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  3.347e+01  2.851e+01  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.189e+00  5.763e-01  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:  9.815e-01  2.379e-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:  9.748e-01  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.41
Ra Dec: 348.914 -50.313
Photon Index (Free Index): 2.19 +/- 0.58
Photon Flux (Free Index): 5.33e-08 +/- 4.68e-08
Energy Flux (Free Index): 2.45e-05 +/- 2.35e-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/721880/cmap_HighResolution_481420801_481680001_4FGL_J2315.6-5018_daily_bin934.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', photon_flux='6.13e-08', energy_flux2='2.45e-05', photon_flux_error='4.55e-08', dlogl='5.95e-02', energy_flux='2.02e-05', photon_flux2='5.33e-08', job_status='DONE', time_completed='2021-09-29 10:10:58.621712', photon_index_error2='0.58', photon_index2='2.19', ts='3.29', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='2.35e-05', EG='0.96', time_epoch_completed='1632935458.62', return_code='0', job_id='721880', GAL2='0.98', EG2='0.97', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='4.68e-08', ts2='3.41', photon_index='2.40' WHERE bin_id='934' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:10:58 PDT 2021


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

Job <4FGL_J2315.6-5018_daily_bin934> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 09:55:45 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 09:55:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 09:55:47 2021
Terminated at Wed Sep 29 10:10:58 2021
Results reported at Wed Sep 29 10:10:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin934 348.914 -50.3127 481420801 481680001 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 :                                   886.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

