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


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1710
RA = 126.236, Dec = 39.2574
tmin = 682560001, tmax = 682819201
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='67963', job_status='RUN', time_executed='2022-09-16 13:58:46.724571', time_epoch_executed='1663361926.72' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67963

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67963/ft1_4FGL_J0824.9+3915_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67963/ft1_4FGL_J0824.9+3915_daily_bin1710.fits outfile=/scratch/kocevski/67963/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1710.fits ra=126.236 dec=39.2574 rad=12.0 tmin=682560001.0 tmax=682819201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.66
user 3.43
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.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/67963/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.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.51
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 651

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/67963/ltcube_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.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/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits
.....................!
real 15.50
user 15.11
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/67963/ltcube_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.fits outfile=/scratch/kocevski/67963/expmap_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.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/67963/ltcube_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.fits
.....................!
real 193.14
user 187.41
sys 5.19

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

Setting source of interest to:
4FGL J0824.9+3915 @ 126.236 39.2574

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.fits scfile=/scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits outfile=/scratch/kocevski/67963/cmap_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.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=126.236 yref=39.2574 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/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.fits scfile=/scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits outfile=/scratch/kocevski/67963/cmap_HighResolution_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.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=126.236 yref=39.2574 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/67963/Model_4FGL_J0824.9+3915_daily_bin1710.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/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.fits.....................!
real 64.33
user 62.97
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.fits', '/scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits', expMap='/scratch/kocevski/67963/expmap_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.fits', expCube='/scratch/kocevski/67963/ltcube_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/67963/Model_4FGL_J0824.9+3915_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0824.9+3915'

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.301e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/67963/ft1_filtered_4FGL_J0824.9+3915_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/67963/ft2_4FGL_J0824.9+3915_daily_bin1710.fits
Exposure map: /scratch/kocevski/67963/expmap_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.fits
Exposure cube: /scratch/kocevski/67963/ltcube_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/67963/Model_4FGL_J0824.9+3915_daily_bin1710.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) = 7223.82920323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10893E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17031E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .13472E-04   1.0000          .0000       .10000E+07
     4 'norm      '    1.9199       1.0000          .0000       .10000E+07
     5 'Prefactor '    .15578E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.3306       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2010       1.0000          .0000       .10000E+07
     8 'Prefactor '    20.257       1.0000          .0000       .10000E+07
     9 'norm      '    2.6992       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.9440       1.0000          .0000       .10000E+07
    11 'Prefactor '    .27793E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27559E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    60.308       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10708E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .22874E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .33533E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.7801       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.4988       1.0000          .0000       .10000E+07
    19 'norm      '    .75911E-06   1.0000          .0000       .10000E+07
    20 'norm      '    .33265E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3110       1.0000          .0000       .10000E+07
    22 'Normalizat'    .60608       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4581       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7223.801     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1923 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.9480       -.66513E-06** at limit **
   2  Prefactor     .38858E-09    3.9036       -.53815E-06** at limit **
   3  norm          .44964E-08    3.1679       -.17136E-06** at limit **
   4  norm          1.9211        1.5350       -.13747E-06   -.23774E-02
   5  Prefactor      .0000        2.3800       -.34417E-06** at limit **
   6  Prefactor     4.0374        12.482       -.11090E-05    .29493E-01
   7  Prefactor     4.2799        5.6812        .11952E-06   -.37453E-03
   8  Prefactor     19.607        30.731       -.25231E-06   -.25808E-01
   9  norm          2.6957        .81748       -.11544E-08    .99347E-03
  10  Prefactor     6.8852        1.5158       -.12101E-06    .43232E-02
  11  Prefactor     .44964E-08    7.7896        .22101E-05** at limit **
  12  Prefactor     .34972E-08    5.1445        .13795E-05** at limit **
  13  Prefactor     60.264        7.0448        .56597E-07   -.78003E-03
  14  Prefactor     .54956E-08    9.2253       -.18270E-05** at limit **
  15  norm          .55511E-10    3.4875       -.37662E-06** at limit **
  16  Prefactor     .61062E-09    13.837        .14349E-05** at limit **
  17  Prefactor     4.7866        3.8967        .68110E-06    .17338E-03
  18  Prefactor     5.4760        1.2044        .88811E-07    .18270E-02
  19  norm           .0000        1.6126       -.39875E-06** at limit **
  20  norm          .84932E-08    2.9086        .10292E-06** at limit **
  21  Prefactor     1.2936        3.2059       -.61576E-06   -.34932E-03
  22  Normalizat    .60618        .20372       -.13089E-04   -.26529E-04
  23  Prefactor     1.4583        .17103        .11432E-04   -.64522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 3.88578e-10
  norm       = 4.4964e-09
  norm       = 1.92113
  Prefactor  = 0
  Prefactor  = 4.03741
  Prefactor  = 4.27994
  Prefactor  = 19.6066
  norm       = 2.69565
  Prefactor  = 6.88523
  Prefactor  = 4.4964e-09
  Prefactor  = 3.4972e-09
  Prefactor  = 60.2642
  Prefactor  = 5.4956e-09
  norm       = 5.55112e-11
  Prefactor  = 6.10623e-10
  Prefactor  = 4.78662
  Prefactor  = 5.47604
  norm       = 0
  norm       = 8.49321e-09
  Prefactor  = 1.29355
  Normalizat = 0.606177
  Prefactor  = 1.45827
 **********
 **   18 **HESSE 
 **********

 FCN=   7223.801     FROM HESSE     STATUS=OK           426 CALLS     2349 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.9502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38858E-09    3.9167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .44964E-08    5.7290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9211        1.5405        .74965E-03   -1.5680    
   5  Prefactor      .0000        2.3826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.0374        82.779        .48382E-03   -1.5668    
   7  Prefactor     4.2799        5.7224        .49144E-03   -1.5667    
   8  Prefactor     19.607        33.302        .22225E-03   -1.5619    
   9  norm          2.6957        .82964        .61979E-03   -1.5675    
  10  Prefactor     6.8852        16.475        .38048E-03   -1.5655    
  11  Prefactor     .44964E-08    7.8713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .34972E-08    5.3290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     60.264        36.954        .12878E-03   -1.5553    
  14  Prefactor     .54956E-08    9.3031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.4866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .61062E-09    13.842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.7866        4.0152        .45994E-03   -1.5664    
  18  Prefactor     5.4760        13.111        .42824E-03   -1.5661    
  19  norm           .0000        .29217        .25751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .84932E-08    5.4842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.2936        3.3448        .96252E-03   -1.5685    
  22  Normalizat    .60618        .18811        .80102E-01   -1.0772    
  23  Prefactor     1.4583        .15196        .46333E-01   -.78715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36524e-07
