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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1401
RA = 348.914, Dec = -50.3127
tmin = 602467201, tmax = 602726401
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='724556', job_status='RUN', time_executed='2021-09-29 10:05:49.486125', time_epoch_executed='1632935149.49' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1401'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724556

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724556/ft1_4FGL_J2315.6-5018_daily_bin1401.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724556/ft2_4FGL_J2315.6-5018_daily_bin1401.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724556/ft1_4FGL_J2315.6-5018_daily_bin1401.fits outfile=/scratch/kocevski/724556/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1401.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=602467201.0 tmax=602726401.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.24
user 2.99
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724556/ft1_filtered_4FGL_J2315.6-5018_daily_bin1401.fits" evtable="EVENTS" scfile=/scratch/kocevski/724556/ft2_4FGL_J2315.6-5018_daily_bin1401.fits sctable="SC_DATA" outfile=/scratch/kocevski/724556/ltcube_602467201_602726401_4FGL_J2315.6-5018_daily_bin1401.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/724556/ft2_4FGL_J2315.6-5018_daily_bin1401.fits
.....................!
real 12.32
user 11.98
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724556/ft1_filtered_4FGL_J2315.6-5018_daily_bin1401.fits evtable="EVENTS" scfile=/scratch/kocevski/724556/ft2_4FGL_J2315.6-5018_daily_bin1401.fits sctable="SC_DATA" expcube=/scratch/kocevski/724556/ltcube_602467201_602726401_4FGL_J2315.6-5018_daily_bin1401.fits outfile=/scratch/kocevski/724556/expmap_602467201_602726401_4FGL_J2315.6-5018_daily_bin1401.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/724556/ltcube_602467201_602726401_4FGL_J2315.6-5018_daily_bin1401.fits
.....................!
real 190.58
user 185.82
sys 4.40

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/724556/ft1_filtered_4FGL_J2315.6-5018_daily_bin1401.fits scfile=/scratch/kocevski/724556/ft2_4FGL_J2315.6-5018_daily_bin1401.fits outfile=/scratch/kocevski/724556/cmap_602467201_602726401_4FGL_J2315.6-5018_daily_bin1401.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724556/ft1_filtered_4FGL_J2315.6-5018_daily_bin1401.fits scfile=/scratch/kocevski/724556/ft2_4FGL_J2315.6-5018_daily_bin1401.fits outfile=/scratch/kocevski/724556/cmap_HighResolution_602467201_602726401_4FGL_J2315.6-5018_daily_bin1401.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/724556/ft1_filtered_4FGL_J2315.6-5018_daily_bin1401.fits evtable="EVENTS" scfile=/scratch/kocevski/724556/ft2_4FGL_J2315.6-5018_daily_bin1401.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724556/Model_4FGL_J2315.6-5018_daily_bin1401.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/724556/ft1_filtered_4FGL_J2315.6-5018_daily_bin1401.fits......................!
real 18.29
user 17.01
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.841       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.183       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13121E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6996       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10813E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10264E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11671E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    75.341       1.0000         .10000E-03   10000.    
    19 'norm      '    55.230       1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10582E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    112.07       1.0000         .10000E-03   10000.    
    24 'norm      '    .10948E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    39.192       1.0000         .10000E-03   10000.    
    26 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .65872       1.0000         .10000E-03   10000.    
    28 'Prefactor '    91.828       1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.4918       1.0000         .10000E-03   10000.    
    30 'Prefactor '    9.9477       1.0000         .10000E-03   10000.    
    31 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    12.857       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.2373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   979.8015     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     4391 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.844        1.0363       -.10345E-06    .13825E-03
   2  Prefactor     .10002E-03    23.257       -.93968E-05** at limit **
   3  Prefactor     .10000E-03    7.5573        .20518E-05** at limit **
   4  Prefactor     .10001E-03    5.5124        .51149E-06** at limit **
   5  Prefactor     11.186        1.0165       -.17044E-06   -.50734E-04
   6  Prefactor     .11014E-03    47.585        .16381E-04** at limit **
   7  Prefactor     1.6994        1.0783       -.53030E-06   -.22937E-04
   8  Prefactor     .10620E-03    76.955       -.51025E-05** at limit **
   9  norm          .10004E-03    6.4559       -.32240E-05** at limit **
  10  Prefactor     .10000E-03    7.6638       -.11594E-05** at limit **
  11  Prefactor     .10130E-03    43.293        .65825E-05** at limit **
  12  Prefactor     .10008E-03    11.485        .10015E-04** at limit **
  13  Prefactor     .12246E-03    109.93       -.20641E-04** at limit **
  14  Prefactor     .10003E-03    37.141        .95120E-05** at limit **
  15  Prefactor     .10133E-03    85.278       -.91932E-05** at limit **
  16  Prefactor     .10022E-03    11.717        .96028E-05** at limit **
  17  Prefactor     .10275E-03    42.338        .28753E-05** at limit **
  18  Prefactor     75.343        1.1561        .11837E-06   -.56956E-03
  19  norm          55.231        1.0151        .43075E-07   -.14192E-03
  20  norm          .10007E-03    12.940       -.54792E-05** at limit **
  21  norm          .10001E-03    11.710       -.53479E-05** at limit **
  22  Prefactor     .10002E-03    5.6915       -.57096E-06** at limit **
  23  Prefactor     112.02        9.0264       -.15389E-05    .11452E-01
  24  norm          .10000E-03    6.5305       -.12830E-06** at limit **
  25  Prefactor     39.192        1.0021        .60938E-08   -.20417E-04
  26  norm          .10000E-03    1.5216       -.60338E-07** at limit **
  27  norm          .66888        11.592        .21832E-04    .11222E-02
  28  Prefactor     91.830        1.1009        .81735E-07   -.51408E-03
  29  Prefactor     5.4946        1.1033       -.68462E-06   -.23433E-03
  30  Prefactor     9.9496        1.0113       -.11866E-06    .87214E-05
  31  norm          .10053E-03    54.241       -.12094E-04** at limit **
  32  Prefactor     .10000E-03    9.0589        .63994E-06** at limit **
  33  Prefactor     12.857        1.3004       -.13215E-06    .55329E-03
  34  Normalizat    .10000E-01    6.8175        .15896E-04** at limit **
  35  Prefactor     1.2373        .20423       -.32040E-05   -.24472E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.8444
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 11.186
  Prefactor  = 0.000110135
  Prefactor  = 1.69943
  Prefactor  = 0.000106201
  norm       = 0.000100035
  Prefactor  = 0.0001
  Prefactor  = 0.000101301
  Prefactor  = 0.000100084
  Prefactor  = 0.000122461
  Prefactor  = 0.000100031
  Prefactor  = 0.000101335
  Prefactor  = 0.000100218
  Prefactor  = 0.000102753
  Prefactor  = 75.3434
  norm       = 55.2308
  norm       = 0.000100073
  norm       = 0.000100014
  Prefactor  = 0.000100018
  Prefactor  = 112.02
  norm       = 0.0001
  Prefactor  = 39.1919
  norm       = 0.0001
  norm       = 0.668881
  Prefactor  = 91.8301
  Prefactor  = 5.49457
  Prefactor  = 9.94958
  norm       = 0.000100534
  Prefactor  = 0.0001
  Prefactor  = 12.8568
  Normalizat = 0.01
  Prefactor  = 1.23734
 **********
 **   18 **HESSE 
 **********

 FCN=   979.8015     FROM HESSE     STATUS=OK           838 CALLS     5229 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.844        29.701        .20509E-02   -1.4731    
   2  Prefactor     .10002E-03    26.398        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.5523        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    18.395        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.186        9.9339        .29950E-02   -1.5039    
   6  Prefactor     .11014E-03    149.82        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6994        25.672        .80672E-02   -1.5447    
   8  Prefactor     .10620E-03    253.32        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10004E-03    18.500        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.6653        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10130E-03    108.74        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10008E-03    12.829        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12246E-03    336.78        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    39.376        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10133E-03    271.90        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10022E-03    21.005        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10275E-03    102.74        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     75.343        73.031        .11565E-02   -1.3970    
  19  norm          55.231        49.624        .13494E-02   -1.4220    
  20  norm          .10007E-03    14.257        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10001E-03    11.919        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10002E-03    18.767        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     112.02        83.103        .94998E-03   -1.3587    
  24  norm          .10000E-03    6.5152        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     39.192        37.185        .16006E-02   -1.4455    
  26  norm          .10000E-03    1.5177        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .66888        15.107        .11903E-01   -1.5544    
  28  Prefactor     91.830        91.682        .10484E-02   -1.3788    
  29  Prefactor     5.4946        8.5066        .42863E-02   -1.5239    
  30  Prefactor     9.9496        31.834        .31762E-02   -1.5077    
  31  norm          .10053E-03    58.963        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    8.9941        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     12.857        7.3601        .27928E-02   -1.4991    
  34  Normalizat    .10000E-01    1.1114        .17149       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     1.2373        .34855        .33803E-01   -.85190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88054e-07
