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


Performing analysis on: 4FGL_J0211.2+1051_weekly_bin741
RA = 32.8091, Dec = 10.8569
tmin = 687139201, tmax = 687744001
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='379038', job_status='RUN', time_executed='2022-10-18 00:38:16.548641', time_epoch_executed='1666078696.55' WHERE source_name='4FGL J0211.2+1051' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379038

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379038/ft1_4FGL_J0211.2+1051_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379038/ft2_4FGL_J0211.2+1051_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379038/ft1_4FGL_J0211.2+1051_weekly_bin741.fits outfile=/scratch/kocevski/379038/ft1_filteredMKT_4FGL_J0211.2+1051_weekly_bin741.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=687139201.0 tmax=687744001.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.55
user 6.30
sys 0.23

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

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

Number of photons that the gtmktime cut: 321

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379038/ft1_filtered_4FGL_J0211.2+1051_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/379038/ft2_4FGL_J0211.2+1051_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/379038/ltcube_687139201_687744001_4FGL_J0211.2+1051_weekly_bin741.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/379038/ft2_4FGL_J0211.2+1051_weekly_bin741.fits
.....................!
real 26.84
user 26.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379038/ft1_filtered_4FGL_J0211.2+1051_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/379038/ft2_4FGL_J0211.2+1051_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/379038/ltcube_687139201_687744001_4FGL_J0211.2+1051_weekly_bin741.fits outfile=/scratch/kocevski/379038/expmap_687139201_687744001_4FGL_J0211.2+1051_weekly_bin741.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/379038/ltcube_687139201_687744001_4FGL_J0211.2+1051_weekly_bin741.fits
.....................!
real 192.43
user 187.44
sys 4.62

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/379038/ft1_filtered_4FGL_J0211.2+1051_weekly_bin741.fits scfile=/scratch/kocevski/379038/ft2_4FGL_J0211.2+1051_weekly_bin741.fits outfile=/scratch/kocevski/379038/cmap_687139201_687744001_4FGL_J0211.2+1051_weekly_bin741.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.59
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/379038/ft1_filtered_4FGL_J0211.2+1051_weekly_bin741.fits scfile=/scratch/kocevski/379038/ft2_4FGL_J0211.2+1051_weekly_bin741.fits outfile=/scratch/kocevski/379038/cmap_HighResolution_687139201_687744001_4FGL_J0211.2+1051_weekly_bin741.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.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30885E-02   1.0000          .0000       .10000E+07
     2 'norm      '    21.641       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3721       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18652E-07   1.0000          .0000       .10000E+07
     5 'norm      '    10.850       1.0000          .0000       .10000E+07
     6 'Prefactor '    .88091E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.3354       1.0000          .0000       .10000E+07
     8 'norm      '    .68010       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9241       1.0000          .0000       .10000E+07
    10 'Prefactor '    .62567E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.0381       1.0000          .0000       .10000E+07
    12 'Prefactor '    .23421       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1926       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.894       1.0000          .0000       .10000E+07
    15 'norm      '    .27668       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37769E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .32576E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .51223E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .30174E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .37950E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    27.698       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2058       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83535       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=   3613.780     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1898 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    7.6083       -.32857E-06** at limit **
   2  norm          21.362        2.9875       -.10783E-06    .10143E-01
   3  Prefactor     1.4010        12.136       -.61279E-06   -.21250E-04
   4  Prefactor      .0000        .93375       -.21493E-07** at limit **
   5  norm          10.816        7.1919        .17686E-06   -.38965E-03
   6  Prefactor     .27756E-08    29.420        .21884E-05** at limit **
   7  Prefactor     1.3346        3.1914        .45221E-07   -.19359E-02
   8  norm          .67964        .96842        .26881E-07    .17448E-02
   9  Prefactor     9.7835        3.1388        .23337E-06    .35747E-02
  10  Prefactor     .53291E-08    56.795       -.12015E-05** at limit **
  11  Prefactor     9.3375        138.60        .19577E-05    .68830E-02
  12  Prefactor     .56186E-02    120.67       -.30134E-05** at limit **
  13  Prefactor     1.2278        61.895        .11580E-04    .11132E-02
  14  Prefactor     14.979        18.815       -.10292E-05    .75383E-03
  15  norm          .27666        .64886       -.28173E-06    .71417E-02
  16  Prefactor     .26090E-08    38.281       -.29910E-05** at limit **
  17  Prefactor      .0000        8.9704        .61739E-07** at limit **
  18  norm           .0000        4.9580        .84725E-06** at limit **
  19  Prefactor     .33307E-09    47.106       -.20698E-05** at limit **
  20  Prefactor      .0000        19.268        .34914E-07** at limit **
  21  Prefactor     27.701        1.4682       -.49451E-07   -.10613E-02
  22  Normalizat    1.2067        .27913       -.16253E-04    .12501E-03
  23  Prefactor     .83513        .15798       -.62412E-05    .20306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  norm       = 21.3616
  Prefactor  = 1.401
  Prefactor  = 0
  norm       = 10.8162
  Prefactor  = 2.77556e-09
  Prefactor  = 1.33459
  norm       = 0.679638
  Prefactor  = 9.7835
  Prefactor  = 5.32907e-09
  Prefactor  = 9.33747
  Prefactor  = 0.00561858
  Prefactor  = 1.22779
  Prefactor  = 14.9788
  norm       = 0.276658
  Prefactor  = 2.60902e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 27.7009
  Normalizat = 1.20667
  Prefactor  = 0.835135
 **********
 **   18 **HESSE 
 **********

 FCN=   3613.780     FROM HESSE     STATUS=OK           426 CALLS     2324 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    7.6120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.362        33.045        .21502E-03   -1.5616    
   3  Prefactor     1.4010        12.385        .93018E-03   -1.5684    
   4  Prefactor      .0000        .93414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.816        7.2010        .30392E-03   -1.5642    
   6  Prefactor     .27756E-08    29.454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3346        3.2801        .94906E-03   -1.5685    
   8  norm          .67964        .98136        .62339E-03   -1.5691    
   9  Prefactor     9.7835        29.793        .31784E-03   -1.5645    
  10  Prefactor     .53291E-08    57.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.3375        142.19        .35340E-03   -1.5647    
  12  Prefactor     .56186E-02    17.818        .78988E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2278        63.727        .10418E-02   -1.5686    
  14  Prefactor     14.979        21.633        .25926E-03   -1.5631    
  15  norm          .27666        .79856        .16059E-02   -1.5697    
  16  Prefactor     .26090E-08    38.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        8.9871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        4.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .33307E-09    46.610        .16441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        19.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     27.701        33.516        .19004E-03   -1.5603    
  22  Normalizat    1.2067        .25338        .65301E-01   -.86397    
  23  Prefactor     .83513        .14114        .44176E-01   -.98446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.16831e-07
