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


Performing analysis on: 4FGL_J1510.8+7959_daily_bin807
RA = 227.705, Dec = 79.991
tmin = 448502401, tmax = 448761601
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='205871', job_status='RUN', time_executed='2021-09-11 08:49:18.980480', time_epoch_executed='1631375358.98' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='807'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/205871

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/205871/ft1_4FGL_J1510.8+7959_daily_bin807.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/205871/ft1_4FGL_J1510.8+7959_daily_bin807.fits outfile=/scratch/kocevski/205871/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin807.fits ra=227.705 dec=79.991 rad=12.0 tmin=448502401.0 tmax=448761601.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 6.00
user 5.74
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.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/205871/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin807.fits evtable="EVENTS" outfile="/scratch/kocevski/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.fits" evtable="EVENTS" scfile=/scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits sctable="SC_DATA" outfile=/scratch/kocevski/205871/ltcube_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.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/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits
.....................!
real 12.26
user 11.91
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits sctable="SC_DATA" expcube=/scratch/kocevski/205871/ltcube_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.fits outfile=/scratch/kocevski/205871/expmap_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.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/205871/ltcube_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.fits
.....................!
real 190.39
user 185.39
sys 4.69

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

Setting source of interest to:
4FGL J1510.8+7959 @ 227.705 79.991

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.fits scfile=/scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits outfile=/scratch/kocevski/205871/cmap_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.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=227.705 yref=79.991 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.fits scfile=/scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits outfile=/scratch/kocevski/205871/cmap_HighResolution_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.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=227.705 yref=79.991 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.62
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/205871/Model_4FGL_J1510.8+7959_daily_bin807.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/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.fits.....................!
real 35.45
user 34.15
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.fits', '/scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits', expMap='/scratch/kocevski/205871/expmap_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.fits', expCube='/scratch/kocevski/205871/ltcube_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/205871/Model_4FGL_J1510.8+7959_daily_bin807.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8+7959'

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.990e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/205871/ft1_filtered_4FGL_J1510.8+7959_daily_bin807.fits
Spacecraft file(s): /scratch/kocevski/205871/ft2_4FGL_J1510.8+7959_daily_bin807.fits
Exposure map: /scratch/kocevski/205871/expmap_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.fits
Exposure cube: /scratch/kocevski/205871/ltcube_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/205871/Model_4FGL_J1510.8+7959_daily_bin807.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) = 2255.22664789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9041       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.1164       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.298       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.6795       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.948       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    113.57       1.0000         .10000E-03   10000.    
    18 'norm      '    3.1077       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1880       1.0000         .10000E-03   10000.    
    21 'Prefactor '    76.803       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .16336E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    1.6956       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .45869       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0280       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2255.222     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2906 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9144        18.666       -.10339E-06    .54103E-05
   2  Prefactor     .10000E-03    6.1165        .33764E-07** at limit **
   3  norm          2.1146        4.0503        .48290E-07   -.36391E-05
   4  Prefactor     .10000E-03    6.7000        .63216E-07** at limit **
   5  Prefactor     14.291        17.519        .23586E-06    .16552E-04
   6  Prefactor     .10000E-03    64.195       -.85593E-06** at limit **
   7  norm          .10000E-03    3.2839        .92668E-07** at limit **
   8  Prefactor     .10000E-03    51.479        .26743E-05** at limit **
   9  Prefactor     4.7178        27.831       -.21603E-05    .14370E-05
  10  Prefactor     .10000E-03    19.530       -.17921E-07** at limit **
  11  Prefactor     .10000E-03    12.661        .89276E-07** at limit **
  12  Prefactor     .10000E-03    12.260        .15658E-06** at limit **
  13  Prefactor     27.949        40.269       -.41578E-07    .81323E-05
  14  Prefactor     .10000E-03    60.897       -.18182E-05** at limit **
  15  Prefactor     .10000E-03    66.854        .69483E-06** at limit **
  16  Prefactor     .10000E-03    56.432       -.13708E-05** at limit **
  17  Prefactor     113.58        125.95        .17982E-06    .13867E-04
  18  norm          2.9692        227.10       -.15568E-05    .13413E-04
  19  Prefactor     .10000E-03    188.03        .11494E-04** at limit **
  20  Prefactor     3.1969        15.039       -.99912E-05    .94739E-04
  21  Prefactor     76.736        124.57        .15604E-04    .60170E-04
  22  Prefactor     .10000E-03    478.71       -.24792E-04** at limit **
  23  norm          1.6959        1.5922       -.84524E-07    .22896E-03
  24  Normalizat    .45890        .26443       -.89734E-06    .96988E-04
  25  Prefactor     1.0280        .18221        .86710E-06    .93357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.9144
  Prefactor  = 0.0001
  norm       = 2.11464
  Prefactor  = 0.0001
  Prefactor  = 14.2914
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.71775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.9485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 113.576
  norm       = 2.96919
  Prefactor  = 0.0001
  Prefactor  = 3.19686
  Prefactor  = 76.7361
  Prefactor  = 0.0001
  norm       = 1.69587
  Normalizat = 0.458895
  Prefactor  = 1.02799
 **********
 **   18 **HESSE 
 **********

 FCN=   2255.222     FROM HESSE     STATUS=OK           419 CALLS     3325 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9144        18.713        .20419E-03   -1.5312    
   2  Prefactor     .10000E-03    6.1214        .11471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.1146        4.0143        .12762E-03   -1.5417    
   4  Prefactor     .10000E-03    6.7058        .11996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.291        17.441        .10592E-03   -1.4952    
   6  Prefactor     .10000E-03    64.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.3076        .83811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    51.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.7178        27.769        .18603E-03   -1.5274    
  10  Prefactor     .10000E-03    19.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.667        .16506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.342        .16227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.949        40.258        .75782E-04   -1.4650    
  14  Prefactor     .10000E-03    60.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    67.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    56.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     113.58        125.92        .37749E-04   -1.3572    
  18  norm          2.9692        231.31        .23002E-03   -1.5363    
  19  Prefactor     .10000E-03    188.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.1969        15.190        .19571E-03   -1.5350    
  21  Prefactor     76.736        124.67        .45820E-04   -1.3954    
  22  Prefactor     .10000E-03    484.66        .20402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.6959        1.5800        .53393E-04   -1.5448    
  24  Normalizat    .45890        .28333        .33090E-03   -1.1436    
  25  Prefactor     1.0280        .19907        .16678E-03   -.91802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08205e-11
