/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 195 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 = 7420
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0811.4+0146_daily_bin95
RA = 122.861, Dec = 1.7756
tmin = 263952001, tmax = 264211201
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='303009', job_status='RUN', time_executed='2021-08-29 12:05:22.081592', time_epoch_executed='1630263922.08' WHERE source_name='4FGL J0811.4+0146' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/303009

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/303009/ft1_4FGL_J0811.4+0146_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/303009/ft2_4FGL_J0811.4+0146_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/303009/ft1_4FGL_J0811.4+0146_daily_bin95.fits outfile=/scratch/kocevski/303009/ft1_filteredMKT_4FGL_J0811.4+0146_daily_bin95.fits ra=122.861 dec=1.7756 rad=12.0 tmin=263952001.0 tmax=264211201.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.93
user 1.52
sys 5.33

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/303009/ft1_filtered_4FGL_J0811.4+0146_daily_bin95.fits" evtable="EVENTS" scfile=/scratch/kocevski/303009/ft2_4FGL_J0811.4+0146_daily_bin95.fits sctable="SC_DATA" outfile=/scratch/kocevski/303009/ltcube_263952001_264211201_4FGL_J0811.4+0146_daily_bin95.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/303009/ft2_4FGL_J0811.4+0146_daily_bin95.fits
.....................!
real 18.58
user 12.41
sys 6.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/303009/ft1_filtered_4FGL_J0811.4+0146_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/303009/ft2_4FGL_J0811.4+0146_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/303009/ltcube_263952001_264211201_4FGL_J0811.4+0146_daily_bin95.fits outfile=/scratch/kocevski/303009/expmap_263952001_264211201_4FGL_J0811.4+0146_daily_bin95.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/303009/ltcube_263952001_264211201_4FGL_J0811.4+0146_daily_bin95.fits
.....................!
real 201.90
user 185.62
sys 11.33

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/303009/ft1_filtered_4FGL_J0811.4+0146_daily_bin95.fits scfile=/scratch/kocevski/303009/ft2_4FGL_J0811.4+0146_daily_bin95.fits outfile=/scratch/kocevski/303009/cmap_263952001_264211201_4FGL_J0811.4+0146_daily_bin95.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 7.79
user 0.38
sys 5.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/303009/ft1_filtered_4FGL_J0811.4+0146_daily_bin95.fits scfile=/scratch/kocevski/303009/ft2_4FGL_J0811.4+0146_daily_bin95.fits outfile=/scratch/kocevski/303009/cmap_HighResolution_263952001_264211201_4FGL_J0811.4+0146_daily_bin95.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 9.58
user 0.38
sys 5.28

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4840       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.9059       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2778       1.0000         .10000E-03   10000.    
     8 'norm      '    4.3707       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9226       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.8899       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.875       1.0000         .10000E-03   10000.    
    13 'norm      '    8.5397       1.0000         .10000E-03   10000.    
    14 'norm      '    .97120       1.0000         .10000E-03   10000.    
    15 'norm      '    19.857       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4279       1.0000         .10000E-03   10000.    
    17 'norm      '    4.5917       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5954       1.0000         .10000E-03   10000.    
    19 'norm      '    24.455       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .24643E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90194       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89376       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=   6951.460     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2347 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.704        .85777E-06** at limit **
   2  Prefactor     6.4841        6.3993        .70242E-07    .49099E-05
   3  Prefactor     .10000E-03    23.093       -.55942E-06** at limit **
   4  norm          5.9059        2.1614        .20360E-07   -.12152E-04
   5  Prefactor     .10000E-03    7.7094        .52863E-07** at limit **
   6  norm          .10000E-03    4.1316       -.38153E-07** at limit **
   7  Prefactor     7.2794        5.3371        .18741E-05   -.38048E-03
   8  norm          4.4359        49.890        .29818E-05   -.13726E-05
   9  Prefactor     3.8719        36.838       -.41957E-05   -.10629E-04
  10  Prefactor     .10000E-03    73.022        .27098E-05** at limit **
  11  Prefactor     7.8884        8.5672       -.52127E-06   -.82460E-04
  12  Prefactor     12.992        40.333        .33027E-05    .10193E-03
  13  norm          8.5383        9.0256       -.26929E-06   -.34817E-04
  14  norm          .97152        2.0091        .28889E-06    .37120E-03
  15  norm          19.857        2.4224       -.27539E-07   -.15138E-03
  16  norm          1.3417        89.851       -.28867E-05   -.18683E-04
  17  norm          4.5919        3.5225       -.39815E-07    .47943E-04
  18  Prefactor     3.6187        78.664       -.11616E-04    .91061E-05
  19  norm          24.419        27.798        .31978E-05    .74052E-04
  20  Prefactor     .10000E-03    5.6195        .44953E-07** at limit **
  21  norm          .10000E-03    .32743       -.20224E-07** at limit **
  22  norm          .10000E-03    10.539        .61746E-07** at limit **
  23  Normalizat    .90199        .19789        .32847E-07    .29398E-04
  24  Prefactor     .89371        .12288       -.46736E-06    .76813E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.48413
  Prefactor  = 0.0001
  norm       = 5.9059
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.27942
  norm       = 4.4359
  Prefactor  = 3.87187
  Prefactor  = 0.0001
  Prefactor  = 7.88842
  Prefactor  = 12.9923
  norm       = 8.53827
  norm       = 0.971517
  norm       = 19.8569
  norm       = 1.34171
  norm       = 4.59187
  Prefactor  = 3.61872
  norm       = 24.4192
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.901986
  Prefactor  = 0.893714
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.460     FROM HESSE     STATUS=OK           407 CALLS     2754 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4841        6.4037        .15761E-03   -1.5199    
   3  Prefactor     .10000E-03    23.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.9059        2.1616        .70695E-04   -1.5222    
   5  Prefactor     .10000E-03    7.7129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.1335        .16552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.2794        5.4435        .74340E-03   -1.5168    
   8  norm          4.4359        41.715        .19266E-03   -1.5287    
   9  Prefactor     3.8719        31.015        .20369E-03   -1.5314    
  10  Prefactor     .10000E-03    73.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.8884        8.5205        .14275E-03   -1.5146    
  12  Prefactor     12.992        40.745        .11163E-03   -1.4987    
  13  norm          8.5383        9.0259        .13718E-03   -1.5123    
  14  norm          .97152        1.6261        .16144E-02   -1.5511    
  15  norm          19.857        2.4022        .42783E-04   -1.4816    
  16  norm          1.3417        87.213        .36165E-03   -1.5476    
  17  norm          4.5919        3.5191        .13198E-03   -1.5279    
  18  Prefactor     3.6187        72.394        .21311E-03   -1.5327    
  19  norm          24.419        27.970        .81002E-04   -1.4719    
  20  Prefactor     .10000E-03    5.6346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .34020        .93046E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    10.996        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90199        .22791        .32102E-03   -.96390    
  24  Prefactor     .89371        .14154        .21047E-03   -.96361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36077e-10
