/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 186 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 = 7665
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0811.4+0146_daily_bin300
RA = 122.861, Dec = 1.7756
tmin = 317088001, tmax = 317347201
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='304612', job_status='RUN', time_executed='2021-08-29 12:08:39.294885', time_epoch_executed='1630264119.29' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304612/ft1_4FGL_J0811.4+0146_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304612/ft2_4FGL_J0811.4+0146_daily_bin300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304612/ft1_4FGL_J0811.4+0146_daily_bin300.fits outfile=/scratch/kocevski/304612/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin300.fits ra=122.861 dec=1.7756 rad=12.0 tmin=317088001.0 tmax=317347201.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 3.94
user 3.66
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/304612/ft2_4FGL_J0811.4+0146_daily_bin300.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/304612/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin300.fits evtable="EVENTS" outfile="/scratch/kocevski/304612/ft1_filtered_4FGL_J0811.4+0146_daily_bin300.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.49
user 0.34
sys 0.13

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304612/ft1_filtered_4FGL_J0811.4+0146_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/304612/ft2_4FGL_J0811.4+0146_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/304612/ltcube_317088001_317347201_4FGL_J0811.4+0146_daily_bin300.fits outfile=/scratch/kocevski/304612/expmap_317088001_317347201_4FGL_J0811.4+0146_daily_bin300.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/304612/ltcube_317088001_317347201_4FGL_J0811.4+0146_daily_bin300.fits
.....................!
real 190.66
user 185.02
sys 5.25

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/304612/ft1_filtered_4FGL_J0811.4+0146_daily_bin300.fits scfile=/scratch/kocevski/304612/ft2_4FGL_J0811.4+0146_daily_bin300.fits outfile=/scratch/kocevski/304612/cmap_317088001_317347201_4FGL_J0811.4+0146_daily_bin300.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304612/ft1_filtered_4FGL_J0811.4+0146_daily_bin300.fits scfile=/scratch/kocevski/304612/ft2_4FGL_J0811.4+0146_daily_bin300.fits outfile=/scratch/kocevski/304612/cmap_HighResolution_317088001_317347201_4FGL_J0811.4+0146_daily_bin300.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.54
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.114       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4462       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.9699       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    22.203       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3886       1.0000         .10000E-03   10000.    
     8 'norm      '    10.888       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4512       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.847       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.108       1.0000         .10000E-03   10000.    
    13 'norm      '    7.0663       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.8501       1.0000         .10000E-03   10000.    
    16 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52434       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.301       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .41982       1.0000         .10000E-03   10000.    
    22 'norm      '    .46743E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88084       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0583       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=   7852.253     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2363 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.118        28.556        .36573E-06    .65496E-05
   2  Prefactor     4.4458        6.1459        .18416E-06   -.14693E-04
   3  Prefactor     .10000E-03    6.0758       -.17984E-07** at limit **
   4  norm          3.9700        1.8314        .60832E-07   -.72101E-04
   5  Prefactor     .10000E-03    11.033        .19806E-06** at limit **
   6  norm          22.205        14.848        .14402E-06   -.39049E-05
   7  Prefactor     3.3898        5.3107        .12034E-06   -.14690E-03
   8  norm          10.884        13.287       -.45454E-06   -.26396E-04
   9  Prefactor     1.4473        16.251        .15600E-05   -.26653E-04
  10  Prefactor     17.971        436.96        .11742E-04    .85086E-05
  11  Prefactor     .10000E-03    3.3137        .69499E-08** at limit **
  12  Prefactor     21.113        29.235        .26373E-06   -.38945E-04
  13  norm          7.0676        10.535        .11049E-06   -.54637E-04
  14  norm          .10000E-03    .69175       -.19069E-08** at limit **
  15  norm          2.8502        1.0676        .37810E-07   -.63548E-04
  16  norm          .10000E-03    21.251        .99920E-06** at limit **
  17  norm          .52467        2.0277        .15360E-05   -.72942E-04
  18  Prefactor     .10000E-03    28.831       -.37568E-06** at limit **
  19  norm          12.304        17.572        .28326E-06   -.34682E-07
  20  Prefactor     .10000E-03    13.296       -.39108E-06** at limit **
  21  norm          .41972        .79126        .32401E-06    .30022E-04
  22  norm          .10000E-03    3.7394       -.92419E-07** at limit **
  23  Normalizat    .88079        .18358       -.41743E-06   -.10718E-03
  24  Prefactor     1.0583        .11717       -.45593E-06   -.76595E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.1184
  Prefactor  = 4.4458
  Prefactor  = 0.0001
  norm       = 3.97002
  Prefactor  = 0.0001
  norm       = 22.205
  Prefactor  = 3.38983
  norm       = 10.8836
  Prefactor  = 1.44732
  Prefactor  = 17.9713
  Prefactor  = 0.0001
  Prefactor  = 21.1128
  norm       = 7.06762
  norm       = 0.0001
  norm       = 2.85016
  norm       = 0.0001
  norm       = 0.524674
  Prefactor  = 0.0001
  norm       = 12.304
  Prefactor  = 0.0001
  norm       = 0.419717
  norm       = 0.000100001
  Normalizat = 0.880792
  Prefactor  = 1.05834
 **********
 **   18 **HESSE 
 **********

 FCN=   7852.253     FROM HESSE     STATUS=OK           407 CALLS     2770 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.118        28.573        .76936E-04   -1.4666    
   2  Prefactor     4.4458        6.1438        .19097E-03   -1.5286    
   3  Prefactor     .10000E-03    6.0772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9700        1.8293        .77369E-04   -1.5309    
   5  Prefactor     .10000E-03    11.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.205        14.895        .85005E-04   -1.4765    
   7  Prefactor     3.3898        5.3209        .21980E-03   -1.5340    
   8  norm          10.884        13.140        .12142E-03   -1.5048    
   9  Prefactor     1.4473        15.752        .35761E-03   -1.5467    
  10  Prefactor     17.971        455.10        .94807E-04   -1.4860    
  11  Prefactor     .10000E-03    3.3303        .15747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.113        29.210        .87181E-04   -1.4789    
  13  norm          7.0676        10.514        .15091E-03   -1.5176    
  14  norm          .10000E-03    .69979        .71928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.8502        1.0673        .53492E-04   -1.5370    
  16  norm          .10000E-03    21.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .52467        2.0102        .24300E-03   -1.5563    
  18  Prefactor     .10000E-03    28.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.304        17.583        .11421E-03   -1.5006    
  20  Prefactor     .10000E-03    13.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .41972        .76463        .10293E-02   -1.5578    
  22  norm          .10000E-03    22.880        .33156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88079        .20813        .31738E-03   -.97138    
  24  Prefactor     1.0583        .13399        .19115E-03   -.90809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46353e-10
