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


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1762
RA = 126.236, Dec = 39.2574
tmin = 696038401, tmax = 696297601
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='105221', job_status='RUN', time_executed='2023-01-25 00:41:47.275472', time_epoch_executed='1674636107.28' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105221

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105221/ft1_4FGL_J0824.9+3915_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105221/ft2_4FGL_J0824.9+3915_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105221/ft1_4FGL_J0824.9+3915_daily_bin1762.fits outfile=/scratch/kocevski/105221/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1762.fits ra=126.236 dec=39.2574 rad=12.0 tmin=696038401.0 tmax=696297601.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.75
user 3.48
sys 0.21

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

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

Number of photons that the gtmktime cut: 617

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105221/ft1_filtered_4FGL_J0824.9+3915_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/105221/ft2_4FGL_J0824.9+3915_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/105221/ltcube_696038401_696297601_4FGL_J0824.9+3915_daily_bin1762.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/105221/ft2_4FGL_J0824.9+3915_daily_bin1762.fits
.....................!
real 14.41
user 13.89
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105221/ft1_filtered_4FGL_J0824.9+3915_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/105221/ft2_4FGL_J0824.9+3915_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/105221/ltcube_696038401_696297601_4FGL_J0824.9+3915_daily_bin1762.fits outfile=/scratch/kocevski/105221/expmap_696038401_696297601_4FGL_J0824.9+3915_daily_bin1762.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/105221/ltcube_696038401_696297601_4FGL_J0824.9+3915_daily_bin1762.fits
.....................!
real 193.51
user 186.97
sys 5.21

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/105221/ft1_filtered_4FGL_J0824.9+3915_daily_bin1762.fits scfile=/scratch/kocevski/105221/ft2_4FGL_J0824.9+3915_daily_bin1762.fits outfile=/scratch/kocevski/105221/cmap_696038401_696297601_4FGL_J0824.9+3915_daily_bin1762.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105221/ft1_filtered_4FGL_J0824.9+3915_daily_bin1762.fits scfile=/scratch/kocevski/105221/ft2_4FGL_J0824.9+3915_daily_bin1762.fits outfile=/scratch/kocevski/105221/cmap_HighResolution_696038401_696297601_4FGL_J0824.9+3915_daily_bin1762.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58484E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15847E-02   1.0000          .0000       .10000E+07
     3 'norm      '    4.3837       1.0000          .0000       .10000E+07
     4 'norm      '    .18102E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32900E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.826       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.2703       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.231       1.0000          .0000       .10000E+07
     9 'norm      '    .40546       1.0000          .0000       .10000E+07
    10 'Prefactor '    .93603E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    22.839       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19847E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0061       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13859E-03   1.0000          .0000       .10000E+07
    15 'norm      '    3.7135       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.8906       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.319       1.0000          .0000       .10000E+07
    18 'Prefactor '    .40717E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .67668E-07   1.0000          .0000       .10000E+07
    20 'norm      '    4.3205       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.4482       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0323       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98070       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=   6753.053     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1837 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78826E-08    4.5836       -.41561E-06** at limit **
   2  Prefactor     .17208E-08    4.8890        .68692E-07** at limit **
   3  norm          4.3919        5.1952        .11688E-06   -.44165E-01
   4  norm           .0000        1.1062        .31349E-07** at limit **
   5  Prefactor     .11102E-09    1.8453        .88555E-07** at limit **
   6  Prefactor     20.736        21.590        .66952E-06   -.67813E-02
   7  Prefactor     5.2694        4.0879        .11822E-06    .88560E-02
   8  Prefactor     15.840        11.722       -.61583E-06    .97355E-01
   9  norm          .40464        .37178       -.21272E-07   -.79437E-02
  10  Prefactor     .77716E-09    7.9097        .80086E-07** at limit **
  11  Prefactor     22.869        2.9280        .31541E-07   -.30041E-01
  12  Prefactor     .22204E-09    1.4695       -.14321E-06** at limit **
  13  Prefactor     1.3590        15.807        .81053E-06    .40776E-01
  14  Prefactor     .10547E-08    5.3509        .28397E-06** at limit **
  15  norm          3.7176        5.1063        .99872E-06    .24110E-01
  16  Prefactor     5.6303        1.5997       -.20451E-07   -.37060E-02
  17  Prefactor     10.325        5.0823        .48581E-06    .34593E-01
  18  Prefactor     .94369E-09    20.983       -.30600E-06** at limit **
  19  norm           .0000        .40909        .30291E-07** at limit **
  20  norm          4.3288        6.8350        .10741E-06    .28986E-02
  21  Prefactor     1.4504        2.0602       -.73915E-07    .17272E-02
  22  Normalizat    1.0314        .20570       -.63371E-05    .33981E-03
  23  Prefactor     .98085        .16396        .22705E-05    .31949E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.88258e-09
  Prefactor  = 1.72085e-09
  norm       = 4.39191
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 20.7359
  Prefactor  = 5.26938
  Prefactor  = 15.8398
  norm       = 0.404642
  Prefactor  = 7.77156e-10
  Prefactor  = 22.8694
  Prefactor  = 2.22045e-10
  Prefactor  = 1.35895
  Prefactor  = 1.05471e-09
  norm       = 3.71756
  Prefactor  = 5.63028
  Prefactor  = 10.3254
  Prefactor  = 9.4369e-10
  norm       = 0
  norm       = 4.32882
  Prefactor  = 1.45043
  Normalizat = 1.03138
  Prefactor  = 0.980854
 **********
 **   18 **HESSE 
 **********

 FCN=   6753.053     FROM HESSE     STATUS=OK           418 CALLS     2255 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78826E-08    5.4730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .17208E-08    4.9632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3919        9.7977        .48080E-03   -1.5666    
   4  norm           .0000        1.1067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    1.8453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.736        31.374        .22466E-03   -1.5617    
   7  Prefactor     5.2694        4.1378        .43759E-03   -1.5662    
   8  Prefactor     15.840        35.474        .24833E-03   -1.5628    
   9  norm          .40464        .37296        .88857E-03   -1.5695    
  10  Prefactor     .77716E-09    8.0344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.869        13.652        .20930E-03   -1.5612    
  12  Prefactor     .22204E-09    1.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3590        38.624        .43980E-03   -1.5685    
  14  Prefactor     .10547E-08    5.8544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.7176        5.1585        .52379E-03   -1.5669    
  16  Prefactor     5.6303        53.569        .41353E-03   -1.5661    
  17  Prefactor     10.325        5.1765        .31167E-03   -1.5644    
  18  Prefactor     .94369E-09    20.979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .39107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.3288        6.8790        .48440E-03   -1.5666    
  21  Prefactor     1.4504        2.1037        .89520E-03   -1.5684    
  22  Normalizat    1.0314        .18111        .41942E-01   -.91986    
  23  Prefactor     .98085        .14285        .46025E-01   -.93370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09453e-06