Minuit parameter uncertainties:
  1  3.68875e-05
  2  6.4044
  3  1.89355e-05
  4  2.16159
  5  2.53575e-06
  6  1.20841e-07
  7  5.44387
  8  27.2307
  9  21.9323
  10  0.00016037
  11  8.52183
  12  40.8328
  13  9.0273
  14  1.62613
  15  2.40226
  16  21.6668
  17  3.51928
  18  32.4158
  19  27.9846
  20  9.50822e-06
  21  1.11952e-06
  22  1.57743e-05
  23  0.228156
  24  0.141601
Done.

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

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.592e+00  3.519e+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:  8.937e-01  1.416e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  9.020e-01  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.58
Ra Dec: 122.861 1.776
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 3.29e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.50e-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) = 6951.37412693
delta logL = 0.0854304962641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6951.37349149
delta logL = 0.0860659371328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6120       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7395       1.0000          .0000       5.0000    
     3 'Normalizat'    .91091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89084       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=   6951.373     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      201 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6279        10.844        .46855E-02   -.75563E-05
   2  alpha         1.7426        1.3697        .43862       -.15194E-04
   3  Normalizat    .91072        .19158        .72240E-01    .19407E-04
   4  Prefactor     .89087        .12255        .44888E-01    .65266E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.62794
  alpha      = 1.74257
  Normalizat = 0.910722
  Prefactor  = 0.890875
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.373     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6279        3.6174        .13487E-03   -1.5278    
   2  alpha         1.7426        .60584        .16201E-01   -.30781    
   3  Normalizat    .91072        .20820        .31965E-03   -.96084    
   4  Prefactor     .89087        .13642        .21077E-03   -.96461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48499e-10
Minuit parameter uncertainties:
  1  3.61761
  2  0.61257
  3  0.208383
  4  0.136468
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/303009': 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) = 6951.3734727
delta logL = 0.0860847289086

Extracting fit parameters...

4FGL J0811.4+0146
   Spectrum: LogParabola
272         norm:  4.628e+00  3.618e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        alpha:  1.743e+00  6.126e-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:  8.909e-01  1.365e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  9.107e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.74
Ra Dec: 122.861 1.776
Photon Index (Free Index): 1.74 +/- 0.61
Photon Flux (Free Index): 2.52e-08 +/- 2.57e-08
Energy Flux (Free Index): 2.63e-05 +/- 2.95e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/303009/cmap_HighResolution_263952001_264211201_4FGL_J0811.4+0146_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.29e-08', energy_flux2='2.63e-05', photon_flux_error='2.52e-08', dlogl='8.61e-02', energy_flux='1.95e-05', photon_flux2='2.52e-08', job_status='DONE', time_completed='2021-08-29 12:16:39.838489', photon_index_error2='0.61', photon_index2='1.74', ts='4.58', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.95e-05', EG='0.90', time_epoch_completed='1630264599.84', return_code='0', job_id='303009', GAL2='0.89', EG2='0.91', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='2.57e-08', ts2='4.74', photon_index='2.01' WHERE bin_id='95' AND source_name='4FGL J0811.4+0146' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 12:16:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 303009: <4FGL_J0811.4+0146_daily_bin95> in cluster <slac> Done

Job <4FGL_J0811.4+0146_daily_bin95> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 12:00:28 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 12:00:30 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:00:30 2021
Terminated at Sun Aug 29 12:16:41 2021
Results reported at Sun Aug 29 12:16:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0811.4+0146_daily_bin95 122.861 1.7756 263952001 264211201 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 :                                   747.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            973 sec.

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

