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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1245
RA = 348.914, Dec = -50.3127
tmin = 562032001, tmax = 562291201
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='723357', job_status='RUN', time_executed='2021-09-29 10:02:27.094264', time_epoch_executed='1632934947.09' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1245'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723357

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723357/ft1_4FGL_J2315.6-5018_daily_bin1245.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723357/ft2_4FGL_J2315.6-5018_daily_bin1245.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723357/ft1_4FGL_J2315.6-5018_daily_bin1245.fits outfile=/scratch/kocevski/723357/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1245.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=562032001.0 tmax=562291201.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.56
user 3.36
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723357/ft1_filtered_4FGL_J2315.6-5018_daily_bin1245.fits" evtable="EVENTS" scfile=/scratch/kocevski/723357/ft2_4FGL_J2315.6-5018_daily_bin1245.fits sctable="SC_DATA" outfile=/scratch/kocevski/723357/ltcube_562032001_562291201_4FGL_J2315.6-5018_daily_bin1245.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/723357/ft2_4FGL_J2315.6-5018_daily_bin1245.fits
.....................!
real 11.84
user 11.37
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723357/ft1_filtered_4FGL_J2315.6-5018_daily_bin1245.fits evtable="EVENTS" scfile=/scratch/kocevski/723357/ft2_4FGL_J2315.6-5018_daily_bin1245.fits sctable="SC_DATA" expcube=/scratch/kocevski/723357/ltcube_562032001_562291201_4FGL_J2315.6-5018_daily_bin1245.fits outfile=/scratch/kocevski/723357/expmap_562032001_562291201_4FGL_J2315.6-5018_daily_bin1245.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/723357/ltcube_562032001_562291201_4FGL_J2315.6-5018_daily_bin1245.fits
.....................!
real 191.04
user 185.65
sys 4.92

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/723357/ft1_filtered_4FGL_J2315.6-5018_daily_bin1245.fits scfile=/scratch/kocevski/723357/ft2_4FGL_J2315.6-5018_daily_bin1245.fits outfile=/scratch/kocevski/723357/cmap_562032001_562291201_4FGL_J2315.6-5018_daily_bin1245.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.60
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/723357/ft1_filtered_4FGL_J2315.6-5018_daily_bin1245.fits evtable="EVENTS" scfile=/scratch/kocevski/723357/ft2_4FGL_J2315.6-5018_daily_bin1245.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/723357/Model_4FGL_J2315.6-5018_daily_bin1245.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/723357/ft1_filtered_4FGL_J2315.6-5018_daily_bin1245.fits.....................!
real 39.35
user 37.92
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    80.481       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.207       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10312E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6865       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0752       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.673       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3999       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.514       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2960       1.0000         .10000E-03   10000.    
    19 'norm      '    6.9519       1.0000         .10000E-03   10000.    
    20 'norm      '    .14700E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.7972       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    18.081       1.0000         .10000E-03   10000.    
    24 'norm      '    .19877       1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.897       1.0000         .10000E-03   10000.    
    26 'norm      '    .63804       1.0000         .10000E-03   10000.    
    27 'norm      '    .19186       1.0000         .10000E-03   10000.    
    28 'Prefactor '    18.124       1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.6838       1.0000         .10000E-03   10000.    
    30 'Prefactor '    9.4662       1.0000         .10000E-03   10000.    
    31 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .90227       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .79226       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=   4912.732     FROM MIGRAD    STATUS=CONVERGED   1035 CALLS     5214 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.675        .50976E-07** at limit **
   2  Prefactor     80.444        46.656       -.36431E-06   -.65709E-05
   3  Prefactor     .10000E-03    3.0251       -.54427E-07** at limit **
   4  Prefactor     .10000E-03    1.9427        .20387E-07** at limit **
   5  Prefactor     .10000E-03    2.3812        .24368E-07** at limit **
   6  Prefactor     .10000E-03    7.3437        .12993E-06** at limit **
   7  Prefactor     12.207        5.0118        .12334E-06    .34706E-04
   8  Prefactor     .10000E-03    33.757       -.21459E-06** at limit **
   9  norm          .10000E-03    10.849       -.11332E-06** at limit **
  10  Prefactor     8.6860        4.5450       -.45799E-07   -.32657E-04
  11  Prefactor     .10000E-03    19.517       -.17699E-06** at limit **
  12  Prefactor     3.0730        4.7873        .72528E-06    .96334E-04
  13  Prefactor     12.692        22.413       -.11782E-05    .21562E-04
  14  Prefactor     .10000E-03    4.0136        .31833E-06** at limit **
  15  Prefactor     .10000E-03    232.41       -.60552E-05** at limit **
  16  Prefactor     3.3983        5.9659        .30777E-05    .23542E-03
  17  Prefactor     21.513        26.892        .51933E-07    .20759E-05
  18  Prefactor     2.2936        14.999        .73092E-06   -.93044E-05
  19  norm          6.9505        6.9958       -.46970E-07   -.15562E-04
  20  norm          .10000E-03    5.4548       -.35115E-08** at limit **
  21  norm          1.8130        4.0203        .25544E-05    .25881E-03
  22  Prefactor     .10000E-03    11.132        .61203E-06** at limit **
  23  Prefactor     18.546        34.960       -.22195E-05   -.48170E-04
  24  norm          .11625        4.3566       -.19185E-05    .89844E-03
  25  Prefactor     10.900        12.564       -.23723E-06   -.17537E-03
  26  norm          .63763        1.3422       -.23127E-06   -.81402E-03
  27  norm          .17950        2.4084        .17683E-06    .17820E-03
  28  Prefactor     18.123        18.967        .20261E-05   -.59388E-04
  29  Prefactor     5.6848        4.0300       -.13221E-06   -.98506E-04
  30  Prefactor     9.4577        27.550        .20115E-05   -.10653E-04
  31  norm          .10000E-03    6.8924       -.17470E-07** at limit **
  32  Prefactor     .10000E-03    1.5588       -.13007E-06** at limit **
  33  Prefactor     .10000E-03    3.5804        .14685E-07** at limit **
  34  Normalizat    .90208        .19578        .26711E-06   -.54244E-04
  35  Prefactor     .79259        .19171       -.16617E-05   -.57780E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 80.4443
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.2069
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.686
  Prefactor  = 0.0001
  Prefactor  = 3.07297
  Prefactor  = 12.6925
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 3.39831
  Prefactor  = 21.5125
  Prefactor  = 2.29365
  norm       = 6.95051
  norm       = 0.000100001
  norm       = 1.81296
  Prefactor  = 0.0001
  Prefactor  = 18.5465
  norm       = 0.116249
  Prefactor  = 10.8996
  norm       = 0.637628
  norm       = 0.179503
  Prefactor  = 18.123
  Prefactor  = 5.68484
  Prefactor  = 9.45767
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.902081
  Prefactor  = 0.792594
 **********
 **   18 **HESSE 
 **********

 FCN=   4912.732     FROM HESSE     STATUS=OK           782 CALLS     5996 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     80.444        46.758        .44769E-04   -1.3912    
   3  Prefactor     .10000E-03    3.0298        .11906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.9436        .95405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.3821        .10563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.5429        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.207        5.0121        .96427E-04   -1.5009    
   8  Prefactor     .10000E-03    33.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.294        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.6860        4.5466        .10237E-03   -1.5118    
  11  Prefactor     .10000E-03    19.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.0730        4.7649        .17869E-03   -1.5357    
  13  Prefactor     12.692        22.396        .11252E-03   -1.4995    
  14  Prefactor     .10000E-03    4.0270        .13716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    231.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3983        5.9610        .10911E-02   -1.5339    
  17  Prefactor     21.513        26.889        .86355E-04   -1.4780    
  18  Prefactor     2.2936        14.350        .27086E-03   -1.5405    
  19  norm          6.9505        6.9999        .15216E-03   -1.5181    
  20  norm          .10000E-03    29.028        .30323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.8130        4.2168        .97739E-03   -1.5439    
  22  Prefactor     .10000E-03    11.477        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     18.546        53.018        .94191E-04   -1.4846    
  24  norm          .11625        122.93        .19781E-02   -1.5640    
  25  Prefactor     10.900        12.399        .12137E-03   -1.5048    
  26  norm          .63763        1.2295        .96502E-04   -1.5548    
  27  norm          .17950        12.524        .19889E-02   -1.5623    
  28  Prefactor     18.123        19.022        .94080E-04   -1.4856    
  29  Prefactor     5.6848        4.0077        .10292E-03   -1.5231    
  30  Prefactor     9.4577        27.435        .13025E-03   -1.5093    
  31  norm          .10000E-03    6.8929        .17973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    1.5646        .85451E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    3.6807        .25864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .90208        .23972        .22576E-03   -.96387    
  35  Prefactor     .79259        .23302        .25016E-03   -1.0000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36126e-08
