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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1518
RA = 348.914, Dec = -50.3127
tmin = 632793601, tmax = 633052801
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='724724', job_status='RUN', time_executed='2021-09-29 10:06:00.682462', time_epoch_executed='1632935160.68' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724724

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724724/ft1_4FGL_J2315.6-5018_daily_bin1518.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724724/ft2_4FGL_J2315.6-5018_daily_bin1518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724724/ft1_4FGL_J2315.6-5018_daily_bin1518.fits outfile=/scratch/kocevski/724724/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1518.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=632793601.0 tmax=633052801.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.62
user 3.37
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724724/ft2_4FGL_J2315.6-5018_daily_bin1518.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/724724/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1518.fits evtable="EVENTS" outfile="/scratch/kocevski/724724/ft1_filtered_4FGL_J2315.6-5018_daily_bin1518.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/724724/ft1_filtered_4FGL_J2315.6-5018_daily_bin1518.fits" evtable="EVENTS" scfile=/scratch/kocevski/724724/ft2_4FGL_J2315.6-5018_daily_bin1518.fits sctable="SC_DATA" outfile=/scratch/kocevski/724724/ltcube_632793601_633052801_4FGL_J2315.6-5018_daily_bin1518.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/724724/ft2_4FGL_J2315.6-5018_daily_bin1518.fits
.....................!
real 12.09
user 11.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724724/ft1_filtered_4FGL_J2315.6-5018_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/724724/ft2_4FGL_J2315.6-5018_daily_bin1518.fits sctable="SC_DATA" expcube=/scratch/kocevski/724724/ltcube_632793601_633052801_4FGL_J2315.6-5018_daily_bin1518.fits outfile=/scratch/kocevski/724724/expmap_632793601_633052801_4FGL_J2315.6-5018_daily_bin1518.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/724724/ltcube_632793601_633052801_4FGL_J2315.6-5018_daily_bin1518.fits
.....................!
real 190.67
user 185.13
sys 5.18

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/724724/ft1_filtered_4FGL_J2315.6-5018_daily_bin1518.fits scfile=/scratch/kocevski/724724/ft2_4FGL_J2315.6-5018_daily_bin1518.fits outfile=/scratch/kocevski/724724/cmap_632793601_633052801_4FGL_J2315.6-5018_daily_bin1518.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/724724/ft1_filtered_4FGL_J2315.6-5018_daily_bin1518.fits scfile=/scratch/kocevski/724724/ft2_4FGL_J2315.6-5018_daily_bin1518.fits outfile=/scratch/kocevski/724724/cmap_HighResolution_632793601_633052801_4FGL_J2315.6-5018_daily_bin1518.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/724724/ft1_filtered_4FGL_J2315.6-5018_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/724724/ft2_4FGL_J2315.6-5018_daily_bin1518.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724724/Model_4FGL_J2315.6-5018_daily_bin1518.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/724724/ft1_filtered_4FGL_J2315.6-5018_daily_bin1518.fits.....................!
real 38.09
user 36.79
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28167E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6191       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9390       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.387       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.1896       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3891       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.729       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1109       1.0000         .10000E-03   10000.    
    19 'norm      '    24.560       1.0000         .10000E-03   10000.    
    20 'norm      '    8.2819       1.0000         .10000E-03   10000.    
    21 'norm      '    6.2875       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.2156       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10007E-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      '    .10005E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    2.9495       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.8244       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .31417       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=   4697.410     FROM MIGRAD    STATUS=CONVERGED    978 CALLS     4318 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    98.630       -.16555E-05** at limit **
   2  Prefactor     .10001E-03    97.712        .54054E-05** at limit **
   3  Prefactor     .10000E-03    4.4300       -.15261E-06** at limit **
   4  Prefactor     .10000E-03    2.9448        .18650E-07** at limit **
   5  Prefactor     .10000E-03    11.860       -.43971E-06** at limit **
   6  Prefactor     .10000E-03    9.8646        .91609E-07** at limit **
   7  Prefactor     5.6197        6.4155        .29886E-06   -.13920E-04
   8  Prefactor     .10000E-03    155.62       -.28555E-05** at limit **
   9  norm          .10000E-03    3.3367        .64691E-08** at limit **
  10  Prefactor     2.9388        2.8803        .18379E-07    .17617E-04
  11  Prefactor     10.325        34.056       -.48008E-05   -.17934E-03
  12  Prefactor     8.1883        7.7094        .15646E-06   -.33696E-04
  13  Prefactor     .10001E-03    32.966        .39317E-05** at limit **
  14  Prefactor     8.3899        14.561        .29880E-06   -.26702E-04
  15  Prefactor     .10001E-03    39.398       -.48350E-05** at limit **
  16  Prefactor     .10000E-03    4.3162        .83130E-07** at limit **
  17  Prefactor     34.730        37.322       -.11599E-06    .72750E-06
  18  Prefactor     4.1075        12.245        .65022E-05   -.32353E-03
  19  norm          24.560        16.975       -.17456E-07   -.46949E-05
  20  norm          8.2821        5.9868       -.17817E-06   -.25197E-04
  21  norm          6.2897        7.6874       -.58747E-06    .62078E-05
  22  Prefactor     .10000E-03    2.0942       -.28608E-07** at limit **
  23  Prefactor     .10000E-03    36.729        .14044E-06** at limit **
  24  norm          1.2105        6.3886        .16179E-05   -.11194E-03
  25  Prefactor     .10000E-03    5.0468       -.69940E-07** at limit **
  26  norm          .10000E-03    .29600       -.46192E-07** at limit **
  27  norm          .10000E-03    2.8959       -.91430E-07** at limit **
  28  Prefactor     .10000E-03    4.6887        .12625E-06** at limit **
  29  Prefactor     .10000E-03    1.1764       -.76199E-08** at limit **
  30  Prefactor     .10000E-03    13.042        .47119E-06** at limit **
  31  norm          .10000E-03    23.123       -.81510E-06** at limit **
  32  Prefactor     .10000E-03    1.3776        .10670E-07** at limit **
  33  Prefactor     2.9511        6.3456        .32405E-06   -.15850E-03
  34  Normalizat    1.8247        .24354       -.26536E-06   -.48553E-04
  35  Prefactor     .31386        .23023       -.88041E-06   -.51905E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.61972
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 2.93878
  Prefactor  = 10.3251
  Prefactor  = 8.18828
  Prefactor  = 0.000100006
  Prefactor  = 8.38985
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 34.7303
  Prefactor  = 4.10745
  norm       = 24.56
  norm       = 8.28209
  norm       = 6.28972
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.21054
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.95111
  Normalizat = 1.82471
  Prefactor  = 0.313863
 **********
 **   18 **HESSE 
 **********

 FCN=   4697.410     FROM HESSE     STATUS=OK           760 CALLS     5078 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    102.39        .42832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    100.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.4404        .14091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9485        .11486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.9392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.6197        6.4101        .16947E-03   -1.5234    
   8  Prefactor     .10000E-03    156.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.3384        .12227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.9388        2.8868        .11192E-03   -1.5365    
  11  Prefactor     10.325        35.048        .12432E-03   -1.5065    
  12  Prefactor     8.1883        7.7141        .14009E-03   -1.5136    
  13  Prefactor     .10001E-03    33.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.3899        14.518        .13841E-03   -1.5129    
  15  Prefactor     .10001E-03    40.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3389        .13908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     34.730        37.325        .68001E-04   -1.4529    
  18  Prefactor     4.1075        12.670        .99412E-03   -1.5303    
  19  norm          24.560        16.966        .80829E-04   -1.4716    
  20  norm          8.2821        5.9886        .13910E-03   -1.5132    
  21  norm          6.2897        7.7077        .15511E-03   -1.5206    
  22  Prefactor     .10000E-03    2.0980        .96861E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    36.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.2105        6.3968        .25441E-03   -1.5488    
  25  Prefactor     .10000E-03    5.0536        .15038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .29854        .36419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    2.9314        .11377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    4.6943        .14495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    1.1815        .72583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    13.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    23.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.3815        .78555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     2.9511        6.4001        .23647E-03   -1.5364    
  34  Normalizat    1.8247        .26070        .19902E-03   -.69020    
  35  Prefactor     .31386        .24036        .42590E-03   -1.2146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49583e-09
