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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin856
RA = 122.861, Dec = 1.7756
tmin = 461203201, tmax = 461462401
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='309516', job_status='RUN', time_executed='2021-08-29 12:22:04.422878', time_epoch_executed='1630264924.42' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='856'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309516

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309516/ft1_4FGL_J0811.4+0146_daily_bin856.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309516/ft2_4FGL_J0811.4+0146_daily_bin856.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309516/ft1_4FGL_J0811.4+0146_daily_bin856.fits outfile=/scratch/kocevski/309516/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin856.fits ra=122.861 dec=1.7756 rad=12.0 tmin=461203201.0 tmax=461462401.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 8.27
user 3.21
sys 4.81

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309516/ft1_filtered_4FGL_J0811.4+0146_daily_bin856.fits" evtable="EVENTS" scfile=/scratch/kocevski/309516/ft2_4FGL_J0811.4+0146_daily_bin856.fits sctable="SC_DATA" outfile=/scratch/kocevski/309516/ltcube_461203201_461462401_4FGL_J0811.4+0146_daily_bin856.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/309516/ft2_4FGL_J0811.4+0146_daily_bin856.fits
.....................!
real 17.55
user 11.72
sys 5.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309516/ft1_filtered_4FGL_J0811.4+0146_daily_bin856.fits evtable="EVENTS" scfile=/scratch/kocevski/309516/ft2_4FGL_J0811.4+0146_daily_bin856.fits sctable="SC_DATA" expcube=/scratch/kocevski/309516/ltcube_461203201_461462401_4FGL_J0811.4+0146_daily_bin856.fits outfile=/scratch/kocevski/309516/expmap_461203201_461462401_4FGL_J0811.4+0146_daily_bin856.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/309516/ltcube_461203201_461462401_4FGL_J0811.4+0146_daily_bin856.fits
.....................!
real 198.49
user 185.38
sys 10.59

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/309516/ft1_filtered_4FGL_J0811.4+0146_daily_bin856.fits scfile=/scratch/kocevski/309516/ft2_4FGL_J0811.4+0146_daily_bin856.fits outfile=/scratch/kocevski/309516/cmap_461203201_461462401_4FGL_J0811.4+0146_daily_bin856.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 5.18
user 0.38
sys 4.70

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309516/ft1_filtered_4FGL_J0811.4+0146_daily_bin856.fits scfile=/scratch/kocevski/309516/ft2_4FGL_J0811.4+0146_daily_bin856.fits outfile=/scratch/kocevski/309516/cmap_HighResolution_461203201_461462401_4FGL_J0811.4+0146_daily_bin856.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 5.21
user 0.39
sys 4.77

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12492E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .23175E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.329       1.0000         .10000E-03   10000.    
     4 'norm      '    11.629       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6680       1.0000         .10000E-03   10000.    
     6 'norm      '    42.430       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .50768       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.494       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.1081       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1773       1.0000         .10000E-03   10000.    
    21 'norm      '    1.8744       1.0000         .10000E-03   10000.    
    22 'norm      '    3.0438       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0821       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92291       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=   5971.826     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2744 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    209.23        .41932E-05** at limit **
   2  Prefactor     .10000E-03    5.0967        .21578E-06** at limit **
   3  Prefactor     27.284        47.220       -.30142E-05   -.10382E-03
   4  norm          11.628        2.9083        .61980E-07   -.89065E-04
   5  Prefactor     3.6632        58.383        .46010E-06   -.94487E-06
   6  norm          42.436        25.088       -.22461E-06   -.31293E-04
   7  Prefactor     .50760        5.0286        .29772E-05   -.77099E-04
   8  norm          .10000E-03    17.951        .40508E-06** at limit **
   9  Prefactor     .10000E-03    7.1887       -.33037E-07** at limit **
  10  Prefactor     .10000E-03    193.74       -.91387E-06** at limit **
  11  Prefactor     12.496        11.238        .38580E-07   -.94508E-05
  12  Prefactor     .10000E-03    9.2184        .21586E-07** at limit **
  13  norm          .10000E-03    3.2187        .30441E-07** at limit **
  14  norm          .10000E-03    1.3927        .52434E-07** at limit **
  15  norm          .10000E-03    .36635        .49054E-07** at limit **
  16  norm          .10000E-03    17.339       -.19575E-06** at limit **
  17  norm          5.1086        4.4080        .14549E-06    .32754E-04
  18  Prefactor     .10000E-03    24.318       -.18342E-06** at limit **
  19  norm          .10000E-03    6.9770        .20605E-08** at limit **
  20  Prefactor     5.1779        16.533        .15583E-06   -.19111E-04
  21  norm          1.8744        1.1471        .22081E-07   -.20974E-04
  22  norm          3.0438        5.0009       -.38846E-07   -.86823E-04
  23  Normalizat    1.0823        .20684       -.10040E-05   -.63426E-04
  24  Prefactor     .92275        .13158        .41523E-06   -.16512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 27.2844
  norm       = 11.6278
  Prefactor  = 3.66324
  norm       = 42.4358
  Prefactor  = 0.507604
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4957
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.10862
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.17787
  norm       = 1.87443
  norm       = 3.04382
  Normalizat = 1.08229
  Prefactor  = 0.922753
 **********
 **   18 **HESSE 
 **********

 FCN=   5971.826     FROM HESSE     STATUS=OK           397 CALLS     3141 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    216.48        .20609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.458        .33652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.284        48.991        .76632E-04   -1.4663    
   4  norm          11.628        2.9087        .61992E-04   -1.5026    
   5  Prefactor     3.6632        58.681        .21090E-03   -1.5325    
   6  norm          42.436        25.191        .61543E-04   -1.4404    
   7  Prefactor     .50760        5.1905        .33137E-03   -1.5565    
   8  norm          .10000E-03    18.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.2189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    194.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.496        11.232        .11332E-03   -1.5001    
  12  Prefactor     .10000E-03    9.2227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.2218        .13539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.4591        .17792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .38146        .91281E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    17.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.1086        4.4070        .14521E-03   -1.5256    
  18  Prefactor     .10000E-03    24.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.9795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.1779        16.643        .17668E-03   -1.5253    
  21  norm          1.8744        1.1457        .61630E-04   -1.5434    
  22  norm          3.0438        5.0056        .21592E-03   -1.5359    
  23  Normalizat    1.0823        .23333        .29923E-03   -.90323    
  24  Prefactor     .92275        .14791        .20662E-03   -.95351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21628e-10
