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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1722
RA = 32.8091, Dec = 10.8569
tmin = 685670401, tmax = 685929601
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='229284', job_status='RUN', time_executed='2022-09-27 00:06:04.792891', time_epoch_executed='1664262364.79' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229284

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229284/ft1_4FGL_J0211.2+1051_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229284/ft2_4FGL_J0211.2+1051_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229284/ft1_4FGL_J0211.2+1051_daily_bin1722.fits outfile=/scratch/kocevski/229284/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1722.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=685670401.0 tmax=685929601.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.83
user 3.43
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229284/ft2_4FGL_J0211.2+1051_daily_bin1722.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/229284/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/229284/ft1_filtered_4FGL_J0211.2+1051_daily_bin1722.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.35
sys 0.15

Number of photons that the gtmktime cut: 675

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229284/ft1_filtered_4FGL_J0211.2+1051_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229284/ft2_4FGL_J0211.2+1051_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/229284/ltcube_685670401_685929601_4FGL_J0211.2+1051_daily_bin1722.fits outfile=/scratch/kocevski/229284/expmap_685670401_685929601_4FGL_J0211.2+1051_daily_bin1722.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/229284/ltcube_685670401_685929601_4FGL_J0211.2+1051_daily_bin1722.fits
.....................!
real 191.79
user 186.38
sys 5.00

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/229284/ft1_filtered_4FGL_J0211.2+1051_daily_bin1722.fits scfile=/scratch/kocevski/229284/ft2_4FGL_J0211.2+1051_daily_bin1722.fits outfile=/scratch/kocevski/229284/cmap_685670401_685929601_4FGL_J0211.2+1051_daily_bin1722.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.63
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229284/ft1_filtered_4FGL_J0211.2+1051_daily_bin1722.fits scfile=/scratch/kocevski/229284/ft2_4FGL_J0211.2+1051_daily_bin1722.fits outfile=/scratch/kocevski/229284/cmap_HighResolution_685670401_685929601_4FGL_J0211.2+1051_daily_bin1722.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4253       1.0000          .0000       .10000E+07
     2 'norm      '    .16429E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .50070E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.6992       1.0000          .0000       .10000E+07
     5 'norm      '    1.5539       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41456E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5787       1.0000          .0000       .10000E+07
     8 'norm      '    1.0640       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.627       1.0000          .0000       .10000E+07
    10 'Prefactor '    53.773       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.981       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2301       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34591E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .56706E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.0764       1.0000          .0000       .10000E+07
    16 'Prefactor '    .45275E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    10.870       1.0000          .0000       .10000E+07
    18 'norm      '    5.2168       1.0000          .0000       .10000E+07
    19 'Prefactor '    11.980       1.0000          .0000       .10000E+07
    20 'Prefactor '    133.45       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.259       1.0000          .0000       .10000E+07
    22 'Normalizat'    .58814       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3087       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=   7530.581     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     1910 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4900        8.6359        .24735E-06    .16854E-03
   2  norm          .55511E-10    6.5456        .16133E-06** at limit **
   3  Prefactor     .11102E-09    6.9560        .30039E-06** at limit **
   4  Prefactor     6.6718        3.7425        .22248E-07    .63997E-03
   5  norm          1.5378        4.0269       -.24570E-06    .31089E-03
   6  Prefactor      .0000        3.4055        .55311E-07** at limit **
   7  Prefactor     3.6036        3.2457       -.33144E-07    .26956E-03
   8  norm          1.0642        .80405       -.75308E-08   -.74367E-04
   9  Prefactor     8.8894        28.689        .15190E-06   -.19660E-01
  10  Prefactor     51.946        35.928        .17264E-06    .56878E-01
  11  Prefactor     19.187        106.76        .21008E-05   -.61028E-02
  12  Prefactor     3.1591        8.7170        .14369E-07   -.12980E-02
  13  Prefactor      .0000        11.362        .24947E-06** at limit **
  14  Prefactor      .0000        7.0157        .31400E-06** at limit **
  15  norm          1.0765        .59210        .66127E-08   -.83220E-03
  16  Prefactor     .19540E-07    29.456       -.24927E-06** at limit **
  17  Prefactor     10.724        20.569        .25601E-06   -.23042E-02
  18  norm          5.1723        9.9060       -.41745E-06   -.11713E-02
  19  Prefactor     12.151        15.264        .20141E-06    .17198E-01
  20  Prefactor     134.02        14.051        .10192E-07    .28391    
  21  Prefactor     25.243        3.9586        .53977E-07   -.13023E-01
  22  Normalizat    .59086        .23635        .58516E-05    .10567E-04
  23  Prefactor     1.3078        .13667       -.45355E-05    .55230E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.48998
  norm       = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 6.67181
  norm       = 1.53781
  Prefactor  = 0
  Prefactor  = 3.60357
  norm       = 1.06417
  Prefactor  = 8.88942
  Prefactor  = 51.9457
  Prefactor  = 19.1868
  Prefactor  = 3.15913
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.07648
  Prefactor  = 1.95399e-08
  Prefactor  = 10.7242
  norm       = 5.17233
  Prefactor  = 12.1512
  Prefactor  = 134.02
  Prefactor  = 25.2431
  Normalizat = 0.59086
  Prefactor  = 1.30784
 **********
 **   18 **HESSE 
 **********

 FCN=   7530.581     FROM HESSE     STATUS=OK           422 CALLS     2332 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4900        8.6797        .90521E-03   -1.5684    
   2  norm          .55511E-10    6.5389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    6.9068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6718        3.7562        .38744E-03   -1.5656    
   5  norm          1.5378        4.0638        .85385E-03   -1.5683    
   6  Prefactor      .0000        3.3969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6036        3.2885        .53396E-03   -1.5670    
   8  norm          1.0642        .81770        .11836E-02   -1.5687    
   9  Prefactor     8.8894        29.171        .29354E-03   -1.5648    
  10  Prefactor     51.946        36.836        .13638E-03   -1.5564    
  11  Prefactor     19.187        107.90        .30209E-03   -1.5620    
  12  Prefactor     3.1591        8.8885        .56337E-03   -1.5672    
  13  Prefactor      .0000        11.320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        6.9699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0765        .60282        .10229E-02   -1.5687    
  16  Prefactor     .19540E-07    29.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.724        20.693        .30363E-03   -1.5642    
  18  norm          5.1723        10.064        .43987E-03   -1.5662    
  19  Prefactor     12.151        15.665        .28917E-03   -1.5638    
  20  Prefactor     134.02        53.102        .86571E-04   -1.5476    
  21  Prefactor     25.243        19.831        .19901E-03   -1.5607    
  22  Normalizat    .59086        .22963        .98548E-01   -1.0837    
  23  Prefactor     1.3078        .12839        .32460E-01   -.83074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75955e-06