Minuit parameter uncertainties:
  1  0.000325899
  2  0.00211307
  3  1.46432e-05
  4  2.87796e-07
  5  5.97355e-05
  6  3.79057e-06
  7  6.41089
  8  0.00155818
  9  5.62301e-07
  10  2.88689
  11  35.1183
  12  7.71507
  13  0.000914166
  14  14.5245
  15  0.00130174
  16  1.33976e-05
  17  37.3496
  18  12.6782
  19  16.969
  20  5.98903
  21  7.70892
  22  1.96922e-06
  23  2.91972e-05
  24  5.56615
  25  6.78085e-06
  26  1.20453e-06
  27  6.94937e-06
  28  1.01558e-05
  29  6.96492e-07
  30  7.15256e-05
  31  0.000160496
  32  1.61537e-07
  33  6.40159
  34  0.260903
  35  0.241132
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  4.107e+00  1.268e+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:  3.139e-01  2.411e-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.825e+00  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 348.914 -50.313
Photon Flux Upper Limit: 9.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724724/likelihoodResults_632793601_633052801_4FGL_J2315.6-5018_daily_bin1518.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) = 4697.10108156
delta logL = 0.30890859418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4696.94848054
delta logL = 0.461509617732

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21190E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    6.8291       1.0000          .0000       10.000    
     3 'Normalizat'    1.7703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .35395       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=   4696.948     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      370 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21165E-02    .39771E-01    .10088E-02** at limit **
   2  Index         6.8311        2.4801        .15881        .67992E-04
   3  Normalizat    1.7704        .37703E-01    .45532E-01   -.21690E-04
   4  Prefactor     .35392        .36597E-01    .90845E-01    .37158E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00211647
  Index      = 6.83113
  Normalizat = 1.77041
  Prefactor  = 0.353918
 **********
 **   18 **HESSE 
 **********

 FCN=   4696.948     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      405 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21165E-02    .14937        .38318E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.8311        8.2196        .54013E-02    .37495    
   3  Normalizat    1.7704        .17504        .20125E-03   -.70439    
   4  Prefactor     .35392        .16718        .40253E-03   -1.1923    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.42988e-07
