/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 129 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 = 7637
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1380
RA = 32.8091, Dec = 10.8569
tmin = 597024001, tmax = 597283201
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='193918', job_status='RUN', time_executed='2021-08-15 11:18:12.180029', time_epoch_executed='1629051492.18' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193918

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193918/ft1_4FGL_J0211.2+1051_daily_bin1380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193918/ft2_4FGL_J0211.2+1051_daily_bin1380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193918/ft1_4FGL_J0211.2+1051_daily_bin1380.fits outfile=/scratch/kocevski/193918/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1380.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=597024001.0 tmax=597283201.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.85
user 3.38
sys 0.43

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193918/ft1_filtered_4FGL_J0211.2+1051_daily_bin1380.fits" evtable="EVENTS" scfile=/scratch/kocevski/193918/ft2_4FGL_J0211.2+1051_daily_bin1380.fits sctable="SC_DATA" outfile=/scratch/kocevski/193918/ltcube_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.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/193918/ft2_4FGL_J0211.2+1051_daily_bin1380.fits
.....................!
real 13.67
user 13.00
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193918/ft1_filtered_4FGL_J0211.2+1051_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/193918/ft2_4FGL_J0211.2+1051_daily_bin1380.fits sctable="SC_DATA" expcube=/scratch/kocevski/193918/ltcube_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.fits outfile=/scratch/kocevski/193918/expmap_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.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/193918/ltcube_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.fits
.....................!
real 193.01
user 187.40
sys 5.11

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/193918/ft1_filtered_4FGL_J0211.2+1051_daily_bin1380.fits scfile=/scratch/kocevski/193918/ft2_4FGL_J0211.2+1051_daily_bin1380.fits outfile=/scratch/kocevski/193918/cmap_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.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 0.75
user 0.39
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193918/ft1_filtered_4FGL_J0211.2+1051_daily_bin1380.fits scfile=/scratch/kocevski/193918/ft2_4FGL_J0211.2+1051_daily_bin1380.fits outfile=/scratch/kocevski/193918/cmap_HighResolution_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.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 0.80
user 0.38
sys 0.41

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193918/ft1_filtered_4FGL_J0211.2+1051_daily_bin1380.fits', '/scratch/kocevski/193918/ft2_4FGL_J0211.2+1051_daily_bin1380.fits', expMap='/scratch/kocevski/193918/expmap_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.fits', expCube='/scratch/kocevski/193918/ltcube_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193918/Model_4FGL_J0211.2+1051_daily_bin1380.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/193918/ft1_filtered_4FGL_J0211.2+1051_daily_bin1380.fits
Spacecraft file(s): /scratch/kocevski/193918/ft2_4FGL_J0211.2+1051_daily_bin1380.fits
Exposure map: /scratch/kocevski/193918/expmap_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.fits
Exposure cube: /scratch/kocevski/193918/ltcube_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193918/Model_4FGL_J0211.2+1051_daily_bin1380.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) = 7892.92350562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10615E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41869E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3964       1.0000         .10000E-03   10000.    
     5 'norm      '    20.021       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5657       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1039       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.5635       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.071       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.5426       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .65896       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.5122       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11252E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    15.139       1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.921       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .93939       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97636       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.

 FCN=   7892.865     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2917 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1289        .13109E-07** at limit **
   2  norm          .10000E-03    27.360       -.97130E-05** at limit **
   3  Prefactor     .10000E-03    5.2690       -.26335E-06** at limit **
   4  Prefactor     4.3960        2.9817       -.29603E-06   -.36961E-03
   5  norm          20.019        6.9521       -.34852E-07    .11764E-03
   6  Prefactor     .10000E-03    9.6254       -.35677E-06** at limit **
   7  Prefactor     3.5677        2.9055        .10565E-05   -.12070E-04
   8  norm          3.1040        1.0205       -.74407E-08   -.49306E-03
   9  Prefactor     7.5292        30.509       -.27739E-04   -.77347E-04
  10  Prefactor     .10000E-03    25.440        .18274E-04** at limit **
  11  Prefactor     .10000E-03    2.5230       -.22370E-08** at limit **
  12  Prefactor     .10000E-03    40.916       -.36838E-04** at limit **
  13  Prefactor     17.078        11.381        .27793E-05    .10350E-03
  14  Prefactor     .10001E-03    51.111       -.44680E-05** at limit **
  15  Prefactor     7.5454        7.7507        .12441E-05    .90450E-05
  16  Prefactor     .10000E-03    4.5495        .15312E-06** at limit **
  17  norm          .65797        .62643        .10080E-06   -.44477E-03
  18  Prefactor     6.4352        37.785       -.76615E-04   -.13996E-04
  19  Prefactor     .10000E-03    56.057        .51110E-04** at limit **
  20  norm          15.143        12.218        .14478E-05    .58960E-04
  21  Prefactor     14.934        22.944       -.12247E-05   -.48124E-03
  22  Prefactor     .10000E-03    17.826       -.24680E-05** at limit **
  23  Prefactor     .10000E-03    10.489        .43908E-06** at limit **
  24  Normalizat    .93943        .19528        .88521E-06   -.22063E-03
  25  Prefactor     .97638        .10871        .16134E-05   -.35534E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 4.39601
  norm       = 20.0186
  Prefactor  = 0.0001
  Prefactor  = 3.56768
  norm       = 3.10402
  Prefactor  = 7.52916
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0777
  Prefactor  = 0.000100009
  Prefactor  = 7.54539
  Prefactor  = 0.0001
  norm       = 0.657974
  Prefactor  = 6.43516
  Prefactor  = 0.000100003
  norm       = 15.1427
  Prefactor  = 14.9344
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.939427
  Prefactor  = 0.976382
 **********
 **   18 **HESSE 
 **********

 FCN=   7892.865     FROM HESSE     STATUS=OK           427 CALLS     3344 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1305        .92181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    27.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.307        .38860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3960        2.9782        .12009E-03   -1.5289    
   5  norm          20.019        6.9093        .89514E-04   -1.4813    
   6  Prefactor     .10000E-03    9.7500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5677        2.8800        .12274E-03   -1.5330    
   8  norm          3.1040        1.0217        .23017E-04   -1.5356    
   9  Prefactor     7.5292        30.249        .14582E-03   -1.5159    
  10  Prefactor     .10000E-03    25.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5267        .13775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    40.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.078        11.342        .96937E-04   -1.4881    
  14  Prefactor     .10001E-03    52.540        .42898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.5454        7.7412        .14603E-03   -1.5159    
  16  Prefactor     .10000E-03    4.5553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .65797        .58368        .57144E-03   -1.5546    
  18  Prefactor     6.4352        37.899        .15726E-03   -1.5201    
  19  Prefactor     .10000E-03    57.384        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          15.143        12.214        .10294E-03   -1.4929    
  21  Prefactor     14.934        22.515        .51844E-03   -1.4935    
  22  Prefactor     .10000E-03    17.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .93943        .22136        .34397E-03   -.95088    
  25  Prefactor     .97638        .12429        .19225E-03   -.93521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23936e-09
