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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin967
RA = 122.861, Dec = 1.7756
tmin = 489974401, tmax = 490233601
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='309691', job_status='RUN', time_executed='2021-08-29 12:24:26.646116', time_epoch_executed='1630265066.65' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='967'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309691

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309691/ft1_4FGL_J0811.4+0146_daily_bin967.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309691/ft2_4FGL_J0811.4+0146_daily_bin967.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309691/ft1_4FGL_J0811.4+0146_daily_bin967.fits outfile=/scratch/kocevski/309691/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin967.fits ra=122.861 dec=1.7756 rad=12.0 tmin=489974401.0 tmax=490233601.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.83
user 3.58
sys 2.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309691/ft1_filtered_4FGL_J0811.4+0146_daily_bin967.fits" evtable="EVENTS" scfile=/scratch/kocevski/309691/ft2_4FGL_J0811.4+0146_daily_bin967.fits sctable="SC_DATA" outfile=/scratch/kocevski/309691/ltcube_489974401_490233601_4FGL_J0811.4+0146_daily_bin967.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/309691/ft2_4FGL_J0811.4+0146_daily_bin967.fits
.....................!
real 14.41
user 11.80
sys 2.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309691/ft1_filtered_4FGL_J0811.4+0146_daily_bin967.fits evtable="EVENTS" scfile=/scratch/kocevski/309691/ft2_4FGL_J0811.4+0146_daily_bin967.fits sctable="SC_DATA" expcube=/scratch/kocevski/309691/ltcube_489974401_490233601_4FGL_J0811.4+0146_daily_bin967.fits outfile=/scratch/kocevski/309691/expmap_489974401_490233601_4FGL_J0811.4+0146_daily_bin967.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/309691/ltcube_489974401_490233601_4FGL_J0811.4+0146_daily_bin967.fits
.....................!
real 195.55
user 187.27
sys 7.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/309691/ft1_filtered_4FGL_J0811.4+0146_daily_bin967.fits scfile=/scratch/kocevski/309691/ft2_4FGL_J0811.4+0146_daily_bin967.fits outfile=/scratch/kocevski/309691/cmap_489974401_490233601_4FGL_J0811.4+0146_daily_bin967.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 2.51
user 0.38
sys 2.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309691/ft1_filtered_4FGL_J0811.4+0146_daily_bin967.fits scfile=/scratch/kocevski/309691/ft2_4FGL_J0811.4+0146_daily_bin967.fits outfile=/scratch/kocevski/309691/cmap_HighResolution_489974401_490233601_4FGL_J0811.4+0146_daily_bin967.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 2.53
user 0.38
sys 2.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.377       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.097       1.0000         .10000E-03   10000.    
     3 'Prefactor '    95.954       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0483       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0650       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.685       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15240       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.264       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .66630       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .33879E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.477       1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.509       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.410       1.0000         .10000E-03   10000.    
    21 'norm      '    2.2146       1.0000         .10000E-03   10000.    
    22 'norm      '    8.2089       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .53867       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3335       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=   6002.227     FROM MIGRAD    STATUS=CONVERGED    967 CALLS     3173 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.220        58.928        .34174E-03    .30806E-04
   2  Prefactor     10.091        14.523        .12610E-03   -.97185E-04
   3  Prefactor     95.947        46.806        .41033E-04   -.58682E-04
   4  norm          1.0461        2.5023        .17417E-03    .16325E-03
   5  Prefactor     .10000E-03    36.060        .18142E-02** at limit **
   6  norm          .10000E-03    6.1919        .18142E-02** at limit **
   7  Prefactor     1.0642        4.1175        .29471E-03   -.16055E-03
   8  norm          .10000E-03    9.5448        .18142E-02** at limit **
   9  Prefactor     36.686        16.172        .33084E-03    .11249E-03
  10  Prefactor     .10000E-03    72.589        .18142E-02** at limit **
  11  Prefactor     .10433        11.084        .59774E-01    .26056E-03
  12  Prefactor     12.188        34.388        .11439E-03   -.11430E-04
  13  norm          .10000E-03    3.6657        .14478E-02** at limit **
  14  norm          .66636        1.8479        .17167E-03    .12854E-03
  15  norm          .10000E-03    .39683        .47091E-03** at limit **
  16  norm          .10000E-03    42.638        .21338E-02** at limit **
  17  norm          13.478        5.5714        .10911E-03   -.94716E-04
  18  Prefactor     34.517        40.401        .68217E-04   -.13332E-05
  19  norm          .10000E-03    23.995        .18142E-02** at limit **
  20  Prefactor     19.407        15.854        .90911E-04    .33764E-05
  21  norm          2.2143        1.2947        .63900E-04   -.12401E-03
  22  norm          8.2061        9.1110        .13993E-03   -.38998E-04
  23  Normalizat    .53855        .25866        .43219E-03   -.10716E-03
  24  Prefactor     1.3338        .16793        .18928E-03   -.81324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.2201
  Prefactor  = 10.0909
  Prefactor  = 95.9465
  norm       = 1.04608
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.06422
  norm       = 0.0001
  Prefactor  = 36.686
  Prefactor  = 0.0001
  Prefactor  = 0.104335
  Prefactor  = 12.1882
  norm       = 0.0001
  norm       = 0.666361
  norm       = 0.0001
  norm       = 0.000100004
  norm       = 13.4781
  Prefactor  = 34.517
  norm       = 0.0001
  Prefactor  = 19.4072
  norm       = 2.21433
  norm       = 8.20607
  Normalizat = 0.538547
  Prefactor  = 1.33376
 **********
 **   18 **HESSE 
 **********

 FCN=   6002.227     FROM HESSE     STATUS=OK           383 CALLS     3556 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.220        58.923        .13669E-04   -1.4537    
   2  Prefactor     10.091        14.522        .50442E-05   -1.5073    
   3  Prefactor     95.947        46.802        .82065E-05   -1.3746    
   4  norm          1.0461        2.5013        .69669E-05   -1.5503    
   5  Prefactor     .10000E-03    36.065        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.1920        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0642        4.1164        .11788E-04   -1.5502    
   8  norm          .10000E-03    9.5454        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.686        16.170        .66169E-04   -1.4496    
  10  Prefactor     .10000E-03    72.589        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10433        9.2257        .67539E-01   -1.5643    
  12  Prefactor     12.188        34.377        .45755E-05   -1.5010    
  13  norm          .10000E-03    3.6658        .28956E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66636        1.8463        .68668E-05   -1.5545    
  15  norm          .10000E-03    .39686        .94181E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    42.652        .42675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.478        5.5712        .43642E-05   -1.4974    
  18  Prefactor     34.517        40.388        .27287E-05   -1.4532    
  19  norm          .10000E-03    23.998        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.407        15.852        .36365E-05   -1.4827    
  21  norm          2.2143        1.2945        .25560E-05   -1.5410    
  22  norm          8.2061        9.1101        .55972E-05   -1.5135    
  23  Normalizat    .53855        .25868        .17288E-04   -1.1066    
  24  Prefactor     1.3338        .16790        .75713E-05   -.82309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93865e-10