Minuit parameter uncertainties:
  1  29.7189
  2  0.0014682
  3  0.000116586
  4  0.000923002
  5  9.93532
  6  0.0781311
  7  13.2166
  8  0.0796085
  9  0.00161609
  10  7.52418e-05
  11  0.0238313
  12  0.00207215
  13  0.174942
  14  0.00221434
  15  0.0382777
  16  0.00428061
  17  0.0336959
  18  73.1178
  19  49.661
  20  0.00204703
  21  0.000815353
  22  0.00116626
  23  83.1895
  24  3.03809e-05
  25  37.2069
  26  1.56498e-06
  27  6.35888
  28  91.8239
  29  8.50846
  30  31.8879
  31  0.011229
  32  5.38348e-05
  33  7.36057
  34  1.63691e-06
  35  0.349205
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  7.534e+01  7.312e+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:  1.237e+00  3.492e-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.000e-02  1.637e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.48
Ra Dec: 348.914 -50.313
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.68e-07 +/- 1.63e-07
Energy Flux (Fixed Index): 5.53e-05 +/- 5.37e-05

TS (Fixed Index): 2.48
Ra Dec: 348.914 -50.313
Photon Flux Upper Limit: 6.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724556/likelihoodResults_602467201_602726401_4FGL_J2315.6-5018_daily_bin1401.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) = 979.709201521
delta logL = 0.0922890458301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 979.708964926
delta logL = 0.0925256405268

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.656       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8401       1.0000          .0000       10.000    
     3 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2315       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=   979.7090     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      302 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.659        87.973        .61380E-04   -.10984E-03
   2  Index         2.8401        1.2018        .33475E-02   -.58388E-04
   3  Normalizat    .10000E-01    2.1027        .11511E-01** at limit **
   4  Prefactor     1.2315        .20616        .18827E-03    .36231E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.6588
  Index      = 2.84012
  Normalizat = 0.01
  Prefactor  = 1.23151
 **********
 **   18 **HESSE 
 **********

 FCN=   979.7090     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.659        79.772        .12276E-04   -1.4401    
   2  Index         2.8401        1.0915        .13390E-03   -.44668    
   3  Normalizat    .10000E-01    2.1104        .23022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2315        .20422        .75309E-05   -.85367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50966e-11
