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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin411
RA = 122.861, Dec = 1.7756
tmin = 345859201, tmax = 346118401
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='306226', job_status='RUN', time_executed='2021-08-29 12:14:07.465675', time_epoch_executed='1630264447.47' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/306226

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/306226/ft1_4FGL_J0811.4+0146_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/306226/ft2_4FGL_J0811.4+0146_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/306226/ft1_4FGL_J0811.4+0146_daily_bin411.fits outfile=/scratch/kocevski/306226/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin411.fits ra=122.861 dec=1.7756 rad=12.0 tmin=345859201.0 tmax=346118401.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 4.62
user 3.13
sys 1.47

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/306226/ft1_filtered_4FGL_J0811.4+0146_daily_bin411.fits" evtable="EVENTS" scfile=/scratch/kocevski/306226/ft2_4FGL_J0811.4+0146_daily_bin411.fits sctable="SC_DATA" outfile=/scratch/kocevski/306226/ltcube_345859201_346118401_4FGL_J0811.4+0146_daily_bin411.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/306226/ft2_4FGL_J0811.4+0146_daily_bin411.fits
.....................!
real 14.14
user 12.38
sys 1.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/306226/ft1_filtered_4FGL_J0811.4+0146_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/306226/ft2_4FGL_J0811.4+0146_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/306226/ltcube_345859201_346118401_4FGL_J0811.4+0146_daily_bin411.fits outfile=/scratch/kocevski/306226/expmap_345859201_346118401_4FGL_J0811.4+0146_daily_bin411.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/306226/ltcube_345859201_346118401_4FGL_J0811.4+0146_daily_bin411.fits
.....................!
real 194.04
user 186.86
sys 6.56

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/306226/ft1_filtered_4FGL_J0811.4+0146_daily_bin411.fits scfile=/scratch/kocevski/306226/ft2_4FGL_J0811.4+0146_daily_bin411.fits outfile=/scratch/kocevski/306226/cmap_345859201_346118401_4FGL_J0811.4+0146_daily_bin411.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 1.76
user 0.37
sys 1.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/306226/ft1_filtered_4FGL_J0811.4+0146_daily_bin411.fits scfile=/scratch/kocevski/306226/ft2_4FGL_J0811.4+0146_daily_bin411.fits outfile=/scratch/kocevski/306226/cmap_HighResolution_345859201_346118401_4FGL_J0811.4+0146_daily_bin411.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 1.86
user 0.38
sys 1.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.591       1.0000         .10000E-03   10000.    
     4 'norm      '    6.5660       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.788       1.0000         .10000E-03   10000.    
     6 'norm      '    21.369       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8910       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.479       1.0000         .10000E-03   10000.    
    10 'Prefactor '    125.58       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.2439       1.0000         .10000E-03   10000.    
    15 'norm      '    .35533       1.0000         .10000E-03   10000.    
    16 'norm      '    .13941E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3353       1.0000         .10000E-03   10000.    
    19 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.4385       1.0000         .10000E-03   10000.    
    21 'norm      '    .88123       1.0000         .10000E-03   10000.    
    22 'norm      '    24.908       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4661       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76094       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=   6915.540     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2730 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.678       -.17754E-04** at limit **
   2  Prefactor     .10000E-03    3.7152        .38213E-07** at limit **
   3  Prefactor     17.584        29.503       -.21127E-06   -.35125E-05
   4  norm          6.5655        2.3019        .19491E-06   -.54351E-04
   5  Prefactor     20.788        22.447       -.35130E-06   -.44902E-05
   6  norm          21.368        19.233        .23090E-05   -.16452E-04
   7  Prefactor     1.8905        4.2695        .91790E-07   -.77018E-03
   8  norm          .10000E-03    8.7533        .24899E-06** at limit **
   9  Prefactor     18.468        13.127       -.31618E-05   -.43596E-04
  10  Prefactor     125.57        142.57       -.47628E-05   -.36087E-05
  11  Prefactor     .10000E-03    2.9544        .53697E-07** at limit **
  12  Prefactor     .10000E-03    13.246        .57527E-07** at limit **
  13  norm          .10000E-03    4.0009        .77679E-07** at limit **
  14  norm          2.2436        2.3188        .12430E-06   -.46077E-03
  15  norm          .35533        .64584        .47208E-07   -.27747E-03
  16  norm          .10000E-03    44.005        .88918E-05** at limit **
  17  norm          .10000E-03    2.1742        .38197E-07** at limit **
  18  Prefactor     2.1293        177.12       -.50464E-04   -.10029E-03
  19  norm          .10000E-03    26.318        .20770E-05** at limit **
  20  Prefactor     5.4159        17.649        .51202E-04    .29376E-04
  21  norm          .88084        1.1067       -.36282E-07   -.10876E-02
  22  norm          24.906        10.366       -.39667E-06   -.35188E-04
  23  Normalizat    1.4664        .21415       -.31191E-05    .51440E-04
  24  Prefactor     .76087        .12722       -.82026E-06   -.14398E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5839
  norm       = 6.56553
  Prefactor  = 20.7878
  norm       = 21.3679
  Prefactor  = 1.89045
  norm       = 0.0001
  Prefactor  = 18.4677
  Prefactor  = 125.57
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.24358
  norm       = 0.355332
  norm       = 0.000100004
  norm       = 0.0001
  Prefactor  = 2.12928
  norm       = 0.0001
  Prefactor  = 5.41586
  norm       = 0.880839
  norm       = 24.9064
  Normalizat = 1.46636
  Prefactor  = 0.760866
 **********
 **   18 **HESSE 
 **********

 FCN=   6915.540     FROM HESSE     STATUS=OK           405 CALLS     3135 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.7227        .15653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.584        29.497        .95495E-04   -1.4869    
   4  norm          6.5655        2.3009        .71040E-04   -1.5195    
   5  Prefactor     20.788        22.468        .87848E-04   -1.4796    
   6  norm          21.368        19.367        .86647E-04   -1.4783    
   7  Prefactor     1.8905        4.2378        .24423E-03   -1.5433    
   8  norm          .10000E-03    8.7603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.468        13.088        .93170E-04   -1.4848    
  10  Prefactor     125.57        142.42        .17961E-03   -1.3462    
  11  Prefactor     .10000E-03    2.9673        .13957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.0175        .16244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.2436        2.2964        .12297E-03   -1.5408    
  15  norm          .35533        .50302        .86610E-03   -1.5589    
  16  norm          .10000E-03    44.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.2419        .23942E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1293        181.50        .26833E-03   -1.5416    
  19  norm          .10000E-03    26.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.4159        17.573        .17231E-03   -1.5242    
  21  norm          .88084        .99385        .92036E-03   -1.5520    
  22  norm          24.906        10.363        .80263E-04   -1.4709    
  23  Normalizat    1.4664        .24637        .28166E-03   -.78728    
  24  Prefactor     .76087        .14711        .22936E-03   -1.0119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86109e-09
