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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin920
RA = 122.861, Dec = 1.7756
tmin = 477792001, tmax = 478051201
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='309618', job_status='RUN', time_executed='2021-08-29 12:24:33.380476', time_epoch_executed='1630265073.38' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='920'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309618

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309618/ft1_4FGL_J0811.4+0146_daily_bin920.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309618/ft1_4FGL_J0811.4+0146_daily_bin920.fits outfile=/scratch/kocevski/309618/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin920.fits ra=122.861 dec=1.7756 rad=12.0 tmin=477792001.0 tmax=478051201.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 5.24
user 3.43
sys 1.76

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.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/309618/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin920.fits evtable="EVENTS" outfile="/scratch/kocevski/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.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 2.10
user 0.32
sys 1.74

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.fits" evtable="EVENTS" scfile=/scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits sctable="SC_DATA" outfile=/scratch/kocevski/309618/ltcube_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.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/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits
.....................!
real 13.58
user 11.49
sys 2.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.fits evtable="EVENTS" scfile=/scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits sctable="SC_DATA" expcube=/scratch/kocevski/309618/ltcube_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.fits outfile=/scratch/kocevski/309618/expmap_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.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/309618/ltcube_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.fits
.....................!
real 193.40
user 186.85
sys 6.13

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J0811.4+0146 @ 122.861 1.7756

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.fits scfile=/scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits outfile=/scratch/kocevski/309618/cmap_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.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=122.861 yref=1.7756 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 2.11
user 0.37
sys 1.70

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.fits scfile=/scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits outfile=/scratch/kocevski/309618/cmap_HighResolution_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.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=122.861 yref=1.7756 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 2.10
user 0.38
sys 1.70

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.fits evtable="EVENTS" scfile=/scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/309618/Model_4FGL_J0811.4+0146_daily_bin920.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/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.fits.....................!
real 94.09
user 90.57
sys 3.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.fits', '/scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits', expMap='/scratch/kocevski/309618/expmap_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.fits', expCube='/scratch/kocevski/309618/ltcube_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/309618/Model_4FGL_J0811.4+0146_daily_bin920.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0811.4+0146'

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.108e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.005e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/309618/ft1_filtered_4FGL_J0811.4+0146_daily_bin920.fits
Spacecraft file(s): /scratch/kocevski/309618/ft2_4FGL_J0811.4+0146_daily_bin920.fits
Exposure map: /scratch/kocevski/309618/expmap_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.fits
Exposure cube: /scratch/kocevski/309618/ltcube_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/309618/Model_4FGL_J0811.4+0146_daily_bin920.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) = 8078.73210653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0556       1.0000         .10000E-03   10000.    
     6 'norm      '    12.509       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8393       1.0000         .10000E-03   10000.    
     8 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.803       1.0000         .10000E-03   10000.    
    10 'Prefactor '    92.181       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.135       1.0000         .10000E-03   10000.    
    13 'norm      '    9.7708       1.0000         .10000E-03   10000.    
    14 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .98093       1.0000         .10000E-03   10000.    
    16 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.3442       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8759       1.0000         .10000E-03   10000.    
    19 'norm      '    1.6208       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.8921       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1887       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87070       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8078.697     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2766 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.819       -.23838E-09** at limit **
   2  Prefactor     .10000E-03    2.3197       -.16363E-07** at limit **
   3  Prefactor     .10000E-03    23.348       -.11403E-06** at limit **
   4  norm          .10000E-03    .57493        .83679E-07** at limit **
   5  Prefactor     6.0553        10.208        .78013E-07   -.34761E-06
   6  norm          12.507        15.874       -.87280E-08   -.43967E-06
   7  Prefactor     2.8405        4.3633        .21605E-05   -.68624E-04
   8  norm          .10000E-03    8.3285        .22636E-07** at limit **
   9  Prefactor     12.801        10.543       -.55980E-06   -.38902E-05
  10  Prefactor     91.934        125.03        .24343E-04    .64900E-05
  11  Prefactor     .10000E-03    2.0067       -.14423E-07** at limit **
  12  Prefactor     16.102        29.077       -.25805E-05   -.91507E-05
  13  norm          9.7699        9.8945        .23221E-06    .40262E-06
  14  norm          .10000E-03    1.3477       -.50368E-07** at limit **
  15  norm          .98077        1.0244        .60140E-07    .22630E-04
  16  norm          .10000E-03    7.1754        .12336E-06** at limit **
  17  norm          7.3448        3.8473        .92287E-07    .61140E-05
  18  Prefactor     2.7956        108.52        .30729E-05    .30893E-05
  19  norm          1.6190        11.901        .95153E-05   -.52600E-05
  20  Prefactor     .10000E-03    29.575       -.29431E-06** at limit **
  21  norm          1.8921        .99794        .26810E-07   -.16497E-04
  22  norm          .10000E-03    1.8030       -.12346E-07** at limit **
  23  Normalizat    1.1887        .18070       -.39125E-06    .29294E-05
  24  Prefactor     .87074        .11135       -.27740E-06   -.26812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.05525
  norm       = 12.5074
  Prefactor  = 2.84054
  norm       = 0.0001
  Prefactor  = 12.8015
  Prefactor  = 91.9341
  Prefactor  = 0.0001
  Prefactor  = 16.1018
  norm       = 9.76993
  norm       = 0.0001
  norm       = 0.980768
  norm       = 0.0001
  norm       = 7.34481
  Prefactor  = 2.79564
  norm       = 1.61895
  Prefactor  = 0.0001
  norm       = 1.89208
  norm       = 0.0001
  Normalizat = 1.18871
  Prefactor  = 0.870737
 **********
 **   18 **HESSE 
 **********

 FCN=   8078.697     FROM HESSE     STATUS=OK           403 CALLS     3169 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3251        .13369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    23.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.3722        .13111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.0553        10.202        .16316E-03   -1.5216    
   6  norm          12.507        15.992        .11326E-03   -1.5001    
   7  Prefactor     2.8405        4.3672        .11002E-02   -1.5371    
   8  norm          .10000E-03    8.3529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.801        10.531        .11195E-03   -1.4992    
  10  Prefactor     91.934        125.00        .20928E-03   -1.3787    
  11  Prefactor     .10000E-03    2.0103        .12433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.102        29.034        .99709E-04   -1.4905    
  13  norm          9.7699        9.9028        .12820E-03   -1.5083    
  14  norm          .10000E-03    1.4030        .20332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .98077        1.0009        .86460E-04   -1.5510    
  16  norm          .10000E-03    7.1786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.3448        3.8440        .12225E-03   -1.5166    
  18  Prefactor     2.7956        109.39        .23968E-03   -1.5374    
  19  norm          1.6190        11.873        .16622E-02   -1.5453    
  20  Prefactor     .10000E-03    30.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.8921        .99629        .62179E-04   -1.5433    
  22  norm          .10000E-03    1.8059        .11786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1887        .21189        .27967E-03   -.86952    
  24  Prefactor     .87074        .13011        .20211E-03   -.97171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84534e-10
