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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin44
RA = 32.8091, Dec = 10.8569
tmin = 250732801, tmax = 250992001
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='185055', job_status='RUN', time_executed='2021-08-15 10:51:57.337320', time_epoch_executed='1629049917.34' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='44'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/185055

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/185055/ft1_4FGL_J0211.2+1051_daily_bin44.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/185055/ft1_4FGL_J0211.2+1051_daily_bin44.fits outfile=/scratch/kocevski/185055/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin44.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=250732801.0 tmax=250992001.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.90
user 1.26
sys 2.59

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.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/185055/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin44.fits evtable="EVENTS" outfile="/scratch/kocevski/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 2.98
user 0.33
sys 2.59

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits" evtable="EVENTS" scfile=/scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits sctable="SC_DATA" outfile=/scratch/kocevski/185055/ltcube_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.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/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits
.....................!
real 15.61
user 12.53
sys 3.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits sctable="SC_DATA" expcube=/scratch/kocevski/185055/ltcube_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.fits outfile=/scratch/kocevski/185055/expmap_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.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/185055/ltcube_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.fits
.....................!
real 194.38
user 185.59
sys 8.30

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J0211.2+1051 @ 32.8091 10.8569

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits scfile=/scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits outfile=/scratch/kocevski/185055/cmap_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.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=32.8091 yref=10.8569 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 2.93
user 0.39
sys 2.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits scfile=/scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits outfile=/scratch/kocevski/185055/cmap_HighResolution_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.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=32.8091 yref=10.8569 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 2.97
user 0.40
sys 2.54

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/185055/Model_4FGL_J0211.2+1051_daily_bin44.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/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits.....................!
real 91.27
user 86.59
sys 4.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits', '/scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits', expMap='/scratch/kocevski/185055/expmap_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.fits', expCube='/scratch/kocevski/185055/ltcube_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/185055/Model_4FGL_J0211.2+1051_daily_bin44.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0211.2+1051'

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  8.760e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/185055/ft1_filtered_4FGL_J0211.2+1051_daily_bin44.fits
Spacecraft file(s): /scratch/kocevski/185055/ft2_4FGL_J0211.2+1051_daily_bin44.fits
Exposure map: /scratch/kocevski/185055/expmap_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.fits
Exposure cube: /scratch/kocevski/185055/ltcube_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/185055/Model_4FGL_J0211.2+1051_daily_bin44.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) = 7264.2765301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    28.944       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .39933       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0912       1.0000         .10000E-03   10000.    
     5 'norm      '    7.7267       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .82617       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0575       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.877       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.184       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.7955       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    35.293       1.0000         .10000E-03   10000.    
    20 'norm      '    10.270       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .29437       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .80101       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0132       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+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=   7264.267     FROM MIGRAD    STATUS=CONVERGED   1026 CALLS     3346 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1809        .90339E-03** at limit **
   2  norm          28.932        18.476        .74469E-04    .56791E-04
   3  Prefactor     .42399        24.306        .37646E-02   -.73276E-03
   4  Prefactor     2.0900        2.7025        .15083E-03   -.62801E-03
   5  norm          7.7219        5.0802        .14426E-03   -.60066E-03
   6  Prefactor     .10000E-03    6.1728        .18142E-02** at limit **
   7  Prefactor     .82735        2.2236        .19716E-03   -.65158E-03
   8  norm          1.0575        .83644        .67905E-03   -.13112E-03
   9  Prefactor     .10000E-03    14.389        .18142E-02** at limit **
  10  Prefactor     47.933        36.746        .57951E-04    .45278E-04
  11  Prefactor     .10000E-03    3.8682        .16299E-02** at limit **
  12  Prefactor     .10000E-03    14.428        .18142E-02** at limit **
  13  Prefactor     .10000E-03    6.5573        .18142E-02** at limit **
  14  Prefactor     11.174        18.560        .11980E-03    .37960E-05
  15  Prefactor     .10000E-03    2.7960        .13908E-02** at limit **
  16  Prefactor     .10000E-03    5.9373        .18142E-02** at limit **
  17  norm          2.7955        .72411        .35251E-04   -.10949E-02
  18  Prefactor     .10000E-03    23.281        .18142E-02** at limit **
  19  Prefactor     35.296        18.048        .67457E-04   -.15127E-03
  20  norm          10.289        12.461        .12503E-03   -.29533E-03
  21  Prefactor     .10000E-03    21.998        .18142E-02** at limit **
  22  Prefactor     .27550        25.145        .12364        .23872E-03
  23  Prefactor     .10000E-03    15.061        .18142E-02** at limit **
  24  Normalizat    .80089        .20513        .33319E-03   -.48506E-03
  25  Prefactor     1.0132        .12256        .18140E-03   -.85363E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 28.9315
  Prefactor  = 0.423986
  Prefactor  = 2.09002
  norm       = 7.7219
  Prefactor  = 0.0001
  Prefactor  = 0.827353
  norm       = 1.05754
  Prefactor  = 0.0001
  Prefactor  = 47.9332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.79554
  Prefactor  = 0.0001
  Prefactor  = 35.2964
  norm       = 10.2886
  Prefactor  = 0.0001
  Prefactor  = 0.275503
  Prefactor  = 0.0001
  Normalizat = 0.800886
  Prefactor  = 1.01324
 **********
 **   18 **HESSE 
 **********

 FCN=   7264.267     FROM HESSE     STATUS=OK           415 CALLS     3761 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1809        .18068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          28.932        18.453        .29788E-05   -1.4632    
   3  Prefactor     .42399        24.215        .15058E-03   -1.5578    
   4  Prefactor     2.0900        2.7021        .60332E-05   -1.5419    
   5  norm          7.7219        5.0683        .57704E-05   -1.5152    
   6  Prefactor     .10000E-03    6.1746        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .82735        2.2230        .78864E-05   -1.5526    
   8  norm          1.0575        .83604        .27162E-04   -1.5502    
   9  Prefactor     .10000E-03    14.390        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.933        36.739        .11590E-04   -1.4322    
  11  Prefactor     .10000E-03    3.8692        .32598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.428        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5625        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.174        18.558        .47919E-05   -1.5039    
  15  Prefactor     .10000E-03    2.7961        .27815E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.9382        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7955        .72402        .14101E-05   -1.5374    
  18  Prefactor     .10000E-03    23.282        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.296        18.046        .13491E-04   -1.4519    
  20  norm          10.289        12.458        .50013E-05   -1.5066    
  21  Prefactor     .10000E-03    22.003        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .27550        24.499        .12625       -1.5603    
  23  Prefactor     .10000E-03    15.062        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .80089        .20501        .13328E-04   -1.0004    
  25  Prefactor     1.0132        .12260        .36279E-04   -.92290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41271e-09
