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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1076
RA = 348.914, Dec = -50.3127
tmin = 518227201, tmax = 518486401
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='723096', job_status='RUN', time_executed='2021-09-29 10:01:33.035412', time_epoch_executed='1632934893.04' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1076'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723096

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723096/ft1_4FGL_J2315.6-5018_daily_bin1076.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723096/ft2_4FGL_J2315.6-5018_daily_bin1076.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723096/ft1_4FGL_J2315.6-5018_daily_bin1076.fits outfile=/scratch/kocevski/723096/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1076.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=518227201.0 tmax=518486401.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.60
user 3.40
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723096/ft1_filtered_4FGL_J2315.6-5018_daily_bin1076.fits" evtable="EVENTS" scfile=/scratch/kocevski/723096/ft2_4FGL_J2315.6-5018_daily_bin1076.fits sctable="SC_DATA" outfile=/scratch/kocevski/723096/ltcube_518227201_518486401_4FGL_J2315.6-5018_daily_bin1076.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/723096/ft2_4FGL_J2315.6-5018_daily_bin1076.fits
.....................!
real 11.71
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723096/ft1_filtered_4FGL_J2315.6-5018_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/723096/ft2_4FGL_J2315.6-5018_daily_bin1076.fits sctable="SC_DATA" expcube=/scratch/kocevski/723096/ltcube_518227201_518486401_4FGL_J2315.6-5018_daily_bin1076.fits outfile=/scratch/kocevski/723096/expmap_518227201_518486401_4FGL_J2315.6-5018_daily_bin1076.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/723096/ltcube_518227201_518486401_4FGL_J2315.6-5018_daily_bin1076.fits
.....................!
real 189.91
user 185.05
sys 4.52

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/723096/ft1_filtered_4FGL_J2315.6-5018_daily_bin1076.fits scfile=/scratch/kocevski/723096/ft2_4FGL_J2315.6-5018_daily_bin1076.fits outfile=/scratch/kocevski/723096/cmap_518227201_518486401_4FGL_J2315.6-5018_daily_bin1076.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723096/ft1_filtered_4FGL_J2315.6-5018_daily_bin1076.fits scfile=/scratch/kocevski/723096/ft2_4FGL_J2315.6-5018_daily_bin1076.fits outfile=/scratch/kocevski/723096/cmap_HighResolution_518227201_518486401_4FGL_J2315.6-5018_daily_bin1076.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/723096/ft1_filtered_4FGL_J2315.6-5018_daily_bin1076.fits evtable="EVENTS" scfile=/scratch/kocevski/723096/ft2_4FGL_J2315.6-5018_daily_bin1076.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723096/Model_4FGL_J2315.6-5018_daily_bin1076.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/723096/ft1_filtered_4FGL_J2315.6-5018_daily_bin1076.fits.....................!
real 39.83
user 38.59
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41390       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8265       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1762       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.138       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.872       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.310       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.991       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6158       1.0000         .10000E-03   10000.    
    15 'Prefactor '    48.064       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.629       1.0000         .10000E-03   10000.    
    19 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .23467       1.0000         .10000E-03   10000.    
    21 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.878       1.0000         .10000E-03   10000.    
    23 'Prefactor '    73.727       1.0000         .10000E-03   10000.    
    24 'norm      '    9.5299       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    13.962       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    6.7759       1.0000         .10000E-03   10000.    
    31 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    8.1040       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .77417E-02   1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.2832       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .75840       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=   5092.854     FROM MIGRAD    STATUS=CONVERGED   1033 CALLS     5210 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24225        17.707       -.49733E-06    .21602E-03
   2  Prefactor     .10000E-03    18.800        .13505E-06** at limit **
   3  Prefactor     .10000E-03    3.2134        .74656E-07** at limit **
   4  Prefactor     4.8263        6.9117        .12940E-06    .35981E-04
   5  Prefactor     .10000E-03    3.5468        .66043E-07** at limit **
   6  Prefactor     5.1878        10.951        .61844E-05    .43193E-03
   7  Prefactor     .10000E-03    2.5228       -.59470E-06** at limit **
   8  Prefactor     24.771        143.09       -.16262E-04   -.35090E-04
   9  norm          .10000E-03    3.1552       -.42196E-06** at limit **
  10  Prefactor     .10000E-03    2.4051        .24526E-06** at limit **
  11  Prefactor     41.887        41.816        .19555E-07   -.94971E-05
  12  Prefactor     18.308        8.7027        .52891E-07   -.49746E-04
  13  Prefactor     25.046        40.299        .57880E-06   -.10826E-04
  14  Prefactor     5.6080        18.691        .16508E-06   -.66461E-05
  15  Prefactor     47.997        115.74       -.13036E-06   -.82944E-05
  16  Prefactor     .10000E-03    5.9365        .39955E-06** at limit **
  17  Prefactor     .10000E-03    54.932        .67304E-06** at limit **
  18  Prefactor     16.629        13.610       -.23970E-07   -.15431E-04
  19  norm          .10000E-03    6.9771        .17010E-06** at limit **
  20  norm          .23233        6.5544       -.74379E-06    .21819E-03
  21  norm          .10000E-03    4.6847        .41640E-06** at limit **
  22  Prefactor     13.879        8.5744       -.34195E-06   -.88635E-04
  23  Prefactor     73.689        59.211        .44845E-06   -.32753E-04
  24  norm          9.5293        7.4601       -.14431E-06   -.20207E-03
  25  Prefactor     .10000E-03    49.010        .12250E-05** at limit **
  26  norm          .10000E-03    .56549        .10910E-06** at limit **
  27  norm          .10000E-03    1.6765       -.55435E-07** at limit **
  28  Prefactor     13.960        14.429        .18031E-06   -.14513E-04
  29  Prefactor     .10000E-03    1.8257       -.90396E-07** at limit **
  30  Prefactor     6.7750        25.168        .12738E-06    .27693E-04
  31  norm          .10000E-03    27.538       -.16667E-06** at limit **
  32  Prefactor     8.1033        6.7439        .21350E-06    .34516E-04
  33  Prefactor     .25805E-01    3.2909       -.15659E-05    .14386E-02
  34  Normalizat    1.2833        .22824       -.38669E-05    .20811E-03
  35  Prefactor     .75842        .21426        .35705E-05   -.35248E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.242248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.82627
  Prefactor  = 0.0001
  Prefactor  = 5.18783
  Prefactor  = 0.0001
  Prefactor  = 24.771
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.8873
  Prefactor  = 18.3078
  Prefactor  = 25.0462
  Prefactor  = 5.60796
  Prefactor  = 47.9971
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6292
  norm       = 0.0001
  norm       = 0.232325
  norm       = 0.0001
  Prefactor  = 13.8791
  Prefactor  = 73.6893
  norm       = 9.5293
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.9595
  Prefactor  = 0.0001
  Prefactor  = 6.77502
  norm       = 0.0001
  Prefactor  = 8.1033
  Prefactor  = 0.0258048
  Normalizat = 1.28331
  Prefactor  = 0.758418
 **********
 **   18 **HESSE 
 **********

 FCN=   5092.854     FROM HESSE     STATUS=OK           788 CALLS     5998 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24225        20.491        .97253E-01   -1.5610    
   2  Prefactor     .10000E-03    18.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2151        .12494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8263        6.9042        .18311E-03   -1.5269    
   5  Prefactor     .10000E-03    3.5500        .13126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.1878        11.109        .88348E-03   -1.5252    
   7  Prefactor     .10000E-03    2.5659        .11064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.771        146.59        .39948E-03   -1.4712    
   9  norm          .10000E-03    3.1615        .12380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4362        .10804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.887        41.815        .61950E-04   -1.4413    
  12  Prefactor     18.308        8.7043        .93601E-04   -1.4852    
  13  Prefactor     25.046        39.944        .80131E-04   -1.4707    
  14  Prefactor     5.6080        18.357        .16952E-03   -1.5234    
  15  Prefactor     47.997        115.53        .57839E-04   -1.4321    
  16  Prefactor     .10000E-03    5.9728        .16983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    55.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.629        13.689        .98215E-04   -1.4892    
  19  norm          .10000E-03    6.9895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .23233        40.753        .34541E-02   -1.5612    
  21  norm          .10000E-03    9.4202        .28307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.879        8.6311        .10752E-03   -1.4963    
  23  Prefactor     73.689        59.435        .46759E-04   -1.3989    
  24  norm          9.5293        7.0825        .12982E-03   -1.5090    
  25  Prefactor     .10000E-03    50.209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .58485        .10426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    1.6787        .90182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     13.960        14.453        .10720E-03   -1.4961    
  29  Prefactor     .10000E-03    1.8365        .93911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     6.7750        25.175        .15414E-03   -1.5187    
  31  norm          .10000E-03    27.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     8.1033        6.7455        .14084E-03   -1.5139    
  33  Prefactor     .25805E-01    7.1834        .39095E-01   -1.5676    
  34  Normalizat    1.2833        .27585        .23293E-03   -.84066    
  35  Prefactor     .75842        .25652        .29396E-03   -1.0128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01343e-08
