/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 70 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 = 7626
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1583
RA = 126.236, Dec = 39.2574
tmin = 649641601, tmax = 649900801
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='462653', job_status='RUN', time_executed='2021-08-29 19:49:47.583244', time_epoch_executed='1630291787.58' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1583'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462653

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462653/ft1_4FGL_J0824.9+3915_daily_bin1583.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462653/ft2_4FGL_J0824.9+3915_daily_bin1583.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462653/ft1_4FGL_J0824.9+3915_daily_bin1583.fits outfile=/scratch/kocevski/462653/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1583.fits ra=126.236 dec=39.2574 rad=12.0 tmin=649641601.0 tmax=649900801.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 10.28
user 2.35
sys 7.60

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462653/ft1_filtered_4FGL_J0824.9+3915_daily_bin1583.fits" evtable="EVENTS" scfile=/scratch/kocevski/462653/ft2_4FGL_J0824.9+3915_daily_bin1583.fits sctable="SC_DATA" outfile=/scratch/kocevski/462653/ltcube_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.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/462653/ft2_4FGL_J0824.9+3915_daily_bin1583.fits
.....................!
real 22.01
user 12.81
sys 8.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462653/ft1_filtered_4FGL_J0824.9+3915_daily_bin1583.fits evtable="EVENTS" scfile=/scratch/kocevski/462653/ft2_4FGL_J0824.9+3915_daily_bin1583.fits sctable="SC_DATA" expcube=/scratch/kocevski/462653/ltcube_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.fits outfile=/scratch/kocevski/462653/expmap_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.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/462653/ltcube_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.fits
.....................!
real 201.38
user 186.02
sys 14.69

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/462653/ft1_filtered_4FGL_J0824.9+3915_daily_bin1583.fits scfile=/scratch/kocevski/462653/ft2_4FGL_J0824.9+3915_daily_bin1583.fits outfile=/scratch/kocevski/462653/cmap_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.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 7.80
user 0.38
sys 7.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462653/ft1_filtered_4FGL_J0824.9+3915_daily_bin1583.fits scfile=/scratch/kocevski/462653/ft2_4FGL_J0824.9+3915_daily_bin1583.fits outfile=/scratch/kocevski/462653/cmap_HighResolution_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.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 7.83
user 0.39
sys 7.40

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/462653/ft1_filtered_4FGL_J0824.9+3915_daily_bin1583.fits', '/scratch/kocevski/462653/ft2_4FGL_J0824.9+3915_daily_bin1583.fits', expMap='/scratch/kocevski/462653/expmap_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.fits', expCube='/scratch/kocevski/462653/ltcube_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/462653/Model_4FGL_J0824.9+3915_daily_bin1583.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  1.000e-04  1.000e+04 ( 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/462653/ft1_filtered_4FGL_J0824.9+3915_daily_bin1583.fits
Spacecraft file(s): /scratch/kocevski/462653/ft2_4FGL_J0824.9+3915_daily_bin1583.fits
Exposure map: /scratch/kocevski/462653/expmap_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.fits
Exposure cube: /scratch/kocevski/462653/ltcube_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/462653/Model_4FGL_J0824.9+3915_daily_bin1583.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) = 336.656463767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016       1.0000         .10000E-03   10000.    
     2 'Prefactor '    128.73       1.0000         .10000E-03   10000.    
     3 'norm      '    1464.9       1.0000         .10000E-03   10000.    
     4 'norm      '    .13876E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    212.33       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .33846E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9972.8       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3875       1.0000         .10000E-03   10000.    
     9 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9333       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.7040       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .47435E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14492E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18003       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .34225E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .16066E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8240       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .58746E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.880       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6564       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .18977E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.6293       1.0000         .10000E-03   10000.    
    23 'norm      '    .10420E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95895       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=   333.1719     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2655 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    149.05        .38600E-06** at limit **
   2  Prefactor     9999.8        6400.8        .17698E-04    .74345E-02
   3  norm          178.89        237.38       -.23277E-05    .60879E-01
   4  norm          .10000E-03    27.325       -.15125E-07** at limit **
   5  Prefactor     3134.0        6351.2       -.12065E-04    .37079E-02
   6  Prefactor     .10090E-03    588.19        .26392E-05** at limit **
   7  Prefactor    10000.0        710.50       -.39654E-05** at limit **
   8  Prefactor     9993.3        9304.5        .53155E-05   -.58380E-02
   9  norm          .10000E-03    5.8030       -.80326E-09** at limit **
  10  Prefactor     9989.4        8389.1        .12331E-04    .68519E-02
  11  Prefactor    10000.0        8393.3        .21176E-06    .91590E-03
  12  Prefactor     .10159E-03    372.72       -.35138E-05** at limit **
  13  Prefactor     .10000E-03    82.374        .16281E-06** at limit **
  14  Prefactor     .10004E-03    104.59       -.51696E-06** at limit **
  15  Prefactor     .10000E-03    21.657        .54664E-07** at limit **
  16  norm          .10000E-03    23.024       -.11837E-06** at limit **
  17  Prefactor     2.5737        7.5715       -.26909E-06   -.95945E-03
  18  Prefactor     .10003E-03    18.055       -.46061E-06** at limit **
  19  Prefactor     63.505        394.88        .29002E-05   -.10483E-03
  20  Prefactor     4.0168        19.937        .54771E-06   -.13435E-03
  21  Prefactor     .10000E-03    33.933       -.83237E-07** at limit **
  22  norm          2.7069        1.6538        .58892E-08    .45959E-04
  23  norm          .10000E-03    11.061        .28139E-08** at limit **
  24  Prefactor     .10000E-03    3.1510       -.25840E-08** at limit **
  25  Normalizat    .10000E-01    .22637        .27241E-06** at limit **
  26  Prefactor     .78564        .48364        .10268E-05    .16735E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100025
  Prefactor  = 9999.78
  norm       = 178.887
  norm       = 0.0001
  Prefactor  = 3134.03
  Prefactor  = 0.000100905
  Prefactor  = 10000
  Prefactor  = 9993.34
  norm       = 0.0001
  Prefactor  = 9989.39
  Prefactor  = 9999.97
  Prefactor  = 0.000101594
  Prefactor  = 0.000100004
  Prefactor  = 0.000100041
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 2.57369
  Prefactor  = 0.000100031
  Prefactor  = 63.5045
  Prefactor  = 4.01683
  Prefactor  = 0.000100001
  norm       = 2.70692
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.785643
 **********
 **   18 **HESSE 
 **********

 FCN=   333.1719     FROM HESSE     STATUS=OK           494 CALLS     3149 TOTAL
                     EDM=   .56E-02    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    148.00        .95120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9999.8        6410.5        .88711E-03    1.5803    
   3  norm          178.89        5771.0        .28281E-03   -1.3025    
   4  norm          .10000E-03    26.729        .10266E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3134.0        6309.8        .69367E-03   -.38245    
   6  Prefactor     .10090E-03    567.52        .98469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        719.93        .19198E-01    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9993.3        9980.1        .39703E-02    1.5192    
   9  norm          .10000E-03    5.6162        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9989.4        9976.5        .41214E-02    1.6360    
  11  Prefactor    10000.0        8404.8        .46384E-02    1.5743    
  12  Prefactor     .10159E-03    362.55        .92576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    78.095        .90953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10004E-03    102.11        .98861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.059        .10667E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    27.224        .10208E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.5737        7.3958        .60505E-02   -1.5387    
  18  Prefactor     .10003E-03    16.373        .10538E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     63.505        381.23        .27903E-02   -1.4112    
  20  Prefactor     4.0168        19.002        .42225E-02   -1.6109    
  21  Prefactor     .10000E-03    33.087        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7069        1.6285        .38754E-02   -1.5379    
  23  norm          .10000E-03    10.694        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.1209        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .10000E-01    .22350        .12128       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .78564        .47885        .45752E-01   -1.0026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00558771
