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 29 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1510.8+7959_daily_bin1692
RA = 227.705, Dec = 79.991
tmin = 677894401, tmax = 678153601
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='405818', job_status='RUN', time_executed='2022-06-29 04:36:08.440024', time_epoch_executed='1656502568.44' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405818

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405818/ft1_4FGL_J1510.8+7959_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405818/ft1_4FGL_J1510.8+7959_daily_bin1692.fits outfile=/scratch/kocevski/405818/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin1692.fits ra=227.705 dec=79.991 rad=12.0 tmin=677894401.0 tmax=678153601.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.51
user 4.21
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.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/405818/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/405818/ft1_filtered_4FGL_J1510.8+7959_daily_bin1692.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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 993

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/405818/ft1_filtered_4FGL_J1510.8+7959_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/405818/ltcube_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.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/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.fits
.....................!
real 13.36
user 12.96
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405818/ft1_filtered_4FGL_J1510.8+7959_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/405818/ltcube_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.fits outfile=/scratch/kocevski/405818/expmap_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.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/405818/ltcube_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.fits
.....................!
real 192.11
user 186.19
sys 5.54

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/405818/ft1_filtered_4FGL_J1510.8+7959_daily_bin1692.fits scfile=/scratch/kocevski/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.fits outfile=/scratch/kocevski/405818/cmap_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405818/ft1_filtered_4FGL_J1510.8+7959_daily_bin1692.fits scfile=/scratch/kocevski/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.fits outfile=/scratch/kocevski/405818/cmap_HighResolution_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.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.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/405818/ft1_filtered_4FGL_J1510.8+7959_daily_bin1692.fits', '/scratch/kocevski/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.fits', expMap='/scratch/kocevski/405818/expmap_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.fits', expCube='/scratch/kocevski/405818/ltcube_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/405818/Model_4FGL_J1510.8+7959_daily_bin1692.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  1.000e-04  1.000e+04 ( 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/405818/ft1_filtered_4FGL_J1510.8+7959_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/405818/ft2_4FGL_J1510.8+7959_daily_bin1692.fits
Exposure map: /scratch/kocevski/405818/expmap_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.fits
Exposure cube: /scratch/kocevski/405818/ltcube_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/405818/Model_4FGL_J1510.8+7959_daily_bin1692.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) = 10443.3894985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.795       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5778       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3408       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.335       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .21772E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.7120       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    55.426       1.0000         .10000E-03   10000.    
    16 'Prefactor '    61.952       1.0000         .10000E-03   10000.    
    17 'Prefactor '    64.545       1.0000         .10000E-03   10000.    
    18 'norm      '    2.5115       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5010       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11395E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.4468       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.3395       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74098       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1150       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10443.38     FROM MIGRAD    STATUS=CONVERGED    621 CALLS     3073 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.798        11.535        .59645E-07   -.48633E-05
   2  Prefactor     4.5807        13.227        .26636E-06    .88286E-06
   3  norm          1.3401        4.4731        .13141E-06   -.31748E-04
   4  Prefactor     .10000E-03    5.9044        .17643E-06** at limit **
   5  Prefactor     20.341        10.160        .13473E-06    .12473E-04
   6  Prefactor     .10000E-03    23.817        .14418E-05** at limit **
   7  norm          .10000E-03    1.3036       -.45816E-07** at limit **
   8  Prefactor     .10000E-03    12.599       -.24205E-07** at limit **
   9  Prefactor     .10000E-03    5.6825       -.45046E-07** at limit **
  10  Prefactor     .10000E-03    23.042       -.11242E-05** at limit **
  11  Prefactor     .10000E-03    7.5854        .19631E-07** at limit **
  12  Prefactor     .10000E-03    4.2587        .44525E-07** at limit **
  13  Prefactor     8.7134        10.918       -.13630E-06   -.51822E-05
  14  Prefactor     .10000E-03    30.049       -.55119E-06** at limit **
  15  Prefactor     55.434        32.657       -.10183E-05    .35620E-05
  16  Prefactor     61.995        52.510        .32393E-05   -.19595E-04
  17  Prefactor     64.575        53.368        .17701E-05   -.12862E-04
  18  norm          2.5144        14.000        .27861E-05   -.18929E-04
  19  Prefactor     2.7061        1094.4       -.65152E-05   -.44474E-06
  20  Prefactor     .10000E-03    1.0009        .96751E-07** at limit **
  21  Prefactor     9.4771        22.336       -.15348E-05   -.80122E-04
  22  Prefactor     .10000E-03    34.550        .29437E-06** at limit **
  23  norm          4.3397        .84047        .50491E-08   -.31339E-03
  24  Normalizat    .74088        .15192       -.20401E-06   -.47622E-04
  25  Prefactor     1.1150        .97175E-01   -.18192E-06   -.64208E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.7981
  Prefactor  = 4.5807
  norm       = 1.3401
  Prefactor  = 0.0001
  Prefactor  = 20.3406
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.71337
  Prefactor  = 0.0001
  Prefactor  = 55.4338
  Prefactor  = 61.9951
  Prefactor  = 64.5746
  norm       = 2.51444
  Prefactor  = 2.70605
  Prefactor  = 0.000100002
  Prefactor  = 9.47708
  Prefactor  = 0.0001
  norm       = 4.33969
  Normalizat = 0.740883
  Prefactor  = 1.11499 **********
 **   18 **HESSE 
 **********

 FCN=   10443.38     FROM HESSE     STATUS=OK           433 CALLS     3506 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.798        11.543        .78875E-04   -1.4692    
   2  Prefactor     4.5807        12.938        .18814E-03   -1.5280    
   3  norm          1.3401        4.3431        .33703E-03   -1.5476    
   4  Prefactor     .10000E-03    5.9123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.341        9.9115        .88821E-04   -1.4806    
   6  Prefactor     .10000E-03    23.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.0391        .22289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.7151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.6013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.7134        10.922        .13580E-03   -1.5118    
  14  Prefactor     .10000E-03    30.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     55.434        32.816        .53880E-04   -1.4218    
  16  Prefactor     61.995        52.216        .50980E-04   -1.4132    
  17  Prefactor     64.575        53.284        .24976E-03   -1.4099    
  18  norm          2.5144        13.966        .12891E-02   -1.5391    
  19  Prefactor     2.7061        1094.9        .34949E-03   -1.5379    
  20  Prefactor     .10000E-03    19.859        .17381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.4771        20.399        .13039E-03   -1.5092    
  22  Prefactor     .10000E-03    34.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.3397        .84044        .38986E-04   -1.5291    
  24  Normalizat    .74088        .16725        .32677E-03   -1.0230    
  25  Prefactor     1.1150        .10744        .18647E-03   -.88989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64314e-10
