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


Performing analysis on: 4FGL_J1315.9-0732_daily_bin1243
RA = 198.987, Dec = -7.546
tmin = 561513601, tmax = 561772801
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='429126', job_status='RUN', time_executed='2021-09-07 09:19:38.130775', time_epoch_executed='1631031578.13' WHERE source_name='4FGL J1315.9-0732' and cadence='daily' and bin_id='1243'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429126

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429126/ft1_4FGL_J1315.9-0732_daily_bin1243.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429126/ft2_4FGL_J1315.9-0732_daily_bin1243.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429126/ft1_4FGL_J1315.9-0732_daily_bin1243.fits outfile=/scratch/kocevski/429126/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1243.fits ra=198.987 dec=-7.546 rad=12.0 tmin=561513601.0 tmax=561772801.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.83
user 3.57
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429126/ft2_4FGL_J1315.9-0732_daily_bin1243.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/429126/ft1_filteredMKT_4FGL_J1315.9-0732_daily_bin1243.fits evtable="EVENTS" outfile="/scratch/kocevski/429126/ft1_filtered_4FGL_J1315.9-0732_daily_bin1243.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.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429126/ft1_filtered_4FGL_J1315.9-0732_daily_bin1243.fits" evtable="EVENTS" scfile=/scratch/kocevski/429126/ft2_4FGL_J1315.9-0732_daily_bin1243.fits sctable="SC_DATA" outfile=/scratch/kocevski/429126/ltcube_561513601_561772801_4FGL_J1315.9-0732_daily_bin1243.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/429126/ft2_4FGL_J1315.9-0732_daily_bin1243.fits
.....................!
real 17.40
user 16.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429126/ft1_filtered_4FGL_J1315.9-0732_daily_bin1243.fits evtable="EVENTS" scfile=/scratch/kocevski/429126/ft2_4FGL_J1315.9-0732_daily_bin1243.fits sctable="SC_DATA" expcube=/scratch/kocevski/429126/ltcube_561513601_561772801_4FGL_J1315.9-0732_daily_bin1243.fits outfile=/scratch/kocevski/429126/expmap_561513601_561772801_4FGL_J1315.9-0732_daily_bin1243.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/429126/ltcube_561513601_561772801_4FGL_J1315.9-0732_daily_bin1243.fits
.....................!
real 195.02
user 189.20
sys 4.95

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/429126/ft1_filtered_4FGL_J1315.9-0732_daily_bin1243.fits scfile=/scratch/kocevski/429126/ft2_4FGL_J1315.9-0732_daily_bin1243.fits outfile=/scratch/kocevski/429126/cmap_561513601_561772801_4FGL_J1315.9-0732_daily_bin1243.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429126/ft1_filtered_4FGL_J1315.9-0732_daily_bin1243.fits scfile=/scratch/kocevski/429126/ft2_4FGL_J1315.9-0732_daily_bin1243.fits outfile=/scratch/kocevski/429126/cmap_HighResolution_561513601_561772801_4FGL_J1315.9-0732_daily_bin1243.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429126/ft1_filtered_4FGL_J1315.9-0732_daily_bin1243.fits evtable="EVENTS" scfile=/scratch/kocevski/429126/ft2_4FGL_J1315.9-0732_daily_bin1243.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429126/Model_4FGL_J1315.9-0732_daily_bin1243.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/429126/ft1_filtered_4FGL_J1315.9-0732_daily_bin1243.fits......................!
real 31.02
user 28.83
sys 1.50

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10680E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    283.40       1.0000         .10000E-03   10000.    
     5 'norm      '    .10472E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.4136       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .11495E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.288       1.0000         .10000E-03   10000.    
    14 'Prefactor '    74.502       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.696       1.0000         .10000E-03   10000.    
    17 'norm      '    19.245       1.0000         .10000E-03   10000.    
    18 'norm      '    .38482E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    168.91       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .11835       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.8987       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2349.791     FROM MIGRAD    STATUS=CONVERGED     81 CALLS     3107 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10247E-03    38.130        .16334E-03** at limit **
   2  Prefactor     .10040E-03    49.385       -.17417E-03** at limit **
   3  Prefactor     .30145E-02    35.932       -.24132E-03    .33073E-02
   4  Prefactor     283.40        1.0038       -.10798E-06    .39415E-03
   5  norm          .13385E-03    34.181       -.77371E-04** at limit **
   6  norm          5.4130        1.7457        .28917E-06   -.17771E-02
   7  norm          .10000E-03    6.9616        .46310E-06** at limit **
   8  Prefactor     .13115E-03    77.016       -.30894E-03** at limit **
   9  norm          .10004E-03    38.661        .40659E-04** at limit **
  10  norm          .13199E-03    31.583       -.49921E-04** at limit **
  11  Prefactor     .10000E-03    7.6460        .26035E-06** at limit **
  12  Prefactor     .11192E-03    42.476        .18032E-03** at limit **
  13  Prefactor     48.289        1.0157        .49385E-06   -.58273E-03
  14  Prefactor     74.500        1.0600       -.88133E-06   -.52788E-03
  15  norm          .10000E-03    4.7271        .42139E-05** at limit **
  16  norm          11.695        1.1748       -.40387E-05   -.36591E-02
  17  norm          19.244        1.0204       -.10517E-05   -.15314E-02
  18  norm          .34823E-01    2.3610       -.60668E-04    .10207E-02
  19  Prefactor     .10000E-03    3.6052        .76443E-06** at limit **
  20  Prefactor     168.90        1.7069       -.22244E-05    .53521E-02
  21  Prefactor     .10295E-03    62.801       -.24507E-03** at limit **
  22  norm          .10000E-03    6.1017        .98775E-06** at limit **
  23  Normalizat    .11874        .80803        .67707E-04   -.90111E-04
  24  Prefactor     1.8984        .35217        .20032E-05   -.32942E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102469
  Prefactor  = 0.000100402
  Prefactor  = 0.00301454
  Prefactor  = 283.397
  norm       = 0.00013385
  norm       = 5.41303
  norm       = 0.0001
  Prefactor  = 0.00013115
  norm       = 0.000100039
  norm       = 0.000131988
  Prefactor  = 0.0001
  Prefactor  = 0.000111921
  Prefactor  = 48.289
  Prefactor  = 74.4996
  norm       = 0.0001
  norm       = 11.6951
  norm       = 19.2443
  norm       = 0.0348235
  Prefactor  = 0.0001
  Prefactor  = 168.904
  Prefactor  = 0.00010295
  norm       = 0.0001
  Normalizat = 0.118742
  Prefactor  = 1.89845
 **********
 **   18 **HESSE 
 **********

 FCN=   2349.791     FROM HESSE     STATUS=NOT POSDEF   443 CALLS     3550 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10247E-03    87.394        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10040E-03    46.323        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .30145E-02    737.46        .90712E-02   -1.5697    
   4  Prefactor     283.40        264.31        .60262E-03   -1.2325    
   5  norm          .13385E-03    134.17        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4130        2.8619        .43177E-02   -1.5243    
   7  norm          .10000E-03    6.4331        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13115E-03    236.77        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10004E-03    35.842        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .13199E-03    127.98        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.0852        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11192E-03    79.969        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     48.289        79.645        .14426E-02   -1.4317    
  14  Prefactor     74.500        109.65        .11629E-02   -1.3980    
  15  norm          .10000E-03    4.4329        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.695        13.156        .29284E-02   -1.5024    
  17  norm          19.244        25.411        .22825E-02   -1.4830    
  18  norm          .34823E-01    326.09        .24119       -1.5671    
  19  Prefactor     .10000E-03    3.3458        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     168.90        611.67        .77601E-03   -1.3101    
  21  Prefactor     .10295E-03    186.85        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.6515        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .11874        9.9227        .32586       -1.3618    
  24  Prefactor     1.8984        2.0057        .50627E-01   -.66914    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.97273e-06
