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


Performing analysis on: 4FGL_J0824.7+5552_daily_bin1755
RA = 126.198, Dec = 55.8816
tmin = 694224001, tmax = 694483201
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='819049', job_status='RUN', time_executed='2023-01-04 00:48:09.265958', time_epoch_executed='1672822089.27' WHERE source_name='4FGL J0824.7+5552' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/819049

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/819049/ft1_4FGL_J0824.7+5552_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/819049/ft1_4FGL_J0824.7+5552_daily_bin1755.fits outfile=/scratch/kocevski/819049/ft1_filteredMKT_4FGL_J0824.7+5552_daily_bin1755.fits ra=126.198 dec=55.8816 rad=12.0 tmin=694224001.0 tmax=694483201.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.08
user 2.85
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.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/819049/ft1_filteredMKT_4FGL_J0824.7+5552_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.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.53
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/819049/ltcube_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.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/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits
.....................!
real 18.06
user 17.54
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/819049/ltcube_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.fits outfile=/scratch/kocevski/819049/expmap_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.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/819049/ltcube_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.fits
.....................!
real 193.82
user 186.38
sys 6.12

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/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.fits scfile=/scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits outfile=/scratch/kocevski/819049/cmap_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.fits scfile=/scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits outfile=/scratch/kocevski/819049/cmap_HighResolution_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/819049/Model_4FGL_J0824.7+5552_daily_bin1755.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/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.fits........................!
real 22.21
user 20.51
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.fits', '/scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits', expMap='/scratch/kocevski/819049/expmap_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.fits', expCube='/scratch/kocevski/819049/ltcube_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/819049/Model_4FGL_J0824.7+5552_daily_bin1755.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/819049/ft1_filtered_4FGL_J0824.7+5552_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/819049/ft2_4FGL_J0824.7+5552_daily_bin1755.fits
Exposure map: /scratch/kocevski/819049/expmap_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.fits
Exposure cube: /scratch/kocevski/819049/ltcube_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/819049/Model_4FGL_J0824.7+5552_daily_bin1755.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) = 702.4130727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    77.007       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.348       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39988       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.902       1.0000          .0000       .10000E+07
     5 'Prefactor '    .23987E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .84041       1.0000          .0000       .10000E+07
     7 'Prefactor '    .19021E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .75297E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22236E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .13214E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    113.95       1.0000          .0000       .10000E+07
    12 'norm      '    .28644E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .54117E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .70333E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .70079E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .66908       1.0000          .0000       .10000E+07
    17 'Prefactor '    .99968E+06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .30820       1.0000          .0000       .10000E+07
    19 'Prefactor '    .11116E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .99996E+06   1.0000          .0000       .10000E+07
    21 'norm      '    .99964E+06   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.2312       1.0000          .0000       .10000E+07
    23 'Prefactor '    .99965E+06   1.0000          .0000       .10000E+07
    24 'norm      '    .19639E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    86.218       1.0000          .0000       .10000E+07
    26 'Prefactor '    2.0486       1.0000          .0000       .10000E+07
    27 'Prefactor '    6.2656       1.0000          .0000       .10000E+07
    28 'norm      '    6.6539       1.0000          .0000       .10000E+07
    29 'Prefactor '    22.287       1.0000          .0000       .10000E+07
    30 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    .16463       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=   702.3513     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     4660 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     79.287        53.132        .37967E-06    .93088E-04
   2  Prefactor     31.938        76.083        .16252E-07   -.21241E-03
   3  Prefactor      .0000        54.185       -.81360E-06** at limit **
   4  Prefactor     23.061        45.384       -.57562E-06    .64398E-04
   5  Prefactor     .55511E-10    72.573        .32371E-07** at limit **
   6  norm          .80361        2.1895       -.88235E-06   -.54999E-02
   7  Prefactor      .0000        45.812       -.25389E-09** at limit **
   8  norm           .0000        14.475       -.28897E-07** at limit **
   9  Prefactor     .55511E-10    26.067       -.89193E-07** at limit **
  10  norm           .0000        1.4859        .10021E-08** at limit **
  11  Prefactor     13.657        7973.9        .65000E-04   -.18701    
  12  norm          .55511E-10    12.472        .74670E-07** at limit **
  13  norm           .0000        10.433        .99895E-08** at limit **
  14  Prefactor      .0000        .56457        .21561E-08** at limit **
  15  Prefactor      .0000        14.374        .12774E-07** at limit **
  16  Prefactor     .16653E-07    956.39        .24407E-04** at limit **
  17  Prefactor     .99969E+06    68.986       -.14259E-05   -.29767E-01
  18  Prefactor     .22815E-07    1103.7        .20944E-05** at limit **
  19  Prefactor      .0000        21.968       -.50307E-08** at limit **
  20  norm          .10000E+07    1338.1       -.26615E-04   -.93030E-02
  21  norm          .99981E+06    1033.5       -.23411E-04   -.40955    
  22  Prefactor     .45408E-07    1430.7       -.11511E-05** at limit **
  23  Prefactor     .99970E+06    292.97       -.61838E-05   -.13171    
  24  norm           .0000        3.9015       -.19459E-07** at limit **
  25  Prefactor     4.9615        1936.4        .32026E-04    .46126E-01
  26  Prefactor     .44409E-09    3862.4       -.68889E-05** at limit **
  27  Prefactor     .10547E-08    351.45        .50548E-06** at limit **
  28  norm          .10741E-06    2291.3        .48390E-05** at limit **
  29  Prefactor     .22074E-03    3319.0       -.76527E-05** at limit **
  30  Normalizat    .10000E-01    .87193E-01   -.26624E-05** at limit **
  31  Prefactor     .15997        .12721       -.21197E-04    .20848E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 79.287
  Prefactor  = 31.938
  Prefactor  = 0
  Prefactor  = 23.0608
  Prefactor  = 5.55112e-11
  norm       = 0.803613
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 13.6569
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-08
  Prefactor  = 999690
  Prefactor  = 2.28151e-08
  Prefactor  = 0
  norm       = 999999
  norm       = 999811
  Prefactor  = 4.54081e-08
  Prefactor  = 999702
  norm       = 0
  Prefactor  = 4.96152
  Prefactor  = 4.44089e-10
  Prefactor  = 1.05471e-09
  norm       = 1.07414e-07
  Prefactor  = 0.000220745
  Normalizat = 0.01
  Prefactor  = 0.159975
 **********
 **   18 **HESSE 
 **********

 FCN=   702.3513     FROM HESSE     STATUS=OK           672 CALLS     5332 TOTAL
                     EDM=   .18E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     79.287        53.163        .11396E-03   -1.5530    
   2  Prefactor     31.938        76.115        .20700E-03   -1.5595    
   3  Prefactor      .0000        53.822        .89500E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.061        45.433        .20901E-03   -1.5612    
   5  Prefactor     .55511E-10    72.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .80361        2.2079        .49970E-03   -1.5690    
   7  Prefactor      .0000        45.834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        14.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    26.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.4871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.657        9848.1        .93684E-04   -1.5782    
  12  norm          .55511E-10    12.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        10.440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .56503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        14.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16653E-07    98.500        .83063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .99969E+06    .64169E+06    .55784E-04    1.5356    
  18  Prefactor     .22815E-07    1107.0        .10100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        21.959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E+07    39828.        .15106E-03    1.5693    
  21  norm          .99981E+06    16701.        .52898E-04    1.5433    
  22  Prefactor     .45408E-07    1429.7        .10129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .99970E+06    64060.        .53743E-04    1.5363    
  24  norm           .0000        3.8979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.9615        23951.        .10770E-03   -1.5663    
  26  Prefactor     .44409E-09    3890.8        .72201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10547E-08    351.77        .40079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10741E-06    2297.0        .38878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22074E-03    3321.3        .21188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .10000E-01    .85253E-01    .10923       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .15997        .12962        .53236E-01   -1.3172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0184671