Minuit parameter uncertainties:
  1  3.12972e-05
  2  7.52412e-05
  3  0.000321841
  4  1.5405
  5  1.25228e-05
  6  36.5636
  7  5.72236
  8  33.3019
  9  0.829637
  10  16.4754
  11  0.000377349
  12  0.000274095
  13  36.9538
  14  0.000452202
  15  3.19697e-05
  16  0.000181253
  17  4.01518
  18  13.111
  19  6.17046e-07
  20  0.000432012
  21  3.34485
  22  0.188305
  23  0.15201
Done.

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

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  3.497e-09  2.741e-04  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  1.458e+00  1.520e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  6.062e-01  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 126.236 39.257
Photon Flux Upper Limit: 8.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/67963/likelihoodResults_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.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) = 7223.79455609
delta logL = 0.00596829262577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7223.77968045
delta logL = 0.020843937893

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7223.780     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      345 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81569E-01    .97307        .14414E-02** at limit **
   2  Index         3.9277        .59406        .50000        .36269E-05
   3  Normalizat    .59408        .94032E-02    .80848E-01    .43957E-04
   4  Prefactor     1.4632        .80967E-02    .46262E-01   -.20460E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0815688
  Index      = 3.92768
  Normalizat = 0.594079
  Prefactor  = 1.46315
 **********
 **   18 **HESSE 
 **********

 FCN=   7223.780     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      380 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81569E-01    84.933        .79049E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.9277        6.0076        .48861E-02   -.21614    
   3  Normalizat    .59408        .13091        .35805E-03   -1.0824    
   4  Prefactor     1.4632        .10861        .20448E-03   -.78577    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.46938e-10
Minuit parameter uncertainties:
  1  5.26426
  2  32.8798
  3  0.13098
  4  0.108623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67963': 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) = 7223.77967318
delta logL = 0.0208512072686

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  8.157e-02  5.264e+00  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  3.928e+00  3.288e+01  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  1.463e+00  1.086e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  5.941e-01  1.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 126.236 39.257

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/67963/cmap_HighResolution_682560001_682819201_4FGL_J0824.9+3915_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', job_status='DONE', photon_flux_upper_limit='8.54e-08', time_completed='2022-09-16 14:10:35.039411', job_id='67963', GAL2='1.46', fit_tolerance='1e-08', EG2='0.59', EG='0.61', time_epoch_completed='1663362635.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.46', dlogl='2.09e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1710' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:10:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 67963: <4FGL_J0824.9+3915_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:55:20 2022
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:57:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:57:43 2022
Terminated at Fri Sep 16 14:10:35 2022
Results reported at Fri Sep 16 14:10:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1710 126.236 39.2574 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0824.9+3915 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   710.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            915 sec.

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

