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


Performing analysis on: 4FGL_J0824.7+5552_weekly_bin752
RA = 126.198, Dec = 55.8816
tmin = 693792001, tmax = 694396801
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='435019', job_status='RUN', time_executed='2023-01-03 01:31:40.302508', time_epoch_executed='1672738300.3' WHERE source_name='4FGL J0824.7+5552' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435019

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435019/ft1_4FGL_J0824.7+5552_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435019/ft1_4FGL_J0824.7+5552_weekly_bin752.fits outfile=/scratch/kocevski/435019/ft1_filteredMKT_4FGL_J0824.7+5552_weekly_bin752.fits ra=126.198 dec=55.8816 rad=12.0 tmin=693792001.0 tmax=694396801.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.40
user 6.82
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.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/435019/ft1_filteredMKT_4FGL_J0824.7+5552_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.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.60
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 894

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/435019/ltcube_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.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/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits
.....................!
real 26.53
user 25.96
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/435019/ltcube_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.fits outfile=/scratch/kocevski/435019/expmap_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.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/435019/ltcube_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.fits
.....................!
real 156.08
user 150.81
sys 4.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 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/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.fits scfile=/scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits outfile=/scratch/kocevski/435019/cmap_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.fits scfile=/scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits outfile=/scratch/kocevski/435019/cmap_HighResolution_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.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.52
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435019/Model_4FGL_J0824.7+5552_weekly_bin752.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/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.fits.....................!
real 79.50
user 77.61
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.fits', '/scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits', expMap='/scratch/kocevski/435019/expmap_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.fits', expCube='/scratch/kocevski/435019/ltcube_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/435019/Model_4FGL_J0824.7+5552_weekly_bin752.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  0.000e+00  1.000e+06 ( 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/435019/ft1_filtered_4FGL_J0824.7+5552_weekly_bin752.fits
Spacecraft file(s): /scratch/kocevski/435019/ft2_4FGL_J0824.7+5552_weekly_bin752.fits
Exposure map: /scratch/kocevski/435019/expmap_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.fits
Exposure cube: /scratch/kocevski/435019/ltcube_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/435019/Model_4FGL_J0824.7+5552_weekly_bin752.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) = 9624.66953773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38887E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    26.089       1.0000          .0000       .10000E+07
     3 'Prefactor '    .82872E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25195E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .70754E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .72350       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5520       1.0000          .0000       .10000E+07
     8 'norm      '    .52584E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    195.55       1.0000          .0000       .10000E+07
    10 'norm      '    .16048E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25823E-01   1.0000          .0000       .10000E+07
    12 'norm      '    6.4901       1.0000          .0000       .10000E+07
    13 'norm      '    .77824       1.0000          .0000       .10000E+07
    14 'Prefactor '    .63033E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .28044E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.877       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.3587       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.6642       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28452E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .12316E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .18922E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    8.7131       1.0000          .0000       .10000E+07
    23 'Prefactor '    .14926E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .54790E-07   1.0000          .0000       .10000E+07
    25 'Prefactor '    6.3499       1.0000          .0000       .10000E+07
    26 'Prefactor '    5.7376       1.0000          .0000       .10000E+07
    27 'Prefactor '    4.5392       1.0000          .0000       .10000E+07
    28 'norm      '    .36515E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    20.924       1.0000          .0000       .10000E+07
    30 'Normalizat'    .64918       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0764       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9624.612     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2344 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    2.7792        .83277E-07** at limit **
   2  Prefactor     26.409        3.9075       -.22690E-06    .29455E-02
   3  Prefactor     .16653E-09    4.3126       -.99807E-07** at limit **
   4  Prefactor     .84655E-07    5.1296       -.14399E-05** at limit **
   5  Prefactor     .18985E-07    62.860       -.54576E-06** at limit **
   6  norm          .72354        .49294       -.93721E-07    .50500E-02
   7  Prefactor     2.5525        6.8767       -.20147E-05   -.35364E-01
   8  norm           .0000        1.2330        .18452E-06** at limit **
   9  Prefactor     196.29        7.3814        .38171E-07    .62969E-02
  10  norm          .55511E-10    2.4897        .67626E-08** at limit **
  11  Prefactor     .16698E-06    2.0216       -.10397E-05** at limit **
  12  norm          6.5084        3.9495        .19784E-09   -.23778E-02
  13  norm          .77783        .81697       -.23180E-07   -.48546E-02
  14  Prefactor     .55511E-10    .69384        .16090E-06** at limit **
  15  Prefactor      .0000        3.4472       -.50228E-06** at limit **
  16  Prefactor     16.851        6.0126       -.14469E-06   -.69250E-02
  17  Prefactor     7.3872        2.5284        .46714E-06    .15404E-02
  18  Prefactor     5.6952        4.9689       -.27081E-07   -.39176E-02
  19  Prefactor     .11102E-09    3.6568        .10648E-05** at limit **
  20  norm           .0000        1.1851        .15917E-06** at limit **
  21  norm           .0000        1.3681        .11764E-06** at limit **
  22  Prefactor     8.7189        1.1785       -.12527E-07    .10373E-01
  23  Prefactor     .19540E-07    8.6515       -.13072E-05** at limit **
  24  norm          .55511E-10    .57677       -.37432E-07** at limit **
  25  Prefactor     6.3596        1.0983       -.26057E-07    .66656E-02
  26  Prefactor     5.7405        3.8369       -.53600E-07   -.57534E-02
  27  Prefactor     4.5437        6.9552       -.17708E-05   -.16924E-01
  28  norm          .27017E-06    3.5234        .14678E-05** at limit **
  29  Prefactor     20.848        24.115       -.17383E-05    .98717E-02
  30  Normalizat    .64883        .16497        .66841E-05   -.30550E-04
  31  Prefactor     1.0761        .12769        .11105E-05   -.12017E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Prefactor  = 26.4092
  Prefactor  = 1.66533e-10
  Prefactor  = 8.46545e-08
  Prefactor  = 1.89848e-08
  norm       = 0.723543
  Prefactor  = 2.55255
  norm       = 0
  Prefactor  = 196.293
  norm       = 5.55112e-11
  Prefactor  = 1.66978e-07
  norm       = 6.50837
  norm       = 0.777829
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 16.8513
  Prefactor  = 7.3872
  Prefactor  = 5.69523
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 0
  Prefactor  = 8.71892
  Prefactor  = 1.95399e-08
  norm       = 5.55112e-11
  Prefactor  = 6.35956
  Prefactor  = 5.74054
  Prefactor  = 4.54367
  norm       = 2.70173e-07
  Prefactor  = 20.8477
  Normalizat = 0.648832
  Prefactor  = 1.0761
 **********
 **   18 **HESSE 
 **********

 FCN=   9624.612     FROM HESSE     STATUS=OK           686 CALLS     3030 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    2.7910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.409        23.624        .19582E-03   -1.5605    
   3  Prefactor     .16653E-09    4.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .84655E-07    7.0156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18985E-07    65.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .72354        .49334        .58821E-04   -1.5691    
   7  Prefactor     2.5525        10.804        .63889E-03   -1.5676    
   8  norm           .0000        1.2134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     196.29        37.562        .71519E-04   -1.5428    
  10  norm          .55511E-10    2.4522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16698E-06    24.598        .16680E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.5084        3.9702        .39371E-03   -1.5657    
  13  norm          .77783        .81405        .54571E-03   -1.5690    
  14  Prefactor     .55511E-10    .68678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.4482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.851        6.0690        .24353E-03   -1.5626    
  17  Prefactor     7.3872        12.656        .36950E-03   -1.5654    
  18  Prefactor     5.6952        4.9945        .42184E-03   -1.5660    
  19  Prefactor     .11102E-09    7.3811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.1865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.3681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.7189        9.1362        .33934E-03   -1.5649    
  23  Prefactor     .19540E-07    8.9751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    .55355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.3596        7.5182        .39809E-03   -1.5658    
  26  Prefactor     5.7405        3.8840        .41909E-03   -1.5660    
  27  Prefactor     4.5437        7.1566        .47228E-03   -1.5665    
  28  norm          .27017E-06    8.5438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     20.848        24.781        .21868E-03   -1.5617    
  30  Normalizat    .64883        .15100        .71248E-01   -1.0595    
  31  Prefactor     1.0761        .11380        .38562E-01   -.90234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66372e-07
