/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 52 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0814.6+6430_daily_bin75
RA = 123.665, Dec = 64.505
tmin = 258768001, tmax = 259027201
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='339041', job_status='RUN', time_executed='2021-08-29 13:47:18.620180', time_epoch_executed='1630270038.62' WHERE source_name='4FGL J0814.6+6430' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/339041

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/339041/ft1_4FGL_J0814.6+6430_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/339041/ft1_4FGL_J0814.6+6430_daily_bin75.fits outfile=/scratch/kocevski/339041/ft1_filteredMKT_4FGL_J0814.6+6430_daily_bin75.fits ra=123.665 dec=64.505 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.79
user 0.96
sys 0.45

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.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/339041/ft1_filteredMKT_4FGL_J0814.6+6430_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.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 1.07
user 0.33
sys 0.44

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/339041/ltcube_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.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/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits
.....................!
real 9.13
user 8.28
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/339041/ltcube_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.fits outfile=/scratch/kocevski/339041/expmap_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.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/339041/ltcube_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.fits
.....................!
real 191.56
user 185.06
sys 4.50

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 J0814.6+6430 @ 123.665 64.505

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.fits scfile=/scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits outfile=/scratch/kocevski/339041/cmap_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.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=123.665 yref=64.505 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 1.61
user 0.37
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.fits scfile=/scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits outfile=/scratch/kocevski/339041/cmap_HighResolution_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.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=123.665 yref=64.505 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 1.20
user 0.38
sys 0.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/339041/Model_4FGL_J0814.6+6430_daily_bin75.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/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.fits.....................!
real 55.79
user 48.73
sys 1.71

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.fits', '/scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits', expMap='/scratch/kocevski/339041/expmap_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.fits', expCube='/scratch/kocevski/339041/ltcube_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/339041/Model_4FGL_J0814.6+6430_daily_bin75.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0814.6+6430'

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  1.472e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  1.165e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/339041/ft1_filtered_4FGL_J0814.6+6430_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/339041/ft2_4FGL_J0814.6+6430_daily_bin75.fits
Exposure map: /scratch/kocevski/339041/expmap_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.fits
Exposure cube: /scratch/kocevski/339041/ltcube_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/339041/Model_4FGL_J0814.6+6430_daily_bin75.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) = 3927.5946335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.906       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .52062       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .75154       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.374       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .13756E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .76391       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8547       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.438       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.6498       1.0000         .10000E-03   10000.    
    18 'norm      '    .12001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.436       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.190       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .67374E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    65.156       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.039       1.0000         .10000E-03   10000.    
    24 'norm      '    2.6580       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10296E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.5474       1.0000         .10000E-03   10000.    
    28 'norm      '    1.0451       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .64021       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95164       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3927.557     FROM MIGRAD    STATUS=CONVERGED    794 CALLS     4640 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.901        33.718        .12300E-05    .61771E-04
   2  Prefactor     .10000E-03    14.928        .14635E-06** at limit **
   3  Prefactor     .46662        18.596        .31062E-05   -.27103E-03
   4  Prefactor     .10000E-03    13.880       -.46813E-07** at limit **
   5  norm          .75212        .70528       -.80398E-07   -.54053E-03
   6  Prefactor     .10000E-03    7.5749        .29163E-07** at limit **
   7  Prefactor     .10000E-03    66.556       -.25502E-06** at limit **
   8  Prefactor     17.256        50.495       -.48787E-06   -.35292E-04
   9  norm          .10000E-03    .34708        .28523E-07** at limit **
  10  Prefactor     .10000E-03    37.698       -.87400E-08** at limit **
  11  norm          .10000E-03    2.6576        .21470E-06** at limit **
  12  Prefactor     .10000E-03    1.6802       -.26937E-06** at limit **
  13  Prefactor     .10000E-03    11.912        .37403E-07** at limit **
  14  norm          .76268        6.1328        .36486E-05    .47232E-03
  15  Prefactor     2.8551        2.0832       -.10304E-07   -.80662E-04
  16  Prefactor     17.440        16.695       -.12724E-06   -.91381E-04
  17  Prefactor     7.6497        7.7639       -.85626E-07   -.17564E-03
  18  norm          .10004E-03    2.0894       -.21563E-06** at limit **
  19  Prefactor     14.435        12.959       -.22653E-06   -.20223E-03
  20  Prefactor     15.184        44.516        .55717E-06    .45063E-06
  21  Prefactor     .10912E-03    26.078        .44493E-05** at limit **
  22  Prefactor     65.142        39.999        .11325E-05    .35393E-03
  23  Prefactor     15.035        17.159       -.12868E-06   -.37078E-04
  24  norm          2.6578        1.6732        .70847E-08   -.41769E-04
  25  Prefactor     .10000E-03    15.266       -.10971E-07** at limit **
  26  Prefactor     .10000E-03    13.016       -.23045E-07** at limit **
  27  Prefactor     5.5360        13.392       -.21896E-07    .38902E-04
  28  norm          1.0446        1.1664        .13837E-06    .34623E-03
  29  Normalizat    .64084        .26873        .46771E-05   -.94564E-04
  30  Prefactor     .95144        .17614       -.32281E-05   -.23186E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9008
  Prefactor  = 0.0001
  Prefactor  = 0.466619
  Prefactor  = 0.0001
  norm       = 0.752116
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.2563
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.76268
  Prefactor  = 2.85505
  Prefactor  = 17.4397
  Prefactor  = 7.64968
  norm       = 0.000100043
  Prefactor  = 14.4351
  Prefactor  = 15.1836
  Prefactor  = 0.000109117
  Prefactor  = 65.142
  Prefactor  = 15.0349
  norm       = 2.65779
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.53596
  norm       = 1.04463
  Normalizat = 0.640841
  Prefactor  = 0.95144
 **********
 **   18 **HESSE 
 **********

 FCN=   3927.557     FROM HESSE     STATUS=OK           602 CALLS     5242 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.901        33.632        .12132E-03   -1.5048    
   2  Prefactor     .10000E-03    14.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .46662        120.27        .45615E-02   -1.5571    
   4  Prefactor     .10000E-03    13.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .75212        .69686        .46251E-04   -1.5535    
   6  Prefactor     .10000E-03    7.5777        .16847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    66.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.256        50.594        .96088E-04   -1.4877    
   9  norm          .10000E-03    .35324        .36013E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    37.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.6876        .19481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.6834        .79386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .76268        6.3062        .29869E-03   -1.5533    
  15  Prefactor     2.8551        2.0772        .73857E-04   -1.5370    
  16  Prefactor     17.440        16.682        .95910E-04   -1.4873    
  17  Prefactor     7.6497        7.7508        .14499E-03   -1.5155    
  18  norm          .10004E-03    45.825        .15311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.435        12.965        .10542E-03   -1.4948    
  20  Prefactor     15.184        44.508        .10276E-03   -1.4928    
  21  Prefactor     .10912E-03    19.790        .78692E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     65.142        37.420        .49718E-04   -1.4092    
  23  Prefactor     15.035        17.163        .10328E-03   -1.4932    
  24  norm          2.6578        1.6641        .58262E-04   -1.5382    
  25  Prefactor     .10000E-03    15.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    13.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.5360        13.384        .17058E-03   -1.5237    
  28  norm          1.0446        1.1250        .68623E-03   -1.5504    
  29  Normalizat    .64084        .29199        .31641E-03   -1.0628    
  30  Prefactor     .95144        .19124        .18846E-03   -.94366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28694e-09
