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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1599
RA = 198.987, Dec = -7.546
tmin = 653788801, tmax = 654048001
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='953737', job_status='RUN', time_executed='2021-09-23 00:31:00.408964', time_epoch_executed='1632382260.41' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1599'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953737

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953737/ft1_4FGL_J1315.9-0732_daily_bin1599.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953737/ft1_4FGL_J1315.9-0732_daily_bin1599.fits outfile=/scratch/kocevski/953737/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1599.fits ra=198.987 dec=-7.546 rad=12.0 tmin=653788801.0 tmax=654048001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.24
user 2.98
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.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/953737/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1599.fits evtable="EVENTS" outfile="/scratch/kocevski/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.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.45
user 0.28
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.fits" evtable="EVENTS" scfile=/scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits sctable="SC_DATA" outfile=/scratch/kocevski/953737/ltcube_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.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/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits
.....................!
real 12.29
user 11.96
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.fits evtable="EVENTS" scfile=/scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits sctable="SC_DATA" expcube=/scratch/kocevski/953737/ltcube_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.fits outfile=/scratch/kocevski/953737/expmap_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.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/953737/ltcube_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.fits
.....................!
real 157.94
user 153.58
sys 4.05

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 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J1315.9-0732 @ 198.987 -7.546

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.fits scfile=/scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits outfile=/scratch/kocevski/953737/cmap_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.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=198.987 yref=-7.546 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.50
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.fits scfile=/scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits outfile=/scratch/kocevski/953737/cmap_HighResolution_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.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=198.987 yref=-7.546 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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.fits evtable="EVENTS" scfile=/scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/953737/Model_4FGL_J1315.9-0732_daily_bin1599.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/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.fits.....................!
real 56.93
user 55.78
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.fits', '/scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits', expMap='/scratch/kocevski/953737/expmap_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.fits', expCube='/scratch/kocevski/953737/ltcube_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/953737/Model_4FGL_J1315.9-0732_daily_bin1599.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1315.9-0732'

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.470e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.753e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  1.376e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  2.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/953737/ft1_filtered_4FGL_J1315.9-0732_daily_bin1599.fits
Spacecraft file(s): /scratch/kocevski/953737/ft2_4FGL_J1315.9-0732_daily_bin1599.fits
Exposure map: /scratch/kocevski/953737/expmap_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.fits
Exposure cube: /scratch/kocevski/953737/ltcube_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/953737/Model_4FGL_J1315.9-0732_daily_bin1599.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) = 8455.41698238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9271       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.559       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10713E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    60.878       1.0000         .10000E-03   10000.    
     5 'norm      '    22.854       1.0000         .10000E-03   10000.    
     6 'norm      '    3.8887       1.0000         .10000E-03   10000.    
     7 'norm      '    7.2383       1.0000         .10000E-03   10000.    
     8 'Prefactor '    49.916       1.0000         .10000E-03   10000.    
     9 'norm      '    12.043       1.0000         .10000E-03   10000.    
    10 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .42115E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.591       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.894       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7346       1.0000         .10000E-03   10000.    
    16 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.9682       1.0000         .10000E-03   10000.    
    18 'norm      '    22.855       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3922       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .54629       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6638       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8455.407     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2779 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9288        27.936        .11238E-05    .25995E-05
   2  Prefactor     11.557        10.557        .86829E-06    .58012E-04
   3  Prefactor     .10000E-03    104.98        .13629E-06** at limit **
   4  Prefactor     60.831        54.723        .56975E-05    .68485E-04
   5  norm          22.852        23.842        .46159E-07    .21379E-05
   6  norm          3.8894        .49613       -.34552E-07    .22136E-02
   7  norm          7.2388        11.311        .49417E-06   -.35432E-05
   8  Prefactor     49.890        75.661        .41994E-05    .28334E-04
   9  norm          12.041        11.070        .56878E-06    .71042E-04
  10  norm          .10000E-03    7.8488        .16694E-07** at limit **
  11  Prefactor     .10000E-03    3.7813        .94531E-07** at limit **
  12  Prefactor     .10015E-03    12.977       -.24508E-05** at limit **
  13  Prefactor     20.593        11.142       -.39316E-06   -.82714E-04
  14  Prefactor     12.897        17.986        .13657E-06   -.19586E-04
  15  norm          1.7353        1.7866        .16744E-06    .10839E-03
  16  norm          .10000E-03    1.5338        .51599E-07** at limit **
  17  norm          8.9684        6.3519       -.53687E-07   -.21348E-04
  18  norm          22.856        20.310        .75556E-07    .12378E-05
  19  Prefactor     3.3988        4.8446        .31052E-05    .17814E-04
  20  Prefactor     .10000E-03    8.1702        .74470E-07** at limit **
  21  Prefactor     .10000E-03    56.338       -.51352E-06** at limit **
  22  norm          .51653        5.4224       -.12161E-05   -.19030E-04
  23  Normalizat    1.6634        .25953       -.92824E-06    .25033E-04
  24  Prefactor     .87087        .14792       -.10068E-05   -.43712E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.92884
  Prefactor  = 11.5568
  Prefactor  = 0.0001
  Prefactor  = 60.8306
  norm       = 22.8516
  norm       = 3.88935
  norm       = 7.23876
  Prefactor  = 49.8896
  norm       = 12.0409
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100155
  Prefactor  = 20.5932
  Prefactor  = 12.8967
  norm       = 1.73527
  norm       = 0.0001
  norm       = 8.96837
  norm       = 22.8561
  Prefactor  = 3.39879
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.516533
  Normalizat = 1.66341
  Prefactor  = 0.870865
 **********
 **   18 **HESSE 
 **********

 FCN=   8455.407     FROM HESSE     STATUS=OK           407 CALLS     3186 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9288        28.011        .29925E-03   -1.5430    
   2  Prefactor     11.557        10.564        .11783E-03   -1.5028    
   3  Prefactor     .10000E-03    106.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     60.831        54.746        .25712E-03   -1.4146    
   5  norm          22.852        23.835        .83787E-04   -1.4752    
   6  norm          3.8894        .49841        .20818E-04   -1.5314    
   7  norm          7.2388        11.307        .14909E-03   -1.5170    
   8  Prefactor     49.890        75.676        .56761E-04   -1.4294    
   9  norm          12.041        11.061        .11543E-03   -1.5014    
  10  norm          .10000E-03    7.8827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.7950        .17461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10015E-03    69.001        .61030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.593        11.175        .88266E-04   -1.4800    
  14  Prefactor     12.897        17.922        .11155E-03   -1.4990    
  15  norm          1.7353        1.7775        .11604E-03   -1.5445    
  16  norm          .10000E-03    1.5363        .11072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.9684        6.3407        .13384E-03   -1.5109    
  18  norm          22.856        20.312        .83785E-04   -1.4751    
  19  Prefactor     3.3988        5.0641        .10961E-02   -1.5339    
  20  Prefactor     .10000E-03    8.1735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    56.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .51653        18.077        .37652E-02   -1.5564    
  23  Normalizat    1.6634        .30493        .33709E-03   -.73285    
  24  Prefactor     .87087        .17381        .27092E-03   -.97167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.26471e-08
