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


Performing analysis on: 4FGL_J0811.4+0146_daily_bin249
RA = 122.861, Dec = 1.7756
tmin = 303868801, tmax = 304128001
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='304538', job_status='RUN', time_executed='2021-08-29 12:08:03.675985', time_epoch_executed='1630264083.68' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='249'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304538

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304538/ft1_4FGL_J0811.4+0146_daily_bin249.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304538/ft2_4FGL_J0811.4+0146_daily_bin249.fits


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

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

Done.
real 3.88
user 3.21
sys 0.65

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/304538/ft2_4FGL_J0811.4+0146_daily_bin249.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/304538/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin249.fits evtable="EVENTS" outfile="/scratch/kocevski/304538/ft1_filtered_4FGL_J0811.4+0146_daily_bin249.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.01
user 0.32
sys 0.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304538/ft1_filtered_4FGL_J0811.4+0146_daily_bin249.fits" evtable="EVENTS" scfile=/scratch/kocevski/304538/ft2_4FGL_J0811.4+0146_daily_bin249.fits sctable="SC_DATA" outfile=/scratch/kocevski/304538/ltcube_303868801_304128001_4FGL_J0811.4+0146_daily_bin249.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/304538/ft2_4FGL_J0811.4+0146_daily_bin249.fits
.....................!
real 12.54
user 11.68
sys 0.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304538/ft1_filtered_4FGL_J0811.4+0146_daily_bin249.fits evtable="EVENTS" scfile=/scratch/kocevski/304538/ft2_4FGL_J0811.4+0146_daily_bin249.fits sctable="SC_DATA" expcube=/scratch/kocevski/304538/ltcube_303868801_304128001_4FGL_J0811.4+0146_daily_bin249.fits outfile=/scratch/kocevski/304538/expmap_303868801_304128001_4FGL_J0811.4+0146_daily_bin249.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/304538/ltcube_303868801_304128001_4FGL_J0811.4+0146_daily_bin249.fits
.....................!
real 191.27
user 185.05
sys 5.72

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/304538/ft1_filtered_4FGL_J0811.4+0146_daily_bin249.fits scfile=/scratch/kocevski/304538/ft2_4FGL_J0811.4+0146_daily_bin249.fits outfile=/scratch/kocevski/304538/cmap_303868801_304128001_4FGL_J0811.4+0146_daily_bin249.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.96
user 0.37
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304538/ft1_filtered_4FGL_J0811.4+0146_daily_bin249.fits scfile=/scratch/kocevski/304538/ft2_4FGL_J0811.4+0146_daily_bin249.fits outfile=/scratch/kocevski/304538/cmap_HighResolution_303868801_304128001_4FGL_J0811.4+0146_daily_bin249.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.97
user 0.37
sys 0.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4879       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.2530       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.9531       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.8018       1.0000         .10000E-03   10000.    
     8 'norm      '    26.224       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10845E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .58539E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.296       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.0968       1.0000         .10000E-03   10000.    
    16 'norm      '    10.083       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .38419E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17628E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    2.9817       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1173       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97972       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=   7949.895     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2725 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.569        .43784E-06** at limit **
   2  Prefactor     6.4879        6.3067       -.18226E-06    .59043E-04
   3  Prefactor     .10000E-03    68.287        .13055E-06** at limit **
   4  norm          7.2531        2.5457       -.10306E-06   -.62497E-03
   5  Prefactor     .10000E-03    12.646        .38411E-07** at limit **
   6  norm          3.9531        14.492       -.35491E-05    .39025E-05
   7  Prefactor     7.7850        5.8978       -.70210E-06    .27198E-03
   8  norm          26.223        20.063        .15430E-06    .33560E-04
   9  Prefactor     .10000E-03    8.0124        .18742E-07** at limit **
  10  Prefactor     .10000E-03    823.42       -.11911E-05** at limit **
  11  Prefactor     18.295        9.2064        .23639E-07   -.26067E-04
  12  Prefactor     .10001E-03    22.555       -.21524E-05** at limit **
  13  norm          .10000E-03    6.2562       -.21087E-06** at limit **
  14  norm          .10000E-03    .93374       -.69418E-07** at limit **
  15  norm          7.0971        1.5834       -.38289E-08    .50054E-04
  16  norm          10.073        20.939        .62174E-06    .52569E-04
  17  norm          .10000E-03    .88426       -.84248E-07** at limit **
  18  Prefactor     .10000E-03    24.560       -.14579E-05** at limit **
  19  norm          .10001E-03    15.056        .22031E-05** at limit **
  20  Prefactor     .10000E-03    77.553       -.17257E-04** at limit **
  21  norm          2.9819        1.5192       -.60254E-07    .12309E-03
  22  norm          .10000E-03    3.3508        .17048E-07** at limit **
  23  Normalizat    1.1173        .20153        .77829E-06    .11322E-03
  24  Prefactor     .97973        .12174       -.24085E-06   -.49052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.48785
  Prefactor  = 0.000100001
  norm       = 7.25309
  Prefactor  = 0.0001
  norm       = 3.95308
  Prefactor  = 7.78499
  norm       = 26.2233
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 18.2955
  Prefactor  = 0.000100006
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.09711
  norm       = 10.0732
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100014
  Prefactor  = 0.000100004
  norm       = 2.98194
  norm       = 0.0001
  Normalizat = 1.11727
  Prefactor  = 0.979727
 **********
 **   18 **HESSE 
 **********

 FCN=   7949.895     FROM HESSE     STATUS=OK           401 CALLS     3126 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4879        6.3087        .15756E-03   -1.5198    
   3  Prefactor     .10000E-03    68.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.2531        2.5489        .79085E-04   -1.5169    
   5  Prefactor     .10000E-03    12.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9531        14.613        .10144E-02   -1.5310    
   7  Prefactor     7.7850        5.9140        .71780E-03   -1.5150    
   8  norm          26.223        20.049        .78228E-04   -1.4683    
   9  Prefactor     .10000E-03    8.0284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    825.45        .18977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.295        9.2027        .93635E-04   -1.4852    
  12  Prefactor     .10001E-03    23.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.3032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .94276        .84085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.0971        1.5807        .50502E-04   -1.5175    
  16  norm          10.073        21.007        .12619E-03   -1.5073    
  17  norm          .10000E-03    .88615        .81911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    54.084        .63507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    77.367        .52481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.9819        1.5246        .72684E-04   -1.5363    
  22  norm          .10000E-03    3.3627        .15937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1173        .22697        .32475E-03   -.89199    
  24  Prefactor     .97973        .13918        .21559E-03   -.93408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4846e-10
