/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 45 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 = 7535
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1239
RA = 126.236, Dec = 39.2574
tmin = 560476801, tmax = 560736001
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='460953', job_status='RUN', time_executed='2021-08-29 19:43:23.261412', time_epoch_executed='1630291403.26' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1239'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/460953

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/460953/ft1_4FGL_J0824.9+3915_daily_bin1239.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/460953/ft2_4FGL_J0824.9+3915_daily_bin1239.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/460953/ft1_4FGL_J0824.9+3915_daily_bin1239.fits outfile=/scratch/kocevski/460953/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1239.fits ra=126.236 dec=39.2574 rad=12.0 tmin=560476801.0 tmax=560736001.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.82
user 3.51
sys 4.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/460953/ft1_filtered_4FGL_J0824.9+3915_daily_bin1239.fits" evtable="EVENTS" scfile=/scratch/kocevski/460953/ft2_4FGL_J0824.9+3915_daily_bin1239.fits sctable="SC_DATA" outfile=/scratch/kocevski/460953/ltcube_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.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/460953/ft2_4FGL_J0824.9+3915_daily_bin1239.fits
.....................!
real 19.45
user 14.55
sys 4.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/460953/ft1_filtered_4FGL_J0824.9+3915_daily_bin1239.fits evtable="EVENTS" scfile=/scratch/kocevski/460953/ft2_4FGL_J0824.9+3915_daily_bin1239.fits sctable="SC_DATA" expcube=/scratch/kocevski/460953/ltcube_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.fits outfile=/scratch/kocevski/460953/expmap_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.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/460953/ltcube_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.fits
.....................!
real 197.31
user 186.23
sys 10.63

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/460953/ft1_filtered_4FGL_J0824.9+3915_daily_bin1239.fits scfile=/scratch/kocevski/460953/ft2_4FGL_J0824.9+3915_daily_bin1239.fits outfile=/scratch/kocevski/460953/cmap_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.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 4.74
user 0.39
sys 4.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/460953/ft1_filtered_4FGL_J0824.9+3915_daily_bin1239.fits scfile=/scratch/kocevski/460953/ft2_4FGL_J0824.9+3915_daily_bin1239.fits outfile=/scratch/kocevski/460953/cmap_HighResolution_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.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 5.52
user 0.37
sys 4.08

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/460953/ft1_filtered_4FGL_J0824.9+3915_daily_bin1239.fits', '/scratch/kocevski/460953/ft2_4FGL_J0824.9+3915_daily_bin1239.fits', expMap='/scratch/kocevski/460953/expmap_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.fits', expCube='/scratch/kocevski/460953/ltcube_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/460953/Model_4FGL_J0824.9+3915_daily_bin1239.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/460953/ft1_filtered_4FGL_J0824.9+3915_daily_bin1239.fits
Spacecraft file(s): /scratch/kocevski/460953/ft2_4FGL_J0824.9+3915_daily_bin1239.fits
Exposure map: /scratch/kocevski/460953/expmap_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.fits
Exposure cube: /scratch/kocevski/460953/ltcube_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/460953/Model_4FGL_J0824.9+3915_daily_bin1239.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) = 4269.93395366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2421       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.563       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.322       1.0000         .10000E-03   10000.    
     9 'norm      '    .59259       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.325       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.7594       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    64.516       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.4370       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .62111       1.0000         .10000E-03   10000.    
    23 'norm      '    6.3092       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1801       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1845       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=   4269.933     FROM MIGRAD    STATUS=CONVERGED    638 CALLS     3106 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.839        .38672E-05** at limit **
   2  Prefactor     .10000E-03    62.967        .13571E-05** at limit **
   3  norm          1.2313        45.113        .55093E-07   -.68070E-04
   4  norm          .10000E-03    1.1302       -.15835E-07** at limit **
   5  Prefactor     .10000E-03    23.760       -.35875E-05** at limit **
   6  Prefactor     19.557        43.506       -.18060E-05   -.14709E-04
   7  Prefactor     .10000E-03    16.185       -.39536E-06** at limit **
   8  Prefactor     15.318        31.418        .65145E-06    .57773E-05
   9  norm          .59217        .79432        .49399E-07    .14763E-03
  10  Prefactor     .10000E-03    19.976        .13054E-05** at limit **
  11  Prefactor     .10000E-03    236.05        .69682E-05** at limit **
  12  Prefactor     .10000E-03    35.762       -.30135E-05** at limit **
  13  Prefactor     .10000E-03    2.8680        .58127E-07** at limit **
  14  Prefactor     25.328        28.990       -.51890E-06   -.20216E-04
  15  Prefactor     .10000E-03    5.5466        .23504E-06** at limit **
  16  norm          .10000E-03    3.1734       -.89195E-08** at limit **
  17  Prefactor     2.7602        3.0288        .31846E-06   -.12084E-02
  18  Prefactor     .10000E-03    2.4479        .10739E-06** at limit **
  19  Prefactor     64.520        59.814        .10002E-05    .29850E-04
  20  Prefactor     3.4375        3.4368        .36976E-06   -.12694E-02
  21  Prefactor     .10000E-03    15.656        .69383E-07** at limit **
  22  norm          .62120        .57793        .13265E-07    .86142E-04
  23  norm          6.3094        11.483       -.10312E-06   -.19366E-04
  24  Prefactor     .10000E-03    1.3701       -.13670E-06** at limit **
  25  Normalizat    1.1799        .24633       -.39281E-06   -.13805E-04
  26  Prefactor     1.1844        .19584        .45278E-07   -.19663E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.23126
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.5567
  Prefactor  = 0.0001
  Prefactor  = 15.3176
  norm       = 0.592168
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.3285
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.76019
  Prefactor  = 0.0001
  Prefactor  = 64.5198
  Prefactor  = 3.43755
  Prefactor  = 0.0001
  norm       = 0.621198
  norm       = 6.30941
  Prefactor  = 0.0001
  Normalizat = 1.17995
  Prefactor  = 1.18438
 **********
 **   18 **HESSE 
 **********

 FCN=   4269.933     FROM HESSE     STATUS=OK           456 CALLS     3562 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    64.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2313        47.944        .40218E-03   -1.5486    
   4  norm          .10000E-03    1.1325        .67844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.337        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.557        43.416        .90554E-04   -1.4823    
   7  Prefactor     .10000E-03    16.651        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.318        31.400        .10232E-03   -1.4925    
   9  norm          .59217        .75086        .64646E-03   -1.5554    
  10  Prefactor     .10000E-03    20.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    242.76        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    37.017        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.9158        .10801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.328        29.005        .79601E-04   -1.4701    
  15  Prefactor     .10000E-03    5.5565        .15035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.1771        .11368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.7602        3.4814        .66157E-03   -1.5376    
  18  Prefactor     .10000E-03    2.4663        .99846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     64.520        60.118        .24981E-03   -1.4100    
  20  Prefactor     3.4375        4.1365        .69890E-03   -1.5337    
  21  Prefactor     .10000E-03    15.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .62120        .60305        .46648E-03   -1.5550    
  23  norm          6.3094        11.488        .15980E-03   -1.5206    
  24  Prefactor     .10000E-03    1.3758        .74708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1799        .29159        .28866E-03   -.87225    
  26  Prefactor     1.1844        .23067        .23026E-03   -.86813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61116e-09