Minuit parameter uncertainties:
  1  11.5442
  2  12.9454
  3  4.34408
  4  1.79261e-06
  5  9.91231
  6  1.0226e-05
  7  3.09978e-05
  8  7.09877e-07
  9  1.71249e-06
  10  1.6077e-05
  11  2.59902e-06
  12  2.99877e-06
  13  10.9244
  14  4.45821e-06
  15  32.8268
  16  52.2545
  17  53.3236
  18  11.856
  19  110.969
  20  0.000436546
  21  20.4142
  22  4.13842e-06
  23  0.840438
  24  0.167365
  25  0.107462
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.457e+01  5.332e+01  1.000e-04  1.000e+04 ( 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.115e+00  1.075e-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.409e-01  1.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.59
Ra Dec: 227.705 79.991
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 2.84e-08 +/- 2.34e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.02e-05

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

Saving results to:
/scratch/kocevski/405819/likelihoodResults_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.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) = 10442.8017328
delta logL = 0.580805518046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10442.7359381
delta logL = 0.646600247232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    92.439       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5339       1.0000          .0000       10.000    
     3 'Normalizat'    .75554       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1112       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=   10442.74     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      245 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     92.441        81.477        .20899E-03   -.29275E-03
   2  Index         1.5337        .55475        .10037E-01   -.19762E-03
   3  Normalizat    .75551        .15214        .32370E-03    .81340E-04
   4  Prefactor     1.1113        .10507        .18675E-03    .12655E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 92.4407
  Index      = 1.53365
  Normalizat = 0.755515
  Prefactor  = 1.11128
 **********
 **   18 **HESSE 
 **********

 FCN=   10442.74     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     92.441        82.949        .41798E-04   -1.3782    
   2  Index         1.5337        .56479        .40148E-03   -.76602    
   3  Normalizat    .75551        .15220        .12948E-04   -1.0174    
   4  Prefactor     1.1113        .10512        .37350E-04   -.89107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23073e-09
Minuit parameter uncertainties:
  1  83.0531
  2  0.567126
  3  0.152289
  4  0.105137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405819': 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) = 10442.7359379
delta logL = 0.646600453147

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  9.244e+01  8.305e+01  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  1.534e+00  5.671e-01  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.111e+00  1.051e-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.555e-01  1.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.87
Ra Dec: 227.705 79.991
Photon Index (Free Index): 1.53 +/- 0.57
Photon Flux (Free Index): 1.30e-08 +/- 1.69e-08
Energy Flux (Free Index): 3.67e-05 +/- 4.43e-05

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/405819/cmap_HighResolution_677894401_678153601_4FGL_J1510.8+7959_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', comment='SUCCESS', photon_flux='2.84e-08', energy_flux2='3.67e-05', photon_flux_error='2.34e-08', dlogl='6.47e-01', energy_flux='1.23e-05', photon_flux2='1.30e-08', job_status='DONE', time_completed='2022-06-29 04:55:28.233383', photon_index_error2='0.57', photon_index2='1.53', ts='2.59', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='4.43e-05', EG='0.74', time_epoch_completed='1656503728.23', return_code='0', job_id='405819', GAL2='1.11', EG2='0.76', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='1.69e-08', ts2='3.87', photon_index='2.22' WHERE bin_id='1692' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:55:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 405818: <4FGL_J1510.8+7959_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:07:11 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:35:31 2022
Terminated at Wed Jun 29 04:55:22 2022
Results reported at Wed Jun 29 04:55:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin1692 227.705 79.991 677894401 678153601 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 :                                   1154.53 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             366.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1190 sec.
    Turnaround time :                            17291 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 405819: <4FGL_J1510.8+7959_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:07:11 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:35:31 2022
Terminated at Wed Jun 29 04:55:29 2022
Results reported at Wed Jun 29 04:55:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin1692 227.705 79.991 677894401 678153601 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 :                                   1163.44 sec.
    Max Memory :                                 1249 MB
    Average Memory :                             335.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1197 sec.
    Turnaround time :                            17298 sec.

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

