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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1414
RA = 198.987, Dec = -7.546
tmin = 605836801, tmax = 606096001
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='430559', job_status='RUN', time_executed='2021-09-07 09:23:13.366274', time_epoch_executed='1631031793.37' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1414'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430559

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430559/ft1_4FGL_J1315.9-0732_daily_bin1414.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430559/ft1_4FGL_J1315.9-0732_daily_bin1414.fits outfile=/scratch/kocevski/430559/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1414.fits ra=198.987 dec=-7.546 rad=12.0 tmin=605836801.0 tmax=606096001.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.75
user 3.45
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.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/430559/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1414.fits evtable="EVENTS" outfile="/scratch/kocevski/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.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.52
user 0.38
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.fits" evtable="EVENTS" scfile=/scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits sctable="SC_DATA" outfile=/scratch/kocevski/430559/ltcube_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.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/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits
.....................!
real 16.45
user 15.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.fits evtable="EVENTS" scfile=/scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits sctable="SC_DATA" expcube=/scratch/kocevski/430559/ltcube_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.fits outfile=/scratch/kocevski/430559/expmap_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.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/430559/ltcube_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.fits
.....................!
real 194.16
user 186.83
sys 4.98

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/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.fits scfile=/scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits outfile=/scratch/kocevski/430559/cmap_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.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.61
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.fits scfile=/scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits outfile=/scratch/kocevski/430559/cmap_HighResolution_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.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.63
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.fits evtable="EVENTS" scfile=/scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430559/Model_4FGL_J1315.9-0732_daily_bin1414.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/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.fits.....................!
real 62.55
user 60.04
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.fits', '/scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits', expMap='/scratch/kocevski/430559/expmap_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.fits', expCube='/scratch/kocevski/430559/ltcube_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430559/Model_4FGL_J1315.9-0732_daily_bin1414.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/430559/ft1_filtered_4FGL_J1315.9-0732_daily_bin1414.fits
Spacecraft file(s): /scratch/kocevski/430559/ft2_4FGL_J1315.9-0732_daily_bin1414.fits
Exposure map: /scratch/kocevski/430559/expmap_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.fits
Exposure cube: /scratch/kocevski/430559/ltcube_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430559/Model_4FGL_J1315.9-0732_daily_bin1414.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) = 7766.31347918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    91.127       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.9951       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    62.982       1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14211E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.484       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.068       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.932       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .64768E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    61.875       1.0000         .10000E-03   10000.    
    22 'norm      '    4.6957       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1501       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0651       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=   7766.296     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2667 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8517       -.14813E-06** at limit **
   2  Prefactor     .10000E-03    5.5398       -.61541E-07** at limit **
   3  Prefactor     .10000E-03    8.5601       -.21001E-07** at limit **
   4  Prefactor     91.112        74.076       -.56860E-06   -.28046E-04
   5  norm          .10000E-03    7.4751        .33836E-07** at limit **
   6  norm          1.9951        .40888        .12981E-07   -.93838E-03
   7  norm          .10000E-03    3.2501       -.47145E-07** at limit **
   8  Prefactor     63.004        73.987        .13278E-06    .24536E-04
   9  norm          .10000E-03    21.154        .12607E-05** at limit **
  10  norm          .10000E-03    6.9639        .13329E-07** at limit **
  11  Prefactor     .10001E-03    4.6212       -.82957E-06** at limit **
  12  Prefactor     22.493        20.533       -.92731E-08    .29636E-04
  13  Prefactor     17.062        12.405        .21607E-06    .11987E-03
  14  Prefactor     20.914        18.858        .27857E-05    .17137E-03
  15  norm          .10000E-03    .33028       -.23174E-08** at limit **
  16  norm          .10000E-03    2.8257       -.93045E-06** at limit **
  17  norm          .10001E-03    6.8120       -.22729E-05** at limit **
  18  norm          .10000E-03    16.856       -.82461E-07** at limit **
  19  Prefactor     .10000E-03    2.3101        .44881E-07** at limit **
  20  Prefactor     .10000E-03    6.6884       -.21529E-07** at limit **
  21  Prefactor     61.915        60.546        .10907E-05    .11992E-03
  22  norm          4.6951        4.5757        .84060E-07   -.20685E-05
  23  Normalizat    1.1500        .23785        .32538E-06    .12185E-03
  24  Prefactor     1.0651        .14085        .25203E-06    .19309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 91.112
  norm       = 0.0001
  norm       = 1.99508
  norm       = 0.0001
  Prefactor  = 63.0043
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 22.4926
  Prefactor  = 17.0616
  Prefactor  = 20.9143
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100008
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.915
  norm       = 4.69515
  Normalizat = 1.15004
  Prefactor  = 1.06507
 **********
 **   18 **HESSE 
 **********

 FCN=   7766.296     FROM HESSE     STATUS=OK           389 CALLS     3056 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.5617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     91.112        75.536        .42095E-04   -1.3796    
   5  norm          .10000E-03    7.4766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9951        .41845        .21309E-04   -1.5425    
   7  norm          .10000E-03    3.2615        .15515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     63.004        74.021        .50564E-04   -1.4119    
   9  norm          .10000E-03    21.625        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.9995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    23.486        .35792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.493        20.639        .84474E-04   -1.4759    
  13  Prefactor     17.062        12.364        .96947E-04   -1.4882    
  14  Prefactor     20.914        19.356        .87546E-04   -1.4793    
  15  norm          .10000E-03    .33414        .49434E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.8940        .14482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    27.276        .40061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    16.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.3278        .13064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.6892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     61.915        60.334        .51011E-04   -1.4133    
  22  norm          4.6951        4.5701        .18072E-03   -1.5275    
  23  Normalizat    1.1500        .28011        .34338E-03   -.88161    
  24  Prefactor     1.0651        .16521        .22319E-03   -.90591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.7444e-10
