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


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1759
RA = 126.236, Dec = 39.2574
tmin = 695260801, tmax = 695520001
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='554224', job_status='RUN', time_executed='2023-01-16 01:00:12.145455', time_epoch_executed='1673859612.15' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554224

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554224/ft1_4FGL_J0824.9+3915_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554224/ft2_4FGL_J0824.9+3915_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554224/ft1_4FGL_J0824.9+3915_daily_bin1759.fits outfile=/scratch/kocevski/554224/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1759.fits ra=126.236 dec=39.2574 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.75
user 2.53
sys 0.20

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

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

Number of photons that the gtmktime cut: 25

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/554224/ft1_filtered_4FGL_J0824.9+3915_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/554224/ft2_4FGL_J0824.9+3915_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/554224/ltcube_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.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/554224/ft2_4FGL_J0824.9+3915_daily_bin1759.fits
.....................!
real 16.81
user 16.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554224/ft1_filtered_4FGL_J0824.9+3915_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554224/ft2_4FGL_J0824.9+3915_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/554224/ltcube_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.fits outfile=/scratch/kocevski/554224/expmap_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.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/554224/ltcube_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.fits
.....................!
real 192.68
user 186.62
sys 5.58

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 196 point sources and 0 extended sources

Setting source of interest to:
4FGL J0824.9+3915 @ 126.236 39.2574

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/554224/ft1_filtered_4FGL_J0824.9+3915_daily_bin1759.fits scfile=/scratch/kocevski/554224/ft2_4FGL_J0824.9+3915_daily_bin1759.fits outfile=/scratch/kocevski/554224/cmap_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=126.236 yref=39.2574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554224/ft1_filtered_4FGL_J0824.9+3915_daily_bin1759.fits scfile=/scratch/kocevski/554224/ft2_4FGL_J0824.9+3915_daily_bin1759.fits outfile=/scratch/kocevski/554224/cmap_HighResolution_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=126.236 yref=39.2574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/554224/ft1_filtered_4FGL_J0824.9+3915_daily_bin1759.fits', '/scratch/kocevski/554224/ft2_4FGL_J0824.9+3915_daily_bin1759.fits', expMap='/scratch/kocevski/554224/expmap_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.fits', expCube='/scratch/kocevski/554224/ltcube_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/554224/Model_4FGL_J0824.9+3915_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0824.9+3915'

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.301e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/554224/ft1_filtered_4FGL_J0824.9+3915_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/554224/ft2_4FGL_J0824.9+3915_daily_bin1759.fits
Exposure map: /scratch/kocevski/554224/expmap_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.fits
Exposure cube: /scratch/kocevski/554224/ltcube_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/554224/Model_4FGL_J0824.9+3915_daily_bin1759.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 346.474616152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 344.962314912

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6152       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.4734       1.0000          .0000       .10000E+07
     3 'norm      '    9.5249       1.0000          .0000       .10000E+07
     4 'norm      '    59.717       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45812E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.0234       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18678E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.5146       1.0000          .0000       .10000E+07
     9 'norm      '    .25426E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .55939       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18581E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    60.400       1.0000          .0000       .10000E+07
    13 'Prefactor '    .97298       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21112E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .12606E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .66257E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    42.195       1.0000          .0000       .10000E+07
    18 'Prefactor '    .47850E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .23381       1.0000          .0000       .10000E+07
    20 'norm      '    .62146E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    .61772       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .37762       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   344.9478     FROM MIGRAD    STATUS=CONVERGED    159 CALLS      363 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6152        1.0584         .0000         .0000    
   2  Prefactor     .39352E-03    293.46        .31513E-05** at limit **
   3  norm          9.5249        1.0014         .0000         .0000    
   4  norm          58.826        9.0672       -.29400E-07    .42848E-01
   5  Prefactor      .0000        131.06       -.49481E-05** at limit **
   6  Prefactor     .12573E-03    196.54        .19318E-05** at limit **
   7  Prefactor     .11371E-04    41.673       -.30524E-05** at limit **
   8  Prefactor     2.4629        3.0848        .83756E-07    .50963E-02
   9  norm           .0000        2.7440       -.17490E-05** at limit **
  10  Prefactor     .98381E-02    424.30        .24078E-05** at limit **
  11  Prefactor     .28265E-03    71.995       -.98276E-06** at limit **
  12  Prefactor     58.427        12.583       -.30148E-06    .46769E-01
  13  Prefactor     .51699E-04    45.081       -.34845E-05** at limit **
  14  Prefactor      .0000        28.550       -.30096E-06** at limit **
  15  norm          .55511E-10    23.144       -.18169E-05** at limit **
  16  Prefactor     .55399E-05    75.431       -.69949E-05** at limit **
  17  Prefactor     41.990        20.697        .54475E-07    .20121E-02
  18  Prefactor      .0000        25.569       -.33915E-05** at limit **
  19  norm          .23439        1.7141       -.23518E-05** at limit **
  20  norm           .0000        10.286       -.42006E-05** at limit **
  21  Prefactor      .0000        3.5223       -.13913E-06** at limit **
  22  Normalizat    .61939        .71768        .22474E-03    .11801E-05
  23  Prefactor     .38098        .69196       -.19081E-03   -.62543E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61524
  Prefactor  = 0.000393517
  norm       = 9.52487
  norm       = 58.8258
  Prefactor  = 0
  Prefactor  = 0.000125731
  Prefactor  = 1.13705e-05
  Prefactor  = 2.46288
  norm       = 0
  Prefactor  = 0.00983809
  Prefactor  = 0.000282653
  Prefactor  = 58.427
  Prefactor  = 5.16991e-05
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 5.5399e-06
  Prefactor  = 41.9902
  Prefactor  = 0
  norm       = 0.234386
  norm       = 0
  Prefactor  = 0
  Normalizat = 0.619387
  Prefactor  = 0.380983
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   344.9478     FROM HESSE     STATUS=FAILED        11 CALLS      374 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63009.        63007.         .0000       -1.5683    
   2  Prefactor     .39352E-03    .10558        .31513E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.5249        1.0014         .0000       -1.5646    
   4  norm          58.826        .99254       -.29400E-07   -1.5555    
   5  Prefactor      .0000        .61712       -.49481E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12573E-03    .85083E-01    .19318E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11371E-04    .44347E-01   -.30524E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4629        1.0107        .83756E-07   -1.5677    
   9  norm           .0000        .44347E-01   -.17490E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .98381E-02    .13303        .24078E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28265E-03    .44347E-01   -.98276E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     58.427        .98356       -.30148E-06   -1.5555    
  13  Prefactor     .51699E-04    .45810E-01   -.34845E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        .71949       -.30096E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    .44347E-01   -.18169E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55399E-05    .44347E-01   -.69949E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.990        .99764        .54475E-07   -1.5578    
  18  Prefactor      .0000        .61052       -.33915E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .23439        .54235       -.23518E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .44347E-01   -.42006E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .44347E-01   -.13913E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .61939        .95701        .22474E-03   -1.0717    
  23  Prefactor     .38098        .70880       -.19081E-03   -1.1779    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.20592e-09