Minuit parameter uncertainties:
  1  0.029419
  2  0.0086419
  3  2.96944
  4  265.439
  5  0.135086
  6  2.86194
  7  1.98273e-05
  8  0.172446
  9  0.00236363
  10  0.128241
  11  6.72833e-06
  12  0.0618331
  13  79.821
  14  109.945
  15  1.08563e-05
  16  13.1589
  17  25.4255
  18  6.76711
  19  4.27681e-05
  20  637.344
  21  0.047102
  22  5.70522e-05
  23  3.57883
  24  2.10533
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2349.79066902

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.320e-04  1.282e-01  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.898e+00  2.105e+00  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.187e-01  3.579e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.987 -7.546
Photon Flux Upper Limit: 2.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.48e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429126/likelihoodResults_561513601_561772801_4FGL_J1315.9-0732_daily_bin1243.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) = 2349.79070317
delta logL = -3.41502841366e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2349.79066863
delta logL = 3.96759332943e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8966       1.0000          .0000       5.0000    
     3 'Normalizat'    .11876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.8985       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2349.722     FROM MIGRAD    STATUS=CONVERGED    202 CALLS      405 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.755        37.892        .18142E-02   -.48173E-04
   2  alpha         2.5834        1.3109        .17112E-02    .27240E-05
   3  Normalizat    .10823        1.0148        .12584E-01    .14057E-03
   4  Prefactor     1.8845        .37954        .22391E-03    .61944E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.7549
  alpha      = 2.58342
  Normalizat = 0.108233
  Prefactor  = 1.88454
 **********
 **   18 **HESSE 
 **********

 FCN=   2349.722     FROM HESSE     STATUS=OK            27 CALLS      432 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.755        36.353        .72569E-04   -1.5052    
   2  alpha         2.5834        1.2628        .68446E-04    .33375E-01
   3  Normalizat    .10823        .90003        .25168E-02   -1.3721    
   4  Prefactor     1.8845        .35705        .89563E-05   -.67269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06793e-11
Minuit parameter uncertainties:
  1  36.4282
  2  1.32387
  3  0.607217
  4  0.357547
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429126': 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) = 2349.72209261
delta logL = 0.0685764095383

Extracting fit parameters...

4FGL J1315.9-0732
   Spectrum: LogParabola
307         norm:  1.075e+01  3.643e+01  1.000e-04  1.000e+04 ( 1.000e-13)
308        alpha:  2.583e+00  1.324e+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.885e+00  3.575e-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.082e-01  6.072e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/429126/cmap_HighResolution_561513601_561772801_4FGL_J1315.9-0732_daily_bin1243.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-04', job_status='DONE', photon_flux_upper_limit='2.58e-07', time_completed='2021-09-07 09:27:39.236537', job_id='429126', GAL2='1.88', fit_tolerance='1e-08', EG2='0.11', EG='0.12', time_epoch_completed='1631032059.24', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='102', GAL='1.90', dlogl='6.86e-02', ts2='0.14', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1243' AND source_name='4FGL J1315.9-0732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 09:27:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 429126: <4FGL_J1315.9-0732_daily_bin1243> in cluster <slac> Done

Job <4FGL_J1315.9-0732_daily_bin1243> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 09:15:23 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 09:16:43 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:16:43 2021
Terminated at Tue Sep  7 09:27:40 2021
Results reported at Tue Sep  7 09:27:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1315.9-0732_daily_bin1243 198.987 -7.546 561513601 561772801 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 :                                   478.26 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             282.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            737 sec.

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

