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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin728
RA = 122.861, Dec = 1.7756
tmin = 428025601, tmax = 428284801
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='307971', job_status='RUN', time_executed='2021-08-29 12:19:12.257889', time_epoch_executed='1630264752.26' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307971

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307971/ft1_4FGL_J0811.4+0146_daily_bin728.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307971/ft2_4FGL_J0811.4+0146_daily_bin728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307971/ft1_4FGL_J0811.4+0146_daily_bin728.fits outfile=/scratch/kocevski/307971/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin728.fits ra=122.861 dec=1.7756 rad=12.0 tmin=428025601.0 tmax=428284801.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.87
user 5.30
sys 0.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307971/ft1_filtered_4FGL_J0811.4+0146_daily_bin728.fits" evtable="EVENTS" scfile=/scratch/kocevski/307971/ft2_4FGL_J0811.4+0146_daily_bin728.fits sctable="SC_DATA" outfile=/scratch/kocevski/307971/ltcube_428025601_428284801_4FGL_J0811.4+0146_daily_bin728.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/307971/ft2_4FGL_J0811.4+0146_daily_bin728.fits
.....................!
real 13.90
user 13.14
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307971/ft1_filtered_4FGL_J0811.4+0146_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/307971/ft2_4FGL_J0811.4+0146_daily_bin728.fits sctable="SC_DATA" expcube=/scratch/kocevski/307971/ltcube_428025601_428284801_4FGL_J0811.4+0146_daily_bin728.fits outfile=/scratch/kocevski/307971/expmap_428025601_428284801_4FGL_J0811.4+0146_daily_bin728.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/307971/ltcube_428025601_428284801_4FGL_J0811.4+0146_daily_bin728.fits
.....................!
real 193.39
user 185.33
sys 5.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J0811.4+0146 @ 122.861 1.7756

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/307971/ft1_filtered_4FGL_J0811.4+0146_daily_bin728.fits scfile=/scratch/kocevski/307971/ft2_4FGL_J0811.4+0146_daily_bin728.fits outfile=/scratch/kocevski/307971/cmap_428025601_428284801_4FGL_J0811.4+0146_daily_bin728.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.82
user 0.37
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307971/ft1_filtered_4FGL_J0811.4+0146_daily_bin728.fits scfile=/scratch/kocevski/307971/ft2_4FGL_J0811.4+0146_daily_bin728.fits outfile=/scratch/kocevski/307971/cmap_HighResolution_428025601_428284801_4FGL_J0811.4+0146_daily_bin728.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.77
user 0.40
sys 0.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.530       1.0000         .10000E-03   10000.    
     4 'norm      '    6.8359       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    14.843       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9064       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.3085       1.0000         .10000E-03   10000.    
    10 'Prefactor '    182.91       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.615       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.1339       1.0000         .10000E-03   10000.    
    15 'norm      '    2.0478       1.0000         .10000E-03   10000.    
    16 'norm      '    .10744E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.9503       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.532       1.0000         .10000E-03   10000.    
    21 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.9412       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92103       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1282       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=   6462.611     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2787 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.233        .24636E-05** at limit **
   2  Prefactor     .10000E-03    8.9224        .10538E-06** at limit **
   3  Prefactor     43.516        44.086        .19078E-05   -.74046E-05
   4  norm          6.8358        2.5541        .35172E-07   -.40080E-04
   5  Prefactor     .10000E-03    8.0082       -.26725E-07** at limit **
   6  norm          14.843        14.333        .10798E-06    .14535E-05
   7  Prefactor     1.9076        4.6813       -.30594E-06   -.13641E-03
   8  norm          .10000E-03    6.2788       -.32124E-07** at limit **
   9  Prefactor     7.3095        8.9287        .50953E-07   -.15192E-05
  10  Prefactor     182.76        221.32        .15714E-04   -.30856E-05
  11  Prefactor     .10000E-03    8.8683       -.73930E-07** at limit **
  12  Prefactor     44.632        35.339        .10052E-05    .28837E-03
  13  norm          .10000E-03    3.4402        .17498E-07** at limit **
  14  norm          1.1338        1.2290        .22380E-07    .26347E-04
  15  norm          2.0477        1.1140        .55093E-07    .24558E-04
  16  norm          .10001E-03    82.963       -.51243E-05** at limit **
  17  norm          7.9506        4.1655        .70416E-07    .11412E-03
  18  Prefactor     .10000E-03    117.25        .96429E-05** at limit **
  19  norm          .10000E-03    18.338       -.37369E-07** at limit **
  20  Prefactor     30.539        22.791        .15413E-06   -.81931E-04
  21  norm          .10000E-03    .36313        .37180E-07** at limit **
  22  norm          1.9398        8.9251        .11115E-04    .35783E-05
  23  Normalizat    .92079        .22829       -.27205E-05    .28276E-05
  24  Prefactor     1.1284        .13895        .12437E-06   -.29982E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.5163
  norm       = 6.83584
  Prefactor  = 0.0001
  norm       = 14.8425
  Prefactor  = 1.90763
  norm       = 0.0001
  Prefactor  = 7.3095
  Prefactor  = 182.756
  Prefactor  = 0.0001
  Prefactor  = 44.6317
  norm       = 0.0001
  norm       = 1.13381
  norm       = 2.04765
  norm       = 0.000100007
  norm       = 7.95057
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.5394
  norm       = 0.0001
  norm       = 1.9398
  Normalizat = 0.920789
  Prefactor  = 1.1284
 **********
 **   18 **HESSE 
 **********

 FCN=   6462.611     FROM HESSE     STATUS=OK           399 CALLS     3186 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    56.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.0126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.516        44.080        .60764E-04   -1.4388    
   4  norm          6.8358        2.5538        .73664E-04   -1.5185    
   5  Prefactor     .10000E-03    8.0107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.843        14.358        .10396E-03   -1.4937    
   7  Prefactor     1.9076        4.6523        .25731E-03   -1.5432    
   8  norm          .10000E-03    6.2809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.3095        8.9186        .14836E-03   -1.5167    
  10  Prefactor     182.76        222.12        .14925E-03   -1.2996    
  11  Prefactor     .10000E-03    9.0446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     44.632        35.106        .60023E-04   -1.4371    
  13  norm          .10000E-03    3.4455        .14561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1338        1.2357        .90114E-04   -1.5495    
  15  norm          2.0477        1.1118        .60018E-04   -1.5422    
  16  norm          .10001E-03    82.881        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.9506        4.1660        .11494E-03   -1.5144    
  18  Prefactor     .10000E-03    118.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    18.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.539        22.962        .72511E-04   -1.4602    
  21  norm          .10000E-03    .56367        .93875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.9398        8.9595        .14899E-02   -1.5429    
  23  Normalizat    .92079        .25630        .34475E-03   -.95733    
  24  Prefactor     1.1284        .15745        .20114E-03   -.88564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59919e-10