Minuit parameter uncertainties:
  1  79.972
  2  1.10241
  3  6.30138e-06
  4  0.20435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724556': 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) = 979.708964341
delta logL = 0.0925262256233

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  4.266e+01  7.997e+01  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.840e+00  1.102e+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:  1.232e+00  2.043e-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.000e-02  6.301e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 348.914 -50.313
Photon Index (Free Index): 2.84 +/- 1.10
Photon Flux (Free Index): 2.09e-07 +/- 2.05e-07
Energy Flux (Free Index): 4.56e-05 +/- 4.31e-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/724556/cmap_HighResolution_602467201_602726401_4FGL_J2315.6-5018_daily_bin1401.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-02', comment='SUCCESS', photon_flux='1.68e-07', energy_flux2='4.56e-05', photon_flux_error='1.63e-07', dlogl='9.25e-02', energy_flux='5.53e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2021-09-29 10:13:00.666738', photon_index_error2='1.10', photon_index2='2.84', ts='2.48', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='6.11e-07', energy_flux_error2='4.31e-05', EG='0.01', time_epoch_completed='1632935580.67', return_code='0', job_id='724556', GAL2='1.23', EG2='0.01', return_code2='0', energy_flux_error='5.37e-05', photon_flux_error2='2.05e-07', ts2='2.67', photon_index='2.40' WHERE bin_id='1401' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:13:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 724556: <4FGL_J2315.6-5018_daily_bin1401> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1401> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 10:05:24 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:05: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:05:25 2021
Terminated at Wed Sep 29 10:13:01 2021
Results reported at Wed Sep 29 10:13:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1401 348.914 -50.3127 602467201 602726401 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 :                                   425.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   455 sec.
    Turnaround time :                            457 sec.

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

