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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1020
RA = 348.914, Dec = -50.3127
tmin = 503712001, tmax = 503971201
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='723006', job_status='RUN', time_executed='2021-09-29 10:01:55.117368', time_epoch_executed='1632934915.12' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1020'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723006

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723006/ft1_4FGL_J2315.6-5018_daily_bin1020.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723006/ft2_4FGL_J2315.6-5018_daily_bin1020.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723006/ft1_4FGL_J2315.6-5018_daily_bin1020.fits outfile=/scratch/kocevski/723006/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1020.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=503712001.0 tmax=503971201.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 5.59
user 5.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723006/ft1_filtered_4FGL_J2315.6-5018_daily_bin1020.fits" evtable="EVENTS" scfile=/scratch/kocevski/723006/ft2_4FGL_J2315.6-5018_daily_bin1020.fits sctable="SC_DATA" outfile=/scratch/kocevski/723006/ltcube_503712001_503971201_4FGL_J2315.6-5018_daily_bin1020.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/723006/ft2_4FGL_J2315.6-5018_daily_bin1020.fits
.....................!
real 11.90
user 11.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723006/ft1_filtered_4FGL_J2315.6-5018_daily_bin1020.fits evtable="EVENTS" scfile=/scratch/kocevski/723006/ft2_4FGL_J2315.6-5018_daily_bin1020.fits sctable="SC_DATA" expcube=/scratch/kocevski/723006/ltcube_503712001_503971201_4FGL_J2315.6-5018_daily_bin1020.fits outfile=/scratch/kocevski/723006/expmap_503712001_503971201_4FGL_J2315.6-5018_daily_bin1020.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/723006/ltcube_503712001_503971201_4FGL_J2315.6-5018_daily_bin1020.fits
.....................!
real 189.60
user 184.76
sys 4.27

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/723006/ft1_filtered_4FGL_J2315.6-5018_daily_bin1020.fits scfile=/scratch/kocevski/723006/ft2_4FGL_J2315.6-5018_daily_bin1020.fits outfile=/scratch/kocevski/723006/cmap_503712001_503971201_4FGL_J2315.6-5018_daily_bin1020.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723006/ft1_filtered_4FGL_J2315.6-5018_daily_bin1020.fits scfile=/scratch/kocevski/723006/ft2_4FGL_J2315.6-5018_daily_bin1020.fits outfile=/scratch/kocevski/723006/cmap_HighResolution_503712001_503971201_4FGL_J2315.6-5018_daily_bin1020.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/723006/ft1_filtered_4FGL_J2315.6-5018_daily_bin1020.fits evtable="EVENTS" scfile=/scratch/kocevski/723006/ft2_4FGL_J2315.6-5018_daily_bin1020.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723006/Model_4FGL_J2315.6-5018_daily_bin1020.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/723006/ft1_filtered_4FGL_J2315.6-5018_daily_bin1020.fits......................!
real 27.27
user 26.02
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.732       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    111.34       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5065       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6137       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.396       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11636E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    71.709       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    7.4428       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .76880       1.0000         .10000E-03   10000.    
    27 'norm      '    1.9909       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    8.1597       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    10.576       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.1500       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .58961       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.

 FCN=   2505.403     FROM MIGRAD    STATUS=CONVERGED    954 CALLS     5857 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.056        .23266E-07** at limit **
   2  Prefactor     .10000E-03    20.631       -.42010E-07** at limit **
   3  Prefactor     32.731        24.551        .13208E-06   -.45392E-05
   4  Prefactor     .10000E-03    6.6308        .47004E-07** at limit **
   5  Prefactor     .10000E-03    9.0162        .29324E-07** at limit **
   6  Prefactor     .10000E-03    12.045        .38158E-06** at limit **
   7  Prefactor     .10000E-03    3.0165        .34122E-07** at limit **
   8  Prefactor     111.36        147.29       -.23359E-06    .12481E-04
   9  norm          .10000E-03    9.9030       -.34685E-06** at limit **
  10  Prefactor     1.5061        7.5085        .17474E-05    .17818E-05
  11  Prefactor     .10000E-03    43.393       -.18942E-06** at limit **
  12  Prefactor     7.6144        8.9149       -.37550E-07    .16691E-04
  13  Prefactor     18.323        39.055        .13179E-05    .92175E-04
  14  Prefactor     .10000E-03    66.390       -.19186E-04** at limit **
  15  Prefactor     71.465        148.08        .33576E-06   -.29274E-05
  16  Prefactor     .10000E-03    5.1939        .12727E-06** at limit **
  17  Prefactor     .10000E-03    19.474       -.20130E-06** at limit **
  18  Prefactor     .10000E-03    14.847       -.32166E-07** at limit **
  19  norm          .10000E-03    6.7200        .57299E-07** at limit **
  20  norm          .10000E-03    6.5144       -.55250E-07** at limit **
  21  norm          .10000E-03    2.9660        .47805E-07** at limit **
  22  Prefactor     .10000E-03    5.8685       -.24987E-08** at limit **
  23  Prefactor     .10000E-03    78.609        .87256E-06** at limit **
  24  norm          7.4304        8.2818        .32718E-06   -.65368E-04
  25  Prefactor     .10000E-03    24.817        .12173E-06** at limit **
  26  norm          .76870        1.9287        .49149E-06    .36650E-04
  27  norm          1.9924        7.6954        .11726E-05   -.96832E-05
  28  Prefactor     .10000E-03    42.527        .15327E-06** at limit **
  29  Prefactor     8.1599        7.3122        .22234E-06   -.31784E-04
  30  Prefactor     .10000E-03    33.213        .19982E-06** at limit **
  31  norm          .10000E-03    18.151        .11855E-07** at limit **
  32  Prefactor     .10000E-03    2.7424        .85760E-08** at limit **
  33  Prefactor     10.577        8.0566        .12622E-06   -.26020E-04
  34  Normalizat    1.1502        .27508       -.15015E-05    .44508E-04
  35  Prefactor     .58930        .26437       -.72357E-07    .15524E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.7308
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 111.363
  norm       = 0.0001
  Prefactor  = 1.50613
  Prefactor  = 0.0001
  Prefactor  = 7.61439
  Prefactor  = 18.3229
  Prefactor  = 0.000100002
  Prefactor  = 71.4645
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.43044
  Prefactor  = 0.0001
  norm       = 0.768704
  norm       = 1.9924
  Prefactor  = 0.0001
  Prefactor  = 8.15994
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5766
  Normalizat = 1.15023
  Prefactor  = 0.589304
 **********
 **   18 **HESSE 
 **********

 FCN=   2505.403     FROM HESSE     STATUS=OK           758 CALLS     6615 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     32.731        24.566        .70038E-04   -1.4563    
   4  Prefactor     .10000E-03    6.6395        .12589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.0367        .14681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.080        .16961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0216        .84899E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     111.36        147.61        .19061E-03   -1.3593    
   9  norm          .10000E-03    9.9571        .15382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5061        7.3359        .24185E-03   -1.5463    
  11  Prefactor     .10000E-03    43.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.6144        8.9030        .14534E-03   -1.5156    
  13  Prefactor     18.323        39.303        .93382E-04   -1.4852    
  14  Prefactor     .10000E-03    66.212        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     71.465        148.20        .23704E-03   -1.4015    
  16  Prefactor     .10000E-03    5.2458        .11137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.7251        .12674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.5217        .12471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.9681        .84078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.8884        .11831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    78.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          7.4304        8.0606        .11931E-03   -1.5163    
  25  Prefactor     .10000E-03    24.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .76870        1.8835        .10289E-03   -1.5533    
  27  norm          1.9924        7.4830        .21871E-03   -1.5426    
  28  Prefactor     .10000E-03    42.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.1599        7.2954        .12106E-03   -1.5137    
  30  Prefactor     .10000E-03    33.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    18.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.7437        .80946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     10.577        8.0607        .11838E-03   -1.5057    
  34  Normalizat    1.1502        .32144        .21503E-03   -.88155    
  35  Prefactor     .58930        .30682        .28682E-03   -1.0804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33103e-10
