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


Performing analysis on: 4FGL_J0824.7+5552_weekly_bin715
RA = 126.198, Dec = 55.8816
tmin = 671414401, tmax = 672019201
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='934301', job_status='RUN', time_executed='2022-04-19 02:26:43.142916', time_epoch_executed='1650360403.14' WHERE source_name='4FGL J0824.7+5552' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934301

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934301/ft1_4FGL_J0824.7+5552_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934301/ft1_4FGL_J0824.7+5552_weekly_bin715.fits outfile=/scratch/kocevski/934301/ft1_filteredMKT_4FGL_J0824.7+5552_weekly_bin715.fits ra=126.198 dec=55.8816 rad=12.0 tmin=671414401.0 tmax=672019201.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 7.63
user 7.31
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.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/934301/ft1_filteredMKT_4FGL_J0824.7+5552_weekly_bin715.fits evtable="EVENTS" outfile="/scratch/kocevski/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.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.56
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 1543

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/934301/ltcube_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.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/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits
.....................!
real 27.75
user 27.29
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/934301/ltcube_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.fits outfile=/scratch/kocevski/934301/expmap_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.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/934301/ltcube_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.fits
.....................!
real 193.42
user 188.10
sys 4.97

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

Setting source of interest to:
4FGL J0824.7+5552 @ 126.198 55.8816

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.fits scfile=/scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits outfile=/scratch/kocevski/934301/cmap_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.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.198 yref=55.8816 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.63
user 0.42
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.fits scfile=/scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits outfile=/scratch/kocevski/934301/cmap_HighResolution_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.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.198 yref=55.8816 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.64
user 0.46
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934301/Model_4FGL_J0824.7+5552_weekly_bin715.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/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.fits.....................!
real 152.49
user 150.80
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.fits', '/scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits', expMap='/scratch/kocevski/934301/expmap_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.fits', expCube='/scratch/kocevski/934301/ltcube_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934301/Model_4FGL_J0824.7+5552_weekly_bin715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0824.7+5552'

4FGL J0824.7+5552
   Spectrum: PowerLaw
