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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1475
RA = 32.8091, Dec = 10.8569
tmin = 621648001, tmax = 621907201
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='194085', job_status='RUN', time_executed='2021-08-15 11:17:20.608524', time_epoch_executed='1629051440.61' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1475'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194085

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194085/ft1_4FGL_J0211.2+1051_daily_bin1475.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194085/ft2_4FGL_J0211.2+1051_daily_bin1475.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194085/ft1_4FGL_J0211.2+1051_daily_bin1475.fits outfile=/scratch/kocevski/194085/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1475.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=621648001.0 tmax=621907201.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.17
user 5.09
sys 1.02

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194085/ft2_4FGL_J0211.2+1051_daily_bin1475.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/194085/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1475.fits evtable="EVENTS" outfile="/scratch/kocevski/194085/ft1_filtered_4FGL_J0211.2+1051_daily_bin1475.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.35
user 0.35
sys 0.96

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194085/ft1_filtered_4FGL_J0211.2+1051_daily_bin1475.fits" evtable="EVENTS" scfile=/scratch/kocevski/194085/ft2_4FGL_J0211.2+1051_daily_bin1475.fits sctable="SC_DATA" outfile=/scratch/kocevski/194085/ltcube_621648001_621907201_4FGL_J0211.2+1051_daily_bin1475.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/194085/ft2_4FGL_J0211.2+1051_daily_bin1475.fits
.....................!
real 14.48
user 13.08
sys 1.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194085/ft1_filtered_4FGL_J0211.2+1051_daily_bin1475.fits evtable="EVENTS" scfile=/scratch/kocevski/194085/ft2_4FGL_J0211.2+1051_daily_bin1475.fits sctable="SC_DATA" expcube=/scratch/kocevski/194085/ltcube_621648001_621907201_4FGL_J0211.2+1051_daily_bin1475.fits outfile=/scratch/kocevski/194085/expmap_621648001_621907201_4FGL_J0211.2+1051_daily_bin1475.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/194085/ltcube_621648001_621907201_4FGL_J0211.2+1051_daily_bin1475.fits
.....................!
real 195.08
user 188.63
sys 5.77

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/194085/ft1_filtered_4FGL_J0211.2+1051_daily_bin1475.fits scfile=/scratch/kocevski/194085/ft2_4FGL_J0211.2+1051_daily_bin1475.fits outfile=/scratch/kocevski/194085/cmap_621648001_621907201_4FGL_J0211.2+1051_daily_bin1475.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 1.35
user 0.40
sys 0.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194085/ft1_filtered_4FGL_J0211.2+1051_daily_bin1475.fits scfile=/scratch/kocevski/194085/ft2_4FGL_J0211.2+1051_daily_bin1475.fits outfile=/scratch/kocevski/194085/cmap_HighResolution_621648001_621907201_4FGL_J0211.2+1051_daily_bin1475.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 1.35
user 0.41
sys 0.92

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    38.942       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22977       1.0000         .10000E-03   10000.    
     5 'norm      '    9.4161       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4969       1.0000         .10000E-03   10000.    
     8 'norm      '    .13354E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.184       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.555       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .83947       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.875       1.0000         .10000E-03   10000.    
    17 'norm      '    2.1665       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3301       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.193       1.0000         .10000E-03   10000.    
    20 'norm      '    5.2063       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97756       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88502       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=   6323.307     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2939 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4841        .34341E-07** at limit **
   2  norm          38.946        21.634        .32954E-05   -.96644E-05
   3  Prefactor     .10000E-03    1.8463       -.13650E-07** at limit **
   4  Prefactor     .23233        1.6951        .35349E-06   -.34522E-03
   5  norm          9.4173        5.4978        .17093E-07   -.13278E-03
   6  Prefactor     .10000E-03    4.1527       -.71002E-07** at limit **
   7  Prefactor     2.4969        1.9960        .11519E-06   -.94585E-04
   8  norm          .73458E-02    .43141        .33858E-06   -.16495E-02
   9  Prefactor     35.178        29.718       -.58273E-05   -.65084E-04
  10  Prefactor     .10000E-03    13.970        .58808E-05** at limit **
  11  Prefactor     .10000E-03    6.2556        .80198E-06** at limit **
  12  Prefactor     .10000E-03    34.170        .26239E-04** at limit **
  13  Prefactor     .10000E-03    2.7679       -.10211E-07** at limit **
  14  Prefactor     32.557        28.833        .37153E-05   -.38863E-04
  15  Prefactor     .83845        .95658        .93958E-07   -.97486E-03
  16  Prefactor     20.877        14.060        .15975E-05    .12952E-03
  17  norm          2.1668        .81243       -.74692E-07    .16986E-02
  18  Prefactor     4.3246        80.628       -.15386E-04   -.27574E-05
  19  Prefactor     12.189        24.256       -.23535E-05   -.39148E-04
  20  norm          5.2091        11.009        .11261E-05    .89147E-05
  21  Prefactor     .10000E-03    19.090       -.16221E-04** at limit **
  22  Prefactor     .10000E-03    14.428        .37859E-06** at limit **
  23  Prefactor     .10000E-03    7.1748       -.11696E-05** at limit **
  24  Normalizat    .97733        .20325        .34506E-06   -.16159E-03
  25  Prefactor     .88507        .11228       -.28403E-06   -.10662E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 38.9459
  Prefactor  = 0.0001
  Prefactor  = 0.232328
  norm       = 9.41731
  Prefactor  = 0.0001
  Prefactor  = 2.49686
  norm       = 0.00734583
  Prefactor  = 35.1784
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.5568
  Prefactor  = 0.838453
  Prefactor  = 20.8766
  norm       = 2.16682
  Prefactor  = 4.3246
  Prefactor  = 12.1888
  norm       = 5.20908
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.977327
  Prefactor  = 0.885072
 **********
 **   18 **HESSE 
 **********

 FCN=   6323.307     FROM HESSE     STATUS=OK           437 CALLS     3376 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4865        .94601E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          38.946        21.644        .64229E-04   -1.4459    
   3  Prefactor     .10000E-03    1.8482        .10551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23233        3.3821        .19675E-02   -1.5612    
   5  norm          9.4173        5.4977        .65300E-03   -1.5094    
   6  Prefactor     .10000E-03    4.1658        .15825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4969        1.9963        .96595E-04   -1.5392    
   8  norm          .73458E-02    1.6570        .17284E-01   -1.5691    
   9  Prefactor     35.178        29.729        .67561E-04   -1.4521    
  10  Prefactor     .10000E-03    13.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.3701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    34.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.7748        .12917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.557        28.834        .70228E-04   -1.4566    
  15  Prefactor     .83845        9.9681        .24001E-02   -1.5525    
  16  Prefactor     20.877        14.218        .87665E-04   -1.4794    
  17  norm          2.1668        .82020        .38070E-04   -1.5414    
  18  Prefactor     4.3246        80.610        .19358E-03   -1.5292    
  19  Prefactor     12.189        24.278        .11472E-03   -1.5010    
  20  norm          5.2091        11.057        .17617E-03   -1.5251    
  21  Prefactor     .10000E-03    19.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.1777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .97733        .23429        .32098E-03   -.93794    
  25  Prefactor     .88507        .12906        .18878E-03   -.96665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60883e-08
