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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1333
RA = 348.914, Dec = -50.3127
tmin = 584841601, tmax = 585100801
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='724458', job_status='RUN', time_executed='2021-09-29 10:06:38.598307', time_epoch_executed='1632935198.6' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1333'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724458

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724458/ft1_4FGL_J2315.6-5018_daily_bin1333.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724458/ft2_4FGL_J2315.6-5018_daily_bin1333.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724458/ft1_4FGL_J2315.6-5018_daily_bin1333.fits outfile=/scratch/kocevski/724458/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1333.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=584841601.0 tmax=585100801.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 2.92
user 2.72
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724458/ft2_4FGL_J2315.6-5018_daily_bin1333.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/724458/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1333.fits evtable="EVENTS" outfile="/scratch/kocevski/724458/ft1_filtered_4FGL_J2315.6-5018_daily_bin1333.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724458/ft1_filtered_4FGL_J2315.6-5018_daily_bin1333.fits" evtable="EVENTS" scfile=/scratch/kocevski/724458/ft2_4FGL_J2315.6-5018_daily_bin1333.fits sctable="SC_DATA" outfile=/scratch/kocevski/724458/ltcube_584841601_585100801_4FGL_J2315.6-5018_daily_bin1333.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/724458/ft2_4FGL_J2315.6-5018_daily_bin1333.fits
.....................!
real 12.91
user 12.58
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724458/ft1_filtered_4FGL_J2315.6-5018_daily_bin1333.fits evtable="EVENTS" scfile=/scratch/kocevski/724458/ft2_4FGL_J2315.6-5018_daily_bin1333.fits sctable="SC_DATA" expcube=/scratch/kocevski/724458/ltcube_584841601_585100801_4FGL_J2315.6-5018_daily_bin1333.fits outfile=/scratch/kocevski/724458/expmap_584841601_585100801_4FGL_J2315.6-5018_daily_bin1333.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/724458/ltcube_584841601_585100801_4FGL_J2315.6-5018_daily_bin1333.fits
.....................!
real 190.00
user 185.34
sys 4.33

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/724458/ft1_filtered_4FGL_J2315.6-5018_daily_bin1333.fits scfile=/scratch/kocevski/724458/ft2_4FGL_J2315.6-5018_daily_bin1333.fits outfile=/scratch/kocevski/724458/cmap_584841601_585100801_4FGL_J2315.6-5018_daily_bin1333.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.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/724458/ft1_filtered_4FGL_J2315.6-5018_daily_bin1333.fits evtable="EVENTS" scfile=/scratch/kocevski/724458/ft2_4FGL_J2315.6-5018_daily_bin1333.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724458/Model_4FGL_J2315.6-5018_daily_bin1333.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/724458/ft1_filtered_4FGL_J2315.6-5018_daily_bin1333.fits.....................!
real 36.77
user 35.51
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.508       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.161       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4783       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.645       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0958       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.0187       1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.2005       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.1172       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.7592       1.0000         .10000E-03   10000.    
    26 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .20491E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   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 '    .10011E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .80977       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0106       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=   4813.369     FROM MIGRAD    STATUS=CONVERGED    971 CALLS     5083 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.509        28.743        .14273E-06   -.23845E-04
   2  Prefactor     .10000E-03    31.540       -.23240E-05** at limit **
   3  Prefactor     25.161        11.074        .12548E-06   -.79723E-05
   4  Prefactor     5.4780        8.1609        .34762E-06   -.14767E-04
   5  Prefactor     .10000E-03    5.7389        .47235E-06** at limit **
   6  Prefactor     .10000E-03    44.475       -.65967E-07** at limit **
   7  Prefactor     .10000E-03    10.009       -.16217E-05** at limit **
   8  Prefactor     .10000E-03    200.45       -.41849E-05** at limit **
   9  norm          .10000E-03    3.4872       -.10576E-07** at limit **
  10  Prefactor     .10000E-03    6.2395       -.52836E-06** at limit **
  11  Prefactor     36.637        78.095       -.24148E-05   -.43211E-04
  12  Prefactor     7.0951        8.7719        .27705E-05   -.30463E-03
  13  Prefactor     .10000E-03    13.218        .82139E-07** at limit **
  14  Prefactor     .10000E-03    4.9316       -.58289E-07** at limit **
  15  Prefactor     .10000E-03    30.875       -.15233E-05** at limit **
  16  Prefactor     .10000E-03    7.2225       -.42606E-06** at limit **
  17  Prefactor     .10000E-03    13.597       -.11494E-05** at limit **
  18  Prefactor     .10000E-03    6.9479        .82771E-06** at limit **
  19  norm          2.0188        6.9726        .66015E-06   -.46044E-04
  20  norm          .10000E-03    4.1363       -.20913E-06** at limit **
  21  norm          1.1986        3.0109        .35885E-06   -.87582E-04
  22  Prefactor     2.1351        7.5828        .50366E-06   -.15992E-03
  23  Prefactor     .10000E-03    26.950        .20649E-05** at limit **
  24  norm          .10000E-03    1.7072        .15008E-07** at limit **
  25  Prefactor     8.7176        17.762        .14065E-05    .25591E-03
  26  norm          .10000E-03    .37017        .24248E-07** at limit **
  27  norm          .10016E-03    2.0638        .82250E-06** at limit **
  28  Prefactor     .10000E-03    10.706        .21702E-05** at limit **
  29  Prefactor     .10000E-03    1.3464        .43048E-07** at limit **
  30  Prefactor     .10000E-03    20.231       -.11169E-05** at limit **
  31  norm          .10000E-03    6.1546       -.59332E-06** at limit **
  32  Prefactor     .10000E-03    2.6499        .32561E-07** at limit **
  33  Prefactor     .10000E-03    1.2972        .35433E-07** at limit **
  34  Normalizat    .80975        .19099       -.18378E-05   -.90631E-04
  35  Prefactor     1.0107        .19538        .50616E-06   -.18634E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.509
  Prefactor  = 0.000100001
  Prefactor  = 25.1612
  Prefactor  = 5.47796
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.6368
  Prefactor  = 7.09511
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.01884
  norm       = 0.0001
  norm       = 1.19861
  Prefactor  = 2.13507
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 8.71758
  norm       = 0.0001
  norm       = 0.000100155
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.809751
  Prefactor  = 1.01071
 **********
 **   18 **HESSE 
 **********

 FCN=   4813.369     FROM HESSE     STATUS=OK           756 CALLS     5839 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.509        28.826        .52450E-04   -1.4177    
   2  Prefactor     .10000E-03    31.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.161        11.073        .79860E-04   -1.4704    
   4  Prefactor     5.4780        8.1520        .17167E-03   -1.5240    
   5  Prefactor     .10000E-03    5.8862        .16244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    45.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    201.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.4884        .12653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.3619        .33743E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.637        78.064        .66205E-04   -1.4497    
  12  Prefactor     7.0951        9.0953        .75296E-03   -1.5175    
  13  Prefactor     .10000E-03    13.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.9504        .15047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    30.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.2833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.0052        .17895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.0188        6.9542        .29129E-03   -1.5424    
  20  norm          .10000E-03    4.1787        .13772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1986        2.9395        .18598E-03   -1.5489    
  22  Prefactor     2.1351        7.5512        .26975E-03   -1.5416    
  23  Prefactor     .10000E-03    27.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    1.7243        .88416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.7176        18.016        .13544E-03   -1.5117    
  26  norm          .10000E-03    .37922        .82080E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10016E-03    22.974        .18594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    11.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    1.3966        .15712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    20.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    6.1750        .16833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.7036        .11020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    1.3035        .77081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .80975        .22830        .23878E-03   -.99708    
  35  Prefactor     1.0107        .23588        .23014E-03   -.92373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4802e-09
