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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1279
RA = 348.914, Dec = -50.3127
tmin = 570844801, tmax = 571104001
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='723409', job_status='RUN', time_executed='2021-09-29 10:01:35.592992', time_epoch_executed='1632934895.59' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1279'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723409

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723409/ft1_4FGL_J2315.6-5018_daily_bin1279.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723409/ft2_4FGL_J2315.6-5018_daily_bin1279.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723409/ft1_4FGL_J2315.6-5018_daily_bin1279.fits outfile=/scratch/kocevski/723409/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1279.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=570844801.0 tmax=571104001.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.04
user 2.85
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723409/ft1_filtered_4FGL_J2315.6-5018_daily_bin1279.fits" evtable="EVENTS" scfile=/scratch/kocevski/723409/ft2_4FGL_J2315.6-5018_daily_bin1279.fits sctable="SC_DATA" outfile=/scratch/kocevski/723409/ltcube_570844801_571104001_4FGL_J2315.6-5018_daily_bin1279.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/723409/ft2_4FGL_J2315.6-5018_daily_bin1279.fits
.....................!
real 12.49
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723409/ft1_filtered_4FGL_J2315.6-5018_daily_bin1279.fits evtable="EVENTS" scfile=/scratch/kocevski/723409/ft2_4FGL_J2315.6-5018_daily_bin1279.fits sctable="SC_DATA" expcube=/scratch/kocevski/723409/ltcube_570844801_571104001_4FGL_J2315.6-5018_daily_bin1279.fits outfile=/scratch/kocevski/723409/expmap_570844801_571104001_4FGL_J2315.6-5018_daily_bin1279.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/723409/ltcube_570844801_571104001_4FGL_J2315.6-5018_daily_bin1279.fits
.....................!
real 190.80
user 186.00
sys 4.37

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/723409/ft1_filtered_4FGL_J2315.6-5018_daily_bin1279.fits scfile=/scratch/kocevski/723409/ft2_4FGL_J2315.6-5018_daily_bin1279.fits outfile=/scratch/kocevski/723409/cmap_570844801_571104001_4FGL_J2315.6-5018_daily_bin1279.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/723409/ft1_filtered_4FGL_J2315.6-5018_daily_bin1279.fits scfile=/scratch/kocevski/723409/ft2_4FGL_J2315.6-5018_daily_bin1279.fits outfile=/scratch/kocevski/723409/cmap_HighResolution_570844801_571104001_4FGL_J2315.6-5018_daily_bin1279.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/723409/ft1_filtered_4FGL_J2315.6-5018_daily_bin1279.fits evtable="EVENTS" scfile=/scratch/kocevski/723409/ft2_4FGL_J2315.6-5018_daily_bin1279.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723409/Model_4FGL_J2315.6-5018_daily_bin1279.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/723409/ft1_filtered_4FGL_J2315.6-5018_daily_bin1279.fits.....................!
real 24.87
user 23.53
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.444       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     9 'norm      '    1198.1       1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.581       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .35562E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    103.76       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    17.360       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.3500       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    6.6466       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.4531       1.0000         .10000E-03   10000.    
    27 'norm      '    12.413       1.0000         .10000E-03   10000.    
    28 'Prefactor '    43.713       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    20.995       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 '    .10022E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .63749E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.5698       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=   2260.926     FROM MIGRAD    STATUS=CONVERGED   1770 CALLS     7652 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.795        .15942E-02** at limit **
   2  Prefactor     .10000E-03    94.955        .18142E-02** at limit **
   3  Prefactor     .10000E-03    4.4331        .97542E-03** at limit **
   4  Prefactor     16.446        11.305        .98769E-04    .13341E-03
   5  Prefactor     .10000E-03    2.8179        .77927E-03** at limit **
   6  Prefactor    10000.0        685.24        .18142E-02** at limit **
   7  Prefactor     .10000E-03    27.092        .18142E-02** at limit **
   8  Prefactor    10000.0        6946.6        .18142E-02** at limit **
   9  norm          1198.4        1382.0        .61588E-04    .74576E-05
  10  Prefactor     43.527        59.430        .60728E-04    .61778E-05
  11  Prefactor     .10001E-03    6225.9        .18142E-02** at limit **
  12  Prefactor     .10000E-03    267.77        .21316E-02** at limit **
  13  Prefactor     .10000E-03    83.278        .18142E-02** at limit **
  14  Prefactor     .10000E-03    67.959        .18142E-02** at limit **
  15  Prefactor     .10000E-03    209.64        .18142E-02** at limit **
  16  Prefactor     .10000E-03    10.338        .14929E-02** at limit **
  17  Prefactor     103.56        165.44        .19737E-03   -.59040E-05
  18  Prefactor     .10000E-03    56.852        .18142E-02** at limit **
  19  norm          17.362        17.473        .96126E-04    .12182E-04
  20  norm          .10000E-03    4.8318        .10206E-02** at limit **
  21  norm          .10000E-03    3.3128        .84515E-03** at limit **
  22  Prefactor     1.3501        11.270        .30142E-03    .57010E-04
  23  Prefactor     .10000E-03    32.246        .18142E-02** at limit **
  24  norm          6.6469        8.0353        .12883E-03    .11243E-03
  25  Prefactor     .10000E-03    27.891        .18142E-02** at limit **
  26  norm          1.4533        1.4344        .53546E-04    .15403E-03
  27  norm          12.415        9.5152        .10991E-03    .16979E-03
  28  Prefactor     43.716        26.167        .60637E-04    .11767E-03
  29  Prefactor     .10000E-03    3.9446        .14573E-02** at limit **
  30  Prefactor     20.999        29.988        .87414E-04    .36741E-04
  31  norm          .10000E-03    11.241        .15570E-02** at limit **
  32  Prefactor     .10000E-03    1.9389        .64554E-03** at limit **
  33  Prefactor     .10000E-03    5.3903        .21081E-03** at limit **
  34  Normalizat    .64611E-01    .89417        .77764E-02    .46312E-04
  35  Prefactor     1.5694        .48303        .20791E-03    .80512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.4461
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 10000
  norm       = 1198.37
  Prefactor  = 43.5273
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 103.563
  Prefactor  = 0.0001
  norm       = 17.3624
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.35008
  Prefactor  = 0.0001
  norm       = 6.64692
  Prefactor  = 0.0001
  norm       = 1.45335
  norm       = 12.4146
  Prefactor  = 43.7155
  Prefactor  = 0.0001
  Prefactor  = 20.9993
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.0646108
  Prefactor  = 1.56942
 **********
 **   18 **HESSE 
 **********

 FCN=   2260.926     FROM HESSE     STATUS=OK           738 CALLS     8390 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.796        .31884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    95.005        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.4333        .19508E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.446        11.206        .39507E-05   -1.4897    
   5  Prefactor     .10000E-03    2.8179        .15585E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        685.24        .36285E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.092        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        6946.3        .36285E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1198.4        1381.9        .12318E-04   -.86381    
  10  Prefactor     43.527        59.386        .24291E-05   -1.4388    
  11  Prefactor     .10001E-03    6226.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    267.88        .42633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    83.278        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    67.959        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    209.64        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.338        .29858E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     103.56        165.38        .78949E-05   -1.3669    
  18  Prefactor     .10000E-03    56.892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          17.362        17.473        .38450E-05   -1.4874    
  20  norm          .10000E-03    4.8318        .20411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.3128        .16903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.3501        11.236        .12057E-04   -1.5476    
  23  Prefactor     .10000E-03    32.247        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.6469        8.0191        .51531E-05   -1.5192    
  25  Prefactor     .10000E-03    27.899        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.4533        1.4342        .21419E-05   -1.5467    
  27  norm          12.415        9.4911        .43963E-05   -1.5003    
  28  Prefactor     43.716        25.944        .12127E-04   -1.4385    
  29  Prefactor     .10000E-03    3.9508        .29145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     20.999        29.796        .34966E-05   -1.4791    
  31  norm          .10000E-03    11.241        .31140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.9389        .12911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    5.3904        .42162E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .64611E-01    .65446        .31105E-03   -1.4228    
  35  Prefactor     1.5694        .41740        .41582E-04   -.75614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96875e-10
