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


Performing analysis on: 4FGL_J2315.6-5018_daily_bin1460
RA = 348.914, Dec = -50.3127
tmin = 617760001, tmax = 618019201
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='724641', job_status='RUN', time_executed='2021-09-29 10:08:07.066096', time_epoch_executed='1632935287.07' WHERE source_name='4FGL J2315.6-5018' and cadence='daily' and bin_id='1460'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724641

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724641/ft1_4FGL_J2315.6-5018_daily_bin1460.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724641/ft2_4FGL_J2315.6-5018_daily_bin1460.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724641/ft1_4FGL_J2315.6-5018_daily_bin1460.fits outfile=/scratch/kocevski/724641/ft1_filteredMKT_4FGL_J2315.6-5018_daily_bin1460.fits ra=348.914 dec=-50.3127 rad=12.0 tmin=617760001.0 tmax=618019201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.70
user 2.47
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724641/ft1_filtered_4FGL_J2315.6-5018_daily_bin1460.fits" evtable="EVENTS" scfile=/scratch/kocevski/724641/ft2_4FGL_J2315.6-5018_daily_bin1460.fits sctable="SC_DATA" outfile=/scratch/kocevski/724641/ltcube_617760001_618019201_4FGL_J2315.6-5018_daily_bin1460.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/724641/ft2_4FGL_J2315.6-5018_daily_bin1460.fits
.....................!
real 12.62
user 12.25
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724641/ft1_filtered_4FGL_J2315.6-5018_daily_bin1460.fits evtable="EVENTS" scfile=/scratch/kocevski/724641/ft2_4FGL_J2315.6-5018_daily_bin1460.fits sctable="SC_DATA" expcube=/scratch/kocevski/724641/ltcube_617760001_618019201_4FGL_J2315.6-5018_daily_bin1460.fits outfile=/scratch/kocevski/724641/expmap_617760001_618019201_4FGL_J2315.6-5018_daily_bin1460.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/724641/ltcube_617760001_618019201_4FGL_J2315.6-5018_daily_bin1460.fits
.....................!
real 191.13
user 185.55
sys 5.20

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/724641/ft1_filtered_4FGL_J2315.6-5018_daily_bin1460.fits scfile=/scratch/kocevski/724641/ft2_4FGL_J2315.6-5018_daily_bin1460.fits outfile=/scratch/kocevski/724641/cmap_617760001_618019201_4FGL_J2315.6-5018_daily_bin1460.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724641/ft1_filtered_4FGL_J2315.6-5018_daily_bin1460.fits scfile=/scratch/kocevski/724641/ft2_4FGL_J2315.6-5018_daily_bin1460.fits outfile=/scratch/kocevski/724641/cmap_HighResolution_617760001_618019201_4FGL_J2315.6-5018_daily_bin1460.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.60
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11239E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    35.913       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.983       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.903       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11523E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.566       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.9037       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    157.88       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    67.089       1.0000         .10000E-03   10000.    
    24 'norm      '    .16532E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.3309       1.0000         .10000E-03   10000.    
    27 'norm      '    22.567       1.0000         .10000E-03   10000.    
    28 'Prefactor '    16.557       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    11.898       1.0000         .10000E-03   10000.    
    31 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10613E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    14.203       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.5232       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .43433       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=   1984.432     FROM MIGRAD    STATUS=CONVERGED    956 CALLS     5900 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    59.148       -.32689E-06** at limit **
   2  Prefactor     35.922        44.258        .31349E-06   -.16971E-04
   3  Prefactor     18.992        19.188        .46905E-06   -.43823E-04
   4  Prefactor     .10000E-03    7.5316        .26246E-06** at limit **
   5  Prefactor     16.904        17.489        .17988E-06   -.29473E-04
   6  Prefactor     .10000E-03    27.947        .23959E-06** at limit **
   7  Prefactor     .10000E-03    9.9772        .13329E-06** at limit **
   8  Prefactor     .10000E-03    237.13        .52384E-06** at limit **
   9  norm          .10000E-03    7.5775        .43899E-07** at limit **
  10  Prefactor     .10000E-03    5.7783       -.61665E-06** at limit **
  11  Prefactor     18.284        132.29       -.47779E-05   -.34890E-04
  12  Prefactor     9.9030        14.150        .46776E-06   -.20360E-04
  13  Prefactor     .10000E-03    27.823        .64522E-07** at limit **
  14  Prefactor     .10000E-03    16.151        .13759E-06** at limit **
  15  Prefactor     157.88        196.43        .33309E-06   -.40298E-05
  16  Prefactor     .10000E-03    6.8807       -.10355E-06** at limit **
  17  Prefactor     .10000E-03    40.186        .52033E-07** at limit **
  18  Prefactor     .10000E-03    16.201        .13698E-06** at limit **
  19  norm          .10000E-03    16.437        .36656E-06** at limit **
  20  norm          .10000E-03    4.9900        .25871E-07** at limit **
  21  norm          .10000E-03    6.0100        .85860E-06** at limit **
  22  Prefactor     .10000E-03    4.5057        .11675E-06** at limit **
  23  Prefactor     67.268        150.95       -.13183E-05   -.11176E-03
  24  norm          .10000E-03    20.704        .98633E-05** at limit **
  25  Prefactor     .10000E-03    10.403        .23258E-06** at limit **
  26  norm          1.3318        1.8305        .18439E-06   -.24970E-04
  27  norm          22.568        19.095       -.31650E-06   -.38475E-03
  28  Prefactor     16.526        43.819        .19265E-05   -.38872E-04
  29  Prefactor     .10000E-03    2.1053       -.32284E-07** at limit **
  30  Prefactor     11.896        24.885        .26608E-06   -.18502E-04
  31  norm          .10000E-03    12.788       -.38504E-07** at limit **
  32  Prefactor     .10000E-03    7.8309       -.50649E-06** at limit **
  33  Prefactor     14.209        10.355        .10628E-05   -.34348E-04
  34  Normalizat    1.5218        .39797       -.90349E-05    .10943E-04
  35  Prefactor     .43559        .34867        .12410E-04   -.92052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 35.9217
  Prefactor  = 18.9922
  Prefactor  = 0.0001
  Prefactor  = 16.9041
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.2835
  Prefactor  = 9.90303
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 157.882
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 67.268
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.33183
  norm       = 22.5678
  Prefactor  = 16.526
  Prefactor  = 0.0001
  Prefactor  = 11.8956
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.209
  Normalizat = 1.52182
  Prefactor  = 0.435586
 **********
 **   18 **HESSE 
 **********

 FCN=   1984.432     FROM HESSE     STATUS=OK           758 CALLS     6658 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    59.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     35.922        44.273        .66874E-04   -1.4509    
   3  Prefactor     18.992        19.199        .91926E-04   -1.4836    
   4  Prefactor     .10000E-03    7.5961        .11938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.904        17.489        .97419E-04   -1.4885    
   6  Prefactor     .10000E-03    27.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.052        .13743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    237.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.5779        .11978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7981        .10459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.284        134.28        .46477E-03   -1.4853    
  12  Prefactor     9.9030        14.144        .12733E-03   -1.5078    
  13  Prefactor     .10000E-03    27.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.186        .17488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     157.88        196.36        .16044E-03   -1.3188    
  16  Prefactor     .10000E-03    6.8819        .11414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    40.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.224        .17515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    16.448        .17644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.9902        .97195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6.0208        .10670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.5095        .92355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     67.268        153.00        .24501E-03   -1.4066    
  24  norm          .10000E-03    22.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    10.412        .14036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.3318        1.7981        .67579E-04   -1.5477    
  27  norm          22.568        19.123        .84318E-04   -1.4757    
  28  Prefactor     16.526        44.063        .98431E-04   -1.4895    
  29  Prefactor     .10000E-03    2.1081        .63105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     11.896        24.873        .11614E-03   -1.5018    
  31  norm          .10000E-03    12.789        .15562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    7.9131        .12155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     14.209        10.333        .53139E-03   -1.4954    
  34  Normalizat    1.5218        .42423        .22299E-03   -.77167    
  35  Prefactor     .43559        .36518        .37196E-03   -1.1503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92535e-10
