aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 28 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7468
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1510.8+7959_daily_bin1761
RA = 227.705, Dec = 79.991
tmin = 695779201, tmax = 696038401
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='926247', job_status='RUN', time_executed='2023-01-22 01:11:09.181590', time_epoch_executed='1674378669.18' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/926247

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/926247/ft1_4FGL_J1510.8+7959_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/926247/ft1_4FGL_J1510.8+7959_daily_bin1761.fits outfile=/scratch/kocevski/926247/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin1761.fits ra=227.705 dec=79.991 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.12
user 4.79
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.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/926247/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/926247/ft1_filtered_4FGL_J1510.8+7959_daily_bin1761.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

Number of photons that the gtmktime cut: 860

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/926247/ft1_filtered_4FGL_J1510.8+7959_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/926247/ltcube_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.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/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.fits
.....................!
real 14.34
user 13.93
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/926247/ft1_filtered_4FGL_J1510.8+7959_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/926247/ltcube_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.fits outfile=/scratch/kocevski/926247/expmap_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.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/926247/ltcube_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.fits
.....................!
real 193.22
user 187.44
sys 5.41

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/926247/ft1_filtered_4FGL_J1510.8+7959_daily_bin1761.fits scfile=/scratch/kocevski/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.fits outfile=/scratch/kocevski/926247/cmap_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/926247/ft1_filtered_4FGL_J1510.8+7959_daily_bin1761.fits scfile=/scratch/kocevski/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.fits outfile=/scratch/kocevski/926247/cmap_HighResolution_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/926247/ft1_filtered_4FGL_J1510.8+7959_daily_bin1761.fits', '/scratch/kocevski/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.fits', expMap='/scratch/kocevski/926247/expmap_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.fits', expCube='/scratch/kocevski/926247/ltcube_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/926247/Model_4FGL_J1510.8+7959_daily_bin1761.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  0.000e+00  1.000e+06 ( 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/926247/ft1_filtered_4FGL_J1510.8+7959_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/926247/ft2_4FGL_J1510.8+7959_daily_bin1761.fits
Exposure map: /scratch/kocevski/926247/expmap_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.fits
Exposure cube: /scratch/kocevski/926247/ltcube_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/926247/Model_4FGL_J1510.8+7959_daily_bin1761.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) = 9158.59901653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1463       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3700       1.0000          .0000       .10000E+07
     3 'norm      '    8.7117       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26856E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    23.064       1.0000          .0000       .10000E+07
     6 'Prefactor '    48.599       1.0000          .0000       .10000E+07
     7 'norm      '    .72220E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .62604E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .60117E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12779E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .55299E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12700E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12979E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .80326E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .27509E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.0177       1.0000          .0000       .10000E+07
    17 'norm      '    9.4922       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13031E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .52086E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .16792E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.7186       1.0000          .0000       .10000E+07
    22 'norm      '    1.5076       1.0000          .0000       .10000E+07
    23 'Normalizat'    .73499       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0626       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=   9158.589     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     2416 TOTAL
                     EDM=   .12E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0630        7.1978        .16060E-06    .14258E-03
   2  Prefactor     3.1893        9.7785        .23023E-06    .55365E-04
   3  norm          8.7435        4.7904        .10989E-07   -.46906E-03
   4  Prefactor      .0000        14.433        .48890E-07** at limit **
   5  Prefactor     23.115        9.9166       -.14591E-07   -.24615E-03
   6  Prefactor     48.382        57.700        .55064E-06   -.39011E-04
   7  norm           .0000        1.1271       -.17694E-08** at limit **
   8  Prefactor      .0000        27.016        .36423E-07** at limit **
   9  Prefactor      .0000        5.1873        .13290E-08** at limit **
  10  Prefactor      .0000        14.483       -.10483E-07** at limit **
  11  Prefactor      .0000        24.406       -.20995E-06** at limit **
  12  Prefactor      .0000        31.482        .19540E-06** at limit **
  13  Prefactor      .0000        35.361       -.96270E-07** at limit **
  14  Prefactor      .0000        14.896       -.17819E-07** at limit **
  15  Prefactor      .0000        19.371        .63415E-07** at limit **
  16  Prefactor     8.8561        51.973        .73774E-09   -.15726E-04
  17  norm          9.4699        16.649        .95350E-07   -.99158E-05
  18  Prefactor      .0000        92.169       -.47517E-07** at limit **
  19  Prefactor      .0000        1.4521       -.49269E-08** at limit **
  20  Prefactor      .0000        27.290        .32104E-07** at limit **
  21  Prefactor     2.7278        141.17        .48704E-07    .69988E-05
  22  norm          1.5077        .62627        .17144E-08   -.31374E-03
  23  Normalizat    .73466        .14070       -.10114E-06   -.20332E-04
  24  Prefactor     1.0629        .96577E-01   -.46129E-06   -.41043E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.06302
  Prefactor  = 3.18926
  norm       = 8.74347
  Prefactor  = 0
  Prefactor  = 23.1147
  Prefactor  = 48.3822
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.8561
  norm       = 9.46993
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.72777
  norm       = 1.50771
  Normalizat = 0.734662
  Prefactor  = 1.06291
 **********
 **   18 **HESSE 
 **********

 FCN=   9158.589     FROM HESSE     STATUS=OK           393 CALLS     2809 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0630        7.1826        .98953E-04   -1.5668    
   2  Prefactor     3.1893        9.7367        .11020E-03   -1.5672    
   3  norm          8.7435        4.7641        .67873E-04   -1.5649    
   4  Prefactor      .0000        14.477        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.115        9.9111        .83310E-05   -1.5612    
   6  Prefactor     48.382        57.735        .57382E-05   -1.5569    
   7  norm           .0000        1.1311        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        27.026        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.1939        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        14.484        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        24.441        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        31.657        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        35.368        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        14.909        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        19.378        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.8561        52.005        .13341E-04   -1.5648    
  17  norm          9.4699        16.643        .13001E-04   -1.5646    
  18  Prefactor      .0000        92.199        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.4620        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        27.366        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.7278        141.78        .24697E-04   -1.5675    
  22  norm          1.5077        .62288        .46800E-05   -1.5683    
  23  Normalizat    .73466        .15734        .30291E-03   -1.0254    
  24  Prefactor     1.0629        .10818        .17617E-03   -.90661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29444e-12
