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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1110
RA = 348.914, Dec = -50.3127
tmin = 527040001, tmax = 527299201
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='723149', job_status='RUN', time_executed='2021-09-29 10:01:15.791305', time_epoch_executed='1632934875.79' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723149

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723149/ft1_4FGL_J2315.6-5018_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723149/ft2_4FGL_J2315.6-5018_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723149/ft1_4FGL_J2315.6-5018_daily_bin1110.fits outfile=/scratch/kocevski/723149/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1110.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=527040001.0 tmax=527299201.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.99
user 5.71
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723149/ft1_filtered_4FGL_J2315.6-5018_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/723149/ft2_4FGL_J2315.6-5018_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/723149/ltcube_527040001_527299201_4FGL_J2315.6-5018_daily_bin1110.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/723149/ft2_4FGL_J2315.6-5018_daily_bin1110.fits
.....................!
real 11.98
user 11.65
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723149/ft1_filtered_4FGL_J2315.6-5018_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/723149/ft2_4FGL_J2315.6-5018_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/723149/ltcube_527040001_527299201_4FGL_J2315.6-5018_daily_bin1110.fits outfile=/scratch/kocevski/723149/expmap_527040001_527299201_4FGL_J2315.6-5018_daily_bin1110.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/723149/ltcube_527040001_527299201_4FGL_J2315.6-5018_daily_bin1110.fits
.....................!
real 190.49
user 185.26
sys 4.91

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/723149/ft1_filtered_4FGL_J2315.6-5018_daily_bin1110.fits scfile=/scratch/kocevski/723149/ft2_4FGL_J2315.6-5018_daily_bin1110.fits outfile=/scratch/kocevski/723149/cmap_527040001_527299201_4FGL_J2315.6-5018_daily_bin1110.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/723149/ft1_filtered_4FGL_J2315.6-5018_daily_bin1110.fits scfile=/scratch/kocevski/723149/ft2_4FGL_J2315.6-5018_daily_bin1110.fits outfile=/scratch/kocevski/723149/cmap_HighResolution_527040001_527299201_4FGL_J2315.6-5018_daily_bin1110.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/723149/ft1_filtered_4FGL_J2315.6-5018_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/723149/ft2_4FGL_J2315.6-5018_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723149/Model_4FGL_J2315.6-5018_daily_bin1110.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/723149/ft1_filtered_4FGL_J2315.6-5018_daily_bin1110.fits.....................!
real 26.57
user 25.35
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.040       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.4115       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.880       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.251       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.415       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4143       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.7310       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.662       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8732       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2384       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.760       1.0000         .10000E-03   10000.    
    20 'norm      '    11.387       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.6763       1.0000         .10000E-03   10000.    
    26 'norm      '    2.0038       1.0000         .10000E-03   10000.    
    27 'norm      '    13.163       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.2423       1.0000         .10000E-03   10000.    
    30 'Prefactor '    62.310       1.0000         .10000E-03   10000.    
    31 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    9.0698       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .94242       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .59997       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=   2370.654     FROM MIGRAD    STATUS=CONVERGED    936 CALLS     5027 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.043        55.570       -.34707E-05   -.73987E-06
   2  Prefactor     8.4602        315.99        .82506E-05    .13102E-04
   3  Prefactor     17.880        18.647        .17376E-06   -.17693E-04
   4  Prefactor     31.244        25.067       -.13729E-06   -.47480E-04
   5  Prefactor     .10000E-03    7.7812        .80640E-07** at limit **
   6  Prefactor     12.415        10.033        .13595E-06   -.16250E-04
   7  Prefactor     2.4142        5.4520        .45602E-06    .43781E-05
   8  Prefactor     .10000E-03    49.472        .15632E-05** at limit **
   9  norm          5.7308        6.7414        .15652E-08   -.17412E-05
  10  Prefactor     11.664        7.8448        .28494E-06   -.66874E-04
  11  Prefactor     .10000E-03    18.043        .14301E-06** at limit **
  12  Prefactor     4.8734        7.8052        .25791E-06   -.24639E-04
  13  Prefactor     .10000E-03    14.153        .26374E-06** at limit **
  14  Prefactor     .10000E-03    5.5884       -.22527E-07** at limit **
  15  Prefactor     .10000E-03    50.655        .21826E-05** at limit **
  16  Prefactor     2.2380        6.5481        .52812E-06    .13238E-04
  17  Prefactor     .10000E-03    40.729       -.21802E-05** at limit **
  18  Prefactor     .10000E-03    16.825       -.94179E-06** at limit **
  19  norm          13.764        28.122       -.24675E-06   -.85996E-05
  20  norm          11.388        12.230       -.14503E-06    .63681E-06
  21  norm          .10000E-03    5.5270       -.21317E-07** at limit **
  22  Prefactor     .10000E-03    27.977        .53874E-06** at limit **
  23  Prefactor     .10000E-03    115.15       -.25385E-05** at limit **
  24  norm          .10000E-03    6.4432       -.10543E-06** at limit **
  25  Prefactor     5.6925        58.299       -.27885E-05    .18114E-05
  26  norm          2.0040        2.3812        .41663E-07   -.23537E-04
  27  norm          13.163        13.273        .80035E-06   -.16013E-04
  28  Prefactor     .10000E-03    17.680       -.16626E-06** at limit **
  29  Prefactor     4.2417        6.6452       -.77576E-07   -.77536E-04
  30  Prefactor     62.326        71.539        .58664E-06    .19609E-04
  31  norm          .10000E-03    21.630        .20331E-05** at limit **
  32  Prefactor     .10000E-03    25.889        .23682E-05** at limit **
  33  Prefactor     9.0717        14.884        .33098E-05   -.40338E-04
  34  Normalizat    .94208        .30597       -.43429E-05    .36610E-04
  35  Prefactor     .60028        .26479        .27308E-05   -.93023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.0426
  Prefactor  = 8.46022
  Prefactor  = 17.8804
  Prefactor  = 31.2442
  Prefactor  = 0.0001
  Prefactor  = 12.4148
  Prefactor  = 2.41418
  Prefactor  = 0.0001
  norm       = 5.73083
  Prefactor  = 11.6645
  Prefactor  = 0.0001
  Prefactor  = 4.87337
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.23804
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.7637
  norm       = 11.3882
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 5.69254
  norm       = 2.00399
  norm       = 13.1634
  Prefactor  = 0.0001
  Prefactor  = 4.24166
  Prefactor  = 62.3256
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.07168
  Normalizat = 0.94208
  Prefactor  = 0.600277
 **********
 **   18 **HESSE 
 **********

 FCN=   2370.654     FROM HESSE     STATUS=OK           774 CALLS     5801 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.043        55.618        .80053E-04   -1.4707    
   2  Prefactor     8.4602        314.12        .13822E-03   -1.5126    
   3  Prefactor     17.880        18.650        .94719E-04   -1.4862    
   4  Prefactor     31.244        25.050        .71675E-04   -1.4589    
   5  Prefactor     .10000E-03    7.7823        .13265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.415        10.028        .11369E-03   -1.5003    
   7  Prefactor     2.4142        5.4486        .15793E-03   -1.5397    
   8  Prefactor     .10000E-03    49.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.7308        6.7398        .13336E-03   -1.5229    
  10  Prefactor     11.664        7.8923        .10015E-03   -1.5025    
  11  Prefactor     .10000E-03    18.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.8734        7.7890        .16112E-03   -1.5266    
  13  Prefactor     .10000E-03    14.168        .17899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.5967        .11241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    51.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2380        6.5282        .20563E-03   -1.5409    
  17  Prefactor     .10000E-03    41.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.764        28.005        .10798E-03   -1.4966    
  20  norm          11.388        12.251        .11872E-03   -1.5033    
  21  norm          .10000E-03    5.5336        .11180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    28.465        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    115.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    6.4841        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.6925        57.517        .16860E-03   -1.5231    
  26  norm          2.0040        2.3603        .74280E-04   -1.5425    
  27  norm          13.163        13.274        .55201E-03   -1.4982    
  28  Prefactor     .10000E-03    17.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     4.2417        6.6426        .13938E-03   -1.5296    
  30  Prefactor     62.326        71.458        .50834E-04   -1.4127    
  31  norm          .10000E-03    21.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    26.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     9.0717        15.011        .66542E-03   -1.5105    
  34  Normalizat    .94208        .35714        .23544E-03   -.94997    
  35  Prefactor     .60028        .31231        .27089E-03   -1.0757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78655e-10