Minuit parameter uncertainties:
  1  33.6908
  2  4.66376e-05
  3  15.0115
  4  4.31717e-05
  5  0.696872
  6  1.15795e-06
  7  0.000211674
  8  50.7196
  9  1.36963e-07
  10  2.49641e-05
  11  4.29775e-05
  12  1.38921e-05
  13  3.65913e-06
  14  4.38649
  15  2.07728
  16  16.686
  17  7.75184
  18  0.00281554
  19  12.968
  20  44.6058
  21  0.0268734
  22  37.4336
  23  17.1687
  24  1.66416
  25  1.09149e-05
  26  1.71606e-07
  27  13.3917
  28  1.12504
  29  0.292697
  30  0.191375
Done.

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

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  2.855e+00  2.077e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  1.165e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
724    Prefactor:  9.514e-01  1.914e-01  0.000e+00  1.000e+01 ( 1.000e+00)
725        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
726        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
723   Normalization:  6.408e-01  2.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.56
Ra Dec: 123.665 64.505
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 5.63e-08 +/- 4.09e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.71e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3927.31385936
delta logL = 0.242776096188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3927.29514801
delta logL = 0.261487443822

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5614       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8374       1.0000          .0000       10.000    
     3 'Normalizat'    .66114       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3927.295     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      236 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5616        99.143        .53541E-02    .39274E-04
   2  Index         1.8373        5.3389        .18869        .10633E-04
   3  Normalizat    .66115        .18889        .70454E-01    .18192E-04
   4  Prefactor     .94347        .97901E-01    .45557E-01    .15047E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.56161
  Index      = 1.83734
  Normalizat = 0.661149
  Prefactor  = 0.943473
 **********
 **   18 **HESSE 
 **********

 FCN=   3927.295     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .69E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5616        2.7270        .87466E-04   -1.5331    
   2  Index         1.8373        .53475        .68786E-02   -.68482    
   3  Normalizat    .66115        .25349        .31182E-03   -1.0545    
   4  Prefactor     .94347        .18196        .18919E-03   -.94638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88608e-14