Minuit parameter uncertainties:
  1  5.76517e-06
  2  18.4566
  3  6.41037
  4  2.70223
  5  5.06858
  6  1.14279e-05
  7  2.22326
  8  0.836053
  9  0.00010846
  10  36.7562
  11  1.93059e-05
  12  3.95999e-05
  13  5.47143e-05
  14  18.5672
  15  9.24642e-06
  16  1.97146e-05
  17  0.724022
  18  8.21308e-05
  19  18.0493
  20  12.4612
  21  2.08924e-05
  22  5.19724
  23  0.000123733
  24  0.205204
  25  0.122637
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  7.722e+00  5.069e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.013e+00  1.226e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  8.009e-01  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.29
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 5.12e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.84e-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) = 7263.38962772
delta logL = 0.877831682124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7263.38752069
delta logL = 0.879938710549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5013       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9134       1.0000          .0000       5.0000    
     3 'Normalizat'    .74630       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7263.388     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      241 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5013        39.372        .47442E-02    .44288E-03
   2  alpha         2.9134        3.9193        .27305        .72679E-04
   3  Normalizat    .74634        .83748E-01    .77634E-01    .29797E-04
   4  Prefactor     1.0314        .43490E-01    .41149E-01   -.57139E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50134
  alpha      = 2.91341
  Normalizat = 0.746337
  Prefactor  = 1.0314
 **********
 **   18 **HESSE 
 **********

 FCN=   7263.388     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5013        5.2486        .89640E-04   -1.5284    
   2  alpha         2.9134        .82121        .10604E-01    .16613    
   3  Normalizat    .74634        .20384        .34369E-03   -1.0209    
   4  Prefactor     1.0314        .12198        .17986E-03   -.91690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09017e-09
Minuit parameter uncertainties:
  1  5.24918
  2  0.837205
  3  0.20405
  4  0.12201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/185055': 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) = 7263.38752067
delta logL = 0.879938731858

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  4.501e+00  5.249e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.913e+00  8.372e-01  0.000e+00  5.000e+00 ( 1.000e+00)
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.031e+00  1.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  7.463e-01  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.09
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.91 +/- 0.84
Photon Flux (Free Index): 9.96e-08 +/- 5.86e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.20e-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/185055/cmap_HighResolution_250732801_250992001_4FGL_J0211.2+1051_daily_bin44.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.12e-08', energy_flux2='2.16e-05', photon_flux_error='3.36e-08', dlogl='8.80e-01', energy_flux='2.80e-05', photon_flux2='9.96e-08', job_status='DONE', time_completed='2021-08-15 11:04:57.117271', photon_index_error2='0.84', photon_index2='2.91', ts='4.29', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='0.80', time_epoch_completed='1629050697.12', return_code='0', job_id='185055', GAL2='1.03', EG2='0.75', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='5.86e-08', ts2='6.09', photon_index='2.05' WHERE bin_id='44' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:04:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 185055: <4FGL_J0211.2+1051_daily_bin44> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin44> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 10:50:33 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 10:51:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 10:51:02 2021
Terminated at Sun Aug 15 11:04:58 2021
Results reported at Sun Aug 15 11:04:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin44 32.8091 10.8569 250732801 250992001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0211.2+1051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   811.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            865 sec.

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