Minuit parameter uncertainties:
  1  9.98848e-05
  2  33.0457
  3  8.33098
  4  1.85469e-06
  5  7.20097
  6  0.000572298
  7  3.28006
  8  0.981359
  9  29.7935
  10  0.00110258
  11  72.8774
  12  0.632805
  13  17.6913
  14  21.633
  15  0.798558
  16  0.000634596
  17  2.22851e-05
  18  2.51851e-06
  19  0.000246536
  20  7.963e-06
  21  33.516
  22  0.253643
  23  0.141203
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.082e+01  7.201e+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:  8.351e-01  1.412e-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.207e+00  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.03
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 7.18e-08 +/- 4.78e-08
Energy Flux (Fixed Index): 3.92e-05 +/- 2.61e-05

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) = 3613.21629234
delta logL = 0.563990781418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3613.19344459
delta logL = 0.586838532478

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5709       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4740       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2217       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83504       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=   3613.193     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5653        6.8786        .32368E-03   -.70593E-02
   2  alpha         1.4738        .41558        .25863       -.21433E-04
   3  Normalizat    1.2217        .24589        .64972E-01   -.10425E-04
   4  Prefactor     .83510        .13836        .44172E-01   -.20517E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.56526
  alpha      = 1.4738
  Normalizat = 1.2217
  Prefactor  = 0.835095
 **********
 **   18 **HESSE 
 **********

 FCN=   3613.193     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5653        7.9876        .64736E-04   -1.5646    
   2  alpha         1.4738        .51541        .10682E-01   -.42298    
   3  Normalizat    1.2217        .27647        .28740E-03   -.85935    
   4  Prefactor     .83510        .15580        .19052E-03   -.98447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58797e-12
Minuit parameter uncertainties:
  1  7.98759
  2  0.51991
  3  0.276803
  4  0.155884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379038': 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) = 3613.19344414
delta logL = 0.586838986001

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  9.565e+00  7.988e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  1.474e+00  5.199e-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:  8.351e-01  1.559e-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.222e+00  2.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.21
Ra Dec: 32.809 10.857
Photon Index (Free Index): 1.47 +/- 0.52
Photon Flux (Free Index): 3.94e-08 +/- 3.77e-08
Energy Flux (Free Index): 8.94e-05 +/- 1.02e-04

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/379038/cmap_HighResolution_687139201_687744001_4FGL_J0211.2+1051_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.18e-08', energy_flux2='8.94e-05', photon_flux_error='4.78e-08', dlogl='5.87e-01', energy_flux='3.92e-05', photon_flux2='3.94e-08', job_status='DONE', time_completed='2022-10-18 00:46:37.635193', photon_index_error2='0.52', photon_index2='1.47', ts='7.03', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.02e-04', EG='1.21', time_epoch_completed='1666079197.64', return_code='0', job_id='379038', GAL2='0.84', EG2='1.22', return_code2='0', energy_flux_error='2.61e-05', photon_flux_error2='3.77e-08', ts2='8.21', photon_index='2.05' WHERE bin_id='741' AND source_name='4FGL J0211.2+1051' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:46:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 379038: <4FGL_J0211.2+1051_weekly_bin741> in cluster <slac> Done

Job <4FGL_J0211.2+1051_weekly_bin741> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:55 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:57 2022
Terminated at Tue Oct 18 00:46:38 2022
Results reported at Tue Oct 18 00:46:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_weekly_bin741 32.8091 10.8569 687139201 687744001 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 :                                   502.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            643 sec.

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