Minuit parameter uncertainties:
  1  4.45666
  2  2.55112e-05
  3  3.66461e-06
  4  6.90534
  5  5.66585e-06
  6  11.1131
  7  1.47944e-05
  8  120.968
  9  1.18081e-05
  10  8.06663e-06
  11  41.8441
  12  8.70494
  13  39.9867
  14  18.3756
  15  116.075
  16  2.32377e-05
  17  0.000118366
  18  13.6913
  19  9.84125e-06
  20  6.15694
  21  6.24795e-05
  22  8.63183
  23  59.4828
  24  7.08311
  25  0.000464446
  26  5.23605e-06
  27  6.22196e-07
  28  14.4561
  29  3.83739e-06
  30  25.2148
  31  3.42542e-05
  32  6.7461
  33  0.85952
  34  0.27617
  35  0.256922
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.663e+01  1.369e+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:  7.584e-01  2.569e-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.283e+00  2.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.72
Ra Dec: 348.914 -50.313
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 3.70e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.01e-05

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

Saving results to:
/scratch/kocevski/723096/likelihoodResults_518227201_518486401_4FGL_J2315.6-5018_daily_bin1076.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) = 5091.41208613
delta logL = 1.44206741305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5091.26770428
delta logL = 1.58644925939

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.127       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4777       1.0000          .0000       10.000    
     3 'Normalizat'    1.3145       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73379       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=   5091.268     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      211 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.127        19.359        .19593E-02   -.30862E-02
   2  Index         1.4777        .37717        .17908       -.87553E-04
   3  Normalizat    1.3145        .20334        .52125E-01    .18722E-04
   4  Prefactor     .73377        .20360        .67368E-01    .63786E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.127
  Index      = 1.4777
  Normalizat = 1.3145
  Prefactor  = 0.73377
 **********
 **   18 **HESSE 
 **********

 FCN=   5091.268     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.127        20.178        .78372E-04   -1.4685    
   2  Index         1.4777        .42551        .73158E-02   -.78166    
   3  Normalizat    1.3145        .24611        .23046E-03   -.83135    
   4  Prefactor     .73377        .24615        .29808E-03   -1.0222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54324e-08