Minuit parameter uncertainties:
  1  7.73391e-05
  2  44.3135
  3  19.205
  4  1.1432e-06
  5  17.494
  6  1.82433e-05
  7  1.92342e-05
  8  0.000451156
  9  4.41571e-06
  10  1.07706e-05
  11  99.4114
  12  14.1484
  13  2.76447e-05
  14  2.24723e-05
  15  197.184
  16  2.85029e-07
  17  2.99601e-06
  18  1.62862e-05
  19  1.05586e-05
  20  6.45117e-07
  21  1.44386e-05
  22  3.70593e-06
  23  153.91
  24  0.000389377
  25  1.24743e-05
  26  1.79822
  27  19.1284
  28  44.1495
  29  1.03478e-06
  30  24.895
  31  7.76889e-06
  32  1.10999e-06
  33  10.3346
  34  0.425229
  35  0.367157
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  4.356e-01  3.672e-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.522e+00  4.252e-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.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724641/likelihoodResults_617760001_618019201_4FGL_J2315.6-5018_daily_bin1460.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) = 1984.4320759
delta logL = -0.000290087188205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1984.43178593
delta logL = -1.15739112516e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4297       1.0000          .0000       10.000    
     3 'Normalizat'    1.5218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43562       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=   1984.432     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      242 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6226.6        .17411E-02** at limit **
   2  Index         2.4135        5.7497        .50000        .87815E-05
   3  Normalizat    1.5218        .37141        .22299E-03    .55443E-05
   4  Prefactor     .43559        .35014        .37191E-03    .52578E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.41349
  Normalizat = 1.52181
  Prefactor  = 0.435592
 **********
 **   18 **HESSE 
 **********

 FCN=   1984.432     FROM HESSE     STATUS=OK            29 CALLS      271 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.641        .34821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4135        6.2067        .50000       -.54369    
   3  Normalizat    1.5218        .37154        .89198E-05   -.77167    
   4  Prefactor     .43559        .35033        .14876E-04   -1.1503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2842e-10
Minuit parameter uncertainties:
  1  0.000288722
  2  4.37323
  3  0.372208
  4  0.352069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724641': 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) = 1984.43178585
delta logL = -3.65921550838e-08

Extracting fit parameters...

4FGL J2315.6-5018
   Spectrum: PowerLaw
432    Prefactor:  1.000e-04  2.887e-04  1.000e-04  1.000e+04 ( 1.000e-13)
433        Index:  2.413e+00  4.373e+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:  4.356e-01  3.521e-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.522e+00  3.722e-01  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/724641/cmap_HighResolution_617760001_618019201_4FGL_J2315.6-5018_daily_bin1460.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2021-09-29 10:19:11.799826', job_id='724641', GAL2='0.44', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1632935951.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='-3.66e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1460' AND source_name='4FGL J2315.6-5018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 10:19:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 724641: <4FGL_J2315.6-5018_daily_bin1460> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2315.6-5018_daily_bin1460 348.914 -50.3127 617760001 618019201 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 :                                   556.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             260.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            822 sec.

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