Minuit parameter uncertainties:
  1  1.05842
  2  0.0128917
  3  1.00138
  4  0.992542
  5  2.79395e-06
  6  0.00654142
  7  0.00142022
  8  1.01071
  9  3.67084e-07
  10  0.0723543
  11  0.00708094
  12  0.983564
  13  0.00307789
  14  3.93881e-07
  15  2.23162e-06
  16  0.000991326
  17  0.997642
  18  2.54158e-06
  19  0.542355
  20  4.93593e-07
  21  9.48604e-08
  22  0.984601
  23  0.726079
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 344.947784603

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  5.843e+01  9.836e-01  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  3.810e-01  7.261e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  6.194e-01  9.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.94
Ra Dec: 126.236 39.257
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 7.46e-07 +/- 1.25e-08
Energy Flux (Fixed Index): 2.35e-04 +/- 3.95e-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) = 344.678136298
delta logL = 0.26964830529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 344.626371101
delta logL = 0.32141350209

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    76.303       1.0000          .0000       .10000E+07
     2 'Index     '    1.8428       1.0000          .0000       10.000    
     3 'Normalizat'    .63198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .37768       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   344.6264     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .19E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.331        63.627        .12420E-06   -.22400E-05
   2  Index         1.8431        .67553        .13547E-04   -.13815E-06
   3  Normalizat    .63148        .65077       -.53952E-06   -.34035E-05
   4  Prefactor     .37854        .62557       -.35153E-06   -.15131E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 76.3306
  Index      = 1.84312
  Normalizat = 0.631476
  Prefactor  = 0.378537
 **********
 **   18 **HESSE 
 **********

 FCN=   344.6264     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .41E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.331        63.670        .22897E-04   -1.5533    
   2  Index         1.8431        .67561        .31249E-03   -.68333    
   3  Normalizat    .63148        .71952        .30336E-03   -1.0666    
   4  Prefactor     .37854        .68892        .36978E-03   -1.1792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14001e-13
Minuit parameter uncertainties:
  1  63.6703
  2  0.679078
  3  0.730631
  4  0.704831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554224': 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) = 344.626369821
delta logL = 0.321414782031

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  7.633e+01  6.367e+01  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  1.843e+00  6.791e-01  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  3.785e-01  7.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  6.315e-01  7.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.33
Ra Dec: 126.236 39.257
Photon Index (Free Index): 1.84 +/- 0.68
Photon Flux (Free Index): 4.68e-07 +/- 4.85e-07
Energy Flux (Free Index): 4.93e-04 +/- 7.81e-04

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/554224/cmap_HighResolution_695260801_695520001_4FGL_J0824.9+3915_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.46e-07', energy_flux2='4.93e-04', photon_flux_error='1.25e-08', dlogl='3.21e-01', energy_flux='2.35e-04', photon_flux2='4.68e-07', job_status='DONE', time_completed='2023-01-16 01:05:44.055679', photon_index_error2='0.68', photon_index2='1.84', ts='5.94', fit_tolerance='1e-08', GAL='0.38', photon_index_error='0.00', energy_flux_error2='7.81e-04', EG='0.62', time_epoch_completed='1673859944.06', return_code='101', job_id='554224', GAL2='0.38', EG2='0.63', return_code2='0', energy_flux_error='3.95e-06', photon_flux_error2='4.85e-07', ts2='6.33', photon_index='2.43' WHERE bin_id='1759' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:05:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 554224: <4FGL_J0824.9+3915_daily_bin1759> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 00:55:29 2023
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 00:56:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 00:56:25 2023
Terminated at Mon Jan 16 01:05:44 2023
Results reported at Mon Jan 16 01:05:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1759 126.236 39.2574 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0824.9+3915 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   334.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            615 sec.

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

