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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1733
RA = 32.8091, Dec = 10.8569
tmin = 688521601, tmax = 688780801
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='699493', job_status='RUN', time_executed='2022-10-30 00:06:25.642228', time_epoch_executed='1667113585.64' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699493

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699493/ft1_4FGL_J0211.2+1051_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699493/ft2_4FGL_J0211.2+1051_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699493/ft1_4FGL_J0211.2+1051_daily_bin1733.fits outfile=/scratch/kocevski/699493/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1733.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=688521601.0 tmax=688780801.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.03
user 3.31
sys 0.23

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

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

Number of photons that the gtmktime cut: 747

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/699493/ft1_filtered_4FGL_J0211.2+1051_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/699493/ft2_4FGL_J0211.2+1051_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/699493/ltcube_688521601_688780801_4FGL_J0211.2+1051_daily_bin1733.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/699493/ft2_4FGL_J0211.2+1051_daily_bin1733.fits
.....................!
real 12.15
user 11.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699493/ft1_filtered_4FGL_J0211.2+1051_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/699493/ft2_4FGL_J0211.2+1051_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/699493/ltcube_688521601_688780801_4FGL_J0211.2+1051_daily_bin1733.fits outfile=/scratch/kocevski/699493/expmap_688521601_688780801_4FGL_J0211.2+1051_daily_bin1733.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/699493/ltcube_688521601_688780801_4FGL_J0211.2+1051_daily_bin1733.fits
.....................!
real 190.95
user 185.21
sys 4.33

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/699493/ft1_filtered_4FGL_J0211.2+1051_daily_bin1733.fits scfile=/scratch/kocevski/699493/ft2_4FGL_J0211.2+1051_daily_bin1733.fits outfile=/scratch/kocevski/699493/cmap_688521601_688780801_4FGL_J0211.2+1051_daily_bin1733.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 3.15
user 0.37
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699493/ft1_filtered_4FGL_J0211.2+1051_daily_bin1733.fits scfile=/scratch/kocevski/699493/ft2_4FGL_J0211.2+1051_daily_bin1733.fits outfile=/scratch/kocevski/699493/cmap_HighResolution_688521601_688780801_4FGL_J0211.2+1051_daily_bin1733.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 3.89
user 0.40
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8915       1.0000          .0000       .10000E+07
     2 'norm      '    .66839E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.766       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.692       1.0000          .0000       .10000E+07
     5 'norm      '    .11834E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.599       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21960E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.5057       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.426       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28299       1.0000          .0000       .10000E+07
    11 'Prefactor '    61.559       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16929E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .28255E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    15.009       1.0000          .0000       .10000E+07
    15 'norm      '    .41578E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .80623E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.3764       1.0000          .0000       .10000E+07
    18 'norm      '    .11367E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .31303E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    40.887       1.0000          .0000       .10000E+07
    21 'Prefactor '    .24656E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1402       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97264       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=   8344.533     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1917 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9448        3.8165       -.46178E-06   -.56850E-03
   2  norm          .76605E-08    10.578       -.20796E-06** at limit **
   3  Prefactor     12.901        7.5815       -.33907E-06   -.12324E-02
   4  Prefactor     12.673        4.1083        .20983E-06    .31912E-03
   5  norm          .59397E-07    6.6160       -.34469E-06** at limit **
   6  Prefactor     10.673        10.413       -.21603E-05   -.39929E-01
   7  Prefactor      .0000        1.5308        .10736E-06** at limit **
   8  norm          1.5063        .70741       -.41101E-07    .79215E-03
   9  Prefactor     13.339        21.729       -.37625E-05   -.18027E-01
  10  Prefactor     .11910E-03    83.510       -.44729E-05** at limit **
  11  Prefactor     62.460        65.498        .67179E-05   -.33681E-01
  12  Prefactor     .32812E-05    41.739        .34376E-06** at limit **
  13  Prefactor     .39901E-06    4.9260       -.11712E-05** at limit **
  14  Prefactor     14.936        10.499        .88890E-06   -.11494E-01
  15  norm           .0000        .35797       -.11091E-06** at limit **
  16  Prefactor      .0000        29.832       -.29106E-05** at limit **
  17  Prefactor     5.3799        3.3130        .74089E-06    .70526E-02
  18  norm          .18430E-07    5.6701       -.13200E-05** at limit **
  19  Prefactor     .38497E-06    4.7131       -.22267E-05** at limit **
  20  Prefactor     41.256        38.437       -.66984E-06    .73690E-01
  21  Prefactor     .10714E-06    5.4962        .93866E-06** at limit **
  22  Normalizat    1.1396        .21645       -.13064E-05   -.70146E-05
  23  Prefactor     .97257        .12005        .12900E-05   -.73153E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.94476
  norm       = 7.66054e-09
  Prefactor  = 12.9007
  Prefactor  = 12.6726
  norm       = 5.93969e-08
  Prefactor  = 10.6726
  Prefactor  = 0
  norm       = 1.50633
  Prefactor  = 13.3395
  Prefactor  = 0.000119099
  Prefactor  = 62.46
  Prefactor  = 3.28115e-06
  Prefactor  = 3.99014e-07
  Prefactor  = 14.9359
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.37992
  norm       = 1.84297e-08
  Prefactor  = 3.8497e-07
  Prefactor  = 41.2564
  Prefactor  = 1.07137e-07
  Normalizat = 1.13956
  Prefactor  = 0.972572
 **********
 **   18 **HESSE 
 **********

 FCN=   8344.533     FROM HESSE     STATUS=OK           422 CALLS     2339 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9448        3.8111        .45455E-03   -1.5663    
   2  norm          .76605E-08    10.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.901        7.5937        .28010E-03   -1.5636    
   4  Prefactor     12.673        4.1027        .28091E-03   -1.5637    
   5  norm          .59397E-07    6.8867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.673        11.204        .30751E-03   -1.5643    
   7  Prefactor      .0000        1.5270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5063        .70573        .87181E-03   -1.5683    
   9  Prefactor     13.339        22.028        .27311E-03   -1.5635    
  10  Prefactor     .11910E-03    211.65        .10453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     62.460        67.901        .12746E-03   -1.5550    
  12  Prefactor     .32812E-05    43.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .39901E-06    7.7891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.936        10.946        .25826E-03   -1.5631    
  15  norm           .0000        .20515        .15648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        29.742        .14482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.3799        11.809        .43317E-03   -1.5662    
  18  norm          .18430E-07    5.7335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .38497E-06    7.6562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     41.256        43.866        .15641E-03   -1.5580    
  21  Prefactor     .10714E-06    5.9671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1396        .19279        .73938E-01   -.88492    
  23  Prefactor     .97257        .10586        .45924E-01   -.93649    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10067e-06