Minuit parameter uncertainties:
  1  28.5873
  2  6.14465
  3  6.47717e-07
  4  1.82928
  5  9.89944e-06
  6  14.897
  7  5.32163
  8  13.1437
  9  9.55252
  10  182.443
  11  1.68544e-06
  12  29.23
  13  10.5166
  14  6.26254e-07
  15  1.06729
  16  1.31355e-05
  17  2.01049
  18  2.10339e-05
  19  17.5902
  20  5.80512e-06
  21  0.76465
  22  0.000365141
  23  0.208324
  24  0.134037
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.247e-01  2.010e+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.058e+00  1.340e-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.808e-01  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 5.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/304612/likelihoodResults_317088001_317347201_4FGL_J0811.4+0146_daily_bin300.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) = 7852.01301075
delta logL = 0.240353382201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7852.00231116
delta logL = 0.251052968232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34989       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6618       1.0000          .0000       5.0000    
     3 'Normalizat'    .84246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0720       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.

 FCN=   7852.002     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      214 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34914        7.1383        .10642E-01    .38670E-02
   2  alpha         3.6648        4.3172        .48992        .89606E-04
   3  Normalizat    .84245        .31761E-01    .73176E-01   -.18095E-03
   4  Prefactor     1.0720        .20763E-01    .38763E-01   -.83420E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.349139
  alpha      = 3.66477
  Normalizat = 0.842452
  Prefactor  = 1.07199
 **********
 **   18 **HESSE 
 **********

 FCN=   7852.002     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      245 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34914        31.871        .71019E-04   -1.5590    
   2  alpha         3.6648        3.0330        .25237E-01    .48466    
   3  Normalizat    .84245        .23682        .32384E-03   -.98513    
   4  Prefactor     1.0720        .12948        .19004E-03   -.90367    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.724e-09
Minuit parameter uncertainties:
  1  6.6743
  2  12.5322
  3  0.237113
  4  0.129519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304612': 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) = 7852.00230936
delta logL = 0.251054770274

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  3.491e-01  6.674e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  3.665e+00  1.253e+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.072e+00  1.295e-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.425e-01  2.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 122.861 1.776

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/304612/cmap_HighResolution_317088001_317347201_4FGL_J0811.4+0146_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-05', job_status='DONE', photon_flux_upper_limit='5.17e-08', time_completed='2021-08-29 12:20:24.829254', job_id='304612', GAL2='1.07', fit_tolerance='1e-08', EG2='0.84', EG='0.88', time_epoch_completed='1630264824.83', return_code2='102', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.51e-01', ts2='0.62', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='300' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:20:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 304612: <4FGL_J0811.4+0146_daily_bin300> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin300> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 12:05:23 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:05:25 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:05:25 2021
Terminated at Sun Aug 29 12:20:25 2021
Results reported at Sun Aug 29 12:20:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin300 122.861 1.7756 317088001 317347201 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 :                                   705.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            902 sec.

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

