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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin832
RA = 122.861, Dec = 1.7756
tmin = 454982401, tmax = 455241601
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='309465', job_status='RUN', time_executed='2021-08-29 12:23:14.396740', time_epoch_executed='1630264994.4' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='832'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309465

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309465/ft1_4FGL_J0811.4+0146_daily_bin832.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309465/ft2_4FGL_J0811.4+0146_daily_bin832.fits


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

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

Done.
real 3.54
user 3.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/309465/ft2_4FGL_J0811.4+0146_daily_bin832.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/309465/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin832.fits evtable="EVENTS" outfile="/scratch/kocevski/309465/ft1_filtered_4FGL_J0811.4+0146_daily_bin832.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309465/ft1_filtered_4FGL_J0811.4+0146_daily_bin832.fits" evtable="EVENTS" scfile=/scratch/kocevski/309465/ft2_4FGL_J0811.4+0146_daily_bin832.fits sctable="SC_DATA" outfile=/scratch/kocevski/309465/ltcube_454982401_455241601_4FGL_J0811.4+0146_daily_bin832.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/309465/ft2_4FGL_J0811.4+0146_daily_bin832.fits
.....................!
real 11.85
user 11.26
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309465/ft1_filtered_4FGL_J0811.4+0146_daily_bin832.fits evtable="EVENTS" scfile=/scratch/kocevski/309465/ft2_4FGL_J0811.4+0146_daily_bin832.fits sctable="SC_DATA" expcube=/scratch/kocevski/309465/ltcube_454982401_455241601_4FGL_J0811.4+0146_daily_bin832.fits outfile=/scratch/kocevski/309465/expmap_454982401_455241601_4FGL_J0811.4+0146_daily_bin832.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/309465/ltcube_454982401_455241601_4FGL_J0811.4+0146_daily_bin832.fits
.....................!
real 194.25
user 187.34
sys 5.02

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/309465/ft1_filtered_4FGL_J0811.4+0146_daily_bin832.fits scfile=/scratch/kocevski/309465/ft2_4FGL_J0811.4+0146_daily_bin832.fits outfile=/scratch/kocevski/309465/cmap_454982401_455241601_4FGL_J0811.4+0146_daily_bin832.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=122.861 yref=1.7756 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309465/ft1_filtered_4FGL_J0811.4+0146_daily_bin832.fits scfile=/scratch/kocevski/309465/ft2_4FGL_J0811.4+0146_daily_bin832.fits outfile=/scratch/kocevski/309465/cmap_HighResolution_454982401_455241601_4FGL_J0811.4+0146_daily_bin832.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.719       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1608       1.0000         .10000E-03   10000.    
     3 'Prefactor '    87.621       1.0000         .10000E-03   10000.    
     4 'norm      '    26.331       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.7138       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    23.105       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9965       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .50012       1.0000         .10000E-03   10000.    
    15 'norm      '    2.8045       1.0000         .10000E-03   10000.    
    16 'norm      '    9.8009       1.0000         .10000E-03   10000.    
    17 'norm      '    10.420       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8684       1.0000         .10000E-03   10000.    
    19 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    13.140       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0318       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96458       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=   8964.709     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2728 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.720        34.568        .37989E-06    .22059E-04
   2  Prefactor     4.1609        4.7375       -.50664E-06    .40281E-03
   3  Prefactor     87.620        35.475       -.13529E-06   -.37811E-04
   4  norm          26.332        3.3405        .23683E-07    .93514E-04
   5  Prefactor     .10000E-03    15.926        .57206E-06** at limit **
   6  norm          9.7144        10.444        .64848E-06   -.23917E-03
   7  Prefactor     .10000E-03    1.5211       -.55272E-07** at limit **
   8  norm          23.103        17.818       -.97610E-06   -.16344E-04
   9  Prefactor     3.9972        7.2588        .36254E-05   -.94218E-03
  10  Prefactor     .10004E-03    62.953       -.11148E-04** at limit **
  11  Prefactor     .10000E-03    5.4722       -.10492E-06** at limit **
  12  Prefactor     .10000E-03    25.351       -.10636E-05** at limit **
  13  norm          .10000E-03    4.5675       -.56693E-07** at limit **
  14  norm          .50098        2.1828        .32065E-06   -.44334E-03
  15  norm          2.8049        1.2960       -.40593E-07   -.49583E-03
  16  norm          9.8027        18.638        .62799E-06    .61842E-04
  17  norm          10.420        4.4949        .14706E-06    .28399E-03
  18  Prefactor     2.8618        64.434       -.34760E-05   -.62794E-04
  19  norm          .10003E-03    53.259        .11201E-04** at limit **
  20  Prefactor     .10000E-03    12.459       -.61181E-07** at limit **
  21  norm          .10000E-03    .22881        .19667E-08** at limit **
  22  norm          13.140        8.6369        .50629E-07   -.17947E-04
  23  Normalizat    1.0319        .18723       -.25857E-06   -.27144E-04
  24  Prefactor     .96453        .11955       -.87710E-07   -.68939E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7199
  Prefactor  = 4.16088
  Prefactor  = 87.6201
  norm       = 26.3315
  Prefactor  = 0.0001
  norm       = 9.71438
  Prefactor  = 0.0001
  norm       = 23.1033
  Prefactor  = 3.99716
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.500985
  norm       = 2.80494
  norm       = 9.80272
  norm       = 10.4204
  Prefactor  = 2.86181
  norm       = 0.000100033
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 13.14
  Normalizat = 1.0319
  Prefactor  = 0.964526
 **********
 **   18 **HESSE 
 **********

 FCN=   8964.709     FROM HESSE     STATUS=OK           401 CALLS     3129 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.720        34.633        .82248E-04   -1.4734    
   2  Prefactor     4.1609        4.7603        .98797E-03   -1.5300    
   3  Prefactor     87.620        35.478        .42921E-04   -1.3833    
   4  norm          26.332        3.3403        .58350E-04   -1.4681    
   5  Prefactor     .10000E-03    15.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.7144        10.507        .64287E-03   -1.5085    
   7  Prefactor     .10000E-03    1.5334        .11402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          23.103        17.912        .83333E-04   -1.4746    
   9  Prefactor     3.9972        7.9744        .10087E-02   -1.5308    
  10  Prefactor     .10004E-03    68.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.5374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.5917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .50098        4.0286        .23761E-02   -1.5566    
  15  norm          2.8049        1.2534        .63542E-04   -1.5373    
  16  norm          9.8027        18.554        .12800E-03   -1.5082    
  17  norm          10.420        4.4988        .12412E-03   -1.5062    
  18  Prefactor     2.8618        64.688        .24001E-03   -1.5370    
  19  norm          .10003E-03    58.156        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .23657        .88381E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          13.140        8.6459        .11050E-03   -1.4983    
  23  Normalizat    1.0319        .21486        .33101E-03   -.91969    
  24  Prefactor     .96453        .13779        .21927E-03   -.93921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98159e-09
