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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin816
RA = 122.861, Dec = 1.7756
tmin = 450835201, tmax = 451094401
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='309431', job_status='RUN', time_executed='2021-08-29 12:22:34.132552', time_epoch_executed='1630264954.13' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='816'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309431

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309431/ft1_4FGL_J0811.4+0146_daily_bin816.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309431/ft2_4FGL_J0811.4+0146_daily_bin816.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309431/ft1_4FGL_J0811.4+0146_daily_bin816.fits outfile=/scratch/kocevski/309431/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin816.fits ra=122.861 dec=1.7756 rad=12.0 tmin=450835201.0 tmax=451094401.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 4.00
user 3.19
sys 0.37

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/309431/ft2_4FGL_J0811.4+0146_daily_bin816.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/309431/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin816.fits evtable="EVENTS" outfile="/scratch/kocevski/309431/ft1_filtered_4FGL_J0811.4+0146_daily_bin816.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.77
user 0.32
sys 0.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309431/ft1_filtered_4FGL_J0811.4+0146_daily_bin816.fits" evtable="EVENTS" scfile=/scratch/kocevski/309431/ft2_4FGL_J0811.4+0146_daily_bin816.fits sctable="SC_DATA" outfile=/scratch/kocevski/309431/ltcube_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.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/309431/ft2_4FGL_J0811.4+0146_daily_bin816.fits
.....................!
real 12.22
user 11.43
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309431/ft1_filtered_4FGL_J0811.4+0146_daily_bin816.fits evtable="EVENTS" scfile=/scratch/kocevski/309431/ft2_4FGL_J0811.4+0146_daily_bin816.fits sctable="SC_DATA" expcube=/scratch/kocevski/309431/ltcube_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.fits outfile=/scratch/kocevski/309431/expmap_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.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/309431/ltcube_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.fits
.....................!
real 191.10
user 185.46
sys 4.16

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/309431/ft1_filtered_4FGL_J0811.4+0146_daily_bin816.fits scfile=/scratch/kocevski/309431/ft2_4FGL_J0811.4+0146_daily_bin816.fits outfile=/scratch/kocevski/309431/cmap_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.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 0.72
user 0.37
sys 0.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309431/ft1_filtered_4FGL_J0811.4+0146_daily_bin816.fits scfile=/scratch/kocevski/309431/ft2_4FGL_J0811.4+0146_daily_bin816.fits outfile=/scratch/kocevski/309431/cmap_HighResolution_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.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 0.74
user 0.38
sys 0.33

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/309431/ft1_filtered_4FGL_J0811.4+0146_daily_bin816.fits', '/scratch/kocevski/309431/ft2_4FGL_J0811.4+0146_daily_bin816.fits', expMap='/scratch/kocevski/309431/expmap_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.fits', expCube='/scratch/kocevski/309431/ltcube_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/309431/Model_4FGL_J0811.4+0146_daily_bin816.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/309431/ft1_filtered_4FGL_J0811.4+0146_daily_bin816.fits
Spacecraft file(s): /scratch/kocevski/309431/ft2_4FGL_J0811.4+0146_daily_bin816.fits
Exposure map: /scratch/kocevski/309431/expmap_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.fits
Exposure cube: /scratch/kocevski/309431/ltcube_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/309431/Model_4FGL_J0811.4+0146_daily_bin816.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) = 8002.19075446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.3207       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.407       1.0000         .10000E-03   10000.    
     4 'norm      '    16.291       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5272       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.442       1.0000         .10000E-03   10000.    
     8 'norm      '    4.8619       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8025       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .35211E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.260       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1013       1.0000         .10000E-03   10000.    
    16 'norm      '    20.603       1.0000         .10000E-03   10000.    
    17 'norm      '    13.085       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.4653       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    9.8851       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84058       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0813       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=   8002.175     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2741 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.740        .15271E-05** at limit **
   2  Prefactor     5.3206        5.0705        .19024E-06    .11641E-04
   3  Prefactor     17.403        32.598       -.28448E-05   -.45144E-05
   4  norm          16.291        2.9672        .62245E-07    .59923E-05
   5  Prefactor     .10000E-03    13.162        .44361E-06** at limit **
   6  norm          1.5273        2.1533        .17945E-06   -.74405E-03
   7  Prefactor     10.440        6.3323        .30177E-05    .42429E-04
   8  norm          4.8597        12.380        .39928E-06   -.14759E-04
   9  Prefactor     3.8018        14.482       -.85240E-07   -.40917E-04
  10  Prefactor     .10000E-03    119.64       -.23646E-05** at limit **
  11  Prefactor     .10001E-03    4.0203       -.66344E-06** at limit **
  12  Prefactor     15.259        25.554        .24203E-06   -.53396E-05
  13  norm          .10000E-03    5.3689       -.13745E-06** at limit **
  14  norm          .10000E-03    .84154        .79411E-07** at limit **
  15  norm          1.1013        1.1207        .38038E-07    .71898E-05
  16  norm          20.601        20.988        .71629E-06   -.95110E-05
  17  norm          13.085        4.9293        .49829E-06    .15581E-04
  18  Prefactor     .10000E-03    18.829        .39486E-05** at limit **
  19  norm          8.4650        17.099        .18749E-06   -.45814E-04
  20  Prefactor     .10000E-03    19.241       -.56419E-05** at limit **
  21  norm          .10000E-03    .50278        .99607E-07** at limit **
  22  norm          9.8850        6.6823       -.51537E-06   -.28236E-04
  23  Normalizat    .84064        .19291       -.19198E-05    .73762E-04
  24  Prefactor     1.0813        .12130        .27202E-06   -.99197E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.32065
  Prefactor  = 17.4027
  norm       = 16.291
  Prefactor  = 0.0001
  norm       = 1.52734
  Prefactor  = 10.44
  norm       = 4.85968
  Prefactor  = 3.80176
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 15.2587
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.10133
  norm       = 20.6006
  norm       = 13.0849
  Prefactor  = 0.0001
  norm       = 8.46498
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.88496
  Normalizat = 0.840638
  Prefactor  = 1.0813
 **********
 **   18 **HESSE 
 **********

 FCN=   8002.175     FROM HESSE     STATUS=OK           409 CALLS     3150 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.3206        5.0760        .17424E-03   -1.5247    
   3  Prefactor     17.403        32.593        .95998E-04   -1.4873    
   4  norm          16.291        2.9661        .61856E-04   -1.4901    
   5  Prefactor     .10000E-03    13.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5273        11.117        .17275E-02   -1.5461    
   7  Prefactor     10.440        6.3327        .12399E-03   -1.5062    
   8  norm          4.8597        12.274        .18243E-03   -1.5267    
   9  Prefactor     3.8018        14.311        .20700E-03   -1.5318    
  10  Prefactor     .10000E-03    119.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    11.959        .34522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.259        25.528        .10253E-03   -1.4927    
  13  norm          .10000E-03    5.3913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.3569        .15796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1013        1.0926        .88747E-04   -1.5498    
  16  norm          20.601        20.967        .88242E-04   -1.4800    
  17  norm          13.085        4.9273        .11073E-03   -1.4984    
  18  Prefactor     .10000E-03    18.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.4650        17.146        .68890E-03   -1.5126    
  20  Prefactor     .10000E-03    19.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .98270        .12192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          9.8850        6.6826        .12745E-03   -1.5079    
  23  Normalizat    .84064        .21357        .34811E-03   -.98579    
  24  Prefactor     1.0813        .13757        .20005E-03   -.90066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97698e-09