Minuit parameter uncertainties:
  1  28.833
  2  0.000387832
  3  11.0742
  4  8.15368
  5  3.67734e-05
  6  2.00745e-05
  7  0.000140471
  8  0.00183602
  9  2.86665e-07
  10  9.46787e-06
  11  78.2831
  12  9.09707
  13  1.47782e-06
  14  3.88159e-06
  15  0.000266551
  16  1.81375e-05
  17  0.000135719
  18  6.51067e-05
  19  6.95699
  20  5.69995e-06
  21  2.93983
  22  7.55458
  23  0.000298016
  24  3.22177e-06
  25  18.027
  26  1.8232e-06
  27  0.00377918
  28  0.000218945
  29  1.57006e-06
  30  0.000182431
  31  4.57021e-05
  32  5.30777e-06
  33  7.97513e-07
  34  0.228567
  35  0.236116
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  6.511e-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:  1.011e+00  2.361e-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:  8.098e-01  2.286e-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: 5.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724458/likelihoodResults_584841601_585100801_4FGL_J2315.6-5018_daily_bin1333.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) = 4813.37013839
delta logL = -0.000679843299622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4813.36945883
delta logL = -2.81889697362e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10587E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3665       1.0000          .0000       10.000    
     3 'Normalizat'    .80966       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0108       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=   4813.369     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      238 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10356E-03    4.8926        .18142E-01** at limit **
   2  Index         2.2697        6.1288        .50000        .26834E-04
   3  Normalizat    .80975        .33597E-02    .23878E-03    .25139E-04
   4  Prefactor     1.0107        .36011E-02    .23014E-03   -.98799E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103559
  Index      = 2.26968
  Normalizat = 0.80975
  Prefactor  = 1.01071
 **********
 **   18 **HESSE 
 **********

 FCN=   4813.369     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10356E-03    78.696        .19043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2697        8.1908        .50000       -.57766    
   3  Normalizat    .80975        .13513E-01    .95511E-05   -.99708    
   4  Prefactor     1.0107        .14484E-01    .92055E-05   -.92373    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.65569e-09
Minuit parameter uncertainties:
  1  0.0335165
  2  329.991
  3  0.0135131
  4  0.0144839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724458': 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) = 4813.36945786
delta logL = 6.82309291733e-07

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.036e-04  3.352e-02  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.270e+00  3.300e+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:  1.011e+00  1.448e-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:  8.097e-01  1.351e-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/724458/cmap_HighResolution_584841601_585100801_4FGL_J2315.6-5018_daily_bin1333.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-03', job_status='DONE', photon_flux_upper_limit='5.85e-08', time_completed='2021-09-29 10:21:18.984265', job_id='724458', GAL2='1.01', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1632936078.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.82e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1333' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:21:19 PDT 2021


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

Job <4FGL_J2315.6-5018_daily_bin1333> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 10:05:15 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:05:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 10:05:16 2021
Terminated at Wed Sep 29 10:21:19 2021
Results reported at Wed Sep 29 10:21:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1333 348.914 -50.3127 584841601 585100801 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 :                                   828.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            964 sec.

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

