aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 57 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7534
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1719
RA = 32.8091, Dec = 10.8569
tmin = 684892801, tmax = 685152001
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='644161', job_status='RUN', time_executed='2022-09-18 00:07:26.234299', time_epoch_executed='1663484846.23' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644161

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644161/ft1_4FGL_J0211.2+1051_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644161/ft1_4FGL_J0211.2+1051_daily_bin1719.fits outfile=/scratch/kocevski/644161/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1719.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=684892801.0 tmax=685152001.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.12
user 2.89
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.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/644161/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/644161/ft1_filtered_4FGL_J0211.2+1051_daily_bin1719.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.54
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644161/ft1_filtered_4FGL_J0211.2+1051_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/644161/ltcube_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.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/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.fits
.....................!
real 18.20
user 17.78
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644161/ft1_filtered_4FGL_J0211.2+1051_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/644161/ltcube_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.fits outfile=/scratch/kocevski/644161/expmap_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.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/644161/ltcube_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.fits
.....................!
real 191.78
user 185.86
sys 5.45

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/644161/ft1_filtered_4FGL_J0211.2+1051_daily_bin1719.fits scfile=/scratch/kocevski/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.fits outfile=/scratch/kocevski/644161/cmap_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644161/ft1_filtered_4FGL_J0211.2+1051_daily_bin1719.fits scfile=/scratch/kocevski/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.fits outfile=/scratch/kocevski/644161/cmap_HighResolution_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.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.62
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644161/ft1_filtered_4FGL_J0211.2+1051_daily_bin1719.fits', '/scratch/kocevski/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.fits', expMap='/scratch/kocevski/644161/expmap_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.fits', expCube='/scratch/kocevski/644161/ltcube_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644161/Model_4FGL_J0211.2+1051_daily_bin1719.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  0.000e+00  1.000e+06 ( 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 -5.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/644161/ft1_filtered_4FGL_J0211.2+1051_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/644161/ft2_4FGL_J0211.2+1051_daily_bin1719.fits
Exposure map: /scratch/kocevski/644161/expmap_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.fits
Exposure cube: /scratch/kocevski/644161/ltcube_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644161/Model_4FGL_J0211.2+1051_daily_bin1719.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) = 6575.61283097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     2 'norm      '    .11391E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.0836       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24608E-06   1.0000          .0000       .10000E+07
     5 'norm      '    6.7443       1.0000          .0000       .10000E+07
     6 'Prefactor '    .36942E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36641E-04   1.0000          .0000       .10000E+07
     8 'norm      '    2.4816       1.0000          .0000       .10000E+07
     9 'Prefactor '    .73321E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.0353       1.0000          .0000       .10000E+07
    11 'Prefactor '    21.692       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54016       1.0000          .0000       .10000E+07
    13 'Prefactor '    .66829E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    20.312       1.0000          .0000       .10000E+07
    15 'norm      '    .88840       1.0000          .0000       .10000E+07
    16 'Prefactor '    .82064E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    10.581       1.0000          .0000       .10000E+07
    18 'norm      '    .99865E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .75556E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .12487E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    37.679       1.0000          .0000       .10000E+07
    22 'Normalizat'    .97104       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0574       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6575.552     FROM MIGRAD    STATUS=CONVERGED    200 CALLS     1609 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8351        13.837        .16362E-06    .18174E-02
   2  norm          .28311E-08    8.0559       -.90894E-07** at limit **
   3  Prefactor     6.0859        7.2320        .33975E-07    .75883E-04
   4  Prefactor      .0000        1.2282        .44478E-07** at limit **
   5  norm          6.7455        5.3684        .59126E-07   -.55886E-03
   6  Prefactor     .14433E-08    5.5689       -.83744E-07** at limit **
   7  Prefactor     .78543E-06    18.245        .29375E-06** at limit **
   8  norm          2.4833        1.3997        .19727E-07   -.14423E-02
   9  Prefactor     .20206E-06    16.016       -.11974E-06** at limit **
  10  Prefactor     6.2577        59.906        .54952E-06   -.65543E-02
  11  Prefactor     22.007        61.547        .62176E-06    .43083E-02
  12  Prefactor     .68296        39.832       -.58663E-06    .77634E-02
  13  Prefactor     .25934        380.39        .40896E-05    .27085E-03
  14  Prefactor     20.220        15.229       -.22759E-06   -.89369E-02
  15  norm          .89031        .56946        .33517E-07    .98393E-03
  16  Prefactor     .76017E-06    883.31       -.14351E-04** at limit **
  17  Prefactor     10.491        17.334        .28004E-06    .33616E-01
  18  norm          .13878E-08    6.0769        .94919E-07** at limit **
  19  Prefactor     .21523E-04    57.996       -.79393E-06** at limit **
  20  Prefactor     .26146E-07    19.323        .39035E-06** at limit **
  21  Prefactor     37.694        2.1006       -.58872E-08   -.10856E-01
  22  Normalizat    .97126        .26197       -.21595E-05    .49013E-04
  23  Prefactor     1.0571        .13391        .24493E-06    .14358E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.83514
  norm       = 2.83107e-09
  Prefactor  = 6.08586
  Prefactor  = 0
  norm       = 6.7455
  Prefactor  = 1.44329e-09
  Prefactor  = 7.85427e-07
  norm       = 2.48328
  Prefactor  = 2.02061e-07
  Prefactor  = 6.25774
  Prefactor  = 22.0069
  Prefactor  = 0.682963
  Prefactor  = 0.259339
  Prefactor  = 20.2197
  norm       = 0.890305
  Prefactor  = 7.6017e-07
  Prefactor  = 10.4915
  norm       = 1.38778e-09
  Prefactor  = 2.15225e-05
  Prefactor  = 2.61458e-08
  Prefactor  = 37.6938
  Normalizat = 0.971259
  Prefactor  = 1.05711
 **********
 **   18 **HESSE 
 **********

 FCN=   6575.552     FROM HESSE     STATUS=OK           434 CALLS     2043 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8351        13.885        .35381E-03   -1.5652    
   2  norm          .28311E-08    8.0585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0859        7.2500        .40682E-03   -1.5659    
   4  Prefactor      .0000        1.2262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.7455        5.4275        .38613E-03   -1.5656    
   6  Prefactor     .14433E-08    5.5543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .78543E-06    2.9335        .47817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4833        1.4028        .64869E-03   -1.5676    
   9  Prefactor     .20206E-06    18.560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.2577        62.973        .40847E-03   -1.5658    
  11  Prefactor     22.007        62.938        .21477E-03   -1.5614    
  12  Prefactor     .68296        45.731        .74769E-03   -1.5691    
  13  Prefactor     .25934        13.871        .14924E-01   -1.5698    
  14  Prefactor     20.220        15.942        .22195E-03   -1.5618    
  15  norm          .89031        .59632        .46565E-03   -1.5689    
  16  Prefactor     .76017E-06    871.76        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.491        21.706        .30776E-03   -1.5643    
  18  norm          .13878E-08    6.0895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .21523E-04    17.897        .10691E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .26146E-07    20.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     37.694        23.132        .16293E-03   -1.5585    
  22  Normalizat    .97126        .23911        .83086E-01   -.94000    
  23  Prefactor     1.0571        .11875        .39496E-01   -.90849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06993e-07
