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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin751
RA = 122.861, Dec = 1.7756
tmin = 433987201, tmax = 434246401
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='308005', job_status='RUN', time_executed='2021-08-29 12:20:42.340702', time_epoch_executed='1630264842.34' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/308005

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/308005/ft1_4FGL_J0811.4+0146_daily_bin751.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/308005/ft2_4FGL_J0811.4+0146_daily_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/308005/ft1_4FGL_J0811.4+0146_daily_bin751.fits outfile=/scratch/kocevski/308005/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin751.fits ra=122.861 dec=1.7756 rad=12.0 tmin=433987201.0 tmax=434246401.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 10.35
user 6.11
sys 4.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/308005/ft2_4FGL_J0811.4+0146_daily_bin751.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/308005/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/308005/ft1_filtered_4FGL_J0811.4+0146_daily_bin751.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.24
user 0.33
sys 4.86

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/308005/ft1_filtered_4FGL_J0811.4+0146_daily_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/308005/ft2_4FGL_J0811.4+0146_daily_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/308005/ltcube_433987201_434246401_4FGL_J0811.4+0146_daily_bin751.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/308005/ft2_4FGL_J0811.4+0146_daily_bin751.fits
.....................!
real 16.74
user 11.91
sys 4.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/308005/ft1_filtered_4FGL_J0811.4+0146_daily_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/308005/ft2_4FGL_J0811.4+0146_daily_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/308005/ltcube_433987201_434246401_4FGL_J0811.4+0146_daily_bin751.fits outfile=/scratch/kocevski/308005/expmap_433987201_434246401_4FGL_J0811.4+0146_daily_bin751.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/308005/ltcube_433987201_434246401_4FGL_J0811.4+0146_daily_bin751.fits
.....................!
real 195.79
user 185.86
sys 9.41

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/308005/ft1_filtered_4FGL_J0811.4+0146_daily_bin751.fits scfile=/scratch/kocevski/308005/ft2_4FGL_J0811.4+0146_daily_bin751.fits outfile=/scratch/kocevski/308005/cmap_433987201_434246401_4FGL_J0811.4+0146_daily_bin751.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 4.53
user 0.39
sys 4.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/308005/ft1_filtered_4FGL_J0811.4+0146_daily_bin751.fits scfile=/scratch/kocevski/308005/ft2_4FGL_J0811.4+0146_daily_bin751.fits outfile=/scratch/kocevski/308005/cmap_HighResolution_433987201_434246401_4FGL_J0811.4+0146_daily_bin751.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 4.53
user 0.40
sys 4.11

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.521       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10189E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    1.5476       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.108       1.0000         .10000E-03   10000.    
     6 'norm      '    15.359       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11279E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.7815       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13400E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.4172       1.0000         .10000E-03   10000.    
    14 'norm      '    .10764E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .53292       1.0000         .10000E-03   10000.    
    16 'norm      '    14.539       1.0000         .10000E-03   10000.    
    17 'norm      '    .58583E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    31.425       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.3306       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1353       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96983       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=   5160.706     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2770 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.511        54.105       -.31516E-05    .74163E-04
   2  Prefactor     .10000E-03    6.0095       -.25800E-07** at limit **
   3  Prefactor     .10157E-03    33.924       -.27964E-05** at limit **
   4  norm          1.5480        1.4531       -.81710E-07   -.87608E-04
   5  Prefactor     16.104        26.474        .17285E-05   -.25368E-04
   6  norm          15.361        14.723       -.26088E-06    .18046E-04
   7  Prefactor     .10000E-03    1.7132       -.82228E-07** at limit **
   8  norm          .10000E-03    64.185       -.37973E-04** at limit **
   9  Prefactor     8.7824        15.019        .45975E-05    .38101E-03
  10  Prefactor     .10001E-03    88.120        .26051E-04** at limit **
  11  Prefactor     .10000E-03    10.417       -.33449E-06** at limit **
  12  Prefactor     .10000E-03    57.656        .14913E-04** at limit **
  13  norm          5.4108        13.046        .58318E-05   -.73464E-04
  14  norm          .10000E-03    2.5188        .13771E-06** at limit **
  15  norm          .53121        1.7877       -.98187E-06   -.14610E-02
  16  norm          14.532        16.948       -.12462E-05    .69016E-04
  17  norm          .68307E-01    2.7348       -.16333E-05    .88292E-03
  18  Prefactor     .10000E-03    14.655        .48347E-07** at limit **
  19  norm          31.425        24.759        .38267E-07    .25226E-04
  20  Prefactor     .10000E-03    7.2134       -.62091E-07** at limit **
  21  norm          .10000E-03    .28123        .44549E-07** at limit **
  22  norm          3.3273        12.179       -.11966E-04    .31402E-04
  23  Normalizat    1.1354        .21895        .79154E-06    .48522E-03
  24  Prefactor     .96989        .14311        .65384E-06    .62618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.5106
  Prefactor  = 0.0001
  Prefactor  = 0.000101572
  norm       = 1.54795
  Prefactor  = 16.1037
  norm       = 15.3608
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 8.78239
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 5.41075
  norm       = 0.0001
  norm       = 0.53121
  norm       = 14.5323
  norm       = 0.0683065
  Prefactor  = 0.0001
  norm       = 31.4255
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.32726
  Normalizat = 1.13535
  Prefactor  = 0.96989
 **********
 **   18 **HESSE 
 **********

 FCN=   5160.706     FROM HESSE     STATUS=OK           403 CALLS     3173 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.511        54.154        .26002E-03   -1.4164    
   2  Prefactor     .10000E-03    6.0280        .17197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10157E-03    36.424        .11640       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5480        1.4384        .80664E-04   -1.5459    
   5  Prefactor     16.104        26.476        .99792E-04   -1.4905    
   6  norm          15.361        14.739        .10220E-03   -1.4924    
   7  Prefactor     .10000E-03    1.7230        .91797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    65.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.7824        15.097        .13526E-03   -1.5115    
  10  Prefactor     .10001E-03    87.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    57.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.4108        12.903        .17265E-03   -1.5243    
  14  norm          .10000E-03    10.119        .19521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .53121        1.6491        .14679E-03   -1.5562    
  16  norm          14.532        16.960        .10504E-03   -1.4945    
  17  norm          .68307E-01    48.175        .22442E-02   -1.5656    
  18  Prefactor     .10000E-03    14.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          31.425        24.732        .71476E-04   -1.4586    
  20  Prefactor     .10000E-03    7.2392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .28444        .37180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.3273        12.311        .22179E-03   -1.5343    
  23  Normalizat    1.1354        .25198        .28399E-03   -.88625    
  24  Prefactor     .96989        .16523        .19971E-03   -.93740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79614e-08