Minuit parameter uncertainties:
  1  53.163
  2  76.1171
  3  1.23946e-05
  4  45.4335
  5  9.15674e-05
  6  2.20787
  7  6.72151e-05
  8  8.41816e-07
  9  9.12482e-05
  10  5.98158e-07
  11  734.687
  12  5.8782e-05
  13  8.91414e-06
  14  1.46865e-07
  15  1.42395e-05
  16  0.00256257
  17  19166.4
  18  0.0100489
  19  3.47394e-05
  20  301.821
  21  3566.96
  22  0.016115
  23  8830.45
  24  1.86872e-05
  25  692.232
  26  0.0026596
  27  0.00121119
  28  0.031425
  29  1.71344
  30  3.54146e-07
  31  0.12985
Done.

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

Extracting fit parameters...

4FGL J0824.7+5552
   Spectrum: PowerLaw
324    Prefactor:  1.665e-08  2.563e-03  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.600e-01  1.298e-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:  1.000e-02  3.541e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 126.198 55.882
Photon Flux Upper Limit: 1.00e-06 ph cm-2 s-1
Energy Flux Upper Limit: 7.87e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/819049/likelihoodResults_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.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) = 698.318583342
delta logL = 4.03269866242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 698.251637045
delta logL = 4.09964495926

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2846       1.0000          .0000       .10000E+07
     2 'Index     '    .51447       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .15713       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=   698.2516     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      284 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3262        8.0520        .43699E-03   -.24580E-03
   2  Index         .51688        .41084        .72306E-01   -.31677E-05
   3  Normalizat    .10000E-01    .82716E-01    .10732    ** at limit **
   4  Prefactor     .15727        .11541        .53159E-01    .65230E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.32615
  Index      = 0.516885
  Normalizat = 0.01
  Prefactor  = 0.157265
 **********
 **   18 **HESSE 
 **********

 FCN=   698.2516     FROM HESSE     STATUS=OK            31 CALLS      315 TOTAL
                     EDM=   .28E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3262        13.405        .59879E-05   -1.5662    
   2  Index         .51688        .67396        .32033E-03   -1.1121    
   3  Normalizat    .10000E-01    .84533E-01    .46194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15727        .11289        .23547E-03   -1.3193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78223e-14