Minuit parameter uncertainties:
  1  13.8848
  2  0.000302983
  3  7.25001
  4  6.49737e-07
  5  5.42751
  6  0.000177527
  7  0.00303582
  8  1.40276
  9  0.0038729
  10  39.7027
  11  62.9397
  12  11.1773
  13  3.79335
  14  15.9416
  15  0.596319
  16  0.0514934
  17  21.7057
  18  0.000185048
  19  0.0392521
  20  0.00146376
  21  23.1317
  22  0.239374
  23  0.118781
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  6.746e+00  5.428e+00  0.000e+00  1.000e+06 ( 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 -5.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.057e+00  1.188e-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.713e-01  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.39
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 4.48e-08 +/- 3.60e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 1.97e-05

TS (Fixed Index): 3.39
Ra Dec: 32.809 10.857
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/644161/likelihoodResults_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.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) = 6575.46985237
delta logL = 0.0818331802784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6575.46923632
delta logL = 0.0824492241927

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7337       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3428       1.0000          .0000       5.0000    
     3 'Normalizat'    .95244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0614       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=   6575.469     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      230 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7311        129.24        .38644E-03    .21413E-02
   2  alpha         2.3422        3.2283        .41255        .29601E-04
   3  Normalizat    .95250        .14397        .83803E-01    .24489E-04
   4  Prefactor     1.0614        .49879E-01    .39285E-01   -.94294E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.73108
  alpha      = 2.34215
  Normalizat = 0.952496
  Prefactor  = 1.06139
 **********
 **   18 **HESSE 
 **********

 FCN=   6575.469     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7311        5.2437        .15029E-04   -1.5656    
   2  alpha         2.3422        .72104        .15594E-01   -.63180E-01
   3  Normalizat    .95250        .25843        .37103E-03   -.94639    
   4  Prefactor     1.0614        .13285        .18396E-03   -.90710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89781e-11
Minuit parameter uncertainties:
  1  5.24372
  2  0.731472
  3  0.258768
  4  0.132894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644161': 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) = 6575.46923566
delta logL = 0.0824498916772

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  6.731e+00  5.244e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  2.342e+00  7.315e-01  0.000e+00  5.000e+00 ( 1.000e+00)
246         beta:  5.238e-02  0.000e+00 -5.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.061e+00  1.329e-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.525e-01  2.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.55
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.34 +/- 0.73
Photon Flux (Free Index): 6.43e-08 +/- 6.82e-08
Energy Flux (Free Index): 2.25e-05 +/- 1.71e-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/644161/cmap_HighResolution_684892801_685152001_4FGL_J0211.2+1051_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.06e-05', comment='SUCCESS', photon_flux='4.48e-08', energy_flux2='2.25e-05', photon_flux_error='3.60e-08', dlogl='8.24e-02', energy_flux='2.44e-05', photon_flux2='6.43e-08', job_status='DONE', time_completed='2022-09-18 00:17:26.436587', photon_index_error2='0.73', photon_index2='2.34', ts='3.39', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.71e-05', EG='0.97', time_epoch_completed='1663485446.44', return_code='0', job_id='644161', GAL2='1.06', EG2='0.95', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='6.82e-08', ts2='3.55', photon_index='2.05' WHERE bin_id='1719' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:17:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 644161: <4FGL_J0211.2+1051_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:04:51 2022
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:06:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:06:21 2022
Terminated at Sun Sep 18 00:17:27 2022
Results reported at Sun Sep 18 00:17:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1719 32.8091 10.8569 684892801 685152001 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 :                                   602.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   665 sec.
    Turnaround time :                            756 sec.

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