Minuit parameter uncertainties:
  1  34.6624
  2  4.76077
  3  35.4868
  4  3.34035
  5  8.29637e-05
  6  10.5094
  7  2.25882e-06
  8  17.9162
  9  7.97653
  10  0.0034716
  11  6.90514e-06
  12  0.000237608
  13  6.90583e-06
  14  2.84129
  15  1.25338
  16  18.5647
  17  4.49899
  18  27.245
  19  0.00276859
  20  3.94201e-06
  21  1.4036e-08
  22  8.64667
  23  0.215042
  24  0.137839
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.042e+01  4.499e+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.645e-01  1.378e-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.032e+00  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.97
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 7.48e-08 +/- 3.23e-08
Energy Flux (Fixed Index): 4.43e-05 +/- 1.91e-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) = 8964.69852356
delta logL = 0.0109095588086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8964.69800166
delta logL = 0.0114314536131

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.346       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0660       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96656       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=   8964.698     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      243 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.346        4.4567        .12354E-03    .52729E-03
   2  alpha         2.0659        .40005        .11562E-01    .38602E-04
   3  Normalizat    1.0257        .21078        .33184E-03   -.27270E-04
   4  Prefactor     .96654        .13368        .21905E-03   -.32074E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.3461
  alpha      = 2.06595
  Normalizat = 1.02574
  Prefactor  = 0.966536
 **********
 **   18 **HESSE 
 **********

 FCN=   8964.698     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.346        4.4291        .49417E-05   -1.5065    
   2  alpha         2.0659        .39727        .46248E-03   -.17451    
   3  Normalizat    1.0257        .21087        .13274E-04   -.92173    
   4  Prefactor     .96654        .13374        .87621E-05   -.93853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30799e-11
Minuit parameter uncertainties:
  1  4.42919
  2  0.399012
  3  0.211042
  4  0.133789
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309465': 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) = 8964.69800164
delta logL = 0.011431480043

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.035e+01  4.429e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.066e+00  3.990e-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.665e-01  1.338e-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.026e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.91
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.07 +/- 0.40
Photon Flux (Free Index): 7.98e-08 +/- 4.73e-08
Energy Flux (Free Index): 4.24e-05 +/- 2.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/309465/cmap_HighResolution_454982401_455241601_4FGL_J0811.4+0146_daily_bin832.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.48e-08', energy_flux2='4.24e-05', photon_flux_error='3.23e-08', dlogl='1.14e-02', energy_flux='4.43e-05', photon_flux2='7.98e-08', job_status='DONE', time_completed='2021-08-29 12:35:10.607114', photon_index_error2='0.40', photon_index2='2.07', ts='16.97', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.14e-05', EG='1.03', time_epoch_completed='1630265710.61', return_code='0', job_id='309465', GAL2='0.97', EG2='1.03', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='4.73e-08', ts2='16.91', photon_index='2.01' WHERE bin_id='832' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:35:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 309465: <4FGL_J0811.4+0146_daily_bin832> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin832> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:20:26 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:20:28 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:28 2021
Terminated at Sun Aug 29 12:35:11 2021
Results reported at Sun Aug 29 12:35:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin832 122.861 1.7756 454982401 455241601 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 :                                   714.17 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             277.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            885 sec.

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