Minuit parameter uncertainties:
  1  0.000296816
  2  0.000219129
  3  15.3791
  4  2.01006e-08
  5  0.000176459
  6  43.4864
  7  9.24942e-06
  8  31.4338
  9  0.750873
  10  8.59849e-05
  11  0.00136962
  12  0.000198383
  13  4.20407e-06
  14  29.0213
  15  1.02291e-05
  16  4.90392e-09
  17  3.48169
  18  2.41425e-06
  19  60.1747
  20  4.13682
  21  3.57229e-07
  22  0.603058
  23  11.4925
  24  2.60535e-06
  25  0.291995
  26  0.230867
Done.

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

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  4.204e-06  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:  1.184e+00  2.309e-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.180e+00  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 126.236 39.257
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/460953/likelihoodResults_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.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) = 4269.93502661
delta logL = -0.00162796559471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4269.9333987
delta logL = -6.37719494989e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4221       1.0000          .0000       10.000    
     3 'Normalizat'    1.1800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1844       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=   4269.933     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      242 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10067E-03    75.160        .10845E-02** at limit **
   2  Index         2.3710        8.2916        .50000        .23224E-04
   3  Normalizat    1.1799        .33491E-01    .28866E-03   -.60416E-04
   4  Prefactor     1.1844        .26890E-01    .23026E-03   -.56334E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010067
  Index      = 2.37104
  Normalizat = 1.17995
  Prefactor  = 1.18438
 **********
 **   18 **HESSE 
 **********

 FCN=   4269.933     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10067E-03    289.53        .21691E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3710        8.6863        .50000       -.55365    
   3  Normalizat    1.1799        .73253E-01    .11546E-04   -.87225    
   4  Prefactor     1.1844        .58788E-01    .46052E-04   -.86813    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.94967e-08
Minuit parameter uncertainties:
  1  0.0279999
  2  871.45
  3  0.0732593
  4  0.0587908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/460953': 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) = 4269.93339838
delta logL = 2.5951067073e-07

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.007e-04  2.800e-02  1.000e-04  1.000e+04 ( 1.000e-12)
315        Index:  2.371e+00  8.714e+02  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:  1.184e+00  5.879e-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.180e+00  7.326e-02  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/460953/cmap_HighResolution_560476801_560736001_4FGL_J0824.9+3915_daily_bin1239.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.29e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-08-29 19:55:29.273831', job_id='460953', GAL2='1.18', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1630292129.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1239' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 19:55:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 460953: <4FGL_J0824.9+3915_daily_bin1239> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1239> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 19:40:40 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 19:40:42 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:40:42 2021
Terminated at Sun Aug 29 19:55:30 2021
Results reported at Sun Aug 29 19:55:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1239 126.236 39.2574 560476801 560736001 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 :                                   749.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            890 sec.

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

