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


Performing analysis on: 4FGL_J1510.8+7959_daily_bin1774
RA = 227.705, Dec = 79.991
tmin = 699148801, tmax = 699408001
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='685407', job_status='RUN', time_executed='2023-03-02 00:55:40.944186', time_epoch_executed='1677747340.94' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685407

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685407/ft1_4FGL_J1510.8+7959_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685407/ft2_4FGL_J1510.8+7959_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685407/ft1_4FGL_J1510.8+7959_daily_bin1774.fits outfile=/scratch/kocevski/685407/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin1774.fits ra=227.705 dec=79.991 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.83
user 2.62
sys 0.18

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

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

Number of photons that the gtmktime cut: 1155

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/685407/ft1_filtered_4FGL_J1510.8+7959_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/685407/ft2_4FGL_J1510.8+7959_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/685407/ltcube_699148801_699408001_4FGL_J1510.8+7959_daily_bin1774.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/685407/ft2_4FGL_J1510.8+7959_daily_bin1774.fits
.....................!
real 12.59
user 12.25
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685407/ft1_filtered_4FGL_J1510.8+7959_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/685407/ft2_4FGL_J1510.8+7959_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/685407/ltcube_699148801_699408001_4FGL_J1510.8+7959_daily_bin1774.fits outfile=/scratch/kocevski/685407/expmap_699148801_699408001_4FGL_J1510.8+7959_daily_bin1774.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/685407/ltcube_699148801_699408001_4FGL_J1510.8+7959_daily_bin1774.fits
.....................!
real 190.57
user 185.30
sys 4.95

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/685407/ft1_filtered_4FGL_J1510.8+7959_daily_bin1774.fits scfile=/scratch/kocevski/685407/ft2_4FGL_J1510.8+7959_daily_bin1774.fits outfile=/scratch/kocevski/685407/cmap_699148801_699408001_4FGL_J1510.8+7959_daily_bin1774.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.54
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.110       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.5936       1.0000          .0000       .10000E+07
     3 'norm      '    .44651E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54262E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .78272E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    14.609       1.0000          .0000       .10000E+07
     7 'norm      '    3.0343       1.0000          .0000       .10000E+07
     8 'Prefactor '    .45343E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.8195       1.0000          .0000       .10000E+07
    10 'Prefactor '    .45775E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .67339E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10734E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42473E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    13.834       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17109E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.320       1.0000          .0000       .10000E+07
    17 'norm      '    .32627E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22807E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .30329       1.0000          .0000       .10000E+07
    20 'Prefactor '    .30208E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .14786E-02   1.0000          .0000       .10000E+07
    22 'norm      '    1.2126       1.0000          .0000       .10000E+07
    23 'Normalizat'    .96009       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0243       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=   12436.88     FROM MIGRAD    STATUS=CONVERGED    211 CALLS     1653 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.055        7.9200        .16219E-07   -.83185E-03
   2  Prefactor     5.6131        7.3591       -.32134E-07   -.63926E-03
   3  norm          .55511E-09    4.9901        .16381E-06** at limit **
   4  Prefactor     .35461E-06    17.638       -.86480E-08** at limit **
   5  Prefactor     .55511E-10    2.9667       -.41768E-07** at limit **
   6  Prefactor     12.522        60.544       -.13221E-05    .18980E-01
   7  norm          3.0381        2.1715       -.23998E-07   -.13377E-02
   8  Prefactor     .31153E-06    28.518        .50885E-06** at limit **
   9  Prefactor     2.8375        8.4602       -.36724E-06   -.15384E-02
  10  Prefactor     .22204E-09    27.909       -.64014E-06** at limit **
  11  Prefactor     .44076E-06    23.916       -.63989E-06** at limit **
  12  Prefactor     .55511E-10    5.4769        .49665E-07** at limit **
  13  Prefactor     .44237E-06    73.146        .64970E-07** at limit **
  14  Prefactor     14.444        12.665       -.63885E-07   -.14610    
  15  Prefactor     .80491E-08    11.660       -.60067E-07** at limit **
  16  Prefactor     18.010        44.775        .60198E-06    .39667E-01
  17  norm           .0000        5.1026       -.24201E-06** at limit **
  18  Prefactor     .16176E-05    26.178       -.73985E-06** at limit **
  19  Prefactor     .30437        2.5243       -.16829E-07   -.17337E-03
  20  Prefactor     .22204E-08    8.7731        .68714E-07** at limit **
  21  Prefactor     .10547E-08    9.5582       -.19302E-06** at limit **
  22  norm          1.2127        .52834       -.39928E-08   -.78794E-03
  23  Normalizat    .95950        .14613        .23081E-05   -.32159E-04
  24  Prefactor     1.0245        .93658E-01   -.16382E-05   -.14854E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.055
  Prefactor  = 5.61307
  norm       = 5.55112e-10
  Prefactor  = 3.54605e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 12.5222
  norm       = 3.03806
  Prefactor  = 3.11529e-07
  Prefactor  = 2.83751
  Prefactor  = 2.22045e-10
  Prefactor  = 4.40759e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 4.42368e-07
  Prefactor  = 14.4442
  Prefactor  = 8.04912e-09
  Prefactor  = 18.0105
  norm       = 0
  Prefactor  = 1.61759e-06
  Prefactor  = 0.304374
  Prefactor  = 2.22045e-09
  Prefactor  = 1.05471e-09
  norm       = 1.21275
  Normalizat = 0.959495
  Prefactor  = 1.02446
 **********
 **   18 **HESSE 
 **********

 FCN=   12436.88     FROM HESSE     STATUS=OK           445 CALLS     2098 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.055        7.9130        .30032E-03   -1.5641    
   2  Prefactor     5.6131        7.3790        .42453E-03   -1.5661    
   3  norm          .55511E-09    4.9103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .35461E-06    17.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    2.9617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.522        65.292        .26179E-03   -1.5637    
   7  norm          3.0381        2.1728        .58227E-03   -1.5673    
   8  Prefactor     .31153E-06    28.912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8375        8.4828        .60547E-03   -1.5674    
  10  Prefactor     .22204E-09    27.810        .15713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44076E-06    49.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    5.4753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44237E-06    72.498        .15854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.444        23.114        .26904E-03   -1.5632    
  15  Prefactor     .80491E-08    11.674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.010        49.258        .24766E-03   -1.5623    
  17  norm           .0000        5.1020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16176E-05    48.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .30437        1.0119        .51794E-02   -1.5697    
  20  Prefactor     .22204E-08    8.7848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10547E-08    9.5682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2127        .54160        .10264E-02   -1.5686    
  23  Normalizat    .95950        .13253        .45665E-01   -.94400    
  24  Prefactor     1.0245        .83690E-01    .41735E-01   -.91919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23318e-06