Minuit parameter uncertainties:
  1  0.00145267
  2  0.000547338
  3  49.0632
  4  2.90872
  5  29.357
  6  25.1976
  7  3.24642
  8  2.15601e-05
  9  1.20617e-05
  10  0.000444047
  11  11.2336
  12  2.62405e-07
  13  5.05139e-08
  14  1.53026e-07
  15  1.14466e-07
  16  3.21478e-05
  17  4.40724
  18  2.78217e-05
  19  1.09464e-06
  20  16.6584
  21  1.1457
  22  5.00625
  23  0.23355
  24  0.147971
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  5.109e+00  4.407e+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:  9.228e-01  1.480e-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.082e+00  2.335e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.16
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.66e-08 +/- 3.16e-08
Energy Flux (Fixed Index): 2.17e-05 +/- 1.87e-05

TS (Fixed Index): 2.16
Ra Dec: 122.861 1.776
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/309516/likelihoodResults_461203201_461462401_4FGL_J0811.4+0146_daily_bin856.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): 0
logL (Free Index) = 5971.60182731
delta logL = 0.224652760463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5971.59918111
delta logL = 0.227298960535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1783       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4352       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0660       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92778       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=   5971.599     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      274 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1785        4.3321        .11762E-03   -.40546E-03
   2  alpha         2.4353        .68950        .12857E-01   -.40048E-04
   3  Normalizat    1.0661        .21980        .30110E-03    .26921E-04
   4  Prefactor     .92771        .14094        .20609E-03    .12058E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.1785
  alpha      = 2.43527
  Normalizat = 1.06607
  Prefactor  = 0.927712
 **********
 **   18 **HESSE 
 **********

 FCN=   5971.599     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1785        4.1284        .47049E-05   -1.5299    
   2  alpha         2.4353        .65760        .51428E-03   -.25897E-01
   3  Normalizat    1.0661        .21989        .12044E-04   -.90849    
   4  Prefactor     .92771        .14099        .41218E-04   -.95179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13791e-10
Minuit parameter uncertainties:
  1  4.12863
  2  0.665436
  3  0.220074
  4  0.141045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309516': 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) = 5971.59918095
delta logL = 0.227299122619

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.178e+00  4.129e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.435e+00  6.654e-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:  9.277e-01  1.410e-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.066e+00  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.62
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.44 +/- 0.67
Photon Flux (Free Index): 5.31e-08 +/- 4.53e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.44e-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/309516/cmap_HighResolution_461203201_461462401_4FGL_J0811.4+0146_daily_bin856.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-05', comment='SUCCESS', photon_flux='3.66e-08', energy_flux2='1.70e-05', photon_flux_error='3.16e-08', dlogl='2.27e-01', energy_flux='2.17e-05', photon_flux2='5.31e-08', job_status='DONE', time_completed='2021-08-29 12:33:52.677608', photon_index_error2='0.67', photon_index2='2.44', ts='2.16', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.44e-05', EG='1.08', time_epoch_completed='1630265632.68', return_code='0', job_id='309516', GAL2='0.93', EG2='1.07', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='4.53e-08', ts2='2.62', photon_index='2.01' WHERE bin_id='856' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:33:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 309516: <4FGL_J0811.4+0146_daily_bin856> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin856 122.861 1.7756 461203201 461462401 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 :                                   773.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            804 sec.

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

