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


Performing analysis on: 4FGL_J1510.8+7959_daily_bin451
RA = 227.705, Dec = 79.991
tmin = 356227201, tmax = 356486401
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='200746', job_status='RUN', time_executed='2021-09-11 08:30:06.904432', time_epoch_executed='1631374206.9' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='451'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200746

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200746/ft1_4FGL_J1510.8+7959_daily_bin451.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...
fmerge4.1 : Error, missing column list names, file /scratch/kocevski/200746/ft2_filtered_0009.fits
fmerge4.1 : Fatal error!
FCCMPL: not found in table: RA_SUN
FCCMPL: not found in table: DEC_SUN

Merged file saved to:
/scratch/kocevski/200746/ft2_4FGL_J1510.8+7959_daily_bin451.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200746/ft1_4FGL_J1510.8+7959_daily_bin451.fits outfile=/scratch/kocevski/200746/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin451.fits ra=227.705 dec=79.991 rad=12.0 tmin=356227201.0 tmax=356486401.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.11
user 2.91
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200746/ft1_filtered_4FGL_J1510.8+7959_daily_bin451.fits" evtable="EVENTS" scfile=/scratch/kocevski/200746/ft2_4FGL_J1510.8+7959_daily_bin451.fits sctable="SC_DATA" outfile=/scratch/kocevski/200746/ltcube_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.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/200746/ft2_4FGL_J1510.8+7959_daily_bin451.fits
.....................!
real 3.15
user 2.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200746/ft1_filtered_4FGL_J1510.8+7959_daily_bin451.fits evtable="EVENTS" scfile=/scratch/kocevski/200746/ft2_4FGL_J1510.8+7959_daily_bin451.fits sctable="SC_DATA" expcube=/scratch/kocevski/200746/ltcube_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.fits outfile=/scratch/kocevski/200746/expmap_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.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/200746/ltcube_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.fits
.....................!
real 189.83
user 185.03
sys 4.45

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/200746/ft1_filtered_4FGL_J1510.8+7959_daily_bin451.fits scfile=/scratch/kocevski/200746/ft2_4FGL_J1510.8+7959_daily_bin451.fits outfile=/scratch/kocevski/200746/cmap_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200746/ft1_filtered_4FGL_J1510.8+7959_daily_bin451.fits scfile=/scratch/kocevski/200746/ft2_4FGL_J1510.8+7959_daily_bin451.fits outfile=/scratch/kocevski/200746/cmap_HighResolution_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.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
gtbin: WARNING: Spacecraft data ceases before end of last GTI.
gtbin: WARNING: EXPOSURE keyword calculation may not be accurate.
real 0.54
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200746/ft1_filtered_4FGL_J1510.8+7959_daily_bin451.fits', '/scratch/kocevski/200746/ft2_4FGL_J1510.8+7959_daily_bin451.fits', expMap='/scratch/kocevski/200746/expmap_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.fits', expCube='/scratch/kocevski/200746/ltcube_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200746/Model_4FGL_J1510.8+7959_daily_bin451.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/200746/ft1_filtered_4FGL_J1510.8+7959_daily_bin451.fits
Spacecraft file(s): /scratch/kocevski/200746/ft2_4FGL_J1510.8+7959_daily_bin451.fits
Exposure map: /scratch/kocevski/200746/expmap_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.fits
Exposure cube: /scratch/kocevski/200746/ltcube_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200746/Model_4FGL_J1510.8+7959_daily_bin451.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) = 1814.49959964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.234       1.0000         .10000E-03   10000.    
     3 'norm      '    .10572E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10733E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10885E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    140.48       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.342       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.677       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3609       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15468E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    73.012       1.0000         .10000E-03   10000.    
    18 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15877E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7990       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    113.80       1.0000         .10000E-03   10000.    
    23 'norm      '    1.3680       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .59301       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0559       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=   1814.471     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2818 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.034       -.43521E-06** at limit **
   2  Prefactor     12.211        29.101        .16838E-05   -.37538E-04
   3  norm          .10000E-03    5.2996       -.36216E-06** at limit **
   4  Prefactor     .10000E-03    10.821       -.51129E-06** at limit **
   5  Prefactor     .10000E-03    23.841        .82026E-05** at limit **
   6  Prefactor     .10000E-03    113.07        .39325E-05** at limit **
   7  norm          .10000E-03    2.8432       -.28509E-06** at limit **
   8  Prefactor     140.51        134.06        .25832E-04   -.38360E-04
   9  Prefactor     11.346        26.447       -.27945E-05   -.46937E-04
  10  Prefactor     .10000E-03    45.330       -.42487E-05** at limit **
  11  Prefactor     17.544        52.267       -.90773E-04    .15310E-05
  12  Prefactor     5.3706        16.794        .10506E-04    .23387E-04
  13  Prefactor     .10000E-03    43.534        .12487E-04** at limit **
  14  Prefactor     .10000E-03    99.713       -.78110E-04** at limit **
  15  Prefactor     .10000E-03    32.265        .10467E-04** at limit **
  16  Prefactor     .10000E-03    147.80        .15094E-03** at limit **
  17  Prefactor     72.912        127.16       -.10055E-03   -.30808E-04
  18  norm          .10000E-03    21.608       -.30001E-05** at limit **
  19  Prefactor     .10000E-03    332.46       -.79513E-04** at limit **
  20  Prefactor     2.7965        4.7085       -.45470E-06   -.17256E-04
  21  Prefactor     .10000E-03    29.384       -.18407E-04** at limit **
  22  Prefactor     113.80        126.06        .16645E-05   -.92530E-05
  23  norm          1.3679        1.1793       -.14073E-06    .89962E-04
  24  Normalizat    .59311        .32275        .18568E-04   -.20999E-03
  25  Prefactor     1.0558        .21101       -.27796E-05    .42384E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.2106
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 140.513
  Prefactor  = 11.3464
  Prefactor  = 0.000100001
  Prefactor  = 17.5441
  Prefactor  = 5.37057
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.912
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.79654
  Prefactor  = 0.0001
  Prefactor  = 113.799
  norm       = 1.36794
  Normalizat = 0.593115
  Prefactor  = 1.05578
 **********
 **   18 **HESSE 
 **********

 FCN=   1814.471     FROM HESSE     STATUS=OK           417 CALLS     3235 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.045        .13180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.211        29.067        .11453E-03   -1.5009    
   3  norm          .10000E-03    5.3106        .95720E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.829        .13683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    113.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.8470        .70141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     140.51        134.37        .16994E-03   -1.3332    
   9  Prefactor     11.346        26.435        .11896E-03   -1.5034    
  10  Prefactor     .10000E-03    45.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.544        52.318        .95260E-04   -1.4870    
  12  Prefactor     5.3706        16.819        .17357E-03   -1.5244    
  13  Prefactor     .10000E-03    43.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    99.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    32.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    148.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     72.912        127.36        .23493E-03   -1.3998    
  18  norm          .10000E-03    21.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    332.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.7965        4.6871        .11474E-03   -1.5373    
  21  Prefactor     .10000E-03    29.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     113.80        126.46        .37713E-04   -1.3570    
  23  norm          1.3679        1.1880        .41411E-04   -1.5474    
  24  Normalizat    .59311        .35492        .32289E-03   -1.0828    
  25  Prefactor     1.0558        .23458        .17183E-03   -.90893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3146e-09