Minuit parameter uncertainties:
  1  5.42073e-05
  2  6.30934
  3  0.000453011
  4  2.54898
  5  7.04686e-06
  6  14.6266
  7  5.9144
  8  20.0543
  9  7.4007e-06
  10  0.00379265
  11  9.20339
  12  0.000714089
  13  3.19658e-05
  14  4.22451e-06
  15  1.58068
  16  21.0224
  17  5.36348e-06
  18  0.000211406
  19  0.00175124
  20  0.00105428
  21  1.52464
  22  1.59293e-06
  23  0.227172
  24  0.139233
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  5.363e-06  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  2.005e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  6.882e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.797e-01  1.392e-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.117e+00  2.272e-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: 3.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/304538/likelihoodResults_303868801_304128001_4FGL_J0811.4+0146_daily_bin249.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) = 7949.90000213
delta logL = -0.00513121179847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7949.894874
delta logL = -3.07541540678e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9983       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97958       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=   7949.895     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      227 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9393        .82088E-03** at limit **
   2  alpha         1.8001        2.9287        .16900        .71978E-08
   3  Normalizat    1.1173        .21143        .32475E-03    .14521E-03
   4  Prefactor     .97973        .13326        .21559E-03    .24260E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.8001
  Normalizat = 1.11727
  Prefactor  = 0.979729
 **********
 **   18 **HESSE 
 **********

 FCN=   7949.895     FROM HESSE     STATUS=OK            23 CALLS      250 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .91520        .16418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8001        3.0226        .67601E-02   -.28375    
   3  Normalizat    1.1173        .21156        .12990E-04   -.89199    
   4  Prefactor     .97973        .13334        .43118E-04   -.93408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35733e-11
Minuit parameter uncertainties:
  1  4.79962e-06
  2  106.732
  3  0.21172
  4  0.133384
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304538': 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) = 7949.89486913
delta logL = 1.78855589184e-06

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  1.000e-04  4.800e-06  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.800e+00  1.067e+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:  9.797e-01  1.334e-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.117e+00  2.117e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/304538/cmap_HighResolution_303868801_304128001_4FGL_J0811.4+0146_daily_bin249.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-05', job_status='DONE', photon_flux_upper_limit='3.61e-08', time_completed='2021-08-29 12:20:17.053333', job_id='304538', GAL2='0.98', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1630264817.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.79e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='249' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:20:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0045>
Subject: Job 304538: <4FGL_J0811.4+0146_daily_bin249> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin249> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 12:05:17 2021
Job was executed on host(s) <bullet0045>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:05:19 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:05:19 2021
Terminated at Sun Aug 29 12:20:17 2021
Results reported at Sun Aug 29 12:20:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin249 122.861 1.7756 303868801 304128001 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 :                                   739.00 sec.
    Max Memory :                                 1249 MB
    Average Memory :                             273.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

