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


Performing analysis on: 4FGL_J0211.2+1051_weekly_bin717
RA = 32.8091, Dec = 10.8569
tmin = 672624001, tmax = 673228801
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='367569', job_status='RUN', time_executed='2022-05-03 01:07:07.816287', time_epoch_executed='1651565227.82' WHERE source_name='4FGL J0211.2+1051' and cadence='weekly' and bin_id='717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/367569

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/367569/ft1_4FGL_J0211.2+1051_weekly_bin717.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/367569/ft2_4FGL_J0211.2+1051_weekly_bin717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/367569/ft1_4FGL_J0211.2+1051_weekly_bin717.fits outfile=/scratch/kocevski/367569/ft1_filteredMKT_4FGL_J0211.2+1051_weekly_bin717.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=672624001.0 tmax=673228801.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.37
user 6.10
sys 0.25

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

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

Number of photons that the gtmktime cut: 151

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/367569/ft1_filtered_4FGL_J0211.2+1051_weekly_bin717.fits" evtable="EVENTS" scfile=/scratch/kocevski/367569/ft2_4FGL_J0211.2+1051_weekly_bin717.fits sctable="SC_DATA" outfile=/scratch/kocevski/367569/ltcube_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.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/367569/ft2_4FGL_J0211.2+1051_weekly_bin717.fits
.....................!
real 31.12
user 30.59
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/367569/ft1_filtered_4FGL_J0211.2+1051_weekly_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/367569/ft2_4FGL_J0211.2+1051_weekly_bin717.fits sctable="SC_DATA" expcube=/scratch/kocevski/367569/ltcube_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.fits outfile=/scratch/kocevski/367569/expmap_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.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/367569/ltcube_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.fits
.....................!
real 192.70
user 186.34
sys 5.98

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/367569/ft1_filtered_4FGL_J0211.2+1051_weekly_bin717.fits scfile=/scratch/kocevski/367569/ft2_4FGL_J0211.2+1051_weekly_bin717.fits outfile=/scratch/kocevski/367569/cmap_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/367569/ft1_filtered_4FGL_J0211.2+1051_weekly_bin717.fits scfile=/scratch/kocevski/367569/ft2_4FGL_J0211.2+1051_weekly_bin717.fits outfile=/scratch/kocevski/367569/cmap_HighResolution_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.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.59
user 0.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/367569/ft1_filtered_4FGL_J0211.2+1051_weekly_bin717.fits', '/scratch/kocevski/367569/ft2_4FGL_J0211.2+1051_weekly_bin717.fits', expMap='/scratch/kocevski/367569/expmap_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.fits', expCube='/scratch/kocevski/367569/ltcube_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/367569/Model_4FGL_J0211.2+1051_weekly_bin717.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/367569/ft1_filtered_4FGL_J0211.2+1051_weekly_bin717.fits
Spacecraft file(s): /scratch/kocevski/367569/ft2_4FGL_J0211.2+1051_weekly_bin717.fits
Exposure map: /scratch/kocevski/367569/expmap_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.fits
Exposure cube: /scratch/kocevski/367569/ltcube_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/367569/Model_4FGL_J0211.2+1051_weekly_bin717.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1925.68500697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .11483E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.462       1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.331       1.0000         .10000E-03   10000.    
     5 'norm      '    .10552E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.398       1.0000         .10000E-03   10000.    
     8 'norm      '    2.3445       1.0000         .10000E-03   10000.    
     9 'Prefactor '    114.96       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17765E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11034E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15232E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .54231E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26636E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13556E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11296E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .13977E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .42599E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10539E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .12372E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .33584E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .31798E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .12806       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.4487       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=   1923.824     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2927 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8759       -.37216E-07** at limit **
   2  norm          .10000E-03    48.219        .21200E-06** at limit **
   3  Prefactor     11.464        20.584       -.34347E-06   -.51366E-04
   4  Prefactor     24.329        15.939       -.23715E-06   -.76393E-05
   5  norm          .10000E-03    11.824       -.20135E-07** at limit **
   6  Prefactor     .10000E-03    105.73       -.56358E-06** at limit **
   7  Prefactor     11.399        15.391        .12733E-06   -.80542E-05
   8  norm          2.3443        1.7893       -.11156E-06   -.39981E-03
   9  Prefactor     115.03        179.04       -.23236E-07    .14899E-04
  10  Prefactor     .10000E-03    399.58       -.12253E-05** at limit **
  11  Prefactor     .10000E-03    31.364        .24867E-07** at limit **
  12  Prefactor     .10001E-03    446.26       -.20123E-05** at limit **
  13  Prefactor     .10000E-03    152.89       -.71446E-07** at limit **
  14  Prefactor     .10001E-03    163.36        .28726E-06** at limit **
  15  Prefactor     .10000E-03    36.729       -.52293E-07** at limit **
  16  Prefactor     .10001E-03    246.98        .14994E-05** at limit **
  17  norm          .10000E-03    17.654       -.91919E-08** at limit **
  18  Prefactor     .10000E-03    852.14       -.87398E-06** at limit **
  19  Prefactor     .10000E-03    50.060       -.83478E-07** at limit **
  20  norm          .10000E-03    132.87        .68930E-06** at limit **
  21  Prefactor    10000.0        9164.1        .15034E-04** at limit **
  22  Prefactor     .10001E-03    8928.9       -.24563E-05** at limit **
  23  Prefactor     .10001E-03    6536.0       -.18358E-05** at limit **
  24  Normalizat    .12891        .36450        .41444E-04   -.35557E-05
  25  Prefactor     1.4483        .29308       -.99100E-05   -.14261E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.4637
  Prefactor  = 24.329
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3986
  norm       = 2.34427
  Prefactor  = 115.027
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 10000
  Prefactor  = 0.000100014
  Prefactor  = 0.000100008
  Normalizat = 0.128913
  Prefactor  = 1.44835
 **********
 **   18 **HESSE 
 **********

 FCN=   1923.824     FROM HESSE     STATUS=OK           417 CALLS     3344 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8772        .58674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    48.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.464        20.603        .11833E-03   -1.5031    
   4  Prefactor     24.329        15.980        .81209E-04   -1.4721    
   5  norm          .10000E-03    11.831        .14729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    106.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.399        15.384        .11866E-03   -1.5033    
   8  norm          2.3443        1.7896        .48938E-04   -1.5402    
   9  Prefactor     115.03        178.99        .18762E-03   -1.3559    
  10  Prefactor     .10000E-03    399.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    31.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    446.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    152.91        .21117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    163.48        .21439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    36.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    247.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    17.665        .18005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    852.14        .21235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    50.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    132.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor    10000.0        9165.0        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    8928.9        .21342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    6536.0        .21365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .12891        .37865        .76347E-02   -1.3522    
  25  Prefactor     1.4483        .30321        .18542E-03   -.78997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60282e-09