Minuit parameter uncertainties:
  1  7.91298
  2  7.379
  3  0.000103091
  4  0.00499546
  5  2.47362e-05
  6  57.1886
  7  2.17277
  8  0.00600254
  9  8.4828
  10  0.000164283
  11  0.00930097
  12  3.76779e-05
  13  0.0113261
  14  23.1141
  15  0.000612085
  16  49.2594
  17  1.33489e-05
  18  0.017779
  19  1.01192
  20  0.000279506
  21  0.000200693
  22  0.5416
  23  0.132577
  24  0.0837009
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.801e+01  4.926e+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.024e+00  8.370e-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:  9.595e-01  1.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/685407/likelihoodResults_699148801_699408001_4FGL_J1510.8+7959_daily_bin1774.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) = 12436.8152245
delta logL = 0.060681085457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12436.8067239
delta logL = 0.0691817109728

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.102       1.0000          .0000       .10000E+07
     2 'Index     '    2.6333       1.0000          .0000       10.000    
     3 'Normalizat'    .95280       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0264       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=   12436.81     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      252 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.106        46.225        .11059E-04    .22946E-02
   2  Index         2.6332        1.4081        .86020E-02    .24018E-03
   3  Normalizat    .95280        .14173        .28890E-03    .69430E-03
   4  Prefactor     1.0264        .92462E-01    .18394E-03    .80904E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.106
  Index      = 2.63323
  Normalizat = 0.952799
  Prefactor  = 1.02637
 **********
 **   18 **HESSE 
 **********

 FCN=   12436.81     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.106        37.447        .44235E-06   -1.5636    
   2  Index         2.6332        1.1464        .34408E-03   -.49309    
   3  Normalizat    .95280        .14182        .57780E-04   -.94629    
   4  Prefactor     1.0264        .92451E-01    .36788E-04   -.91856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16175e-09
Minuit parameter uncertainties:
  1  37.4477
  2  1.15978
  3  0.141879
  4  0.0924656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685407': 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) = 12436.8067239
delta logL = 0.0691817219431

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.311e+01  3.745e+01  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.633e+00  1.160e+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.026e+00  9.247e-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:  9.528e-01  1.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/685407/cmap_HighResolution_699148801_699408001_4FGL_J1510.8+7959_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2023-03-02 01:11:42.157119', job_id='685407', GAL2='1.03', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1677748302.16', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.92e-02', ts2='0.29', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1774' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:11:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 685407: <4FGL_J1510.8+7959_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin1774> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Mar  2 00:55:20 2023
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:55:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:55:21 2023
Terminated at Thu Mar  2 01:11:42 2023
Results reported at Thu Mar  2 01:11:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin1774 227.705 79.991 699148801 699408001 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 :                                   962.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             368.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            982 sec.

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