Minuit parameter uncertainties:
  1  20.1832
  2  0.426531
  3  0.246329
  4  0.246519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723096': 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) = 5091.26770427
delta logL = 1.58644927075

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  2.613e+01  2.018e+01  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  1.478e+00  4.265e-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:  7.338e-01  2.465e-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.315e+00  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.92
Ra Dec: 348.914 -50.313
Photon Index (Free Index): 1.48 +/- 0.43
Photon Flux (Free Index): 1.82e-08 +/- 1.60e-08
Energy Flux (Free Index): 6.19e-05 +/- 7.39e-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/723096/cmap_HighResolution_518227201_518486401_4FGL_J2315.6-5018_daily_bin1076.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.88e-03', comment='SUCCESS', photon_flux='3.70e-08', energy_flux2='6.19e-05', photon_flux_error='3.05e-08', dlogl='1.59e+00', energy_flux='1.22e-05', photon_flux2='1.82e-08', job_status='DONE', time_completed='2021-09-29 10:16:42.175652', photon_index_error2='0.43', photon_index2='1.48', ts='3.72', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='7.39e-05', EG='1.28', time_epoch_completed='1632935802.18', return_code='0', job_id='723096', GAL2='0.73', EG2='1.31', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='1.60e-08', ts2='6.92', photon_index='2.40' WHERE bin_id='1076' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:16:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 723096: <4FGL_J2315.6-5018_daily_bin1076> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1076 348.914 -50.3127 518227201 518486401 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 :                                   905.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             282.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            979 sec.

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