Minuit parameter uncertainties:
  1  2.98965e-06
  2  1.04278e-05
  3  5.1971e-06
  4  75.6161
  5  7.57426e-06
  6  0.418447
  7  1.10567e-06
  8  74.1299
  9  0.000275905
  10  4.31014e-06
  11  0.00095759
  12  20.6455
  13  12.3661
  14  19.3621
  15  6.48511e-07
  16  1.9758e-05
  17  0.00095081
  18  1.66169e-05
  19  7.70063e-06
  20  4.32625e-06
  21  60.3941
  22  4.57048
  23  0.280477
  24  0.165293
Done.

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

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  4.310e-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:  1.065e+00  1.653e-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.150e+00  2.805e-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: 3.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430559/likelihoodResults_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.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) = 7766.2963665
delta logL = -0.000679981816575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7766.29568613
delta logL = 3.9179030864e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7903       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0650       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=   7766.296     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      269 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    9.1162        .18142E-02** at limit **
   2  alpha         1.8407        3.3789        .50000       -.33304E-04
   3  Normalizat    1.1500        .25580        .34338E-03    .41186E-04
   4  Prefactor     1.0651        .16190        .22319E-03   -.31937E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010001
  alpha      = 1.8407
  Normalizat = 1.15004
  Prefactor  = 1.06506
 **********
 **   18 **HESSE 
 **********

 FCN=   7766.296     FROM HESSE     STATUS=OK            29 CALLS      298 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    8.3672        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8407        3.3637        .50000       -.26688    
   3  Normalizat    1.1500        .25603        .13735E-04   -.88161    
   4  Prefactor     1.0651        .16205        .89277E-05   -.90591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13956e-09
Minuit parameter uncertainties:
  1  0.000564138
  2  2.41574
  3  0.256306
  4  0.162122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430559': 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) = 7766.29568536
delta logL = 1.16454702948e-06

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.000e-04  5.641e-04  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  1.841e+00  2.416e+00  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:  1.065e+00  1.621e-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.150e+00  2.563e-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/430559/cmap_HighResolution_605836801_606096001_4FGL_J1315.9-0732_daily_bin1414.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-05', job_status='DONE', photon_flux_upper_limit='3.85e-08', time_completed='2021-09-07 09:36:22.963742', job_id='430559', GAL2='1.07', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1631032582.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.16e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1414' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:36:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 430559: <4FGL_J1315.9-0732_daily_bin1414> in cluster <slac> Done

Job <4FGL_J1315.9-0732_daily_bin1414> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep  7 09:20:30 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 09:21:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 09:21:00 2021
Terminated at Tue Sep  7 09:36:23 2021
Results reported at Tue Sep  7 09:36:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1414 198.987 -7.546 605836801 606096001 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 :                                   770.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            953 sec.

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