Minuit parameter uncertainties:
  1  1.3377e-05
  2  5.07642
  3  32.6259
  4  2.96611
  5  4.95892e-06
  6  8.2432
  7  6.3331
  8  12.2807
  9  14.3235
  10  0.000231994
  11  0.000597446
  12  25.5465
  13  4.22719e-06
  14  5.37392e-06
  15  1.0926
  16  20.974
  17  4.92747
  18  6.54517e-06
  19  17.156
  20  1.43471e-05
  21  5.06001e-06
  22  6.68315
  23  0.213782
  24  0.137616
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.308e+01  4.927e+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:  1.081e+00  1.376e-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:  8.406e-01  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.87
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 9.39e-08 +/- 3.53e-08
Energy Flux (Fixed Index): 5.56e-05 +/- 2.09e-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) = 8002.0670778
delta logL = 0.108260192981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8002.05950529
delta logL = 0.115832696702

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.516       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1708       1.0000          .0000       5.0000    
     3 'Normalizat'    .82273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0872       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=   8002.060     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      266 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.516        4.9176        .10969E-03   -.75671E-03
   2  alpha         2.1710        .34832        .97301E-02   -.11093E-03
   3  Normalizat    .82269        .20899        .35140E-03    .60564E-04
   4  Prefactor     1.0872        .13311        .19953E-03    .71337E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.5164
  alpha      = 2.17102
  Normalizat = 0.822691
  Prefactor  = 1.08721
 **********
 **   18 **HESSE 
 **********

 FCN=   8002.060     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.516        4.8591        .43876E-05   -1.5000    
   2  alpha         2.1710        .34394        .38920E-03   -.13198    
   3  Normalizat    .82269        .20902        .14056E-04   -.99232    
   4  Prefactor     1.0872        .13315        .39905E-04   -.89877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85651e-10
Minuit parameter uncertainties:
  1  4.85921
  2  0.345057
  3  0.209227
  4  0.133196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309431': 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) = 8002.05950496
delta logL = 0.115833023219

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.252e+01  4.859e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.171e+00  3.451e-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:  1.087e+00  1.332e-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:  8.227e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.07
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.17 +/- 0.35
Photon Flux (Free Index): 1.10e-07 +/- 5.22e-08
Energy Flux (Free Index): 4.94e-05 +/- 2.08e-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/309431/cmap_HighResolution_450835201_451094401_4FGL_J0811.4+0146_daily_bin816.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.39e-08', energy_flux2='4.94e-05', photon_flux_error='3.53e-08', dlogl='1.16e-01', energy_flux='5.56e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-08-29 12:33:39.384097', photon_index_error2='0.35', photon_index2='2.17', ts='21.87', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.08e-05', EG='0.84', time_epoch_completed='1630265619.38', return_code='0', job_id='309431', GAL2='1.09', EG2='0.82', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='5.22e-08', ts2='22.07', photon_index='2.01' WHERE bin_id='816' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:33:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 309431: <4FGL_J0811.4+0146_daily_bin816> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin816> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:20:24 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:20:26 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:26 2021
Terminated at Sun Aug 29 12:33:42 2021
Results reported at Sun Aug 29 12:33:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin816 122.861 1.7756 450835201 451094401 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 :                                   665.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             308.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            798 sec.

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