Minuit parameter uncertainties:
  1  14.7087
  2  10.5655
  3  2.14184e-05
  4  54.7914
  5  23.8449
  6  0.498415
  7  11.3102
  8  75.8221
  9  11.0624
  10  8.64427e-06
  11  8.69585e-06
  12  0.00654
  13  11.1759
  14  17.9291
  15  1.77751
  16  2.51342e-06
  17  6.34113
  18  20.3178
  19  5.06474
  20  4.63781e-06
  21  2.11175e-05
  22  6.11275
  23  0.30527
  24  0.173918
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  8.644e-06  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.753e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  1.376e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  2.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.709e-01  1.739e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.663e+00  3.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.987 -7.546
Photon Flux Upper Limit: 4.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/953737/likelihoodResults_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.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) = 8455.40760055
delta logL = -0.000603797401709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8455.40699675
delta logL = -2.58296495304e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7487       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87087       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+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=   8455.407     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      243 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    760.21        .18142E-02** at limit **
   2  alpha         1.5315        3.5251        .50000       -.16553E-07
   3  Normalizat    1.6634        .69847E-01    .33709E-03    .14705E-04
   4  Prefactor     .87087        .42664E-01    .27092E-03    .17624E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.53154
  Normalizat = 1.6634
  Prefactor  = 0.870866
 **********
 **   18 **HESSE 
 **********

 FCN=   8455.407     FROM HESSE     STATUS=OK            29 CALLS      272 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    25.623        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5315        2.7598        .50000       -.39779    
   3  Normalizat    1.6634        .27880        .13484E-04   -.73285    
   4  Prefactor     .87087        .17035        .10837E-04   -.97167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18642e-10
Minuit parameter uncertainties:
  1  0.00022808
  2  584.113
  3  0.279067
  4  0.170454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953737': 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) = 8455.40699664
delta logL = 1.10268956632e-07

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  2.281e-04  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.532e+00  5.841e+02  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  1.376e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  2.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.709e-01  1.705e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.663e+00  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.987 -7.546

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/953737/cmap_HighResolution_653788801_654048001_4FGL_J1315.9-0732_daily_bin1599.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-05', job_status='DONE', photon_flux_upper_limit='4.37e-08', time_completed='2021-09-23 00:42:29.668573', job_id='953737', GAL2='0.87', fit_tolerance='1e-08', EG2='1.66', EG='1.66', time_epoch_completed='1632382949.67', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1599' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 00:42:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 953737: <4FGL_J1315.9-0732_daily_bin1599> in cluster <slac> Done

Job <4FGL_J1315.9-0732_daily_bin1599> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 23 00:26:47 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 00:27:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 00:27:01 2021
Terminated at Thu Sep 23 00:42:30 2021
Results reported at Thu Sep 23 00:42:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1599 198.987 -7.546 653788801 654048001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1315.9-0732 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   691.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            943 sec.

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

