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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1745
RA = 32.8091, Dec = 10.8569
tmin = 691632001, tmax = 691891201
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='637137', job_status='RUN', time_executed='2022-12-05 00:07:45.205377', time_epoch_executed='1670227665.21' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637137

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637137/ft1_4FGL_J0211.2+1051_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637137/ft2_4FGL_J0211.2+1051_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637137/ft1_4FGL_J0211.2+1051_daily_bin1745.fits outfile=/scratch/kocevski/637137/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1745.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.49
user 2.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637137/ft2_4FGL_J0211.2+1051_daily_bin1745.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/637137/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/637137/ft1_filtered_4FGL_J0211.2+1051_daily_bin1745.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.78
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 227

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637137/ft1_filtered_4FGL_J0211.2+1051_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637137/ft2_4FGL_J0211.2+1051_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637137/ltcube_691632001_691891201_4FGL_J0211.2+1051_daily_bin1745.fits outfile=/scratch/kocevski/637137/expmap_691632001_691891201_4FGL_J0211.2+1051_daily_bin1745.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/637137/ltcube_691632001_691891201_4FGL_J0211.2+1051_daily_bin1745.fits
.....................!
real 191.17
user 185.18
sys 5.51

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/637137/ft1_filtered_4FGL_J0211.2+1051_daily_bin1745.fits scfile=/scratch/kocevski/637137/ft2_4FGL_J0211.2+1051_daily_bin1745.fits outfile=/scratch/kocevski/637137/cmap_691632001_691891201_4FGL_J0211.2+1051_daily_bin1745.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637137/ft1_filtered_4FGL_J0211.2+1051_daily_bin1745.fits scfile=/scratch/kocevski/637137/ft2_4FGL_J0211.2+1051_daily_bin1745.fits outfile=/scratch/kocevski/637137/cmap_HighResolution_691632001_691891201_4FGL_J0211.2+1051_daily_bin1745.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0960       1.0000          .0000       .10000E+07
     2 'norm      '    14.814       1.0000          .0000       .10000E+07
     3 'Prefactor '    24.798       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0257       1.0000          .0000       .10000E+07
     5 'norm      '    .23704E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31718E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.4398       1.0000          .0000       .10000E+07
     8 'norm      '    .30084E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .28201E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    72.283       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16662E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .25085E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12351E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5217       1.0000          .0000       .10000E+07
    15 'norm      '    .13325E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .41047E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .54879E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .91562E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    59.460       1.0000          .0000       .10000E+07
    20 'Prefactor '    .60285E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .38950E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.8673       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74125       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=   2571.134     FROM MIGRAD    STATUS=CONVERGED    221 CALLS     1922 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1147        5.0840        .10218E-07   -.60573E-05
   2  norm          14.759        24.696       -.17638E-06   -.34311E-01
   3  Prefactor     24.622        19.929       -.16213E-07   -.26108E-01
   4  Prefactor     3.0339        4.1001        .36105E-07    .16342E-03
   5  norm          .27756E-09    7.4916       -.21300E-08** at limit **
   6  Prefactor     .55511E-09    63.597       -.14163E-05** at limit **
   7  Prefactor     7.5547        6.0105        .10136E-07   -.31239E-04
   8  norm          .55511E-10    1.8111       -.79692E-07** at limit **
   9  Prefactor     .22649E-07    45.546       -.14884E-05** at limit **
  10  Prefactor     70.200        108.10        .90540E-06    .98735E-02
  11  Prefactor     .16653E-09    77.896       -.69701E-06** at limit **
  12  Prefactor     .10476E-05    106.93       -.17380E-05** at limit **
  13  Prefactor     .10936E-06    22.734       -.24661E-06** at limit **
  14  Prefactor     5.1277        8.0533        .48689E-06   -.95301E-01
  15  norm           .0000        1.1640       -.20209E-06** at limit **
  16  Prefactor      .0000        55.799       -.89221E-08** at limit **
  17  Prefactor     .66613E-09    10.369        .34285E-06** at limit **
  18  norm          .33029E-07    17.907        .13008E-06** at limit **
  19  Prefactor     64.516        84.510       -.14739E-05   -.13375E-01
  20  Prefactor      .0000        61.067       -.27235E-06** at limit **
  21  Prefactor     .71604E-06    112.04       -.58423E-06** at limit **
  22  Normalizat    1.8669        .40835        .65295E-05    .19864E-04
  23  Prefactor     .74056        .24071       -.36355E-05    .55888E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.11472
  norm       = 14.7586
  Prefactor  = 24.6219
  Prefactor  = 3.03393
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-10
  Prefactor  = 7.55472
  norm       = 5.55112e-11
  Prefactor  = 2.26485e-08
  Prefactor  = 70.1997
  Prefactor  = 1.66533e-10
  Prefactor  = 1.04761e-06
  Prefactor  = 1.09357e-07
  Prefactor  = 5.12774
  norm       = 0
  Prefactor  = 0
  Prefactor  = 6.66134e-10
  norm       = 3.30291e-08
  Prefactor  = 64.516
  Prefactor  = 0
  Prefactor  = 7.16038e-07
  Normalizat = 1.86689
  Prefactor  = 0.74056
 **********
 **   18 **HESSE 
 **********

 FCN=   2571.134     FROM HESSE     STATUS=OK           416 CALLS     2338 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1147        5.0699        .44515E-03   -1.5663    
   2  norm          14.759        25.437        .25996E-03   -1.5631    
   3  Prefactor     24.622        20.017        .20086E-03   -1.5609    
   4  Prefactor     3.0339        4.1088        .58314E-03   -1.5673    
   5  norm          .27756E-09    7.4843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-09    20.677        .75463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.5547        6.0107        .36746E-03   -1.5653    
   8  norm          .55511E-10    1.7699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22649E-07    45.547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     70.200        109.66        .11763E-03   -1.5540    
  11  Prefactor     .16653E-09    77.816        .17267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10476E-05    107.40        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10936E-06    22.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1277        22.990        .42734E-03   -1.5663    
  15  norm           .0000        1.1640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        55.813        .15917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .66613E-09    10.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .33029E-07    17.911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     64.516        84.768        .12969E-03   -1.5547    
  20  Prefactor      .0000        60.949        .15152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .71604E-06    112.91        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.8669        .36229        .64938E-01   -.67930    
  23  Prefactor     .74056        .21566        .42948E-01   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06603e-07