Minuit parameter uncertainties:
  1  8.55428e-05
  2  6.87043e-06
  3  29.5211
  4  2.30096
  5  22.4773
  6  19.373
  7  4.23844
  8  6.81476e-05
  9  13.0899
  10  142.808
  11  6.87571e-06
  12  5.0968e-05
  13  1.29599e-05
  14  2.29652
  15  0.503026
  16  0.000792027
  17  1.52686e-05
  18  39.441
  19  4.82013e-05
  20  17.59
  21  0.993865
  22  10.3632
  23  0.24657
  24  0.147184
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  1.527e-05  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:  7.609e-01  1.472e-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.466e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/306226/likelihoodResults_345859201_346118401_4FGL_J0811.4+0146_daily_bin411.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) = 6915.54193819
delta logL = -0.00212242813541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6915.53981584
delta logL = -7.42966221878e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0103       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76089       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=   6915.540     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      239 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.3662        .23961E-03** at limit **
   2  alpha         2.1149        3.2552        .16879       -.16570E-07
   3  Normalizat    1.4664        .22775        .28166E-03   -.13298E-03
   4  Prefactor     .76087        .13955        .22936E-03   -.16908E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.11492
  Normalizat = 1.46636
  Prefactor  = 0.760867
 **********
 **   18 **HESSE 
 **********

 FCN=   6915.540     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2660        .47921E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1149        2.7098        .67514E-02   -.15465    
   3  Normalizat    1.4664        .22791        .56331E-04   -.78728    
   4  Prefactor     .76087        .13964        .91742E-05   -1.0119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55017e-11
Minuit parameter uncertainties:
  1  4.10424e-06
  2  162.617
  3  0.228065
  4  0.139705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/306226': 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) = 6915.53981553
delta logL = 2.36584128288e-07

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  4.104e-06  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.115e+00  1.626e+02  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.609e-01  1.397e-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.466e+00  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 122.861 1.776

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/306226/cmap_HighResolution_345859201_346118401_4FGL_J0811.4+0146_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-05', job_status='DONE', photon_flux_upper_limit='5.07e-08', time_completed='2021-08-29 12:25:47.857020', job_id='306226', GAL2='0.76', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1630265147.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.37e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='411' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:25:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 306226: <4FGL_J0811.4+0146_daily_bin411> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin411> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 12:10:29 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:10:31 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:31 2021
Terminated at Sun Aug 29 12:25:48 2021
Results reported at Sun Aug 29 12:25:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin411 122.861 1.7756 345859201 346118401 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.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             269.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