Minuit parameter uncertainties:
  1  0.00384991
  2  53.5469
  3  1489.59
  4  6.74532e-05
  5  7635.14
  6  0.0457589
  7  0.36527
  8  767.598
  9  1.54271e-06
  10  1004.74
  11  33.6752
  12  0.0483816
  13  0.00115878
  14  0.00408137
  15  0.000195776
  16  0.000421769
  17  7.39843
  18  0.0014197
  19  314.236
  20  17.4821
  21  0.000365869
  22  1.62852
  23  7.03223e-06
  24  3.54966e-06
  25  2.96672e-06
  26  0.481414
Done.

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

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.159e-03  1.000e-04  1.000e+04 ( 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:  7.856e-01  4.814e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.000e-02  2.967e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 126.236 39.257
Photon Flux Upper Limit: 5.68e-06 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462653/likelihoodResults_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.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): 102
logL (Free Index) = 333.171965441
delta logL = -6.06618991696e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 333.171905372
delta logL = -5.923661206e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1787       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78562       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   333.1719     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      276 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10984E-03    131.53        .11584E-01** at limit **
   2  Index         2.9390        6.3276        .50000        .45763E-05
   3  Normalizat    .10000E-01    .11442E-02    .52980E-03** at limit **
   4  Prefactor     .78563        .28483E-01    .26547E-03   -.91153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109837
  Index      = 2.93901
  Normalizat = 0.01
  Prefactor  = 0.785628
 **********
 **   18 **HESSE 
 **********

 FCN=   333.1719     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10984E-03    1040.7        .12906E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9390        6.2724        .50000       -.42487    
   3  Normalizat    .10000E-01    .96929E-02    .10596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .78563        .82904E-01    .53095E-04   -1.0026    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.96777e-08
Minuit parameter uncertainties:
  1  0.206041
  2  2064.24
  3  1.11234e-07
  4  0.0829172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462653': 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): 102
logL (Free Index) = 333.17190519
delta logL = -4.10301254306e-07

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.098e-04  2.060e-01  1.000e-04  1.000e+04 ( 1.000e-12)
315        Index:  2.939e+00  2.064e+03  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:  7.856e-01  8.292e-02  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.000e-02  1.112e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 126.236 39.257

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/462653/cmap_HighResolution_649641601_649900801_4FGL_J0824.9+3915_daily_bin1583.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-01', job_status='DONE', photon_flux_upper_limit='5.68e-06', time_completed='2021-08-29 19:57:41.209548', job_id='462653', GAL2='0.79', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630292261.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-4.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1583' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 19:57:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 462653: <4FGL_J0824.9+3915_daily_bin1583> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1583> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 29 19:45:46 2021
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 19:45:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 19:45:48 2021
Terminated at Sun Aug 29 19:57:43 2021
Results reported at Sun Aug 29 19:57:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1583 126.236 39.2574 649641601 649900801 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 :                                   580.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             218.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            717 sec.

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