Minuit parameter uncertainties:
  1  4.68464e-08
  2  5.6267e-08
  3  2.42481e-06
  4  5.31834e-06
  5  10.2047
  6  15.9979
  7  4.36771
  8  1.40329e-06
  9  10.5323
  10  125.358
  11  2.75791e-07
  12  29.0591
  13  9.90451
  14  1.22554e-06
  15  1.00093
  16  1.05815e-05
  17  3.84412
  18  35.044
  19  8.77065
  20  7.88998e-05
  21  0.9963
  22  6.12955e-09
  23  0.212039
  24  0.130154
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.345e+00  3.844e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.005e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  8.707e-01  1.302e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.189e+00  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.49
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 5.27e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.63e-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) = 8078.68959681
delta logL = 0.00717338656705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8078.6889545
delta logL = 0.00781570563231

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4679       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9533       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1914       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86972       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+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=   8078.689     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      236 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4679        3.9987        .12369E-03   -.35451E-03
   2  alpha         1.9533        .41458        .12503E-01   -.38038E-04
   3  Normalizat    1.1914        .19441        .27941E-03    .22175E-04
   4  Prefactor     .86972        .12231        .20221E-03    .34408E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.46791
  alpha      = 1.95332
  Normalizat = 1.19138
  Prefactor  = 0.869725
 **********
 **   18 **HESSE 
 **********

 FCN=   8078.689     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4679        3.9743        .49476E-05   -1.5161    
   2  alpha         1.9533        .41197        .50014E-03   -.22046    
   3  Normalizat    1.1914        .19451        .11176E-04   -.86870    
   4  Prefactor     .86972        .12239        .80885E-05   -.97207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04799e-11
Minuit parameter uncertainties:
  1  3.97447
  2  0.413951
  3  0.194633
  4  0.12243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309618': 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) = 8078.68895449
delta logL = 0.00781571244079

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.468e+00  3.974e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.953e+00  4.140e-01  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  8.697e-01  1.224e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.191e+00  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.50
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.95 +/- 0.41
Photon Flux (Free Index): 5.05e-08 +/- 3.17e-08
Energy Flux (Free Index): 3.30e-05 +/- 2.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/309618/cmap_HighResolution_477792001_478051201_4FGL_J0811.4+0146_daily_bin920.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.27e-08', energy_flux2='3.30e-05', photon_flux_error='2.76e-08', dlogl='7.82e-03', energy_flux='3.12e-05', photon_flux2='5.05e-08', job_status='DONE', time_completed='2021-08-29 12:36:02.075166', photon_index_error2='0.41', photon_index2='1.95', ts='9.49', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.30e-05', EG='1.19', time_epoch_completed='1630265762.08', return_code='0', job_id='309618', GAL2='0.87', EG2='1.19', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='3.17e-08', ts2='9.50', photon_index='2.01' WHERE bin_id='920' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:36:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 309618: <4FGL_J0811.4+0146_daily_bin920> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin920> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:20:39 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:20:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:20:41 2021
Terminated at Sun Aug 29 12:36:03 2021
Results reported at Sun Aug 29 12:36:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin920 122.861 1.7756 477792001 478051201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0811.4+0146 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   712.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            924 sec.

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