Minuit parameter uncertainties:
  1  1.01183e-05
  2  2.63254e-05
  3  24.574
  4  4.12971e-06
  5  6.12234e-06
  6  1.96566e-05
  7  2.6605e-06
  8  148.103
  9  3.05069e-05
  10  6.64904
  11  0.000104592
  12  8.90456
  13  39.3587
  14  0.000761746
  15  148.974
  16  2.52437e-07
  17  1.44027e-05
  18  3.19755e-05
  19  9.44586e-07
  20  1.16636e-05
  21  4.90836e-06
  22  8.34189e-06
  23  4.02747e-05
  24  8.06182
  25  7.39332e-06
  26  1.88366
  27  7.48648
  28  2.01637e-05
  29  7.29623
  30  7.98666e-05
  31  3.33871e-06
  32  4.80107e-08
  33  8.06157
  34  0.32199
  35  0.307695
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  3.198e-05  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:  5.893e-01  3.077e-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.150e+00  3.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/723006/likelihoodResults_503712001_503971201_4FGL_J2315.6-5018_daily_bin1020.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) = 2505.40361858
delta logL = -0.000319709159612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2505.40329892
delta logL = -5.67565621168e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5045       1.0000          .0000       10.000    
     3 'Normalizat'    1.1502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58932       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.

 FCN=   2505.403     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      231 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2267.8        .90712E-02** at limit **
   2  Index         2.5009        5.8316        .50000        .21568E-05
   3  Normalizat    1.1502        .11136        .36246E-01    .22417E-05
   4  Prefactor     .58931        .10951        .64817E-01    .11952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.50087
  Normalizat = 1.15023
  Prefactor  = 0.589305
 **********
 **   18 **HESSE 
 **********

 FCN=   2505.403     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5009        6.2215        .50000       -.52340    
   3  Normalizat    1.1502        .29980        .21503E-03   -.88155    
   4  Prefactor     .58931        .29537        .28681E-03   -1.0804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16692e-12
Minuit parameter uncertainties:
  1  4.55868e-06
  2  5.19558
  3  0.300246
  4  0.296152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723006': 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) = 2505.40329892
delta logL = -5.32368176209e-08

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  4.559e-06  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.501e+00  5.196e+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:  5.893e-01  2.962e-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.150e+00  3.002e-01  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/723006/cmap_HighResolution_503712001_503971201_4FGL_J2315.6-5018_daily_bin1020.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.76e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-09-29 10:12:28.541752', job_id='723006', GAL2='0.59', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1632935548.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='-5.32e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1020' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:12:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 723006: <4FGL_J2315.6-5018_daily_bin1020> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1020> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 10:00:13 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:00:15 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:15 2021
Terminated at Wed Sep 29 10:12:29 2021
Results reported at Wed Sep 29 10:12:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1020 348.914 -50.3127 503712001 503971201 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 :                                   630.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            736 sec.

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

