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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin519
RA = 122.861, Dec = 1.7756
tmin = 373852801, tmax = 374112001
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='306398', job_status='RUN', time_executed='2021-08-29 12:14:41.227783', time_epoch_executed='1630264481.23' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306398

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306398/ft1_4FGL_J0811.4+0146_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306398/ft2_4FGL_J0811.4+0146_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306398/ft1_4FGL_J0811.4+0146_daily_bin519.fits outfile=/scratch/kocevski/306398/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin519.fits ra=122.861 dec=1.7756 rad=12.0 tmin=373852801.0 tmax=374112001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.90
user 4.25
sys 1.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/306398/ft1_filtered_4FGL_J0811.4+0146_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/306398/ft2_4FGL_J0811.4+0146_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/306398/ltcube_373852801_374112001_4FGL_J0811.4+0146_daily_bin519.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/306398/ft2_4FGL_J0811.4+0146_daily_bin519.fits
.....................!
real 13.26
user 11.50
sys 1.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306398/ft1_filtered_4FGL_J0811.4+0146_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/306398/ft2_4FGL_J0811.4+0146_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/306398/ltcube_373852801_374112001_4FGL_J0811.4+0146_daily_bin519.fits outfile=/scratch/kocevski/306398/expmap_373852801_374112001_4FGL_J0811.4+0146_daily_bin519.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/306398/ltcube_373852801_374112001_4FGL_J0811.4+0146_daily_bin519.fits
.....................!
real 192.88
user 186.28
sys 6.22

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/306398/ft1_filtered_4FGL_J0811.4+0146_daily_bin519.fits scfile=/scratch/kocevski/306398/ft2_4FGL_J0811.4+0146_daily_bin519.fits outfile=/scratch/kocevski/306398/cmap_373852801_374112001_4FGL_J0811.4+0146_daily_bin519.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 1.77
user 0.38
sys 1.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306398/ft1_filtered_4FGL_J0811.4+0146_daily_bin519.fits scfile=/scratch/kocevski/306398/ft2_4FGL_J0811.4+0146_daily_bin519.fits outfile=/scratch/kocevski/306398/cmap_HighResolution_373852801_374112001_4FGL_J0811.4+0146_daily_bin519.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 1.86
user 0.38
sys 1.37

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11566E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1999       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10935E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8026       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13390E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7965       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.867       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1393       1.0000         .10000E-03   10000.    
    16 'norm      '    11.964       1.0000         .10000E-03   10000.    
    17 'norm      '    .14267E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10454E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.3675       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0338       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=   6305.445     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2810 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.488       -.62941E-07** at limit **
   2  Prefactor     .10001E-03    43.780       -.13564E-04** at limit **
   3  Prefactor     .10000E-03    24.665       -.40946E-06** at limit **
   4  norm          1.1997        1.6573       -.34175E-06   -.79580E-04
   5  Prefactor     .10009E-03    21.160       -.45217E-05** at limit **
   6  norm          .10000E-03    37.436        .10694E-05** at limit **
   7  Prefactor     2.8056        4.8735       -.74723E-06    .26741E-04
   8  norm          .10000E-03    5.5739       -.61531E-07** at limit **
   9  Prefactor     .10000E-03    4.0743       -.69519E-07** at limit **
  10  Prefactor     .10001E-03    211.59       -.95634E-06** at limit **
  11  Prefactor     1.7961        7.7738       -.31888E-05   -.11921E-04
  12  Prefactor     .10000E-03    9.8274       -.35057E-06** at limit **
  13  norm          11.866        9.5496        .12048E-06    .11429E-03
  14  norm          .10000E-03    1.2093       -.20283E-06** at limit **
  15  norm          2.1393        1.2299       -.42480E-07    .47111E-04
  16  norm          11.958        20.260        .22988E-05   -.78205E-04
  17  norm          .10000E-03    2.7496       -.71262E-06** at limit **
  18  Prefactor     .10000E-03    92.389        .40131E-06** at limit **
  19  norm          .10000E-03    10.229       -.33268E-08** at limit **
  20  Prefactor     .10000E-03    9.9290       -.53471E-06** at limit **
  21  norm          3.3674        1.3325       -.12786E-07   -.95767E-04
  22  norm          .10000E-03    9.3237        .10742E-06** at limit **
  23  Normalizat    1.0047        .19825        .17863E-05    .17093E-03
  24  Prefactor     1.0338        .12804        .10943E-05    .77772E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 1.19973
  Prefactor  = 0.000100092
  norm       = 0.0001
  Prefactor  = 2.80555
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 1.79612
  Prefactor  = 0.0001
  norm       = 11.8664
  norm       = 0.0001
  norm       = 2.1393
  norm       = 11.9582
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.3674
  norm       = 0.0001
  Normalizat = 1.00469
  Prefactor  = 1.03385
 **********
 **   18 **HESSE 
 **********

 FCN=   6305.445     FROM HESSE     STATUS=OK           399 CALLS     3209 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    46.086        .31922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1997        1.6340        .11438E-03   -1.5489    
   5  Prefactor     .10009E-03    76.842        .60081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    37.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8056        4.8893        .21928E-03   -1.5373    
   8  norm          .10000E-03    5.5777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.0803        .15653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    211.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7961        7.8461        .15598E-02   -1.5440    
  12  Prefactor     .10000E-03    9.8426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.866        9.5459        .11629E-03   -1.5019    
  14  norm          .10000E-03    1.2252        .85330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1393        1.2247        .64099E-04   -1.5415    
  16  norm          11.958        20.147        .57908E-03   -1.5016    
  17  norm          .10000E-03    6.5272        .25500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    93.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    10.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.3674        1.3327        .54852E-04   -1.5341    
  22  norm          .10000E-03    9.5915        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0047        .22702        .30459E-03   -.92873    
  24  Prefactor     1.0338        .14473        .19534E-03   -.91610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15288e-09
