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


Performing analysis on: 4FGL_J1510.1+5702_daily_bin1776
RA = 227.542, Dec = 57.0398
tmin = 699667201, tmax = 699926401
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='835848', job_status='RUN', time_executed='2023-03-08 00:46:46.308490', time_epoch_executed='1678265206.31' WHERE source_name='4FGL J1510.1+5702' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/835848

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/835848/ft1_4FGL_J1510.1+5702_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/835848/ft1_4FGL_J1510.1+5702_daily_bin1776.fits outfile=/scratch/kocevski/835848/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1776.fits ra=227.542 dec=57.0398 rad=12.0 tmin=699667201.0 tmax=699926401.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.89
user 3.68
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.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/835848/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.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.61
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/835848/ltcube_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.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/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits
.....................!
real 12.66
user 12.25
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/835848/ltcube_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.fits outfile=/scratch/kocevski/835848/expmap_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.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/835848/ltcube_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.fits
.....................!
real 190.12
user 185.23
sys 4.22

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

Setting source of interest to:
4FGL J1510.1+5702 @ 227.542 57.0398

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.fits scfile=/scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits outfile=/scratch/kocevski/835848/cmap_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.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.542 yref=57.0398 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.fits scfile=/scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits outfile=/scratch/kocevski/835848/cmap_HighResolution_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.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.542 yref=57.0398 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835848/Model_4FGL_J1510.1+5702_daily_bin1776.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/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.fits.....................!
real 58.53
user 57.02
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.fits', '/scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits', expMap='/scratch/kocevski/835848/expmap_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.fits', expCube='/scratch/kocevski/835848/ltcube_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/835848/Model_4FGL_J1510.1+5702_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.1+5702'

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  1.597e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
345        Index:  2.882e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  4.831e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/835848/ft1_filtered_4FGL_J1510.1+5702_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/835848/ft2_4FGL_J1510.1+5702_daily_bin1776.fits
Exposure map: /scratch/kocevski/835848/expmap_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.fits
Exposure cube: /scratch/kocevski/835848/ltcube_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/835848/Model_4FGL_J1510.1+5702_daily_bin1776.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) = 7547.39902319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60679E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.8555       1.0000          .0000       .10000E+07
     3 'Prefactor '    .78861E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.080       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21669E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .25912       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.244       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14303E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    19.963       1.0000          .0000       .10000E+07
    10 'Prefactor '    .20091E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .45014E-03   1.0000          .0000       .10000E+07
    12 'norm      '    2.1833       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11302E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.9085       1.0000          .0000       .10000E+07
    15 'Prefactor '    .68002E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .16167E-01   1.0000          .0000       .10000E+07
    17 'norm      '    .70593       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.8213       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.0938       1.0000          .0000       .10000E+07
    20 'norm      '    1.0708       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11106       1.0000          .0000       .10000E+07
    22 'Prefactor '    34.331       1.0000          .0000       .10000E+07
    23 'Prefactor '    6.9690       1.0000          .0000       .10000E+07
    24 'Prefactor '    8.4785       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0650       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7547.380     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     2256 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.2750       -.24776E-06** at limit **
   2  Prefactor     4.7978        1.7266        .37202E-07   -.56105E-02
   3  Prefactor     .58287E-08    29.881       -.51808E-06** at limit **
   4  Prefactor     11.157        14.789       -.19219E-06    .94625E-01
   5  Prefactor      .0000        1.9019        .78227E-07** at limit **
   6  Prefactor     .25636        3.9968        .43206E-06    .30874E-02
   7  Prefactor     14.244        14.893       -.95947E-07   -.11115    
   8  Prefactor     .16176E-06    160.46        .96018E-06** at limit **
   9  Prefactor     19.986        1.0876        .76136E-08   -.18275E-01
  10  Prefactor     .17764E-08    5.9828        .14224E-06** at limit **
  11  Prefactor     .73830E-08    5.4521       -.29149E-06** at limit **
  12  norm          2.1824        1.5193       -.12434E-08    .63770E-03
  13  Prefactor     .22204E-09    3.0969       -.16296E-06** at limit **
  14  Prefactor     4.8951        2.0023        .30494E-07   -.13201E-01
  15  Prefactor     .55511E-09    3.3423        .80524E-07** at limit **
  16  Prefactor     .55511E-10    18.620       -.28664E-06** at limit **
  17  norm          .70537        1.2098       -.18944E-06   -.28218E-02
  18  Prefactor     8.0080        2.8918       -.58431E-07    .24161E-01
  19  Prefactor     7.1393        5.4831       -.87309E-07   -.16400E-02
  20  norm          1.0599        4.1853       -.98453E-07   -.52299E-03
  21  Prefactor     .76433E-06    48.836       -.88785E-09** at limit **
  22  Prefactor     34.144        3.6738        .21688E-08    .57685E-01
  23  Prefactor     6.9702        6.7541       -.13330E-08   -.54379E-02
  24  Prefactor     8.4722        8.0599        .12327E-06    .35162E-01
  25  Normalizat    1.0649        .18706        .39212E-05    .33245E-05
  26  Prefactor     1.1265        .20970       -.47088E-05   -.53175E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 4.79784
  Prefactor  = 5.82867e-09
  Prefactor  = 11.157
  Prefactor  = 0
  Prefactor  = 0.256362
  Prefactor  = 14.2443
  Prefactor  = 1.61759e-07
  Prefactor  = 19.9858
  Prefactor  = 1.77636e-09
  Prefactor  = 7.38298e-09
  norm       = 2.18237
  Prefactor  = 2.22045e-10
  Prefactor  = 4.8951
  Prefactor  = 5.55112e-10
  Prefactor  = 5.55112e-11
  norm       = 0.705371
  Prefactor  = 8.00798
  Prefactor  = 7.13932
  norm       = 1.05991
  Prefactor  = 7.64333e-07
  Prefactor  = 34.1437
  Prefactor  = 6.97024
  Prefactor  = 8.47219
  Normalizat = 1.06493
  Prefactor  = 1.1265
 **********
 **   18 **HESSE 
 **********

 FCN=   7547.380     FROM HESSE     STATUS=OK           518 CALLS     2774 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.2702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7978        118.17        .45627E-03   -1.5664    
   3  Prefactor     .58287E-08    29.892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.157        26.614        .30073E-03   -1.5641    
   5  Prefactor      .0000        1.9028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .25636        1.2156        .47535E-02   -1.5698    
   7  Prefactor     14.244        17.972        .26512E-03   -1.5632    
   8  Prefactor     .16176E-06    160.79        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.986        26.645        .22389E-03   -1.5619    
  10  Prefactor     .17764E-08    6.0224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73830E-08    5.4669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1824        1.5280        .69639E-03   -1.5678    
  13  Prefactor     .22204E-09    3.1007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.8951        8.2123        .45375E-03   -1.5664    
  15  Prefactor     .55511E-09    3.3571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    18.502        .17303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .70537        1.2422        .60228E-03   -1.5691    
  18  Prefactor     8.0080        89.358        .35831E-03   -1.5651    
  19  Prefactor     7.1393        5.5162        .37640E-03   -1.5655    
  20  norm          1.0599        4.2417        .11730E-02   -1.5687    
  21  Prefactor     .76433E-06    48.762        .13641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     34.144        65.738        .17069E-03   -1.5591    
  23  Prefactor     6.9702        6.9355        .37979E-03   -1.5655    
  24  Prefactor     8.4722        8.1671        .34403E-03   -1.5650    
  25  Normalizat    1.0649        .15902        .39646E-01   -.90886    
  26  Prefactor     1.1265        .17517        .58232E-01   -.88624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56595e-06