Minuit parameter uncertainties:
  1  7.18259
  2  9.73678
  3  4.76406
  4  2.99683e-06
  5  9.91111
  6  57.7359
  7  2.25648e-07
  8  5.54508e-06
  9  9.96306e-07
  10  7.78987e-07
  11  7.94055e-06
  12  1.23759e-05
  13  2.68755e-06
  14  2.92384e-06
  15  1.40062e-06
  16  42.922
  17  16.643
  18  4.01643e-06
  19  1.48861e-06
  20  1.70696e-08
  21  39.3328
  22  0.622884
  23  0.157434
  24  0.108203
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  8.856e+00  4.292e+01  0.000e+00  1.000e+06 ( 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.063e+00  1.082e-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.347e-01  1.574e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 227.705 79.991
Photon Flux Upper Limit: 5.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/926247/likelihoodResults_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.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) = 9158.57955646
delta logL = 0.00970269935533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9158.5774409
delta logL = 0.0118182596543

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6341       1.0000          .0000       .10000E+07
     2 'Index     '    2.5447       1.0000          .0000       10.000    
     3 'Normalizat'    .73264       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9158.577     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      280 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6308        52.575        .15574E-04   -.10059E-02
   2  Index         2.5452        2.1545        .40815E-02   -.19928E-03
   3  Normalizat    .73244        .15461        .30334E-03   -.73294E-03
   4  Prefactor     1.0636        .10611        .17613E-03   -.96614E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.63079
  Index      = 2.54516
  Normalizat = 0.732441
  Prefactor  = 1.06359
 **********
 **   18 **HESSE 
 **********

 FCN=   9158.577     FROM HESSE     STATUS=OK            23 CALLS      303 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6308        46.391        .62298E-06   -1.5656    
   2  Index         2.5452        2.0347        .16326E-03   -.51320    
   3  Normalizat    .73244        .15470        .60668E-04   -1.0263    
   4  Prefactor     1.0636        .10615        .35225E-04   -.90639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13348e-09
Minuit parameter uncertainties:
  1  35.0781
  2  2.11702
  3  0.154788
  4  0.106172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/926247': 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) = 9158.57743996
delta logL = 0.0118192052287

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.631e+00  3.508e+01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.545e+00  2.117e+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  1.062e-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.324e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/926247/cmap_HighResolution_695779201_696038401_4FGL_J1510.8+7959_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.30e-03', job_status='DONE', photon_flux_upper_limit='5.64e-08', time_completed='2023-01-22 01:26:16.796051', job_id='926247', GAL2='1.06', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1674379576.8', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.18e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1761' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:26:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 926247: <4FGL_J1510.8+7959_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin1761> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jan 22 01:10:19 2023
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:10:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:10:31 2023
Terminated at Sun Jan 22 01:26:17 2023
Results reported at Sun Jan 22 01:26:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin1761 227.705 79.991 695779201 696038401 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 :                                   909.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            958 sec.

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