Minuit parameter uncertainties:
  1  2.72709
  2  0.536465
  3  0.25394
  4  0.182078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/339041': 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) = 3927.295148
delta logL = 0.261487451132

Extracting fit parameters...

4FGL J0814.6+6430
   Spectrum: PowerLaw
327    Prefactor:  3.562e+00  2.727e+00  1.000e-04  1.000e+04 ( 1.000e-12)
328        Index:  1.837e+00  5.365e-01  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  1.165e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
724    Prefactor:  9.435e-01  1.821e-01  0.000e+00  1.000e+01 ( 1.000e+00)
725        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
726        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
723   Normalization:  6.611e-01  2.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.07
Ra Dec: 123.665 64.505
Photon Index (Free Index): 1.84 +/- 0.54
Photon Flux (Free Index): 3.86e-08 +/- 3.84e-08
Energy Flux (Free Index): 4.14e-05 +/- 4.97e-05

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/339041/cmap_HighResolution_258768001_259027201_4FGL_J0814.6+6430_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.63e-08', energy_flux2='4.14e-05', photon_flux_error='4.09e-08', dlogl='2.61e-01', energy_flux='2.36e-05', photon_flux2='3.86e-08', job_status='DONE', time_completed='2021-08-29 13:59:09.854731', photon_index_error2='0.54', photon_index2='1.84', ts='6.56', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='4.97e-05', EG='0.64', time_epoch_completed='1630270749.85', return_code='0', job_id='339041', GAL2='0.94', EG2='0.66', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='3.84e-08', ts2='7.07', photon_index='2.24' WHERE bin_id='75' AND source_name='4FGL J0814.6+6430' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 13:59:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 339041: <4FGL_J0814.6+6430_daily_bin75> in cluster <slac> Done

Job <4FGL_J0814.6+6430_daily_bin75> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 13:45:41 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 13:45: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 13:45:42 2021
Terminated at Sun Aug 29 13:59:10 2021
Results reported at Sun Aug 29 13:59:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0814.6+6430_daily_bin75 123.665 64.505 258768001 259027201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0814.6+6430 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   705.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            809 sec.

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