Minuit parameter uncertainties:
  1  8.50366e-06
  2  47.6227
  3  0.000835978
  4  26.6141
  5  4.25162e-06
  6  1.11648
  7  17.9719
  8  0.0102003
  9  26.6453
  10  0.000205328
  11  0.000402508
  12  1.52801
  13  5.2165e-05
  14  8.21229
  15  8.49516e-05
  16  6.50586e-05
  17  1.24218
  18  53.5016
  19  5.5162
  20  4.24069
  21  0.0122101
  22  65.7394
  23  6.93556
  24  8.16711
  25  0.159091
  26  0.175255
Done.

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

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  5.551e-10  8.495e-05  0.000e+00  1.000e+06 ( 1.000e-12)
345        Index:  2.882e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  4.831e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  1.127e+00  1.753e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  1.065e+00  1.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 227.542 57.040
Photon Flux Upper Limit: 5.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/835848/likelihoodResults_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.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) = 7547.38084304
delta logL = -0.000569420838474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7547.38027381
delta logL = -1.90706487047e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68279E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.2936       1.0000          .0000       10.000    
     3 'Normalizat'    1.0649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1264       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7547.380     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      249 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4652        .42118E-03** at limit **
   2  Index         4.2736        1.5900        .13846E-04     .0000    
   3  Normalizat    1.0649        1.1857       -.51069E-05   -.65410E-04
   4  Prefactor     1.1265        1.1332        .70271E-05   -.12450E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.27359
  Normalizat = 1.06493
  Prefactor  = 1.1265
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7547.380     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9510        2.3611        .13846E-04   -.14580    
   3  Normalizat    1.0649        1.1857       -.51069E-05   -.90886    
   4  Prefactor     1.1265        1.1332        .70271E-05   -.88624    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.70644e-11
Minuit parameter uncertainties:
  1  5.22102e-06
  2  1.61871
  3  1.21736
  4  1.15902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/835848': 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): 101
logL (Free Index) = 7547.38027362
delta logL = 7.63975549489e-11

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  0.000e+00  5.221e-06  0.000e+00  1.000e+06 ( 1.000e-12)
345        Index:  4.274e+00  1.619e+00  0.000e+00  1.000e+01 (-1.000e+00)
346        Scale:  4.831e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  1.127e+00  1.159e+00  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  1.065e+00  1.217e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 227.542 57.040

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/835848/cmap_HighResolution_699667201_699926401_4FGL_J1510.1+5702_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-03', job_status='DONE', photon_flux_upper_limit='5.82e-08', time_completed='2023-03-08 01:00:07.796269', job_id='835848', GAL2='1.13', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1678266007.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='7.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1776' AND source_name='4FGL J1510.1+5702' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:00:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 835848: <4FGL_J1510.1+5702_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1510.1+5702_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:45:35 2023
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:45:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:45:59 2023
Terminated at Wed Mar  8 01:00:08 2023
Results reported at Wed Mar  8 01:00:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.1+5702_daily_bin1776 227.542 57.0398 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1510.1+5702 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   802.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            873 sec.

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