Minuit parameter uncertainties:
  1  13.405
  2  0.684833
  3  8.02462e-09
  4  0.113043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/819049': 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) = 698.251629214
delta logL = 4.09965278974

Extracting fit parameters...

4FGL J0824.7+5552
   Spectrum: PowerLaw
324    Prefactor:  5.326e+00  1.340e+01  0.000e+00  1.000e+06 ( 1.000e-12)
325        Index:  5.169e-01  6.848e-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.573e-01  1.130e-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:  1.000e-02  8.025e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.20
Ra Dec: 126.198 55.882
Photon Index (Free Index): 0.52 +/- 0.68
Photon Flux (Free Index): 7.52e-08 +/- 7.58e-08
Energy Flux (Free Index): 2.54e-03 +/- 3.17e-03

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/819049/cmap_HighResolution_694224001_694483201_4FGL_J0824.7+5552_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.87e-02', comment='SUCCESS', energy_flux2='2.54e-03', dlogl='4.10e+00', photon_flux2='7.52e-08', job_status='DONE', time_completed='2023-01-04 00:55:29.059496', photon_index_error2='0.68', photon_index2='0.52', ts='-0.00', fit_tolerance='1e-08', GAL='0.16', photon_index_error='0.00', photon_flux_upper_limit='1.00e-06', energy_flux_error2='3.17e-03', EG='0.01', time_epoch_completed='1672822529.06', return_code='0', job_id='819049', GAL2='0.16', EG2='0.01', return_code2='0', photon_flux_error2='7.58e-08', ts2='8.20', photon_index='2.61' WHERE bin_id='1755' AND source_name='4FGL J0824.7+5552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:55:29 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 819049: <4FGL_J0824.7+5552_daily_bin1755> in cluster <slac> Done

Job <4FGL_J0824.7+5552_daily_bin1755> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Jan  4 00:45:32 2023
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:46:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:46:11 2023
Terminated at Wed Jan  4 00:55:29 2023
Results reported at Wed Jan  4 00:55:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.7+5552_daily_bin1755 126.198 55.8816 694224001 694483201 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 :                                   440.12 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             273.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            597 sec.

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

