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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin618
RA = 122.861, Dec = 1.7756
tmin = 399513601, tmax = 399772801
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='307810', job_status='RUN', time_executed='2021-08-29 12:19:02.665788', time_epoch_executed='1630264742.67' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='618'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307810

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307810/ft1_4FGL_J0811.4+0146_daily_bin618.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307810/ft2_4FGL_J0811.4+0146_daily_bin618.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307810/ft1_4FGL_J0811.4+0146_daily_bin618.fits outfile=/scratch/kocevski/307810/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin618.fits ra=122.861 dec=1.7756 rad=12.0 tmin=399513601.0 tmax=399772801.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.29
user 4.89
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307810/ft2_4FGL_J0811.4+0146_daily_bin618.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/307810/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin618.fits evtable="EVENTS" outfile="/scratch/kocevski/307810/ft1_filtered_4FGL_J0811.4+0146_daily_bin618.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.98
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307810/ft1_filtered_4FGL_J0811.4+0146_daily_bin618.fits" evtable="EVENTS" scfile=/scratch/kocevski/307810/ft2_4FGL_J0811.4+0146_daily_bin618.fits sctable="SC_DATA" outfile=/scratch/kocevski/307810/ltcube_399513601_399772801_4FGL_J0811.4+0146_daily_bin618.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/307810/ft2_4FGL_J0811.4+0146_daily_bin618.fits
.....................!
real 12.42
user 11.84
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307810/ft1_filtered_4FGL_J0811.4+0146_daily_bin618.fits evtable="EVENTS" scfile=/scratch/kocevski/307810/ft2_4FGL_J0811.4+0146_daily_bin618.fits sctable="SC_DATA" expcube=/scratch/kocevski/307810/ltcube_399513601_399772801_4FGL_J0811.4+0146_daily_bin618.fits outfile=/scratch/kocevski/307810/expmap_399513601_399772801_4FGL_J0811.4+0146_daily_bin618.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/307810/ltcube_399513601_399772801_4FGL_J0811.4+0146_daily_bin618.fits
.....................!
real 190.49
user 185.14
sys 4.82

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/307810/ft1_filtered_4FGL_J0811.4+0146_daily_bin618.fits scfile=/scratch/kocevski/307810/ft2_4FGL_J0811.4+0146_daily_bin618.fits outfile=/scratch/kocevski/307810/cmap_399513601_399772801_4FGL_J0811.4+0146_daily_bin618.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.74
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307810/ft1_filtered_4FGL_J0811.4+0146_daily_bin618.fits scfile=/scratch/kocevski/307810/ft2_4FGL_J0811.4+0146_daily_bin618.fits outfile=/scratch/kocevski/307810/cmap_HighResolution_399513601_399772801_4FGL_J0811.4+0146_daily_bin618.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.62
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6055       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.438       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4288       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.122       1.0000         .10000E-03   10000.    
     6 'norm      '    6.5062       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1500       1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    143.54       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .26654E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .47670E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0938       1.0000         .10000E-03   10000.    
    15 'norm      '    1.0222       1.0000         .10000E-03   10000.    
    16 'norm      '    .10377E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2987       1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.663       1.0000         .10000E-03   10000.    
    19 'norm      '    .10372E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .59527       1.0000         .10000E-03   10000.    
    22 'norm      '    1.8543       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0028       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0275       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=   7726.883     FROM MIGRAD    STATUS=CONVERGED    992 CALLS     3220 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.790        .18142E-02** at limit **
   2  Prefactor     3.6078        9.4312        .21279E-03    .38787E-04
   3  Prefactor     12.440        19.466        .11358E-03    .40037E-05
   4  norm          2.4289        1.8248        .97748E-04   -.11863E-04
   5  Prefactor     27.130        24.093        .76925E-04    .17439E-04
   6  norm          6.5093        7.7434        .15734E-03   -.12573E-04
   7  Prefactor     3.1511        4.7938        .22688E-03   -.25205E-04
   8  norm          .10000E-03    6.7580        .18142E-02** at limit **
   9  Prefactor     .10000E-03    4.1864        .17550E-02** at limit **
  10  Prefactor     143.43        155.65        .16814E-03    .37241E-04
  11  Prefactor     .10000E-03    3.4441        .15878E-02** at limit **
  12  Prefactor     .10029E-03    24.865        .11557    ** at limit **
  13  norm          .10002E-03    95.159        .38573E-02** at limit **
  14  norm          1.0937        1.8180        .14790E-03   -.34897E-04
  15  norm          1.0226        1.0174        .83915E-04    .11394E-03
  16  norm          .10000E-03    53.995        .41476E-03** at limit **
  17  norm          2.2976        3.3506        .18685E-03   -.14420E-03
  18  Prefactor     34.635        41.492        .68066E-04   -.30566E-04
  19  norm          .10000E-03    52.542        .36285E-03** at limit **
  20  Prefactor     .10000E-03    7.0582        .18142E-02** at limit **
  21  norm          .59615        .67574        .83831E-03    .40363E-03
  22  norm          1.8542        2.9157        .18492E-03   -.24469E-04
  23  Normalizat    1.0028        .21026        .30174E-03   -.20270E-04
  24  Prefactor     1.0274        .13742        .19581E-03   -.78054E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.60775
  Prefactor  = 12.44
  norm       = 2.42885
  Prefactor  = 27.1297
  norm       = 6.50928
  Prefactor  = 3.1511
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 143.43
  Prefactor  = 0.0001
  Prefactor  = 0.000100287
  norm       = 0.000100023
  norm       = 1.09373
  norm       = 1.02262
  norm       = 0.0001
  norm       = 2.29764
  Prefactor  = 34.6348
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.59615
  norm       = 1.85417
  Normalizat = 1.00277
  Prefactor  = 1.02741
 **********
 **   18 **HESSE 
 **********

 FCN=   7726.883     FROM HESSE     STATUS=OK           385 CALLS     3605 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.813        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6078        9.4304        .85118E-05   -1.5328    
   3  Prefactor     12.440        19.466        .45433E-05   -1.5002    
   4  norm          2.4289        1.8247        .39099E-05   -1.5396    
   5  Prefactor     27.130        24.093        .30770E-05   -1.4666    
   6  norm          6.5093        7.7434        .62935E-05   -1.5198    
   7  Prefactor     3.1511        4.7932        .90751E-05   -1.5353    
   8  norm          .10000E-03    6.7583        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.1866        .35100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     143.43        155.64        .33629E-04   -1.3307    
  11  Prefactor     .10000E-03    3.4448        .31756E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10029E-03    23.915        .11878       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10002E-03    98.369        .15429E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0937        1.8177        .59162E-05   -1.5499    
  15  norm          1.0226        1.0172        .33566E-05   -1.5506    
  16  norm          .10000E-03    53.998        .82952E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2976        3.3499        .74739E-05   -1.5405    
  18  Prefactor     34.635        41.482        .27226E-05   -1.4530    
  19  norm          .10000E-03    52.545        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.0590        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .59615        .67530        .33532E-04   -1.5554    
  22  norm          1.8542        2.9157        .73967E-05   -1.5436    
  23  Normalizat    1.0028        .21026        .12070E-04   -.92938    
  24  Prefactor     1.0274        .13751        .39163E-04   -.91821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72001e-10