Minuit parameter uncertainties:
  1  0.000105738
  2  23.6236
  3  5.40992e-05
  4  0.00154123
  5  0.00223118
  6  0.493339
  7  10.5027
  8  1.7717e-06
  9  37.5625
  10  1.69892e-05
  11  0.0040534
  12  3.97016
  13  0.81405
  14  1.02608e-05
  15  4.39385e-06
  16  6.06902
  17  12.6561
  18  4.99451
  19  5.11664e-05
  20  3.72664e-06
  21  2.31958e-06
  22  9.13621
  23  0.000837415
  24  1.17754e-05
  25  7.51818
  26  3.88403
  27  7.15666
  28  0.00303849
  29  24.7816
  30  0.151091
  31  0.11383
Done.

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

Extracting fit parameters...

4FGL J0824.7+5552
   Spectrum: PowerLaw
324    Prefactor:  1.685e+01  6.069e+00  0.000e+00  1.000e+06 ( 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:  1.076e+00  1.138e-01  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:  6.488e-01  1.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.10
Ra Dec: 126.198 55.882
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 3.97e-08
Energy Flux (Fixed Index): 2.86e-05 +/- 1.03e-05

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) = 9623.65295742
delta logL = 0.958687917109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9623.50802609
delta logL = 1.10361925323

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.108       1.0000          .0000       .10000E+07
     2 'Index     '    2.0729       1.0000          .0000       10.000    
     3 'Normalizat'    .68689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0568       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=   9623.508     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      220 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 23.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.108        7.0121        .97664E-07   -.18747E-01
   2  Index         2.0729        .25129       -.30601E-05   -.57545E-03
   3  Normalizat    .68688        .14076        .10068E-06    .83275E-04
   4  Prefactor     1.0568        .11216       -.11448E-06    .46161E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1082
  Index      = 2.07289
  Normalizat = 0.686883
  Prefactor  = 1.0568
 **********
 **   18 **HESSE 
 **********

 FCN=   9623.508     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.108        7.9892        .87089E-05   -1.5616    
   2  Index         2.0729        .32305        .65033E-02   -.62540    
   3  Normalizat    .68688        .15899        .30719E-03   -1.0441    
   4  Prefactor     1.0568        .12632        .20192E-03   -.90859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67171e-09