Minuit parameter uncertainties:
  1  7.19237
  2  3.3007e-05
  3  4.94528e-05
  4  3.75619
  5  4.06385
  6  1.43878e-06
  7  3.28853
  8  0.817702
  9  29.1719
  10  36.8361
  11  91.0017
  12  8.88855
  13  4.06734e-08
  14  1.78621e-05
  15  0.60282
  16  0.0015181
  17  20.6928
  18  10.0641
  19  15.6656
  20  53.1017
  21  19.8315
  22  0.229998
  23  0.128422
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.538e+00  4.064e+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.308e+00  1.284e-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:  5.909e-01  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/229284/likelihoodResults_685670401_685929601_4FGL_J0211.2+1051_daily_bin1722.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) = 7530.24786036
delta logL = 0.333204598952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7530.24178821
delta logL = 0.339276747072

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3367       1.0000          .0000       .10000E+07
     2 'alpha     '    1.1848       1.0000          .0000       5.0000    
     3 'Normalizat'    .59659       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3054       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=   7530.242     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3382        2.0109        .94836E-03    .26212E-02
   2  alpha         1.1851        .49727        .50000       -.55209E-04
   3  Normalizat    .59672        .20511        .98089E-01    .48036E-04
   4  Prefactor     1.3054        .12498        .32516E-01   -.28793E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33817
  alpha      = 1.18509
  Normalizat = 0.596716
  Prefactor  = 1.30538
 **********
 **   18 **HESSE 
 **********

 FCN=   7530.242     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3382        2.5919        .14701E-04   -1.5685    
   2  alpha         1.1851        .78749        .19989E-01   -.55385    
   3  Normalizat    .59672        .21616        .43480E-03   -1.0812    
   4  Prefactor     1.3054        .13224        .18440E-03   -.83147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06221e-09
Minuit parameter uncertainties:
  1  2.59194
  2  0.806701
  3  0.216468
  4  0.132276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229284': 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) = 7530.24178789
delta logL = 0.339277066305

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.338e+00  2.592e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  1.185e+00  8.067e-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.305e+00  1.323e-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:  5.967e-01  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-05', job_status='DONE', photon_flux_upper_limit='8.52e-08', time_completed='2022-09-27 00:17:48.525536', job_id='229284', GAL2='1.31', fit_tolerance='1e-08', EG2='0.60', EG='0.59', time_epoch_completed='1664263068.53', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.39e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1722' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 00:17:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 229284: <4FGL_J0211.2+1051_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1722> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 27 00:04:59 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:05:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:05:11 2022
Terminated at Tue Sep 27 00:17:49 2022
Results reported at Tue Sep 27 00:17:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1722 32.8091 10.8569 685670401 685929601 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 :                                   700.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             323.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            770 sec.

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