Minuit parameter uncertainties:
  1  1.63479e-05
  2  5.46599e-05
  3  6.02178e-06
  4  11.2072
  5  2.45843e-06
  6  0.00127235
  7  2.93284e-05
  8  0.0316767
  9  1427.41
  10  59.4665
  11  0.0121917
  12  8.17271e-05
  13  7.08922e-05
  14  0.000116658
  15  0.000124603
  16  9.30474e-06
  17  166.123
  18  5.39483e-06
  19  17.4777
  20  1.42887e-06
  21  5.91779e-07
  22  7.79115
  23  4.04291e-05
  24  8.02044
  25  3.21434e-05
  26  1.43419
  27  9.49226
  28  25.951
  29  3.47987e-05
  30  29.8173
  31  3.53229e-06
  32  4.04992e-06
  33  3.17963e-05
  34  0.383463
  35  0.418324
Done.

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

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  5.395e-06  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.569e+00  4.183e-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:  6.461e-02  3.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/723409/likelihoodResults_570844801_571104001_4FGL_J2315.6-5018_daily_bin1279.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) = 2260.92592152
delta logL = -8.36997792248e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2260.92583768
delta logL = 1.37956249091e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10536E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6509       1.0000          .0000       10.000    
     3 'Normalizat'    .64611E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5694       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=   2260.926     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      265 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .39346        .90712E-01** at limit **
   2  Index         2.6661        7.1223        .50000       -.17294E-05
   3  Normalizat    .64608E-01    .92672E-03    .20126        .51481E-04
   4  Prefactor     1.5694        .12235E-02    .47040E-01   -.26013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.66613
  Normalizat = 0.0646078
  Prefactor  = 1.56942
 **********
 **   18 **HESSE 
 **********

 FCN=   2260.926     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      302 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    139.50        .34654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6661        6.2021        .50000       -.48564    
   3  Normalizat    .64608E-01    .88266E-02    .77767E-02   -1.4228    
   4  Prefactor     1.5694        .10145E-01    .20791E-03   -.75614    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.03603e-09
Minuit parameter uncertainties:
  1  0.000942756
  2  197.845
  3  0.00882683
  4  0.0101451
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723409': 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) = 2260.92583763
delta logL = 1.92422703549e-07

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  9.428e-04  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.666e+00  1.978e+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.569e+00  1.015e-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:  6.461e-02  8.827e-03  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/723409/cmap_HighResolution_570844801_571104001_4FGL_J2315.6-5018_daily_bin1279.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-29 10:12:56.078796', job_id='723409', GAL2='1.57', fit_tolerance='1e-08', EG2='0.06', EG='0.06', time_epoch_completed='1632935576.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.57', dlogl='1.92e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1279' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:12:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 723409: <4FGL_J2315.6-5018_daily_bin1279> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1279> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 10:00:51 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:00:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 10:00:53 2021
Terminated at Wed Sep 29 10:12:56 2021
Results reported at Wed Sep 29 10:12:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1279 348.914 -50.3127 570844801 571104001 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 :                                   677.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            725 sec.

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

