/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 204 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 = 7485
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0811.4+0146_daily_bin381
RA = 122.861, Dec = 1.7756
tmin = 338083201, tmax = 338342401
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='306174', job_status='RUN', time_executed='2021-08-29 12:13:59.956168', time_epoch_executed='1630264439.96' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306174

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306174/ft1_4FGL_J0811.4+0146_daily_bin381.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306174/ft2_4FGL_J0811.4+0146_daily_bin381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306174/ft1_4FGL_J0811.4+0146_daily_bin381.fits outfile=/scratch/kocevski/306174/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin381.fits ra=122.861 dec=1.7756 rad=12.0 tmin=338083201.0 tmax=338342401.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 6.67
user 6.35
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/306174/ft2_4FGL_J0811.4+0146_daily_bin381.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/306174/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin381.fits evtable="EVENTS" outfile="/scratch/kocevski/306174/ft1_filtered_4FGL_J0811.4+0146_daily_bin381.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/306174/ft1_filtered_4FGL_J0811.4+0146_daily_bin381.fits" evtable="EVENTS" scfile=/scratch/kocevski/306174/ft2_4FGL_J0811.4+0146_daily_bin381.fits sctable="SC_DATA" outfile=/scratch/kocevski/306174/ltcube_338083201_338342401_4FGL_J0811.4+0146_daily_bin381.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/306174/ft2_4FGL_J0811.4+0146_daily_bin381.fits
.....................!
real 11.33
user 10.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306174/ft1_filtered_4FGL_J0811.4+0146_daily_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/306174/ft2_4FGL_J0811.4+0146_daily_bin381.fits sctable="SC_DATA" expcube=/scratch/kocevski/306174/ltcube_338083201_338342401_4FGL_J0811.4+0146_daily_bin381.fits outfile=/scratch/kocevski/306174/expmap_338083201_338342401_4FGL_J0811.4+0146_daily_bin381.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/306174/ltcube_338083201_338342401_4FGL_J0811.4+0146_daily_bin381.fits
.....................!
real 191.03
user 185.74
sys 4.94

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/306174/ft1_filtered_4FGL_J0811.4+0146_daily_bin381.fits scfile=/scratch/kocevski/306174/ft2_4FGL_J0811.4+0146_daily_bin381.fits outfile=/scratch/kocevski/306174/cmap_338083201_338342401_4FGL_J0811.4+0146_daily_bin381.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306174/ft1_filtered_4FGL_J0811.4+0146_daily_bin381.fits scfile=/scratch/kocevski/306174/ft2_4FGL_J0811.4+0146_daily_bin381.fits outfile=/scratch/kocevski/306174/cmap_HighResolution_338083201_338342401_4FGL_J0811.4+0146_daily_bin381.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.542       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8998       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.5410       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    21.274       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14661E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.858       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.465       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .27950E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    5.4107       1.0000         .10000E-03   10000.    
    15 'norm      '    .26763       1.0000         .10000E-03   10000.    
    16 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    18.746       1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.307       1.0000         .10000E-03   10000.    
    19 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.462       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.4815       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2202       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66044       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=   5462.695     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2750 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.598        44.980        .63265E-04   -.53016E-05
   2  Prefactor     7.9037        9.0981       -.15013E-05   -.10965E-03
   3  Prefactor     .10000E-03    18.730        .19977E-05** at limit **
   4  norm          6.5408        2.5507       -.62486E-06   -.49897E-03
   5  Prefactor     .10000E-03    13.089       -.28192E-06** at limit **
   6  norm          .10000E-03    7.4801       -.29432E-07** at limit **
   7  Prefactor     .10000E-03    1.2405        .10426E-06** at limit **
   8  norm          21.260        19.161        .69865E-06   -.22507E-04
   9  Prefactor     .10004E-03    10.467        .11415E-06** at limit **
  10  Prefactor     12.826        329.91       -.83770E-04    .35941E-07
  11  Prefactor     11.456        10.709       -.16892E-05   -.55228E-03
  12  Prefactor     .10000E-03    18.900       -.15808E-05** at limit **
  13  norm          .10190E-03    11.782        .35215E-05** at limit **
  14  norm          5.4103        3.2018        .18487E-06   -.17531E-03
  15  norm          .26871        .99044       -.32828E-06   -.10459E-02
  16  norm          .10000E-03    6.2970        .66817E-07** at limit **
  17  norm          18.740        6.4837        .73201E-06   -.66374E-03
  18  Prefactor     43.288        37.598       -.12827E-04   -.91627E-05
  19  norm          .10000E-03    9.7232       -.18503E-07** at limit **
  20  Prefactor     13.453        14.385        .51360E-06    .21837E-05
  21  norm          .10000E-03    .37364        .16294E-07** at limit **
  22  norm          7.4808        7.4739       -.14369E-06   -.87434E-04
  23  Normalizat    1.2208        .20670        .40713E-05   -.58210E-03
  24  Prefactor     .66001        .12626       -.36442E-05   -.77899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.5978
  Prefactor  = 7.90366
  Prefactor  = 0.0001
  norm       = 6.54078
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 21.2601
  Prefactor  = 0.000100045
  Prefactor  = 12.8262
  Prefactor  = 11.4558
  Prefactor  = 0.0001
  norm       = 0.000101898
  norm       = 5.41035
  norm       = 0.268712
  norm       = 0.0001
  norm       = 18.7401
  Prefactor  = 43.2876
  norm       = 0.0001
  Prefactor  = 13.4535
  norm       = 0.0001
  norm       = 7.48078
  Normalizat = 1.22084
  Prefactor  = 0.660005
 **********
 **   18 **HESSE 
 **********

 FCN=   5462.695     FROM HESSE     STATUS=OK           403 CALLS     3153 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.598        44.910        .79263E-04   -1.4696    
   2  Prefactor     7.9037        9.1135        .14266E-03   -1.5146    
   3  Prefactor     .10000E-03    18.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5408        2.5502        .69248E-04   -1.5196    
   5  Prefactor     .10000E-03    13.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.4957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.2451        .80370E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          21.260        17.175        .86839E-04   -1.4785    
   9  Prefactor     .10004E-03    46.735        .41136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.826        330.63        .11171E-03   -1.4992    
  11  Prefactor     11.456        10.376        .11831E-03   -1.5031    
  12  Prefactor     .10000E-03    18.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10190E-03    100.66        .45600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.4103        3.1490        .92349E-04   -1.5243    
  15  norm          .26871        1.3190        .12558E-02   -1.5604    
  16  norm          .10000E-03    6.2994        .18113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.740        6.4310        .92505E-04   -1.4842    
  18  Prefactor     43.288        37.670        .60919E-04   -1.4391    
  19  norm          .10000E-03    9.7290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.453        14.446        .10917E-03   -1.4974    
  21  norm          .10000E-03    .38237        .88103E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.4808        7.4710        .14663E-03   -1.5161    
  23  Normalizat    1.2208        .23210        .26412E-03   -.85961    
  24  Prefactor     .66001        .14241        .21787E-03   -1.0512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05984e-08