Minuit parameter uncertainties:
  1  9.50602e-06
  2  46.7797
  3  4.93352e-06
  4  1.48926e-06
  5  1.77471e-06
  6  2.22418e-05
  7  5.01226
  8  2.86533e-05
  9  0.000114097
  10  4.54674
  11  1.8309e-05
  12  4.76553
  13  22.4109
  14  3.26694e-05
  15  0.00185391
  16  5.96208
  17  26.9045
  18  11.4779
  19  7.00069
  20  0.000411188
  21  4.21749
  22  1.46059e-05
  23  53.1531
  24  7.57279
  25  12.4024
  26  1.2295
  27  2.99857
  28  19.0286
  29  4.00784
  30  27.472
  31  2.19572e-06
  32  8.25568e-06
  33  4.42055e-06
  34  0.240004
  35  0.233309
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  7.926e-01  2.333e-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:  9.021e-01  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/723357/likelihoodResults_562032001_562291201_4FGL_J2315.6-5018_daily_bin1245.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) = 4912.69243388
delta logL = 0.0398949176188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4912.68916454
delta logL = 0.0431642588774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6991       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0113       1.0000          .0000       10.000    
     3 'Normalizat'    .89413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79715       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=   4912.689     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6868        166.18        .80687E-02    .56074E-03
   2  Index         3.0172        6.5078        .22081        .39657E-04
   3  Normalizat    .89347        .31336E-01    .44827E-01   -.20684E-04
   4  Prefactor     .79782        .32811E-01    .43680E-01    .87554E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.68685
  Index      = 3.01724
  Normalizat = 0.89347
  Prefactor  = 0.79782
 **********
 **   18 **HESSE 
 **********

 FCN=   4912.689     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6868        19.415        .25213E-03   -1.5448    
   2  Index         3.0172        3.0510        .11095E-01   -.40776    
   3  Normalizat    .89347        .22002        .22672E-03   -.96690    
   4  Prefactor     .79782        .22851        .24941E-03   -.99809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96917e-08
Minuit parameter uncertainties:
  1  11.4498
  2  3.33734
  3  0.220237
  4  0.228779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723357': 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) = 4912.68915674
delta logL = 0.0431720542992

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.687e+00  1.145e+01  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  3.017e+00  3.337e+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:  7.978e-01  2.288e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  8.935e-01  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/723357/cmap_HighResolution_562032001_562291201_4FGL_J2315.6-5018_daily_bin1245.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.65e-08', time_completed='2021-09-29 10:17:21.149465', job_id='723357', GAL2='0.80', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1632935841.15', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='4.32e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1245' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:17:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 723357: <4FGL_J2315.6-5018_daily_bin1245> in cluster <slac> Done

Job <4FGL_J2315.6-5018_daily_bin1245> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 10:00:46 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 10:00:49 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:49 2021
Terminated at Wed Sep 29 10:17:21 2021
Results reported at Wed Sep 29 10:17:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1245 348.914 -50.3127 562032001 562291201 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 :                                   889.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            995 sec.

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

