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


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1751
RA = 126.236, Dec = 39.2574
tmin = 693187201, tmax = 693446401
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='73739', job_status='RUN', time_executed='2022-12-23 00:27:44.391905', time_epoch_executed='1671784064.39' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73739

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73739/ft1_4FGL_J0824.9+3915_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73739/ft1_4FGL_J0824.9+3915_daily_bin1751.fits outfile=/scratch/kocevski/73739/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1751.fits ra=126.236 dec=39.2574 rad=12.0 tmin=693187201.0 tmax=693446401.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.61
user 3.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.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/73739/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/73739/ft1_filtered_4FGL_J0824.9+3915_daily_bin1751.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.34
sys 0.15

Number of photons that the gtmktime cut: 697

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73739/ft1_filtered_4FGL_J0824.9+3915_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73739/ltcube_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.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/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.fits
.....................!
real 11.88
user 11.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73739/ft1_filtered_4FGL_J0824.9+3915_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73739/ltcube_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.fits outfile=/scratch/kocevski/73739/expmap_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.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/73739/ltcube_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.fits
.....................!
real 191.16
user 186.40
sys 4.43

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/73739/ft1_filtered_4FGL_J0824.9+3915_daily_bin1751.fits scfile=/scratch/kocevski/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.fits outfile=/scratch/kocevski/73739/cmap_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73739/ft1_filtered_4FGL_J0824.9+3915_daily_bin1751.fits scfile=/scratch/kocevski/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.fits outfile=/scratch/kocevski/73739/cmap_HighResolution_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.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.54
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73739/ft1_filtered_4FGL_J0824.9+3915_daily_bin1751.fits', '/scratch/kocevski/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.fits', expMap='/scratch/kocevski/73739/expmap_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.fits', expCube='/scratch/kocevski/73739/ltcube_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73739/Model_4FGL_J0824.9+3915_daily_bin1751.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/73739/ft1_filtered_4FGL_J0824.9+3915_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/73739/ft2_4FGL_J0824.9+3915_daily_bin1751.fits
Exposure map: /scratch/kocevski/73739/expmap_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.fits
Exposure cube: /scratch/kocevski/73739/ltcube_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73739/Model_4FGL_J0824.9+3915_daily_bin1751.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) = 7567.83817116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0723       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.9199       1.0000          .0000       .10000E+07
     3 'norm      '    12.212       1.0000          .0000       .10000E+07
     4 'norm      '    5.1134       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61062E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .24203E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    31.865       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.0971       1.0000          .0000       .10000E+07
     9 'norm      '    .26180       1.0000          .0000       .10000E+07
    10 'Prefactor '    .61707E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16818E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4161       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.8808       1.0000          .0000       .10000E+07
    14 'Prefactor '    .35380E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .11616E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .27113E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.2824       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.4215       1.0000          .0000       .10000E+07
    19 'norm      '    .38816       1.0000          .0000       .10000E+07
    20 'norm      '    11.415       1.0000          .0000       .10000E+07
    21 'Prefactor '    .31086E-08   1.0000          .0000       .10000E+07
    22 'Normalizat'    .96563       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1448       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=   7567.812     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1824 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0822        3.8824       -.50543E-07    .41238E-01
   2  Prefactor     1.9356        4.8773       -.11755E-06    .21065E-01
   3  norm          12.212        1.3146       -.18692E-07    .61139E-02
   4  norm          5.1120        3.1410       -.52290E-07   -.21833E-02
   5  Prefactor     .11657E-08    3.3506        .10626E-06** at limit **
   6  Prefactor     .63860E-06    7.6535        .37373E-06** at limit **
   7  Prefactor     31.810        7.0009       -.15919E-07   -.12291    
   8  Prefactor     3.9595        34.019       -.95772E-07    .22290E-01
   9  norm          .26199        .25271        .51079E-08    .17896E-02
  10  Prefactor     .86431E-07    28.371        .47133E-06** at limit **
  11  Prefactor     .16098E-08    4.6742       -.51400E-06** at limit **
  12  Prefactor     2.4176        2.9503        .20088E-07    .24037E-02
  13  Prefactor     9.8588        4.3917       -.11644E-07    .22690E-01
  14  Prefactor     .11935E-07    2.5749       -.82666E-07** at limit **
  15  norm          .21372E-07    2.7709       -.15796E-06** at limit **
  16  Prefactor     .64260E-06    7.6968        .30696E-06** at limit **
  17  Prefactor     4.2821        2.9285       -.56621E-07   -.22008E-02
  18  Prefactor     1.4233        3.4217        .10104E-06   -.54074E-02
  19  norm          .38826        .38455       -.88939E-08   -.14693E-02
  20  norm          11.409        1.5494       -.14781E-07    .18346E-01
  21  Prefactor      .0000        .95533       -.56132E-07** at limit **
  22  Normalizat    .96582        .20112        .86116E-06   -.29041E-04
  23  Prefactor     1.1449        .16688       -.61228E-06   -.50076E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.08222
  Prefactor  = 1.93556
  norm       = 12.2118
  norm       = 5.11201
  Prefactor  = 1.16573e-09
  Prefactor  = 6.386e-07
  Prefactor  = 31.81
  Prefactor  = 3.9595
  norm       = 0.261991
  Prefactor  = 8.64309e-08
  Prefactor  = 1.60982e-09
  Prefactor  = 2.4176
  Prefactor  = 9.8588
  Prefactor  = 1.19349e-08
  norm       = 2.13718e-08
  Prefactor  = 6.42597e-07
  Prefactor  = 4.28209
  Prefactor  = 1.4233
  norm       = 0.388258
  norm       = 11.4091
  Prefactor  = 0
  Normalizat = 0.965819
  Prefactor  = 1.14488
 **********
 **   18 **HESSE 
 **********

 FCN=   7567.812     FROM HESSE     STATUS=OK           424 CALLS     2248 TOTAL
                     EDM=   .79E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0822        13.822        .37698E-03   -1.5655    
   2  Prefactor     1.9356        35.672        .74966E-03   -1.5680    
   3  norm          12.212        10.108        .28640E-03   -1.5638    
   4  norm          5.1120        3.1522        .44438E-03   -1.5663    
   5  Prefactor     .11657E-08    3.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .63860E-06    13.529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.810        7.4396        .17718E-03   -1.5595    
   8  Prefactor     3.9595        46.690        .49782E-03   -1.5668    
   9  norm          .26199        .25041        .94661E-03   -1.5698    
  10  Prefactor     .86431E-07    28.032        .15101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16098E-08    4.6804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4176        2.9871        .65828E-03   -1.5677    
  13  Prefactor     9.8588        19.885        .31854E-03   -1.5645    
  14  Prefactor     .11935E-07    2.6518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .21372E-07    2.8834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .64260E-06    13.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.2821        2.9392        .48661E-03   -1.5667    
  18  Prefactor     1.4233        22.700        .90688E-03   -1.5684    
  19  norm          .38826        .38766        .90871E-03   -1.5696    
  20  norm          11.409        7.8909        .29627E-03   -1.5640    
  21  Prefactor      .0000        .95226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .96582        .17564        .66459E-01   -.94184    
  23  Prefactor     1.1449        .14563        .51728E-01   -.88045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89115e-07