Minuit parameter uncertainties:
  1  1.27976e-05
  2  0.0011751
  3  0.000106358
  4  1.63406
  5  0.00531168
  6  0.000163771
  7  4.88999
  8  7.63015e-06
  9  7.65463e-06
  10  0.00227343
  11  7.50948
  12  9.15253e-05
  13  9.54707
  14  8.55916e-06
  15  1.22469
  16  20.1586
  17  2.10467e-05
  18  0.0011271
  19  3.28962e-05
  20  9.01283e-05
  21  1.33275
  22  9.55306e-05
  23  0.227235
  24  0.144785
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  2.105e-05  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.034e+00  1.448e-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.005e+00  2.272e-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: 6.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/306398/likelihoodResults_373852801_374112001_4FGL_J0811.4+0146_daily_bin519.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) = 6305.44554161
delta logL = -0.000728152871488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6305.44481345
delta logL = 3.95903043682e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0340       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6305.445     FROM MIGRAD    STATUS=FAILED        91 CALLS      257 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10527E-03    1395.5        .25754E-02** at limit **
   2  alpha         2.2944        3.6132        .16828       -.69692E-05
   3  Normalizat    1.0047        .94505E-01    .30459E-03   -.12750E-03
   4  Prefactor     1.0338        .61536E-01    .19534E-03   -.25491E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6305.445     FROM SIMPLEX   STATUS=PROGRESS     147 CALLS      404 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10019E-03    1395.5        .39173E-03** at limit **
   2  alpha         2.2943        3.6132        .88524E-04   -.69692E-05
   3  Normalizat    1.0047        .94505E-01    .33968E-05   -.12750E-03
   4  Prefactor     1.0338        .61536E-01    .20254E-05   -.25491E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6305.445     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      445 TOTAL
                     EDM=   .32E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.9537        .51509E-03** at limit **
   2  alpha         2.4028        3.2851        .67313E-01    .25334E-08
   3  Normalizat    1.0047        .21688        .12183E-04    .74650E-05
   4  Prefactor     1.0338        .14183        .39069E-04    .46559E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.40284
  Normalizat = 1.00469
  Prefactor  = 1.03385
 **********
 **   18 **HESSE 
 **********

 FCN=   6305.445     FROM HESSE     STATUS=OK            23 CALLS      468 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.9227        .10302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4028        3.1966        .26925E-02   -.38873E-01
   3  Normalizat    1.0047        .21697        .24367E-05   -.92873    
   4  Prefactor     1.0338        .14188        .78138E-05   -.91610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56816e-13
Minuit parameter uncertainties:
  1  3.80446e-07
  2  202.591
  3  0.21716
  4  0.141934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306398': 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) = 6305.44481145
delta logL = 2.00409704121e-06

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  3.804e-07  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.403e+00  2.026e+02  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.034e+00  1.419e-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.005e+00  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.861 1.776

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/306398/cmap_HighResolution_373852801_374112001_4FGL_J0811.4+0146_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.95e-05', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2021-08-29 12:26:17.229563', job_id='306398', GAL2='1.03', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630265177.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.00e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='519' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:26:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 306398: <4FGL_J0811.4+0146_daily_bin519> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin519> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:10:44 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:10:46 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:10:46 2021
Terminated at Sun Aug 29 12:26:18 2021
Results reported at Sun Aug 29 12:26:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin519 122.861 1.7756 373852801 374112001 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 :                                   707.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            934 sec.

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