Minuit parameter uncertainties:
  1  3.81109
  2  0.00056951
  3  7.59369
  4  4.10271
  5  0.00127928
  6  11.2037
  7  3.59068e-06
  8  0.705726
  9  22.0278
  10  0.317549
  11  67.9014
  12  0.023951
  13  0.00352588
  14  10.946
  15  5.00436e-07
  16  2.95442e-05
  17  11.8088
  18  0.000650535
  19  0.00343363
  20  43.8667
  21  0.00159898
  22  0.192914
  23  0.105884
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  5.940e-08  1.279e-03  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:  9.726e-01  1.059e-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.140e+00  1.929e-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: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/699493/likelihoodResults_688521601_688780801_4FGL_J0211.2+1051_daily_bin1733.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): 102
logL (Free Index) = 8344.53348231
delta logL = -1.14039721666e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8343.98724218
delta logL = 0.546240013007

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44710       1.0000          .0000       .10000E+07
     2 'alpha     '    4.2048       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99185       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=   8343.987     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      275 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44378        6.3324        .84220E-03    .27621E-02
   2  alpha         4.2105        4.6043        .50000        .34934E-04
   3  Normalizat    1.0627        .45030E-01    .76101E-01   -.30702E-03
   4  Prefactor     .99158        .25534E-01    .46165E-01   -.25616E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.443776
  alpha      = 4.21049
  Normalizat = 1.06273
  Prefactor  = 0.991576
 **********
 **   18 **HESSE 
 **********

 FCN=   8343.987     FROM HESSE     STATUS=OK            29 CALLS      304 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44378        8.0573        .56019E-05   -1.5695    
   2  alpha         4.2105        4.5434        .26297E-02    .75350    
   3  Normalizat    1.0627        .22428        .33681E-03   -.90958    
   4  Prefactor     .99158        .12410        .19564E-03   -.93011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45783e-10
Minuit parameter uncertainties:
  1  3.78187
  2  4.81379
  3  0.224482
  4  0.124139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699493': 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) = 8343.9872316
delta logL = 0.546250595449

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  4.438e-01  3.782e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  4.210e+00  4.814e+00  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:  9.916e-01  1.241e-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.063e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.18
Ra Dec: 32.809 10.857
Photon Index (Free Index): 4.21 +/- 4.81
Photon Flux (Free Index): 8.97e-08 +/- 9.26e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/699493/cmap_HighResolution_688521601_688780801_4FGL_J0211.2+1051_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-05', comment='SUCCESS', energy_flux2='1.33e-05', dlogl='5.46e-01', photon_flux2='8.97e-08', job_status='DONE', time_completed='2022-10-30 00:19:15.682328', photon_index_error2='4.81', photon_index2='4.21', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.02e-08', energy_flux_error2='1.52e-05', EG='1.14', time_epoch_completed='1667114355.68', return_code='0', job_id='699493', GAL2='0.99', EG2='1.06', return_code2='0', photon_flux_error2='9.26e-08', ts2='1.18', photon_index='2.05' WHERE bin_id='1733' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:19:15 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 699275: <4FGL_J0211.2+1051_daily_bin1733> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1733> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Oct 30 00:05:50 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:05:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:05:51 2022
Terminated at Sun Oct 30 00:19:09 2022
Results reported at Sun Oct 30 00:19:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1733 32.8091 10.8569 688521601 688780801 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 :                                   708.36 sec.
    Max Memory :                                 1219 MB
    Average Memory :                             367.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            799 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 699493: <4FGL_J0211.2+1051_daily_bin1733> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1733> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Oct 30 00:06:03 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:06:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:06:07 2022
Terminated at Sun Oct 30 00:19:16 2022
Results reported at Sun Oct 30 00:19:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1733 32.8091 10.8569 688521601 688780801 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 :                                   708.55 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             346.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            793 sec.

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