Minuit parameter uncertainties:
  1  55.7334
  2  103.695
  3  18.6558
  4  25.0588
  5  3.77855e-06
  6  10.0295
  7  5.44974
  8  0.000237277
  9  6.74066
  10  7.89301
  11  1.47227e-05
  12  7.7906
  13  3.11988e-05
  14  4.69798e-06
  15  0.000337059
  16  6.53031
  17  0.000270063
  18  6.4704e-05
  19  28.0314
  20  12.2534
  21  2.14783e-07
  22  5.92713e-05
  23  0.000531209
  24  3.09914e-06
  25  36.2342
  26  2.36043
  27  13.2768
  28  4.12392e-06
  29  6.64378
  30  71.5561
  31  0.000193335
  32  6.53649e-05
  33  15.0168
  34  0.358047
  35  0.313218
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  6.470e-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:  6.003e-01  3.132e-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.421e-01  3.580e-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.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/723149/likelihoodResults_527040001_527299201_4FGL_J2315.6-5018_daily_bin1110.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2370.65451036
delta logL = -0.000281767851902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2370.65423061
delta logL = -2.01622106033e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11636E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7110       1.0000          .0000       10.000    
     3 'Normalizat'    .94207       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60029       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=   2370.654     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      276 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10327E-03    7.2361        .16621E-01** at limit **
   2  Index         2.6258        8.2773        .50000        .22358E-04
   3  Normalizat    .94208        .47972E-02    .23545E-03   -.51907E-05
   4  Prefactor     .60028        .45070E-02    .27088E-03   -.94640E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103265
  Index      = 2.62576
  Normalizat = 0.942076
  Prefactor  = 0.600282
 **********
 **   18 **HESSE 
 **********

 FCN=   2370.654     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10327E-03    96.259        .17141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6258        5.6265        .50000       -.49479    
   3  Normalizat    .94208        .17567E-01    .94179E-05   -.94997    
   4  Prefactor     .60028        .16504E-01    .10835E-04   -1.0757    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.16329e-09
Minuit parameter uncertainties:
  1  0.0355153
  2  277.876
  3  0.0175671
  4  0.0165045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723149': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2370.65422957
delta logL = -9.79720880423e-07

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.421e-01  1.757e-02  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/723149/cmap_HighResolution_527040001_527299201_4FGL_J2315.6-5018_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', job_status='DONE', photon_flux_upper_limit='1.41e-07', time_completed='2021-09-29 10:11:01.048740', job_id='723149', GAL2='0.60', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632935461.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='-9.80e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1110' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:11:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 723149: <4FGL_J2315.6-5018_daily_bin1110> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1110 348.914 -50.3127 527040001 527299201 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 :                                   580.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            633 sec.

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