Minuit parameter uncertainties:
  1  44.9691
  2  9.11514
  3  8.18042e-05
  4  2.55021
  5  4.67626e-06
  6  1.04051e-05
  7  1.09184e-05
  8  17.179
  9  0.00289913
  10  131.055
  11  10.3775
  12  3.54787e-05
  13  0.0276928
  14  3.14908
  15  1.19052
  16  2.56728e-05
  17  6.43125
  18  37.6909
  19  4.95095e-06
  20  14.4502
  21  6.65371e-07
  22  7.47192
  23  0.232299
  24  0.142493
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.874e+01  6.431e+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:  6.600e-01  1.425e-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.221e+00  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.12
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 1.34e-07 +/- 4.61e-08
Energy Flux (Fixed Index): 7.97e-05 +/- 2.73e-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) = 5460.73057244
delta logL = 1.96411330741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5460.72983202
delta logL = 1.96485372939

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.471       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7483       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71247       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=   5460.730     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      284 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.471        6.1804        .68170E-04   -.38690E-03
   2  alpha         2.7483        .39610        .57514E-02   -.35069E-04
   3  Normalizat    1.0764        .23335        .27750E-03    .24990E-05
   4  Prefactor     .71247        .14062        .21008E-03    .40749E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.4714
  alpha      = 2.7483
  Normalizat = 1.07638
  Prefactor  = 0.712472
 **********
 **   18 **HESSE 
 **********

 FCN=   5460.730     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.471        5.8490        .27268E-05   -1.5002    
   2  alpha         2.7483        .37468        .23005E-03    .99483E-01
   3  Normalizat    1.0764        .23281        .11100E-04   -.90514    
   4  Prefactor     .71247        .14050        .84033E-05   -1.0304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91871e-11
Minuit parameter uncertainties:
  1  5.84925
  2  0.376109
  3  0.233035
  4  0.140567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306174': 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) = 5460.72983202
delta logL = 1.96485373278

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.247e+01  5.849e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.748e+00  3.761e-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:  7.125e-01  1.406e-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.076e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 37.57
Ra Dec: 122.861 1.776
Photon Index (Free Index): 2.75 +/- 0.38
Photon Flux (Free Index): 2.56e-07 +/- 9.12e-08
Energy Flux (Free Index): 6.26e-05 +/- 1.76e-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/306174/cmap_HighResolution_338083201_338342401_4FGL_J0811.4+0146_daily_bin381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.34e-07', energy_flux2='6.26e-05', photon_flux_error='4.61e-08', dlogl='1.96e+00', energy_flux='7.97e-05', photon_flux2='2.56e-07', job_status='DONE', time_completed='2021-08-29 12:23:36.998538', photon_index_error2='0.38', photon_index2='2.75', ts='33.12', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='1.76e-05', EG='1.22', time_epoch_completed='1630265017.0', return_code='0', job_id='306174', GAL2='0.71', EG2='1.08', return_code2='0', energy_flux_error='2.73e-05', photon_flux_error2='9.12e-08', ts2='37.57', photon_index='2.01' WHERE bin_id='381' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:23:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 306174: <4FGL_J0811.4+0146_daily_bin381> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin381> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:10:24 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:10:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 12:10:27 2021
Terminated at Sun Aug 29 12:23:37 2021
Results reported at Sun Aug 29 12:23:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin381 122.861 1.7756 338083201 338342401 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             229.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            793 sec.

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