Minuit parameter uncertainties:
  1  1.55343e-05
  2  9.43432
  3  19.4759
  4  1.82478
  5  24.1012
  6  7.7446
  7  4.79375
  8  4.69019e-06
  9  4.84089e-06
  10  156.091
  11  2.78116e-06
  12  0.0052425
  13  0.00303134
  14  1.81778
  15  1.0172
  16  0.000130807
  17  3.35016
  18  41.5166
  19  1.91664e-05
  20  4.65907e-06
  21  0.675304
  22  2.91588
  23  0.210435
  24  0.137561
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.298e+00  3.350e+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.027e+00  1.376e-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.003e+00  2.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/307810/likelihoodResults_399513601_399772801_4FGL_J0811.4+0146_daily_bin618.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) = 7726.6857553
delta logL = 0.196959351613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7726.67748727
delta logL = 0.205227375063

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0120       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8570       1.0000          .0000       5.0000    
     3 'Normalizat'    .96084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0419       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=   7726.677     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0101        36.017        .72962E-02    .92976E-03
   2  alpha         2.8575        3.9246        .41694        .56470E-04
   3  Normalizat    .96083        .47556E-01    .69523E-01    .79396E-04
   4  Prefactor     1.0419        .29223E-01    .40408E-01    .10052E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01013
  alpha      = 2.85746
  Normalizat = 0.960828
  Prefactor  = 1.04191
 **********
 **   18 **HESSE 
 **********

 FCN=   7726.677     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0101        5.2084        .12040E-03   -1.5424    
   2  alpha         2.8575        1.8087        .16350E-01    .14348    
   3  Normalizat    .96083        .22021        .30757E-03   -.94355    
   4  Prefactor     1.0419        .13722        .19461E-03   -.91345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74832e-11
Minuit parameter uncertainties:
  1  5.20957
  2  2.02834
  3  0.220413
  4  0.137269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307810': 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) = 7726.67748712
delta logL = 0.205227531016

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  2.010e+00  5.210e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.857e+00  2.028e+00  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.042e+00  1.373e-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.608e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.86 +/- 2.03
Photon Flux (Free Index): 4.92e-08 +/- 6.86e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.21e-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/307810/cmap_HighResolution_399513601_399772801_4FGL_J0811.4+0146_daily_bin618.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-05', comment='SUCCESS', energy_flux2='1.12e-05', dlogl='2.05e-01', photon_flux2='4.92e-08', job_status='DONE', time_completed='2021-08-29 12:31:52.416819', photon_index_error2='2.03', photon_index2='2.86', ts='0.72', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='7.88e-08', energy_flux_error2='1.21e-05', EG='1.00', time_epoch_completed='1630265512.42', return_code='0', job_id='307810', GAL2='1.04', EG2='0.96', return_code2='0', photon_flux_error2='6.86e-08', ts2='1.17', photon_index='2.01' WHERE bin_id='618' 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@bullet0084>
Subject: Job 307810: <4FGL_J0811.4+0146_daily_bin618> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin618> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 12:15:31 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:15:33 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:33 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_bin618 122.861 1.7756 399513601 399772801 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 :                                   767.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            982 sec.

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