Minuit parameter uncertainties:
  1  2.23711e-07
  2  5.07105e-05
  3  20.6158
  4  15.9831
  5  2.59764e-05
  6  6.4439e-05
  7  15.3891
  8  1.78964
  9  179.839
  10  0.00235235
  11  1.24915e-05
  12  0.00449818
  13  8.74272e-05
  14  0.00204981
  15  6.75644e-05
  16  0.00238959
  17  1.33423e-06
  18  0.00255685
  19  0.000179264
  20  0.000757922
  21  0.173224
  22  0.025515
  23  0.0106816
  24  0.386818
  25  0.303582
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.000e-04  2.598e-05  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.448e+00  3.036e-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.289e-01  3.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 32.809 10.857
Photon Flux Upper Limit: 3.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.92e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/367569/likelihoodResults_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.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) = 1923.8240893
delta logL = -0.000386966861242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1923.82370236
delta logL = -2.14834017243e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0570       1.0000          .0000       5.0000    
     3 'Normalizat'    .12883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4484       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=   1923.824     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      241 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    43.665        .14751E-02** at limit **
   2  alpha         2.3138        3.0595        .16800       -.12756E-07
   3  Normalizat    .12891        .37796        .76346E-02   -.19401E-04
   4  Prefactor     1.4483        .29446        .18542E-03   -.12801E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.31375
  Normalizat = 0.128914
  Prefactor  = 1.44835
 **********
 **   18 **HESSE 
 **********

 FCN=   1923.824     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.220        .29502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3138        3.2342        .67199E-02   -.74568E-01
   3  Normalizat    .12891        .36647        .30538E-03   -1.3522    
   4  Prefactor     1.4483        .28514        .37083E-04   -.78997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36413e-11
Minuit parameter uncertainties:
  1  5.9711e-05
  2  538.43
  3  0.373848
  4  0.285452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/367569': 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) = 1923.8237022
delta logL = 1.34436959343e-07

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.000e-04  5.971e-05  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.314e+00  5.384e+02  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.448e+00  2.855e-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.289e-01  3.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 32.809 10.857

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/367569/cmap_HighResolution_672624001_673228801_4FGL_J0211.2+1051_weekly_bin717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-04', job_status='DONE', photon_flux_upper_limit='3.51e-07', time_completed='2022-05-03 01:14:58.610592', job_id='367569', GAL2='1.45', fit_tolerance='1e-08', EG2='0.13', EG='0.13', time_epoch_completed='1651565698.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.45', dlogl='1.34e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='717' AND source_name='4FGL J0211.2+1051' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May  3 01:14:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 367569: <4FGL_J0211.2+1051_weekly_bin717> in cluster <slac> Done

Job <4FGL_J0211.2+1051_weekly_bin717> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue May  3 01:00:26 2022
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 01:03:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 01:03:30 2022
Terminated at Tue May  3 01:14:59 2022
Results reported at Tue May  3 01:14:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_weekly_bin717 32.8091 10.8569 672624001 673228801 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 :                                   471.16 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             228.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            873 sec.

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