Minuit parameter uncertainties:
  1  5.06986
  2  25.437
  3  20.0168
  4  4.10882
  5  9.10349e-05
  6  0.000215447
  7  6.01071
  8  2.05092e-05
  9  0.00203235
  10  109.663
  11  0.00021819
  12  0.0212144
  13  0.0031606
  14  21.7151
  15  8.8408e-06
  16  3.54704e-05
  17  0.000166929
  18  0.00153832
  19  84.7693
  20  1.02695e-05
  21  0.0179834
  22  0.362815
  23  0.215907
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  2.776e-10  9.103e-05  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:  7.406e-01  2.159e-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.867e+00  3.628e-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: 1.77e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/637137/likelihoodResults_691632001_691891201_4FGL_J0211.2+1051_daily_bin1745.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) = 2571.13393044
delta logL = -0.000135976643378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2570.13570709
delta logL = 0.998087374067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28597       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6828       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79771       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=   2570.136     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      276 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28648        9.2993        .46929E-03   -.25100E-02
   2  alpha         5.0000        3.6608        .46267    ** at limit **
   3  Normalizat    1.6820        .29545        .67181E-01   -.12098E-03
   4  Prefactor     .79803        .16050        .43687E-01   -.22087E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.286485
  alpha      = 5
  Normalizat = 1.68199
  Prefactor  = 0.798034
 **********
 **   18 **HESSE 
 **********

 FCN=   2570.136     FROM HESSE     STATUS=OK            29 CALLS      305 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28648        .23880        .21059E-05   -1.5697    
   2  alpha         5.0000        3.4796        .38532E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.6820        .41911        .29714E-03   -.72785    
   4  Prefactor     .79803        .24177        .24295E-03   -.99801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59322e-10
Minuit parameter uncertainties:
  1  0.238797
  2  1.91299e-06
  3  0.419998
  4  0.242096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637137': 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) = 2570.13570194
delta logL = 0.998092524742

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  2.865e-01  2.388e-01  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  5.000e+00  1.913e-06  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:  7.980e-01  2.421e-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.682e+00  4.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.13
Ra Dec: 32.809 10.857
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 2.47e-07 +/- 2.05e-07
Energy Flux (Free Index): 3.33e-05 +/- 2.77e-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/637137/cmap_HighResolution_691632001_691891201_4FGL_J0211.2+1051_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.66e-05', comment='SUCCESS', energy_flux2='3.33e-05', dlogl='9.98e-01', photon_flux2='2.47e-07', job_status='DONE', time_completed='2022-12-05 00:15:14.985098', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='1.77e-07', energy_flux_error2='2.77e-05', EG='1.87', time_epoch_completed='1670228114.99', return_code='0', job_id='637137', GAL2='0.80', EG2='1.68', return_code2='0', photon_flux_error2='2.05e-07', ts2='2.13', photon_index='2.05' WHERE bin_id='1745' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:15:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 637137: <4FGL_J0211.2+1051_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:04:57 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:04:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:04:59 2022
Terminated at Mon Dec  5 00:15:15 2022
Results reported at Mon Dec  5 00:15:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1745 32.8091 10.8569 691632001 691891201 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 :                                   446.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             211.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            618 sec.

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