Minuit parameter uncertainties:
  1  13.8217
  2  16.6189
  3  10.1082
  4  3.15219
  5  0.000125861
  6  0.00587859
  7  7.43959
  8  27.1935
  9  0.250407
  10  0.0031131
  11  0.000174331
  12  2.9871
  13  19.8852
  14  0.000355572
  15  0.000496797
  16  0.00586321
  17  2.93924
  18  11.3681
  19  0.387661
  20  7.89095
  21  2.51657e-06
  22  0.175746
  23  0.145679
Done.

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

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  2.418e+00  2.987e+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

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  1.145e+00  1.457e-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:  9.658e-01  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.88
Ra Dec: 126.236 39.257
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/73739/likelihoodResults_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.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) = 7567.527648
delta logL = 0.284291348167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7567.51754526
delta logL = 0.29439408199

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2022       1.0000          .0000       .10000E+07
     2 'Index     '    3.2493       1.0000          .0000       10.000    
     3 'Normalizat'    .93779       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1591       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=   7567.518     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      250 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2025        20.714        .10343E-02    .10649E-01
   2  Index         3.2512        3.5496        .13841        .15109E-03
   3  Normalizat    .93756        .47636E-01    .67290E-01    .22378E-04
   4  Prefactor     1.1593        .39286E-01    .51433E-01    .60398E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.20246
  Index      = 3.25123
  Normalizat = 0.937556
  Prefactor  = 1.15926
 **********
 **   18 **HESSE 
 **********

 FCN=   7567.518     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2025        5.6587        .84380E-05   -1.5686    
   2  Index         3.2512        2.5689        .79664E-02   -.35731    
   3  Normalizat    .93756        .20772        .29766E-03   -.95153    
   4  Prefactor     1.1593        .17201        .22738E-03   -.87595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23882e-07
Minuit parameter uncertainties:
  1  5.21703
  2  2.71908
  3  0.207902
  4  0.172089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73739': 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) = 7567.51753893
delta logL = 0.294400413588

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.202e+00  5.217e+00  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  3.251e+00  2.719e+00  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.159e+00  1.721e-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:  9.376e-01  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 126.236 39.257
Photon Index (Free Index): 3.25 +/- 2.72
Photon Flux (Free Index): 5.65e-08 +/- 5.66e-08
Energy Flux (Free Index): 1.02e-05 +/- 1.11e-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/73739/cmap_HighResolution_693187201_693446401_4FGL_J0824.9+3915_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='2.94e-01', photon_flux2='5.65e-08', job_status='DONE', time_completed='2022-12-23 00:39:43.400674', photon_index_error2='2.72', photon_index2='3.25', ts='0.88', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.11e-05', EG='0.97', time_epoch_completed='1671784783.4', return_code='0', job_id='73739', GAL2='1.16', EG2='0.94', return_code2='0', photon_flux_error2='5.66e-08', ts2='1.51', photon_index='2.43' WHERE bin_id='1751' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:39:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 73739: <4FGL_J0824.9+3915_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:19 2022
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:21 2022
Terminated at Fri Dec 23 00:39:44 2022
Results reported at Fri Dec 23 00:39:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1751 126.236 39.2574 693187201 693446401 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 :                                   721.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            865 sec.

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