324    Prefactor:  3.167e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.612e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  5.953e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/934301/ft1_filtered_4FGL_J0824.7+5552_weekly_bin715.fits
Spacecraft file(s): /scratch/kocevski/934301/ft2_4FGL_J0824.7+5552_weekly_bin715.fits
Exposure map: /scratch/kocevski/934301/expmap_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.fits
Exposure cube: /scratch/kocevski/934301/ltcube_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934301/Model_4FGL_J0824.7+5552_weekly_bin715.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) = 16476.5871493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1325       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5879       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.529       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.776       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .29324       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .32266E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.3167       1.0000         .10000E-03   10000.    
    10 'Prefactor '    35.543       1.0000         .10000E-03   10000.    
    11 'norm      '    .80207       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8280       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9025       1.0000         .10000E-03   10000.    
    14 'norm      '    .10903E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.2866       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .95186       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8757       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5708       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.429       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3243       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .79653       1.0000         .10000E-03   10000.    
    23 'norm      '    .57602       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.5107       1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.6672       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.4442       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    24.479       1.0000         .10000E-03   10000.    
    29 'norm      '    .16352       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .11925E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    8.9655       1.0000         .10000E-03   10000.    
    34 'norm      '    2.4428       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    36 'Normalizat'    .96083       1.0000         .10000E-01   10.000    
    37 'Prefactor '    .95577       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16476.58     FROM MIGRAD    STATUS=CONVERGED   1064 CALLS     5649 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1325        4.2371        .32851E-06    .30536E-04
   2  Prefactor     .10000E-03    3.6549       -.64905E-08** at limit **
   3  Prefactor     4.5878        6.6922       -.46537E-07   -.25814E-04
   4  Prefactor     12.528        8.9554       -.45781E-07   -.15781E-04
   5  Prefactor     12.779        14.133       -.11755E-06   -.75365E-05
   6  Prefactor     .10000E-03    48.373       -.53317E-06** at limit **
   7  norm          .29324        .40242        .48057E-07    .74860E-04
   8  Prefactor     .10001E-03    2.3479       -.12888E-07** at limit **
   9  norm          1.3168        .91217        .13946E-07    .11174E-03
  10  Prefactor     35.540        20.011       -.64537E-06   -.27787E-04
  11  norm          .80173        1.7444        .13183E-06   -.36294E-03
  12  Prefactor     3.8257        34.889       -.30546E-05   -.58326E-05
  13  Prefactor     5.9030        14.415       -.15854E-06   -.16242E-04
  14  norm          .10000E-03    1.8027        .84247E-08** at limit **
  15  norm          1.2858        .97402        .70671E-08   -.11789E-03
  16  Prefactor     .95211        .91305        .51395E-07   -.78816E-04
  17  Prefactor     4.8754        4.3634        .19277E-06   -.16564E-04
  18  Prefactor     7.5690        3.8591        .20183E-06   -.51148E-04
  19  Prefactor     15.429        9.4084        .56925E-08    .18816E-05
  20  Prefactor     4.3244        3.1934        .23081E-06    .28638E-04
  21  Prefactor     .10000E-03    8.3869       -.22347E-06** at limit **
  22  norm          .79631        1.7944       -.36109E-07   -.26887E-03
  23  norm          .57610        2.6675       -.25974E-06   -.47595E-03
  24  Prefactor     6.5107        5.3572       -.54366E-07   -.86732E-05
  25  Prefactor     8.6665        4.9248        .13479E-05    .11295E-03
  26  Prefactor     1.4442        1.0715       -.21315E-07    .10136E-04
  27  Prefactor     .10000E-03    11.423        .98196E-06** at limit **
  28  Prefactor     24.484        29.059        .36771E-05    .20176E-04
  29  norm          .16366        .47590       -.16115E-06   -.12308E-02
  30  Prefactor     .10000E-03    2.3891       -.28846E-06** at limit **
  31  Prefactor     .10000E-03    .89203        .38359E-07** at limit **
  32  Prefactor     .10000E-03    2.7753       -.60004E-08** at limit **
  33  Prefactor     8.9636        7.7545        .11968E-06   -.36133E-03
  34  norm          2.4427        2.3864        .24370E-06   -.12536E-02
  35  Prefactor     .10000E-03    22.550        .96851E-06** at limit **
  36  Normalizat    .96090        .11765       -.55260E-06    .69221E-04
  37  Prefactor     .95573        .86236E-01    .66032E-07   -.17416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.13249
  Prefactor  = 0.0001
  Prefactor  = 4.58783
  Prefactor  = 12.5282
  Prefactor  = 12.7785
  Prefactor  = 0.0001
  norm       = 0.293244
  Prefactor  = 0.000100006
  norm       = 1.31677
  Prefactor  = 35.5404
  norm       = 0.801732
  Prefactor  = 3.8257
  Prefactor  = 5.90297
  norm       = 0.0001
  norm       = 1.2858
  Prefactor  = 0.952111
  Prefactor  = 4.87536
  Prefactor  = 7.56905
  Prefactor  = 15.4289
  Prefactor  = 4.32438
  Prefactor  = 0.0001
  norm       = 0.796311
  norm       = 0.576102
  Prefactor  = 6.51071
  Prefactor  = 8.66647
  Prefactor  = 1.44424
  Prefactor  = 0.0001
  Prefactor  = 24.4837
  norm       = 0.163662
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.96356
  norm       = 2.44273
  Prefactor  = 0.0001
  Normalizat = 0.9609
  Prefactor  = 0.955731
 **********
 **   18 **HESSE 
 **********

 FCN=   16476.58     FROM HESSE     STATUS=OK           883 CALLS     6532 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1325        4.2403        .19829E-03   -1.5301    
   2  Prefactor     .10000E-03    3.6664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.5878        6.6850        .18792E-03   -1.5280    
   4  Prefactor     12.528        8.9318        .11317E-03   -1.5000    
   5  Prefactor     12.779        13.978        .11207E-03   -1.4993    
   6  Prefactor     .10000E-03    48.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .29324        .34336        .90648E-03   -1.5600    
   8  Prefactor     .10001E-03    22.104        .37039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3168        .92110        .98605E-04   -1.5478    
  10  Prefactor     35.540        19.679        .67220E-04   -1.4515    
  11  norm          .80173        1.7536        .22549E-03   -1.5529    
  12  Prefactor     3.8257        34.907        .20628E-03   -1.5317    
  13  Prefactor     5.9030        14.260        .16529E-03   -1.5222    
  14  norm          .10000E-03    1.8664        .33519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2858        .95817        .10624E-03   -1.5481    
  16  Prefactor     .95211        .87559        .10710E-03   -1.5513    
  17  Prefactor     4.8754        4.3567        .18217E-03   -1.5266    
  18  Prefactor     7.5690        3.8542        .14575E-03   -1.5158    
  19  Prefactor     15.429        9.4081        .10197E-03   -1.4922    
  20  Prefactor     4.3244        3.1915        .19046E-03   -1.5292    
  21  Prefactor     .10000E-03    8.4004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .79631        1.8646        .24502E-02   -1.5529    
  23  norm          .57610        3.3362        .43719E-02   -1.5556    
  24  Prefactor     6.5107        5.3568        .15728E-03   -1.5198    
  25  Prefactor     8.6665        4.9170        .13616E-03   -1.5119    
  26  Prefactor     1.4442        1.0703        .35880E-04   -1.5468    
  27  Prefactor     .10000E-03    11.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     24.484        28.943        .80963E-04   -1.4718    
  29  norm          .16366        .46362        .13516E-03   -1.5627    
  30  Prefactor     .10000E-03    13.974        .38072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.6429        .23216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.7770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     8.9636        7.7106        .66929E-03   -1.5109    
  34  norm          2.4427        3.4284        .13088E-02   -1.5395    
  35  Prefactor     .10000E-03    22.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Normalizat    .96090        .13142        .26843E-03   -.94352    
  37  Prefactor     .95573        .98144E-01    .21227E-03   -.94220    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93936e-07
