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


Performing analysis on: 4FGL_J1510.8+7959_daily_bin1769
RA = 227.705, Dec = 79.991
tmin = 697852801, tmax = 698112001
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='437232', job_status='RUN', time_executed='2023-02-15 00:57:39.616066', time_epoch_executed='1676451459.62' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/437232

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/437232/ft1_4FGL_J1510.8+7959_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/437232/ft2_4FGL_J1510.8+7959_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/437232/ft1_4FGL_J1510.8+7959_daily_bin1769.fits outfile=/scratch/kocevski/437232/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin1769.fits ra=227.705 dec=79.991 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.39
user 4.18
sys 0.17

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

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

Number of photons that the gtmktime cut: 902

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/437232/ft1_filtered_4FGL_J1510.8+7959_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/437232/ft2_4FGL_J1510.8+7959_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/437232/ltcube_697852801_698112001_4FGL_J1510.8+7959_daily_bin1769.fits outfile=/scratch/kocevski/437232/expmap_697852801_698112001_4FGL_J1510.8+7959_daily_bin1769.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/437232/ltcube_697852801_698112001_4FGL_J1510.8+7959_daily_bin1769.fits
.....................!
real 189.52
user 185.03
sys 4.14

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/437232/ft1_filtered_4FGL_J1510.8+7959_daily_bin1769.fits scfile=/scratch/kocevski/437232/ft2_4FGL_J1510.8+7959_daily_bin1769.fits outfile=/scratch/kocevski/437232/cmap_697852801_698112001_4FGL_J1510.8+7959_daily_bin1769.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.59
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/437232/ft1_filtered_4FGL_J1510.8+7959_daily_bin1769.fits scfile=/scratch/kocevski/437232/ft2_4FGL_J1510.8+7959_daily_bin1769.fits outfile=/scratch/kocevski/437232/cmap_HighResolution_697852801_698112001_4FGL_J1510.8+7959_daily_bin1769.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.56
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.860       1.0000          .0000       .10000E+07
     2 'Prefactor '    .32554E-02   1.0000          .0000       .10000E+07
     3 'norm      '    13.925       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32609E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.852       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39850E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .12934E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    46.000       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18797E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    32.792       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18790E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .63453E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .28217E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .34310E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .23057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12967E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .76680E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    23.730       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.2954       1.0000          .0000       .10000E+07
    20 'Prefactor '    11.568       1.0000          .0000       .10000E+07
    21 'Prefactor '    .34385E-02   1.0000          .0000       .10000E+07
    22 'norm      '    1.6932       1.0000          .0000       .10000E+07
    23 'Normalizat'    .79669       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0199       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9596.123     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1932 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.941        9.3892        .18243E-07    .23285E-01
   2  Prefactor     .46418E-06    8.7852       -.18453E-06** at limit **
   3  norm          13.938        5.0479       -.10935E-06   -.65940E-02
   4  Prefactor     .67130E-06    5.2699       -.28169E-06** at limit **
   5  Prefactor     11.759        8.7903       -.10736E-06   -.11111E-02
   6  Prefactor     .18818E-06    5.2807       -.23232E-06** at limit **
   7  norm           .0000        1.0852       -.65618E-07** at limit **
   8  Prefactor     46.025        11.332        .40566E-07   -.78247E-01
   9  Prefactor     .92354E-06    8.6555       -.33324E-07** at limit **
  10  Prefactor     32.864        5.7380        .21424E-07   -.80158E-02
  11  Prefactor     .11102E-09    5.5516        .46089E-07** at limit **
  12  Prefactor     .34417E-06    9.3064       -.92893E-07** at limit **
  13  Prefactor     .44409E-09    32.576       -.33713E-06** at limit **
  14  Prefactor     .97161E-06    6.5074       -.18803E-06** at limit **
  15  Prefactor     .20650E-07    1.7857       -.84943E-07** at limit **
  16  Prefactor     .59619E-06    12.212       -.88661E-07** at limit **
  17  norm          .11655E-05    8.5354       -.10261E-06** at limit **
  18  Prefactor     23.826        12.030        .68040E-07   -.12053    
  19  Prefactor     2.3040        2.6969       -.56004E-07   -.36700E-02
  20  Prefactor     11.434        13.169       -.88198E-07    .18038E-01
  21  Prefactor     .73119E-06    5.8879       -.27457E-06** at limit **
  22  norm          1.6939        .64812        .91603E-08    .35174E-03
  23  Normalizat    .79702        .15527        .28273E-06   -.22115E-03
  24  Prefactor     1.0198        .10487       -.12492E-05   -.39774E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9409
  Prefactor  = 4.64184e-07
  norm       = 13.938
  Prefactor  = 6.71296e-07
  Prefactor  = 11.7593
  Prefactor  = 1.88183e-07
  norm       = 0
  Prefactor  = 46.0245
  Prefactor  = 9.23539e-07
  Prefactor  = 32.8639
  Prefactor  = 1.11022e-10
  Prefactor  = 3.44169e-07
  Prefactor  = 4.44089e-10
  Prefactor  = 9.71612e-07
  Prefactor  = 2.06501e-08
  Prefactor  = 5.9619e-07
  norm       = 1.16551e-06
  Prefactor  = 23.8257
  Prefactor  = 2.30403
  Prefactor  = 11.434
  Prefactor  = 7.31193e-07
  norm       = 1.69392
  Normalizat = 0.797023
  Prefactor  = 1.01979
 **********
 **   18 **HESSE 
 **********

 FCN=   9596.123     FROM HESSE     STATUS=OK           437 CALLS     2369 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.941        9.3884        .24365E-03   -1.5626    
   2  Prefactor     .46418E-06    9.4377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          13.938        5.0689        .26815E-03   -1.5633    
   4  Prefactor     .67130E-06    13.958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.759        8.8082        .29073E-03   -1.5639    
   6  Prefactor     .18818E-06    15.556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     46.025        35.745        .14745E-03   -1.5572    
   9  Prefactor     .92354E-06    21.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.864        28.393        .17465E-03   -1.5593    
  11  Prefactor     .11102E-09    5.5359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .34417E-06    24.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    32.471        .16546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .97161E-06    16.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .20650E-07    66.815        .11255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .59619E-06    23.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .11655E-05    9.9346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.826        81.700        .20533E-03   -1.5610    
  19  Prefactor     2.3040        3.2377        .67717E-03   -1.5678    
  20  Prefactor     11.434        30.491        .29429E-03   -1.5640    
  21  Prefactor     .73119E-06    13.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.6939        .66499        .80852E-03   -1.5682    
  23  Normalizat    .79702        .14011        .67522E-01   -1.0018    
  24  Prefactor     1.0198        .93176E-01    .42147E-01   -.92073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68533e-06