Minuit parameter uncertainties:
  1  54.1991
  2  1.78239e-06
  3  0.0151434
  4  1.43844
  5  26.4954
  6  14.743
  7  7.62923e-06
  8  0.000989305
  9  15.1031
  10  0.00143978
  11  9.30345e-05
  12  0.000736971
  13  12.9099
  14  4.33978e-05
  15  1.64928
  16  16.966
  17  3.6283
  18  7.30244e-06
  19  24.7399
  20  7.75934e-06
  21  2.13462e-06
  22  12.32
  23  0.252245
  24  0.165319
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  6.831e-02  3.628e+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.699e-01  1.653e-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.135e+00  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/308005/likelihoodResults_433987201_434246401_4FGL_J0811.4+0146_daily_bin751.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) = 5160.70648354
delta logL = 1.26655140775e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5159.95851038
delta logL = 0.747974421314

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71370E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9998       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0153       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=   5159.958     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      308 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71394E-01    2.1907        .35762E-02    .14709E-02
   2  alpha         5.0000        3.4907        .46272    ** at limit **
   3  Normalizat    1.0174        .10862        .67325E-01   -.47038E-04
   4  Prefactor     1.0164        .68505E-01    .42645E-01   -.17030E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0713936
  alpha      = 5
  Normalizat = 1.01741
  Prefactor  = 1.01636
 **********
 **   18 **HESSE 
 **********

 FCN=   5159.958     FROM HESSE     STATUS=OK            37 CALLS      345 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71394E-01    .77199E-01    .16233E-03   -1.5655    
   2  alpha         5.0000        3.1688        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0174        .26114        .29782E-03   -.92449    
   4  Prefactor     1.0164        .16414        .19559E-03   -.92186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21862e-10
Minuit parameter uncertainties:
  1  0.0771992
  2  0.000291933
  3  0.261467
  4  0.16422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/308005': 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) = 5159.95847839
delta logL = 0.748006415968

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.139e-02  7.720e-02  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  5.000e+00  2.919e-04  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.016e+00  1.642e-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.017e+00  2.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.70
Ra Dec: 122.861 1.776
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.83e-08 +/- 9.50e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.29e-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/308005/cmap_HighResolution_433987201_434246401_4FGL_J0811.4+0146_daily_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-05', comment='SUCCESS', energy_flux2='1.20e-05', dlogl='7.48e-01', photon_flux2='8.83e-08', job_status='DONE', time_completed='2021-08-29 12:31:52.281913', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.16e-08', energy_flux_error2='1.29e-05', EG='1.14', time_epoch_completed='1630265512.28', return_code='0', job_id='308005', GAL2='1.02', EG2='1.02', return_code2='0', photon_flux_error2='9.50e-08', ts2='1.70', photon_index='2.01' WHERE bin_id='751' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:31:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 308005: <4FGL_J0811.4+0146_daily_bin751> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin751> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:45 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:47 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:15:47 2021
Terminated at Sun Aug 29 12:31:53 2021
Results reported at Sun Aug 29 12:31:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin751 122.861 1.7756 433987201 434246401 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 :                                   731.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             234.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            968 sec.

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