Minuit parameter uncertainties:
  1  59.0239
  2  14.5271
  3  46.8201
  4  2.50157
  5  0.00011476
  6  9.97087e-06
  7  4.11753
  8  3.03743e-05
  9  16.1717
  10  0.000136635
  11  1.96157
  12  34.433
  13  5.94792e-06
  14  1.8465
  15  3.41978e-06
  16  0.000775458
  17  5.57146
  18  40.4199
  19  7.24922e-05
  20  15.8559
  21  1.29457
  22  9.11166
  23  0.259255
  24  0.167965
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.348e+01  5.571e+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.334e+00  1.680e-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:  5.385e-01  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.12
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 9.67e-08 +/- 4.00e-08
Energy Flux (Fixed Index): 5.73e-05 +/- 2.37e-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) = 6002.22243667
delta logL = 0.00419000091279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6002.22213616
delta logL = 0.00449051028045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.576       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9708       1.0000          .0000       5.0000    
     3 'Normalizat'    .54151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3329       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=   6002.222     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      198 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.576        11.443        .27177E-02   -.46873E-04
   2  alpha         1.9708        .67472        .24746       -.28697E-05
   3  Normalizat    .54151        .23470        .97267E-01    .16464E-04
   4  Prefactor     1.3329        .15249        .32060E-01    .13815E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.5762
  alpha      = 1.97083
  Normalizat = 0.541509
  Prefactor  = 1.33289
 **********
 **   18 **HESSE 
 **********

 FCN=   6002.222     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.576        5.7086        .10871E-03   -1.4971    
   2  alpha         1.9708        .36479        .10048E-01   -.21328    
   3  Normalizat    .54151        .23858        .43111E-03   -1.1053    
   4  Prefactor     1.3329        .15803        .18934E-03   -.82334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48619e-11
Minuit parameter uncertainties:
  1  5.70881
  2  0.36616
  3  0.239037
  4  0.158085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309691': 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) = 6002.22213616
delta logL = 0.00449051036867

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.358e+01  5.709e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.971e+00  3.662e-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.333e+00  1.581e-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:  5.415e-01  2.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.09
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.97 +/- 0.37
Photon Flux (Free Index): 9.36e-08 +/- 5.03e-08
Energy Flux (Free Index): 5.92e-05 +/- 3.27e-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/309691/cmap_HighResolution_489974401_490233601_4FGL_J0811.4+0146_daily_bin967.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.67e-08', energy_flux2='5.92e-05', photon_flux_error='4.00e-08', dlogl='4.49e-03', energy_flux='5.73e-05', photon_flux2='9.36e-08', job_status='DONE', time_completed='2021-08-29 12:34:54.153063', photon_index_error2='0.37', photon_index2='1.97', ts='17.12', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', energy_flux_error2='3.27e-05', EG='0.54', time_epoch_completed='1630265694.15', return_code='0', job_id='309691', GAL2='1.33', EG2='0.54', return_code2='0', energy_flux_error='2.37e-05', photon_flux_error2='5.03e-08', ts2='17.09', photon_index='2.01' WHERE bin_id='967' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:34:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 309691: <4FGL_J0811.4+0146_daily_bin967> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin967> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:20:45 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:20:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:20:47 2021
Terminated at Sun Aug 29 12:34:55 2021
Results reported at Sun Aug 29 12:34:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin967 122.861 1.7756 489974401 490233601 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 :                                   656.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            850 sec.

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