Minuit parameter uncertainties:
  1  4.24063
  2  8.75654e-07
  3  6.68607
  4  8.93271
  5  13.9818
  6  1.04471e-05
  7  0.343366
  8  0.00069801
  9  0.921114
  10  19.6825
  11  1.75373
  12  23.13
  13  14.268
  14  9.53516e-08
  15  0.958179
  16  0.8756
  17  4.35702
  18  3.85429
  19  9.40904
  20  3.19161
  21  2.72221e-06
  22  1.86475
  23  2.77272
  24  5.35717
  25  4.91727
  26  1.07028
  27  2.31248e-05
  28  28.9591
  29  0.463628
  30  0.000450655
  31  2.49596e-06
  32  2.98349e-07
  33  7.71145
  34  3.42867
  35  5.45022e-06
  36  0.131462
  37  0.0981623
Done.

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

Extracting fit parameters...

4FGL J0824.7+5552
   Spectrum: PowerLaw
324    Prefactor:  7.569e+00  3.854e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.612e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  5.953e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
716    Prefactor:  9.557e-01  9.816e-02  0.000e+00  1.000e+01 ( 1.000e+00)
717        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
718        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
715   Normalization:  9.609e-01  1.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.43
Ra Dec: 126.198 55.882
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 4.96e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 6.55e-06

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) = 16476.5513561
delta logL = 0.0256406516346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16476.547377
delta logL = 0.0296197960597

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9038       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4971       1.0000          .0000       10.000    
     3 'Normalizat'    .96594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95343       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16476.55     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      202 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9027        69.336        .35656E-02    .71398E-03
   2  Index         2.4966        3.3050        .23546        .27778E-03
   3  Normalizat    .96587        .49314E-01    .45739E-01    .38570E-04
   4  Prefactor     .95350        .33361E-01    .45682E-01    .68328E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.90275
  Index      = 2.49658
  Normalizat = 0.965865
  Prefactor  = 0.953504
 **********
 **   18 **HESSE 
 **********

 FCN=   16476.55     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9027        4.2650        .14262E-03   -1.5146    
   2  Index         2.4966        .47752        .92532E-02   -.52439    
   3  Normalizat    .96587        .12387        .26783E-03   -.94183    
   4  Prefactor     .95350        .96456E-01    .21249E-03   -.94296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86007e-10
Minuit parameter uncertainties:
  1  4.26517
  2  0.478499
  3  0.123904
  4  0.0964735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934301': 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) = 16476.5473759
delta logL = 0.0296209052249

Extracting fit parameters...

4FGL J0824.7+5552
   Spectrum: PowerLaw
324    Prefactor:  7.903e+00  4.265e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.497e+00  4.785e-01  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  5.953e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
716    Prefactor:  9.535e-01  9.647e-02  0.000e+00  1.000e+01 ( 1.000e+00)
717        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
718        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
715   Normalization:  9.659e-01  1.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.47
Ra Dec: 126.198 55.882
Photon Index (Free Index): 2.50 +/- 0.48
Photon Flux (Free Index): 4.54e-08 +/- 2.92e-08
Energy Flux (Free Index): 1.32e-05 +/- 7.14e-06

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/934301/cmap_HighResolution_671414401_672019201_4FGL_J0824.7+5552_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.96e-08', energy_flux2='1.32e-05', photon_flux_error='2.52e-08', dlogl='2.96e-02', energy_flux='1.29e-05', photon_flux2='4.54e-08', job_status='DONE', time_completed='2022-04-19 03:08:01.261651', photon_index_error2='0.48', photon_index2='2.50', ts='7.43', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='7.14e-06', EG='0.96', time_epoch_completed='1650362881.26', return_code='0', job_id='934301', GAL2='0.95', EG2='0.97', return_code2='0', energy_flux_error='6.55e-06', photon_flux_error2='2.92e-08', ts2='7.47', photon_index='2.61' WHERE bin_id='715' AND source_name='4FGL J0824.7+5552' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 03:08:01 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 930566: <4FGL_J0824.7+5552_weekly_bin715> in cluster <slac> Done

Job <4FGL_J0824.7+5552_weekly_bin715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Apr 19 00:06:17 2022
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:12:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:12:36 2022
Terminated at Tue Apr 19 02:57:18 2022
Results reported at Tue Apr 19 02:57:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.7+5552_weekly_bin715 126.198 55.8816 671414401 672019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0824.7+5552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2493.00 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             325.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2681 sec.
    Turnaround time :                            10261 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 934301: <4FGL_J0824.7+5552_weekly_bin715> in cluster <slac> Done

Job <4FGL_J0824.7+5552_weekly_bin715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 19 00:17:22 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:25:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:25:10 2022
Terminated at Tue Apr 19 03:08:01 2022
Results reported at Tue Apr 19 03:08:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.7+5552_weekly_bin715 126.198 55.8816 671414401 672019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0824.7+5552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2477.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             333.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2571 sec.
    Turnaround time :                            10239 sec.

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

