/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 14 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 = 7248
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1510.8+7959_daily_bin267
RA = 227.705, Dec = 79.991
tmin = 308534401, tmax = 308793601
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='200546', job_status='RUN', time_executed='2021-09-11 08:27:30.112625', time_epoch_executed='1631374050.11' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='267'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200546

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200546/ft1_4FGL_J1510.8+7959_daily_bin267.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200546/ft2_4FGL_J1510.8+7959_daily_bin267.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200546/ft1_4FGL_J1510.8+7959_daily_bin267.fits outfile=/scratch/kocevski/200546/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin267.fits ra=227.705 dec=79.991 rad=12.0 tmin=308534401.0 tmax=308793601.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.25
user 5.17
sys 0.38

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200546/ft2_4FGL_J1510.8+7959_daily_bin267.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/200546/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin267.fits evtable="EVENTS" outfile="/scratch/kocevski/200546/ft1_filtered_4FGL_J1510.8+7959_daily_bin267.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.71
user 0.35
sys 0.13

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200546/ft1_filtered_4FGL_J1510.8+7959_daily_bin267.fits evtable="EVENTS" scfile=/scratch/kocevski/200546/ft2_4FGL_J1510.8+7959_daily_bin267.fits sctable="SC_DATA" expcube=/scratch/kocevski/200546/ltcube_308534401_308793601_4FGL_J1510.8+7959_daily_bin267.fits outfile=/scratch/kocevski/200546/expmap_308534401_308793601_4FGL_J1510.8+7959_daily_bin267.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/200546/ltcube_308534401_308793601_4FGL_J1510.8+7959_daily_bin267.fits
.....................!
real 195.64
user 187.30
sys 4.32

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/200546/ft1_filtered_4FGL_J1510.8+7959_daily_bin267.fits scfile=/scratch/kocevski/200546/ft2_4FGL_J1510.8+7959_daily_bin267.fits outfile=/scratch/kocevski/200546/cmap_308534401_308793601_4FGL_J1510.8+7959_daily_bin267.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200546/ft1_filtered_4FGL_J1510.8+7959_daily_bin267.fits scfile=/scratch/kocevski/200546/ft2_4FGL_J1510.8+7959_daily_bin267.fits outfile=/scratch/kocevski/200546/cmap_HighResolution_308534401_308793601_4FGL_J1510.8+7959_daily_bin267.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.656       1.0000         .10000E-03   10000.    
     3 'norm      '    7.8528       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0361       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.2651       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6712       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.633       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    71.272       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    119.33       1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.003       1.0000         .10000E-03   10000.    
    22 'Prefactor '    53.657       1.0000         .10000E-03   10000.    
    23 'norm      '    .23307       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .75817       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0221       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=   7700.905     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2905 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7170        .22703E-07** at limit **
   2  Prefactor     10.657        9.4156       -.52184E-07    .14993E-04
   3  norm          7.8528        4.0531        .52536E-06   -.40874E-03
   4  Prefactor     .10000E-03    14.229        .51739E-06** at limit **
   5  Prefactor     1.0304        8.7933       -.98766E-06   -.13356E-03
   6  Prefactor     .10000E-03    12.497       -.39391E-06** at limit **
   7  norm          8.2674        4.3037        .58798E-06   -.30800E-03
   8  Prefactor     .10000E-03    28.981       -.13752E-06** at limit **
   9  Prefactor     7.6729        10.882        .15286E-05   -.18178E-03
  10  Prefactor     .10000E-03    19.636       -.63929E-06** at limit **
  11  Prefactor     26.633        22.009        .52753E-07    .97373E-05
  12  Prefactor     .10000E-03    4.4991        .93219E-07** at limit **
  13  Prefactor     .10000E-03    12.947        .19535E-06** at limit **
  14  Prefactor     71.274        62.677        .32825E-06    .11291E-04
  15  Prefactor     .10000E-03    12.600       -.21040E-06** at limit **
  16  Prefactor     .10000E-03    51.640       -.16301E-05** at limit **
  17  Prefactor     119.32        69.963       -.78662E-06   -.42474E-04
  18  norm          .10000E-03    9.1632        .92955E-07** at limit **
  19  Prefactor     .10000E-03    42.401        .18607E-05** at limit **
  20  Prefactor     .10000E-03    2.2928        .31694E-06** at limit **
  21  Prefactor     32.000        30.549       -.90998E-06   -.17555E-03
  22  Prefactor     53.632        50.766       -.27616E-05   -.12921E-03
  23  norm          .23293        .53216        .30137E-06   -.35625E-03
  24  Normalizat    .75813        .16274       -.76465E-06   -.76121E-05
  25  Prefactor     1.0222        .10597        .18899E-06   -.10067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.6571
  norm       = 7.85279
  Prefactor  = 0.0001
  Prefactor  = 1.03039
  Prefactor  = 0.0001
  norm       = 8.26738
  Prefactor  = 0.0001
  Prefactor  = 7.67285
  Prefactor  = 0.0001
  Prefactor  = 26.6333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.2743
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 119.319
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.9999
  Prefactor  = 53.632
  norm       = 0.232925
  Normalizat = 0.758126
  Prefactor  = 1.02218
 **********
 **   18 **HESSE 
 **********

 FCN=   7700.905     FROM HESSE     STATUS=OK           423 CALLS     3328 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.657        9.3970        .12274E-03   -1.5055    
   3  norm          7.8528        4.0416        .60072E-03   -1.5147    
   4  Prefactor     .10000E-03    14.556        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0304        21.631        .42553E-02   -1.5505    
   6  Prefactor     .10000E-03    12.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.2674        4.3465        .57348E-03   -1.5133    
   8  Prefactor     .10000E-03    29.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.6729        10.921        .72393E-03   -1.5154    
  10  Prefactor     .10000E-03    19.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.633        22.058        .77626E-04   -1.4675    
  12  Prefactor     .10000E-03    4.5292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     71.274        62.720        .47551E-04   -1.4017    
  15  Prefactor     .10000E-03    12.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    52.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     119.32        70.284        .36838E-04   -1.3519    
  18  norm          .10000E-03    9.2018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    42.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.7581        .22615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.000        27.140        .70829E-04   -1.4576    
  22  Prefactor     53.632        52.524        .54756E-04   -1.4242    
  23  norm          .23293        .53066        .88671E-03   -1.5611    
  24  Normalizat    .75813        .18189        .30367E-03   -1.0164    
  25  Prefactor     1.0222        .12024        .17937E-03   -.91994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2918e-08