Minuit parameter uncertainties:
  1  0.000416081
  2  0.000185403
  3  9.79775
  4  1.06074e-05
  5  2.50075e-05
  6  31.3741
  7  4.13776
  8  35.4748
  9  0.372956
  10  0.000156467
  11  13.6522
  12  3.49705e-05
  13  14.4899
  14  0.000158509
  15  5.15848
  16  34.7342
  17  5.17647
  18  0.00027998
  19  3.83436e-06
  20  6.87906
  21  2.10368
  22  0.181218
  23  0.142909
Done.

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

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  2.220e-10  3.497e-05  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:  9.809e-01  1.429e-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:  1.031e+00  1.812e-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: 6.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/105221/likelihoodResults_696038401_696297601_4FGL_J0824.9+3915_daily_bin1762.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) = 6753.06188546
delta logL = -0.00883578818957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6753.05305157
delta logL = -1.89325419342e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37935E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.8987       1.0000          .0000       10.000    
     3 'Normalizat'    1.0315       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98079       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6753.053     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      227 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .55405        .42118E-03** at limit **
   2  Index         1.1466        .70618        .11108E-03     .0000    
   3  Normalizat    1.0314        1.2345       -.13646E-04    .64816E-03
   4  Prefactor     .98085        1.3211        .14695E-04    .52405E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.14663
  Normalizat = 1.03138
  Prefactor  = 0.980853
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6753.053     FROM HESSE     STATUS=FAILED         9 CALLS      236 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .55405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .81588E-01    1.1609        .11108E-03   -.87990    
   3  Normalizat    1.0314        1.2345       -.13646E-04   -.91986    
   4  Prefactor     .98085        1.3211        .14695E-04   -.93371    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.45734e-10
Minuit parameter uncertainties:
  1  3.07132e-06
  2  0.712096
  3  1.27162
  4  1.36897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105221': 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): 101
logL (Free Index) = 6753.05304968
delta logL = -1.17324816529e-10

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  3.071e-06  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  1.147e+00  7.121e-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:  9.809e-01  1.369e+00  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:  1.031e+00  1.272e+00  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/105221/cmap_HighResolution_696038401_696297601_4FGL_J0824.9+3915_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-03', job_status='DONE', photon_flux_upper_limit='6.95e-08', time_completed='2023-01-25 00:52:52.893277', job_id='105221', GAL2='0.98', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1674636772.89', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-1.17e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1762' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:52:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 105221: <4FGL_J0824.9+3915_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:40:13 2023
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:41:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:41:03 2023
Terminated at Wed Jan 25 00:52:53 2023
Results reported at Wed Jan 25 00:52:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1762 126.236 39.2574 696038401 696297601 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 :                                   665.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            760 sec.

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

