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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1423
RA = 32.8091, Dec = 10.8569
tmin = 608169601, tmax = 608428801
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='193996', job_status='RUN', time_executed='2021-08-15 11:16:47.776496', time_epoch_executed='1629051407.78' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1423'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193996

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193996/ft1_4FGL_J0211.2+1051_daily_bin1423.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193996/ft2_4FGL_J0211.2+1051_daily_bin1423.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193996/ft1_4FGL_J0211.2+1051_daily_bin1423.fits outfile=/scratch/kocevski/193996/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1423.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=608169601.0 tmax=608428801.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 4.47
user 3.47
sys 0.95

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193996/ft2_4FGL_J0211.2+1051_daily_bin1423.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/193996/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1423.fits evtable="EVENTS" outfile="/scratch/kocevski/193996/ft1_filtered_4FGL_J0211.2+1051_daily_bin1423.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.27
user 0.34
sys 0.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193996/ft1_filtered_4FGL_J0211.2+1051_daily_bin1423.fits" evtable="EVENTS" scfile=/scratch/kocevski/193996/ft2_4FGL_J0211.2+1051_daily_bin1423.fits sctable="SC_DATA" outfile=/scratch/kocevski/193996/ltcube_608169601_608428801_4FGL_J0211.2+1051_daily_bin1423.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/193996/ft2_4FGL_J0211.2+1051_daily_bin1423.fits
.....................!
real 16.08
user 14.89
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193996/ft1_filtered_4FGL_J0211.2+1051_daily_bin1423.fits evtable="EVENTS" scfile=/scratch/kocevski/193996/ft2_4FGL_J0211.2+1051_daily_bin1423.fits sctable="SC_DATA" expcube=/scratch/kocevski/193996/ltcube_608169601_608428801_4FGL_J0211.2+1051_daily_bin1423.fits outfile=/scratch/kocevski/193996/expmap_608169601_608428801_4FGL_J0211.2+1051_daily_bin1423.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/193996/ltcube_608169601_608428801_4FGL_J0211.2+1051_daily_bin1423.fits
.....................!
real 193.25
user 186.55
sys 6.12

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/193996/ft1_filtered_4FGL_J0211.2+1051_daily_bin1423.fits scfile=/scratch/kocevski/193996/ft2_4FGL_J0211.2+1051_daily_bin1423.fits outfile=/scratch/kocevski/193996/cmap_608169601_608428801_4FGL_J0211.2+1051_daily_bin1423.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.28
user 0.38
sys 0.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193996/ft1_filtered_4FGL_J0211.2+1051_daily_bin1423.fits scfile=/scratch/kocevski/193996/ft2_4FGL_J0211.2+1051_daily_bin1423.fits outfile=/scratch/kocevski/193996/cmap_HighResolution_608169601_608428801_4FGL_J0211.2+1051_daily_bin1423.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.32
user 0.39
sys 0.89

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9238       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9292       1.0000         .10000E-03   10000.    
     5 'norm      '    1.8684       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8272       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5974       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0401       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.247       1.0000         .10000E-03   10000.    
    10 'Prefactor '    52.725       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.613       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7396       1.0000         .10000E-03   10000.    
    17 'norm      '    .75821       1.0000         .10000E-03   10000.    
    18 'Prefactor '    42.106       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.748       1.0000         .10000E-03   10000.    
    20 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .16147E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1160       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0693       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=   7256.287     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2888 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4090       -.25903E-07** at limit **
   2  norm          .10000E-03    6.6130        .43201E-07** at limit **
   3  Prefactor     6.9240        6.8330       -.45764E-06   -.50864E-04
   4  Prefactor     1.9301        3.3241       -.28043E-06   -.83224E-03
   5  norm          1.8684        3.0392       -.24316E-06   -.35734E-03
   6  Prefactor     4.8285        6.6667        .49197E-06   -.82842E-04
   7  Prefactor     3.5982        3.1938        .10966E-06   -.33732E-03
   8  norm          1.0402        .81226       -.11381E-06   -.15878E-03
   9  Prefactor     17.241        37.283       -.10088E-04    .10041E-05
  10  Prefactor     52.691        37.913       -.27743E-04    .84700E-05
  11  Prefactor     .10000E-03    2.9953       -.39814E-06** at limit **
  12  Prefactor     .10000E-03    30.767       -.13634E-05** at limit **
  13  Prefactor     .10000E-03    3.8235        .80033E-08** at limit **
  14  Prefactor     24.619        24.194        .31788E-05    .20028E-04
  15  Prefactor     .10000E-03    3.1691        .13441E-06** at limit **
  16  Prefactor     4.7459        14.230        .50908E-06   -.90201E-04
  17  norm          .75862        .63256        .13631E-06    .74269E-03
  18  Prefactor     42.105        44.971       -.11984E-05   -.12972E-04
  19  Prefactor     18.749        17.482       -.11028E-05    .10486E-04
  20  norm          .10000E-03    2.9532        .28782E-06** at limit **
  21  Prefactor     .10000E-03    8.1496       -.13515E-06** at limit **
  22  Prefactor     .10000E-03    61.427        .47903E-05** at limit **
  23  Prefactor     .10000E-03    13.695        .17187E-06** at limit **
  24  Normalizat    1.1161        .21980        .40156E-05   -.24005E-04
  25  Prefactor     1.0693        .12207        .13341E-05    .45712E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.92403
  Prefactor  = 1.93014
  norm       = 1.86837
  Prefactor  = 4.82853
  Prefactor  = 3.59824
  norm       = 1.04016
  Prefactor  = 17.2413
  Prefactor  = 52.6911
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.6194
  Prefactor  = 0.0001
  Prefactor  = 4.74585
  norm       = 0.758624
  Prefactor  = 42.1051
  Prefactor  = 18.749
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11611
  Prefactor  = 1.06927
 **********
 **   18 **HESSE 
 **********

 FCN=   7256.287     FROM HESSE     STATUS=OK           429 CALLS     3317 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4105        .98743E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.6171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.9240        6.8309        .15247E-03   -1.5182    
   4  Prefactor     1.9301        3.3119        .19003E-03   -1.5430    
   5  norm          1.8684        3.0115        .18318E-03   -1.5435    
   6  Prefactor     4.8285        6.6586        .18310E-03   -1.5268    
   7  Prefactor     3.5982        3.1709        .12928E-03   -1.5329    
   8  norm          1.0402        .81512        .65420E-04   -1.5504    
   9  Prefactor     17.241        37.120        .96442E-04   -1.4877    
  10  Prefactor     52.691        37.817        .55236E-04   -1.4255    
  11  Prefactor     .10000E-03    3.0058        .14395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.8551        .16260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.619        24.152        .80743E-04   -1.4715    
  15  Prefactor     .10000E-03    3.1739        .14809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.7459        13.941        .18482E-03   -1.5272    
  17  norm          .75862        .60371        .50896E-03   -1.5534    
  18  Prefactor     42.105        44.879        .61778E-04   -1.4409    
  19  Prefactor     18.749        17.499        .92502E-04   -1.4842    
  20  norm          .10000E-03    2.9553        .14296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.1664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    61.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    13.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1161        .24869        .33627E-03   -.89236    
  25  Prefactor     1.0693        .13884        .19645E-03   -.90455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99061e-10