Minuit parameter uncertainties:
  1  2.24846e-05
  2  29.1002
  3  4.11354e-05
  4  6.39715e-05
  5  0.000378985
  6  0.000442439
  7  2.32562e-05
  8  134.66
  9  26.4623
  10  0.000436332
  11  52.4557
  12  16.8334
  13  0.000446436
  14  2.68597e-06
  15  1.24029e-05
  16  0.00042914
  17  127.842
  18  1.9004e-05
  19  0.000344377
  20  4.68768
  21  2.49639e-05
  22  126.766
  23  1.18807
  24  0.356289
  25  0.234805
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  7.291e+01  1.278e+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.056e+00  2.348e-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:  5.931e-01  3.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/200746/likelihoodResults_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.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) = 1814.3465429
delta logL = 0.124807149716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1814.33677235
delta logL = 0.134577705441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.002       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8493       1.0000          .0000       10.000    
     3 'Normalizat'    .56737       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0634       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.

 FCN=   1814.337     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      269 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.002        1652.9        .17438E-02   -.20137E-04
   2  Index         2.8493        6.4236        .12917        .38889E-04
   3  Normalizat    .56714        .12287        .74471E-01    .10036E-04
   4  Prefactor     1.0636        .74518E-01    .39180E-01   -.70057E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.0016
  Index      = 2.84933
  Normalizat = 0.567143
  Prefactor  = 1.06357
 **********
 **   18 **HESSE 
 **********

 FCN=   1814.337     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.002        109.42        .69753E-04   -1.4558    
   2  Index         2.8493        1.5270        .44225E-02   -.44464    
   3  Normalizat    .56714        .33160        .32972E-03   -1.0940    
   4  Prefactor     1.0636        .22727        .17120E-03   -.90640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83577e-11
Minuit parameter uncertainties:
  1  110.091
  2  1.55773
  3  0.332766
  4  0.227475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200746': 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) = 1814.33677211
delta logL = 0.134577944461

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  3.300e+01  1.101e+02  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  2.849e+00  1.558e+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.064e+00  2.275e-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:  5.671e-01  3.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 227.705 79.991

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/200746/cmap_HighResolution_356227201_356486401_4FGL_J1510.8+7959_daily_bin451.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-02', job_status='DONE', photon_flux_upper_limit='1.92e-07', time_completed='2021-09-11 08:39:49.501133', job_id='200746', GAL2='1.06', fit_tolerance='1e-08', EG2='0.57', EG='0.59', time_epoch_completed='1631374789.5', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.35e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='451' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 08:39:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 200746: <4FGL_J1510.8+7959_daily_bin451> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin451> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 08:27:08 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 08:27:09 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:27:09 2021
Terminated at Sat Sep 11 08:39:50 2021
Results reported at Sat Sep 11 08:39:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin451 227.705 79.991 356227201 356486401 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 :                                   441.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             190.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            762 sec.

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

