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


Performing analysis on: 4FGL_J1510.8+7959_daily_bin1764
RA = 227.705, Dec = 79.991
tmin = 696556801, tmax = 696816001
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='452780', job_status='RUN', time_executed='2023-01-31 01:11:32.715060', time_epoch_executed='1675156292.72' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452780

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452780/ft1_4FGL_J1510.8+7959_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452780/ft2_4FGL_J1510.8+7959_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452780/ft1_4FGL_J1510.8+7959_daily_bin1764.fits outfile=/scratch/kocevski/452780/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin1764.fits ra=227.705 dec=79.991 rad=12.0 tmin=696556801.0 tmax=696816001.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.17
user 3.48
sys 0.22

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

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

Number of photons that the gtmktime cut: 921

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452780/ft1_filtered_4FGL_J1510.8+7959_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/452780/ft2_4FGL_J1510.8+7959_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/452780/ltcube_696556801_696816001_4FGL_J1510.8+7959_daily_bin1764.fits outfile=/scratch/kocevski/452780/expmap_696556801_696816001_4FGL_J1510.8+7959_daily_bin1764.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/452780/ltcube_696556801_696816001_4FGL_J1510.8+7959_daily_bin1764.fits
.....................!
real 191.72
user 185.88
sys 4.80

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/452780/ft1_filtered_4FGL_J1510.8+7959_daily_bin1764.fits scfile=/scratch/kocevski/452780/ft2_4FGL_J1510.8+7959_daily_bin1764.fits outfile=/scratch/kocevski/452780/cmap_696556801_696816001_4FGL_J1510.8+7959_daily_bin1764.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452780/ft1_filtered_4FGL_J1510.8+7959_daily_bin1764.fits scfile=/scratch/kocevski/452780/ft2_4FGL_J1510.8+7959_daily_bin1764.fits outfile=/scratch/kocevski/452780/cmap_HighResolution_696556801_696816001_4FGL_J1510.8+7959_daily_bin1764.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2542       1.0000          .0000       .10000E+07
     2 'Prefactor '    .29049E-06   1.0000          .0000       .10000E+07
     3 'norm      '    15.715       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.2963       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.463       1.0000          .0000       .10000E+07
     6 'Prefactor '    .56160E-03   1.0000          .0000       .10000E+07
     7 'norm      '    1.0738       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.930       1.0000          .0000       .10000E+07
     9 'Prefactor '    .56902E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22238E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .18151E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    11.965       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20267       1.0000          .0000       .10000E+07
    14 'Prefactor '    29.526       1.0000          .0000       .10000E+07
    15 'Prefactor '    .52296E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .15551E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .44374E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    65.664       1.0000          .0000       .10000E+07
    19 'Prefactor '    .20584E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.6319       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.8443       1.0000          .0000       .10000E+07
    22 'norm      '    1.0989       1.0000          .0000       .10000E+07
    23 'Normalizat'    .92978       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93713       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=   9670.929     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1957 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2777        9.7612       -.73621E-07   -.34409E-02
   2  Prefactor     .18874E-08    8.4092       -.12280E-06** at limit **
   3  norm          15.744        5.3472        .11554E-06    .24086E-02
   4  Prefactor     6.1975        2.7555       -.44478E-07   -.13440E-02
   5  Prefactor     32.552        11.325        .11723E-06   -.37879E-02
   6  Prefactor     .99587E-07    32.063        .17915E-05** at limit **
   7  norm          1.0757        1.9568        .56510E-07   -.21604E-02
   8  Prefactor     15.908        2.1336        .91881E-06    .43878E-01
   9  Prefactor     .55511E-10    4.5187       -.53551E-06** at limit **
  10  Prefactor     .29699E-05    4.0241        .42006E-05** at limit **
  11  Prefactor     .61562E-07    4.1630        .43454E-06** at limit **
  12  Prefactor     12.037        6.0590       -.30955E-05   -.12212    
  13  Prefactor     .11102E-09    34.768       -.36875E-06** at limit **
  14  Prefactor     32.289        32.809        .49560E-05   -.79641E-02
  15  Prefactor     .30081E-06    10.448       -.24567E-05** at limit **
  16  Prefactor     .78770E-06    5.0976       -.76169E-06** at limit **
  17  norm          .30531E-08    8.9363        .97425E-06** at limit **
  18  Prefactor     59.185        62.306       -.51437E-05    .58582E-02
  19  Prefactor     .22204E-09    1.5066        .39290E-06** at limit **
  20  Prefactor     5.8878        21.100        .77298E-06   -.10683E-01
  21  Prefactor     8.5569        58.356       -.29432E-04    .25362E-01
  22  norm          1.0996        .60452       -.46526E-07    .16089E-01
  23  Normalizat    .92606        .16240       -.15744E-04   -.16385E-03
  24  Prefactor     .93819        .10352        .14228E-04   -.54809E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.27767
  Prefactor  = 1.88738e-09
  norm       = 15.7441
  Prefactor  = 6.19747
  Prefactor  = 32.5517
  Prefactor  = 9.9587e-08
  norm       = 1.0757
  Prefactor  = 15.9084
  Prefactor  = 5.55112e-11
  Prefactor  = 2.9699e-06
  Prefactor  = 6.15619e-08
  Prefactor  = 12.0367
  Prefactor  = 1.11022e-10
  Prefactor  = 32.2894
  Prefactor  = 3.00815e-07
  Prefactor  = 7.87703e-07
  norm       = 3.05311e-09
  Prefactor  = 59.1853
  Prefactor  = 2.22045e-10
  Prefactor  = 5.88782
  Prefactor  = 8.55694
  norm       = 1.09961
  Normalizat = 0.926057
  Prefactor  = 0.938185
 **********
 **   18 **HESSE 
 **********

 FCN=   9670.929     FROM HESSE     STATUS=OK           445 CALLS     2402 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2777        9.7648        .40116E-03   -1.5658    
   2  Prefactor     .18874E-08    8.4024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.744        8.8884        .25238E-03   -1.5629    
   4  Prefactor     6.1975        19.408        .39980E-03   -1.5658    
   5  Prefactor     32.552        12.292        .17554E-03   -1.5594    
   6  Prefactor     .99587E-07    32.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0757        2.0244        .11685E-02   -1.5687    
   8  Prefactor     15.908        16.185        .25067E-03   -1.5628    
   9  Prefactor     .55511E-10    4.5127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .29699E-05    11.688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61562E-07    11.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.037        17.080        .28936E-03   -1.5639    
  13  Prefactor     .11102E-09    34.716        .11729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.289        32.581        .18406E-03   -1.5594    
  15  Prefactor     .30081E-06    10.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .78770E-06    11.938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .30531E-08    8.9241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     59.185        62.368        .12341E-03   -1.5554    
  19  Prefactor     .22204E-09    1.4917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.8878        21.576        .42306E-03   -1.5659    
  21  Prefactor     8.5569        69.594        .35778E-03   -1.5649    
  22  norm          1.0996        .62349        .11343E-02   -1.5687    
  23  Normalizat    .92606        .14767        .45281E-01   -.95550    
  24  Prefactor     .93819        .92659E-01    .45477E-01   -.94819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.65237e-07