Minuit parameter uncertainties:
  1  3.09027e-06
  2  1.05396e-05
  3  6.83167
  4  3.31217
  5  3.01175
  6  6.65963
  7  3.17105
  8  0.815133
  9  37.1701
  10  37.834
  11  4.58916e-06
  12  8.1083e-06
  13  8.20794e-06
  14  24.1612
  15  4.68939e-06
  16  13.9501
  17  0.603719
  18  44.9149
  19  17.5034
  20  3.83869e-06
  21  2.04952e-05
  22  0.000118773
  23  1.24516e-05
  24  0.248954
  25  0.138883
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.868e+00  3.012e+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.069e+00  1.389e-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:  1.116e+00  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.64
Ra Dec: 32.809 10.857
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193996/likelihoodResults_608169601_608428801_4FGL_J0211.2+1051_daily_bin1423.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7256.25436917
delta logL = 0.0328522364634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7256.2529
delta logL = 0.0343213972519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7338       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3647       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0704       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=   7256.253     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      232 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7346        3.0184        .16762E-03   -.52786E-03
   2  alpha         2.3679        1.2447        .30850E-01   -.25729E-04
   3  Normalizat    1.1117        .23703        .33682E-03    .10284E-03
   4  Prefactor     1.0704        .13641        .19635E-03    .17635E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.73462
  alpha      = 2.36791
  Normalizat = 1.11172
  Prefactor  = 1.07041
 **********
 **   18 **HESSE 
 **********

 FCN=   7256.253     FROM HESSE     STATUS=OK            25 CALLS      257 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7346        2.8962        .67050E-05   -1.5445    
   2  alpha         2.3679        1.1990        .12340E-02   -.52859E-01
   3  Normalizat    1.1117        .23705        .13473E-04   -.89376    
   4  Prefactor     1.0704        .13645        .39270E-04   -.90418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50293e-10
Minuit parameter uncertainties:
  1  2.89639
  2  1.25068
  3  0.237281
  4  0.136493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193996': 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) = 7256.25289532
delta logL = 0.0343260794025

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.735e+00  2.896e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.368e+00  1.251e+00  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.070e+00  1.365e-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:  1.112e+00  2.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.64
Ra Dec: 32.809 10.857

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/193996/cmap_HighResolution_608169601_608428801_4FGL_J0211.2+1051_daily_bin1423.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-08-15 11:30:19.389376', job_id='193996', GAL2='1.07', fit_tolerance='1e-08', EG2='1.11', EG='1.12', time_epoch_completed='1629052219.39', return_code2='0', ts='0.64', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.43e-02', ts2='0.71', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1423' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 11:30:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 193996: <4FGL_J0211.2+1051_daily_bin1423> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1423 32.8091 10.8569 608169601 608428801 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 :                                   813.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            888 sec.

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