Minuit parameter uncertainties:
  1  1.06221e-07
  2  9.39826
  3  4.0417
  4  2.8501e-05
  5  9.44553
  6  3.42573e-05
  7  4.34669
  8  2.77826e-05
  9  10.9242
  10  6.84955e-05
  11  22.0651
  12  3.08253e-07
  13  1.04252e-05
  14  62.7781
  15  2.2818e-05
  16  0.000213494
  17  70.3337
  18  4.58815e-06
  19  0.00028449
  20  1.90453e-05
  21  27.1508
  22  52.569
  23  0.530675
  24  0.18203
  25  0.120272
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.193e+02  7.033e+01  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.022e+00  1.203e-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:  7.581e-01  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.57
Ra Dec: 227.705 79.991
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 5.24e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.34e-05

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) = 7700.81038079
delta logL = 0.0944358791303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7700.79467256
delta logL = 0.110144116654

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.645       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4341       1.0000          .0000       10.000    
     3 'Normalizat'    .74845       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0260       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=   7700.795     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      291 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     86.579        96.930        .21580E-03    .20103E-03
   2  Index         2.4341        .54112        .45034E-02    .24279E-03
   3  Normalizat    .74867        .17615        .30542E-03    .84274E-04
   4  Prefactor     1.0262        .11859        .17906E-03   -.85079E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 86.5788
  Index      = 2.43408
  Normalizat = 0.748671
  Prefactor  = 1.02622
 **********
 **   18 **HESSE 
 **********

 FCN=   7700.795     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     86.579        86.374        .86321E-05   -1.3844    
   2  Index         2.4341        .48194        .18014E-03   -.53889    
   3  Normalizat    .74867        .17609        .12217E-04   -1.0200    
   4  Prefactor     1.0262        .11856        .35812E-04   -.91861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03532e-10
Minuit parameter uncertainties:
  1  86.4995
  2  0.482959
  3  0.176228
  4  0.11859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200546': 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) = 7700.79465784
delta logL = 0.110158835814

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  8.658e+01  8.650e+01  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  2.434e+00  4.830e-01  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.026e+00  1.186e-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:  7.487e-01  1.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.80
Ra Dec: 227.705 79.991
Photon Index (Free Index): 2.43 +/- 0.48
Photon Flux (Free Index): 5.95e-08 +/- 3.64e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.29e-05

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/200546/cmap_HighResolution_308534401_308793601_4FGL_J1510.8+7959_daily_bin267.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.24e-08', energy_flux2='1.87e-05', photon_flux_error='3.09e-08', dlogl='1.10e-01', energy_flux='2.28e-05', photon_flux2='5.95e-08', job_status='DONE', time_completed='2021-09-11 08:41:11.190630', photon_index_error2='0.48', photon_index2='2.43', ts='4.57', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='0.76', time_epoch_completed='1631374871.19', return_code='0', job_id='200546', GAL2='1.03', EG2='0.75', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='3.64e-08', ts2='4.80', photon_index='2.22' WHERE bin_id='267' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 08:41:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 200546: <4FGL_J1510.8+7959_daily_bin267> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin267> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 08:26:51 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 08:26:52 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:26:52 2021
Terminated at Sat Sep 11 08:41:11 2021
Results reported at Sat Sep 11 08:41:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin267 227.705 79.991 308534401 308793601 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 :                                   800.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             363.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            860 sec.

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