Minuit parameter uncertainties:
  1  3.90287e-07
  2  21.6483
  3  2.67165e-06
  4  1.7726
  5  5.49797
  6  2.98875e-07
  7  1.9964
  8  0.219151
  9  29.7413
  10  9.79075e-07
  11  3.25869e-07
  12  7.10973e-06
  13  3.18746e-06
  14  28.846
  15  5.78282
  16  14.22
  17  0.820209
  18  37.4001
  19  24.2976
  20  11.0611
  21  6.77588e-05
  22  3.31339e-05
  23  1.20709e-06
  24  0.234535
  25  0.129108
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  9.417e+00  5.498e+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:  8.851e-01  1.291e-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.773e-01  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.70
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 6.25e-08 +/- 3.65e-08
Energy Flux (Fixed Index): 3.41e-05 +/- 1.99e-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) = 6323.20397072
delta logL = 0.103343159919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6323.20321086
delta logL = 0.104103019627

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.4192       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8493       1.0000          .0000       5.0000    
     3 'Normalizat'    .98584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88359       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=   6323.203     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.4646        7.3391        .32645E-02    .13045E-02
   2  alpha         1.8498        .49553        .31152       -.12172E-04
   3  Normalizat    .98589        .19398        .72284E-01    .14745E-04
   4  Prefactor     .88349        .10951        .44796E-01    .26208E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.46465
  alpha      = 1.84982
  Normalizat = 0.985891
  Prefactor  = 0.883491
 **********
 **   18 **HESSE 
 **********

 FCN=   6323.203     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.4646        5.6987        .65290E-03   -1.5093    
   2  alpha         1.8498        .43246        .12219E-01   -.26310    
   3  Normalizat    .98589        .21782        .31982E-03   -.93505    
   4  Prefactor     .88349        .12338        .18896E-03   -.96720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05546e-12
Minuit parameter uncertainties:
  1  5.69904
  2  0.434804
  3  0.218015
  4  0.123417
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194085': 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) = 6323.20317918
delta logL = 0.104134699295

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  9.465e+00  5.699e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  1.850e+00  4.348e-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:  8.835e-01  1.234e-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.859e-01  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.90
Ra Dec: 32.809 10.857
Photon Index (Free Index): 1.85 +/- 0.43
Photon Flux (Free Index): 5.08e-08 +/- 3.93e-08
Energy Flux (Free Index): 4.22e-05 +/- 3.33e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/194085/cmap_HighResolution_621648001_621907201_4FGL_J0211.2+1051_daily_bin1475.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.25e-08', energy_flux2='4.22e-05', photon_flux_error='3.65e-08', dlogl='1.04e-01', energy_flux='3.41e-05', photon_flux2='5.08e-08', job_status='DONE', time_completed='2021-08-15 11:28:49.738910', photon_index_error2='0.43', photon_index2='1.85', ts='6.70', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='3.33e-05', EG='0.98', time_epoch_completed='1629052129.74', return_code='0', job_id='194085', GAL2='0.88', EG2='0.99', return_code2='0', energy_flux_error='1.99e-05', photon_flux_error2='3.93e-08', ts2='6.90', photon_index='2.05' WHERE bin_id='1475' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:28:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 194085: <4FGL_J0211.2+1051_daily_bin1475> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1475> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 11:15:39 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 11:16:55 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:16:55 2021
Terminated at Sun Aug 15 11:28:50 2021
Results reported at Sun Aug 15 11:28:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1475 32.8091 10.8569 621648001 621907201 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 :                                   694.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            791 sec.

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