Minuit parameter uncertainties:
  1  8.38535e-05
  2  2.65821e-06
  3  44.1134
  4  2.55382
  5  1.06503e-06
  6  14.3614
  7  4.65313
  8  2.94977e-06
  9  8.92022
  10  223.146
  11  1.35394e-05
  12  35.1226
  13  2.49621e-06
  14  1.2357
  15  1.11178
  16  0.00157627
  17  4.16612
  18  1.8434e-05
  19  3.46763e-06
  20  22.9688
  21  3.31778e-06
  22  8.33964
  23  0.256645
  24  0.157519
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.951e+00  4.166e+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.128e+00  1.575e-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:  9.208e-01  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.79
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 5.70e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.77e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6462.18839583
delta logL = 0.422115818128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6462.16754997
delta logL = 0.442961685175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8831       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6277       1.0000          .0000       5.0000    
     3 'Normalizat'    .93563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1251       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=   6462.168     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      203 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8831        4.4766        .35703E-02    .57539E-04
   2  alpha         1.6277        .36398        .28920       -.10931E-04
   3  Normalizat    .93563        .21240        .77348E-01    .15595E-04
   4  Prefactor     1.1251        .13613        .36701E-01    .67591E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.88311
  alpha      = 1.62767
  Normalizat = 0.935627
  Prefactor  = 1.12514
 **********
 **   18 **HESSE 
 **********

 FCN=   6462.168     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8831        4.4866        .12008E-03   -1.5146    
   2  alpha         1.6277        .39693        .11728E-01   -.35643    
   3  Normalizat    .93563        .23823        .34234E-03   -.95219    
   4  Prefactor     1.1251        .15306        .20143E-03   -.88667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40648e-11
Minuit parameter uncertainties:
  1  4.48684
  2  0.398858
  3  0.238504
  4  0.153122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307971': 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) = 6462.16754997
delta logL = 0.442961685296

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  7.883e+00  4.487e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.628e+00  3.989e-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.125e+00  1.531e-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:  9.356e-01  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.67
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.63 +/- 0.40
Photon Flux (Free Index): 3.91e-08 +/- 2.78e-08
Energy Flux (Free Index): 5.43e-05 +/- 4.36e-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/307971/cmap_HighResolution_428025601_428284801_4FGL_J0811.4+0146_daily_bin728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.70e-08', energy_flux2='5.43e-05', photon_flux_error='2.99e-08', dlogl='4.43e-01', energy_flux='3.38e-05', photon_flux2='3.91e-08', job_status='DONE', time_completed='2021-08-29 12:29:35.829828', photon_index_error2='0.40', photon_index2='1.63', ts='15.79', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='4.36e-05', EG='0.92', time_epoch_completed='1630265375.83', return_code='0', job_id='307971', GAL2='1.13', EG2='0.94', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='2.78e-08', ts2='16.67', photon_index='2.01' WHERE bin_id='728' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:29:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 307971: <4FGL_J0811.4+0146_daily_bin728> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin728 122.861 1.7756 428025601 428284801 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 :                                   620.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             253.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            833 sec.

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