Minuit parameter uncertainties:
  1  9.50732e-07
  2  1.47197e-05
  3  0.000527106
  4  2.97834
  5  6.90958
  6  4.04788e-05
  7  2.88011
  8  1.02174
  9  30.2091
  10  5.58558e-05
  11  2.39396e-06
  12  0.000139329
  13  11.3431
  14  0.00137966
  15  7.74227
  16  2.72273e-05
  17  0.583687
  18  31.2634
  19  0.000760733
  20  12.2165
  21  22.5282
  22  0.000153642
  23  8.53761e-06
  24  0.221578
  25  0.124325
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  2.002e+01  6.910e+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:  9.764e-01  1.243e-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:  9.394e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.50
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 4.58e-08
Energy Flux (Fixed Index): 7.25e-05 +/- 2.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) = 7892.84621361
delta logL = 0.0192111943506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7892.8449067
delta logL = 0.0205181053961

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.775       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1090       1.0000          .0000       5.0000    
     3 'Normalizat'    .93333       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97784       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=   7892.845     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.775        19.399        .22517E-02    .15715E-02
   2  alpha         2.1091        .75463        .21764        .30912E-04
   3  Normalizat    .93334        .19922        .77922E-01    .23300E-04
   4  Prefactor     .97783        .11085        .45990E-01    .33805E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 19.7747
  alpha      = 2.10908
  Normalizat = 0.933345
  Prefactor  = 0.97783
 **********
 **   18 **HESSE 
 **********

 FCN=   7892.845     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.775        6.8736        .90069E-04   -1.4818    
   2  alpha         2.1091        .28900        .89452E-02   -.15701    
   3  Normalizat    .93334        .21467        .34489E-03   -.95298    
   4  Prefactor     .97783        .12193        .19210E-03   -.93472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13401e-10
Minuit parameter uncertainties:
  1  6.87388
  2  0.289664
  3  0.21487
  4  0.121968
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193918': 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) = 7892.84490669
delta logL = 0.02051811818

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.977e+01  6.874e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.109e+00  2.897e-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:  9.778e-01  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:  9.333e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.51
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.11 +/- 0.29
Photon Flux (Free Index): 1.40e-07 +/- 5.97e-08
Energy Flux (Free Index): 6.92e-05 +/- 2.85e-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/193918/cmap_HighResolution_597024001_597283201_4FGL_J0211.2+1051_daily_bin1380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='6.92e-05', photon_flux_error='4.58e-08', dlogl='2.05e-02', energy_flux='7.25e-05', photon_flux2='1.40e-07', job_status='DONE', time_completed='2021-08-15 11:31:13.492933', photon_index_error2='0.29', photon_index2='2.11', ts='22.50', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.85e-05', EG='0.94', time_epoch_completed='1629052273.49', return_code='0', job_id='193918', GAL2='0.98', EG2='0.93', return_code2='0', energy_flux_error='2.50e-05', photon_flux_error2='5.97e-08', ts2='22.51', photon_index='2.05' WHERE bin_id='1380' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:31:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 193918: <4FGL_J0211.2+1051_daily_bin1380> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1380> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 11:15:27 2021
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 11:15:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 11:15:49 2021
Terminated at Sun Aug 15 11:31:14 2021
Results reported at Sun Aug 15 11:31:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1380 32.8091 10.8569 597024001 597283201 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 :                                   734.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            947 sec.

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