Minuit parameter uncertainties:
  1  9.3884
  2  0.00418616
  3  5.06892
  4  0.00612226
  5  8.80817
  6  0.00342184
  7  3.14398e-06
  8  35.7455
  9  0.00892112
  10  28.3933
  11  4.39427e-05
  12  0.00576111
  13  0.000235859
  14  0.0080032
  15  0.00234883
  16  0.00755824
  17  0.00680554
  18  81.7039
  19  3.23769
  20  30.4913
  21  0.00628667
  22  0.664989
  23  0.140172
  24  0.0931909
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  5.962e-07  7.558e-03  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.020e+00  9.319e-02  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.970e-01  1.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/437232/likelihoodResults_697852801_698112001_4FGL_J1510.8+7959_daily_bin1769.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): 102
logL (Free Index) = 9596.14300726
delta logL = -0.0200256363441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9596.12240087
delta logL = 0.000580754600378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1639       1.0000          .0000       .10000E+07
     2 'Index     '    1.3052       1.0000          .0000       10.000    
     3 'Normalizat'    .79702       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0197       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9596.122     FROM MIGRAD    STATUS=FAILED       107 CALLS      296 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2795        600.53        .42646E-04    .22926E-04
   2  Index         1.3231        5.0572        .59083E-01   -.10315E-03
   3  Normalizat    .79703        .15150        .29874E-03    .15222E-06
   4  Prefactor     1.0197        .10400        .18181E-03    .54027E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9596.122     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      380 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2795        600.53        .18186E-03   -1.5685    
   2  Index         1.3231        5.0572        .33361E-02   -.82624    
   3  Normalizat    .79703        .15150        .61913E-04   -1.0018    
   4  Prefactor     1.0197        .10400        .44755E-04   -.92077    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9596.122     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      409 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2795        275.61        .17058E-05    .21888E-04
   2  Index         1.3231        2.8407        .11817E-01    .26361E-06
   3  Normalizat    .79703        .15158        .11950E-04    .15222E-06
   4  Prefactor     1.0197        .10397        .36361E-04    .53777E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27954
  Index      = 1.32306
  Normalizat = 0.797032
  Prefactor  = 1.01967
 **********
 **   18 **HESSE 
 **********

 FCN=   9596.122     FROM HESSE     STATUS=OK            23 CALLS      432 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2795        269.31        .37397E-06   -1.5685    
   2  Index         1.3231        2.8388        .47266E-03   -.82624    
   3  Normalizat    .79703        .15159        .11950E-04   -1.0018    
   4  Prefactor     1.0197        .10398        .72723E-05   -.92077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56931e-13
Minuit parameter uncertainties:
  1  37.1278
  2  3.3656
  3  0.151672
  4  0.103999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/437232': 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) = 9596.12238413
delta logL = 0.000597500342337

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.280e+00  3.713e+01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  1.323e+00  3.366e+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.020e+00  1.040e-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.970e-01  1.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/437232/cmap_HighResolution_697852801_698112001_4FGL_J1510.8+7959_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-03', job_status='DONE', photon_flux_upper_limit='3.93e-08', time_completed='2023-02-15 01:12:05.505029', job_id='437232', GAL2='1.02', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1676452325.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.98e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1769' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:12:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 437232: <4FGL_J1510.8+7959_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 00:55:27 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:55:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:55:29 2023
Terminated at Wed Feb 15 01:12:06 2023
Results reported at Wed Feb 15 01:12:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin1769 227.705 79.991 697852801 698112001 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 :                                   867.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            999 sec.

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