Minuit parameter uncertainties:
  1  9.76479
  2  0.000250405
  3  8.88845
  4  19.4081
  5  12.2923
  6  0.00357629
  7  2.02444
  8  16.1852
  9  3.34815e-05
  10  0.0117834
  11  0.00171353
  12  17.0797
  13  0.000112294
  14  32.5812
  15  0.00360443
  16  0.00613304
  17  0.000331062
  18  62.3689
  19  3.44546e-05
  20  21.576
  21  48.807
  22  0.623488
  23  0.147739
  24  0.0926743
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  7.877e-07  6.133e-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:  9.382e-01  9.267e-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.261e-01  1.477e-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: 2.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/452780/likelihoodResults_696556801_696816001_4FGL_J1510.8+7959_daily_bin1764.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) = 9670.96879886
delta logL = -0.0399845022039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9670.92881456
delta logL = -2.08785422728e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45629E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .99818       1.0000          .0000       10.000    
     3 'Normalizat'    .92601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93821       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=   9670.929     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      192 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    14.203       -.81158E-05** at limit **
   2  Index         2.0449        5.9074        .55613E-03    .83714E-10
   3  Normalizat    .92606        .14828        .24990E-05    .55941E-03
   4  Prefactor     .93819        .99990E-01    .41083E-05    .16151E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Index      = 2.04488
  Normalizat = 0.926056
  Prefactor  = 0.938188
 **********
 **   18 **HESSE 
 **********

 FCN=   9670.929     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      225 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    .21445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0449        5.0795        .46244       -.63233    
   3  Normalizat    .92606        .46626E-03    .45233E-01   -.95551    
   4  Prefactor     .93819        .31341E-03    .45490E-01   -.94819    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.76118e-13
Minuit parameter uncertainties:
  1  2.42639e-05
  2  8040.76
  3  0.000466262
  4  0.000313406
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452780': 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): 102
logL (Free Index) = 9670.92881432
delta logL = 3.23616404785e-08

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.661e-10  2.426e-05  0.000e+00  1.000e+06 ( 1.000e-14)
343        Index:  2.045e+00  8.041e+03  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:  9.382e-01  3.134e-04  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.261e-01  4.663e-04  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/452780/cmap_HighResolution_696556801_696816001_4FGL_J1510.8+7959_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-03', job_status='DONE', photon_flux_upper_limit='2.82e-08', time_completed='2023-01-31 01:26:16.096179', job_id='452780', GAL2='0.94', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1675157176.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.24e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1764' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:26:16 PST 2023


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin1764 227.705 79.991 696556801 696816001 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 :                                   883.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            957 sec.

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