Minuit parameter uncertainties:
  1  7.98916
  2  0.323397
  3  0.1591
  4  0.126355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435019': 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) = 9623.50802608
delta logL = 1.10361925855

Extracting fit parameters...

4FGL J0824.7+5552
   Spectrum: PowerLaw
324    Prefactor:  2.111e+01  7.989e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  2.073e+00  3.234e-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:  1.057e+00  1.264e-01  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:  6.869e-01  1.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.16
Ra Dec: 126.198 55.882
Photon Index (Free Index): 2.07 +/- 0.32
Photon Flux (Free Index): 7.94e-08 +/- 3.92e-08
Energy Flux (Free Index): 4.62e-05 +/- 2.55e-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/435019/cmap_HighResolution_693792001_694396801_4FGL_J0824.7+5552_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='4.62e-05', photon_flux_error='3.97e-08', dlogl='1.10e+00', energy_flux='2.86e-05', photon_flux2='7.94e-08', job_status='DONE', time_completed='2023-01-03 01:45:52.041772', photon_index_error2='0.32', photon_index2='2.07', ts='14.10', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.55e-05', EG='0.65', time_epoch_completed='1672739152.04', return_code='0', job_id='435019', GAL2='1.06', EG2='0.69', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='3.92e-08', ts2='16.16', photon_index='2.61' WHERE bin_id='752' AND source_name='4FGL J0824.7+5552' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:45:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 435019: <4FGL_J0824.7+5552_weekly_bin752> in cluster <slac> Done

Job <4FGL_J0824.7+5552_weekly_bin752> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan  3 01:30:26 2023
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:30:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:30:51 2023
Terminated at Tue Jan  3 01:45:52 2023
Results reported at Tue Jan  3 01:45:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.7+5552_weekly_bin752 126.198 55.8816 693792001 694396801 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 :                                   845.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             327.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            926 sec.

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