Minuit parameter uncertainties:
  1  0.03471
  2  7.19863
  3  0.175098
  4  0.167406
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724724': 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) = 4696.94847554
delta logL = 0.461514620668

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  3.539e-01  1.674e-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.770e+00  1.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 348.914 -50.313
Photon Index (Free Index): 6.83 +/- 7.20
Photon Flux (Free Index): 4.71e-08 +/- 5.22e-08
Energy Flux (Free Index): 5.66e-06 +/- 6.89e-06

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/724724/cmap_HighResolution_632793601_633052801_4FGL_J2315.6-5018_daily_bin1518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', comment='SUCCESS', energy_flux2='5.66e-06', dlogl='4.62e-01', photon_flux2='4.71e-08', job_status='DONE', time_completed='2021-09-29 10:19:40.639342', photon_index_error2='7.20', photon_index2='6.83', ts='0.13', fit_tolerance='1e-08', GAL='0.31', photon_index_error='0.00', photon_flux_upper_limit='9.22e-08', energy_flux_error2='6.89e-06', EG='1.82', time_epoch_completed='1632935980.64', return_code='0', job_id='724724', GAL2='0.35', EG2='1.77', return_code2='102', photon_flux_error2='5.22e-08', ts2='1.09', photon_index='2.40' WHERE bin_id='1518' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:19:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 724724: <4FGL_J2315.6-5018_daily_bin1518> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1518> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 10:05:36 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:05:37 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:37 2021
Terminated at Wed Sep 29 10:19:40 2021
Results reported at Wed Sep 29 10:19:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1518 348.914 -50.3127 632793601 633052801 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 :                                   806.05 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             299.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            844 sec.

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