Minuit parameter uncertainties:
  1  17.1259
  2  6.02287e-07
  3  4.01482
  4  3.25186e-06
  5  17.4474
  6  3.29147e-05
  7  2.03343e-06
  8  2.16933e-05
  9  22.9074
  10  5.43363e-07
  11  1.24333e-07
  12  5.85936e-06
  13  40.2976
  14  2.22744e-05
  15  4.44926e-06
  16  2.63789e-05
  17  126.216
  18  52.6253
  19  0.000389439
  20  13.9427
  21  125.102
  22  4.9176e-05
  23  1.58002
  24  0.284223
  25  0.199215
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.136e+02  1.262e+02  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.028e+00  1.992e-01  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  4.589e-01  2.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.27
Ra Dec: 227.705 79.991
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 4.99e-08 +/- 5.54e-08
Energy Flux (Fixed Index): 2.17e-05 +/- 2.41e-05

TS (Fixed Index): 1.27
Ra Dec: 227.705 79.991
Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/205871/likelihoodResults_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.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) = 2254.81447987
delta logL = 0.407848165988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2254.80325642
delta logL = 0.419071618569

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.305       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0676       1.0000          .0000       10.000    
     3 'Normalizat'    .41368       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+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=   2254.803     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      308 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.373        104.65        .69435E-04    .31922E-03
   2  Index         3.0672        1.4186        .32863E-02    .17650E-03
   3  Normalizat    .41328        .27019        .34726E-03   -.16980E-03
   4  Prefactor     1.0438        .19558        .16547E-03   -.16616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.373
  Index      = 3.06718
  Normalizat = 0.413277
  Prefactor  = 1.04382
 **********
 **   18 **HESSE 
 **********

 FCN=   2254.803     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.373        73.998        .13887E-04   -1.4552    
   2  Index         3.0672        1.0076        .13145E-03   -.39690    
   3  Normalizat    .41328        .26901        .13890E-04   -1.1662    
   4  Prefactor     1.0438        .19505        .33094E-04   -.91283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28574e-10
Minuit parameter uncertainties:
  1  74.2028
  2  1.01575
  3  0.269857
  4  0.195182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/205871': 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) = 2254.80325457
delta logL = 0.419073472878

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  3.337e+01  7.420e+01  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  3.067e+00  1.016e+00  0.000e+00  1.000e+01 (-1.000e+00)
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.044e+00  1.952e-01  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  4.133e-01  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.17
Ra Dec: 227.705 79.991
Photon Index (Free Index): 3.07 +/- 1.02
Photon Flux (Free Index): 9.57e-08 +/- 8.71e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.59e-05

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/205871/cmap_HighResolution_448502401_448761601_4FGL_J1510.8+7959_daily_bin807.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', photon_flux='4.99e-08', energy_flux2='1.85e-05', photon_flux_error='5.54e-08', dlogl='4.19e-01', energy_flux='2.17e-05', photon_flux2='9.57e-08', job_status='DONE', time_completed='2021-09-11 08:57:40.625561', photon_index_error2='1.02', photon_index2='3.07', ts='1.27', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='1.59e-05', EG='0.46', time_epoch_completed='1631375860.63', return_code='0', job_id='205871', GAL2='1.04', EG2='0.41', return_code2='0', energy_flux_error='2.41e-05', photon_flux_error2='8.71e-08', ts2='2.17', photon_index='2.22' WHERE bin_id='807' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 08:57:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 205871: <4FGL_J1510.8+7959_daily_bin807> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin807> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 08:46:01 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 08:46:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 08:46:02 2021
Terminated at Sat Sep 11 08:57:41 2021
Results reported at Sat Sep 11 08:57:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin807 227.705 79.991 448502401 448761601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1510.8+7959 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   498.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            700 sec.

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

