aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 6 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17123
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0211.2+1051_weekly_bin535
RA = 32.8091, Dec = 10.8569
tmin = 562550401, tmax = 563155201
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='409774', job_status='RUN', time_executed='2021-07-04 11:11:56.501834', time_epoch_executed='1625422316.5' WHERE source_name='4FGL J0211.2+1051' and cadence='weekly' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409774

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409774/ft1_4FGL_J0211.2+1051_weekly_bin535.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409774/ft2_4FGL_J0211.2+1051_weekly_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409774/ft1_4FGL_J0211.2+1051_weekly_bin535.fits outfile=/scratch/kocevski/409774/ft1_filteredMKT_4FGL_J0211.2+1051_weekly_bin535.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=562550401.0 tmax=563155201.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 7.62
user 7.09
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/409774/ft2_4FGL_J0211.2+1051_weekly_bin535.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/409774/ft1_filteredMKT_4FGL_J0211.2+1051_weekly_bin535.fits evtable="EVENTS" outfile="/scratch/kocevski/409774/ft1_filtered_4FGL_J0211.2+1051_weekly_bin535.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.69
user 0.36
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409774/ft1_filtered_4FGL_J0211.2+1051_weekly_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/409774/ft2_4FGL_J0211.2+1051_weekly_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/409774/ltcube_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.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/409774/ft2_4FGL_J0211.2+1051_weekly_bin535.fits
.....................!
real 27.73
user 27.18
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409774/ft1_filtered_4FGL_J0211.2+1051_weekly_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/409774/ft2_4FGL_J0211.2+1051_weekly_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/409774/ltcube_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.fits outfile=/scratch/kocevski/409774/expmap_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.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/409774/ltcube_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.fits
.....................!
real 193.65
user 186.11
sys 5.76

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/409774/ft1_filtered_4FGL_J0211.2+1051_weekly_bin535.fits scfile=/scratch/kocevski/409774/ft2_4FGL_J0211.2+1051_weekly_bin535.fits outfile=/scratch/kocevski/409774/cmap_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.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.61
user 0.40
sys 0.16

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/409774/ft1_filtered_4FGL_J0211.2+1051_weekly_bin535.fits', '/scratch/kocevski/409774/ft2_4FGL_J0211.2+1051_weekly_bin535.fits', expMap='/scratch/kocevski/409774/expmap_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.fits', expCube='/scratch/kocevski/409774/ltcube_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/409774/Model_4FGL_J0211.2+1051_weekly_bin535.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0211.2+1051'

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  8.760e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/409774/ft1_filtered_4FGL_J0211.2+1051_weekly_bin535.fits
Spacecraft file(s): /scratch/kocevski/409774/ft2_4FGL_J0211.2+1051_weekly_bin535.fits
Exposure map: /scratch/kocevski/409774/expmap_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.fits
Exposure cube: /scratch/kocevski/409774/ltcube_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/409774/Model_4FGL_J0211.2+1051_weekly_bin535.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) = 9415.38901383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    14.205       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10681E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.860       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3687       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5645       1.0000         .10000E-03   10000.    
     8 'norm      '    .34407       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.279       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.9937       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.4567       1.0000         .10000E-03   10000.    
    17 'norm      '    .42005       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    10.038       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.704       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1131       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9415.371     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2901 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5394       -.12922E-07** at limit **
   2  norm          14.203        15.728       -.13418E-05   -.21293E-04
   3  Prefactor     .10000E-03    1.4918       -.24964E-07** at limit **
   4  Prefactor     .10000E-03    1.4647        .59032E-07** at limit **
   5  norm          11.860        4.8019       -.42403E-07   -.66824E-05
   6  Prefactor     6.3682        5.7986        .12234E-06    .14195E-04
   7  Prefactor     4.5643        2.4794       -.39973E-07   -.68586E-04
   8  norm          .34429        .67657       -.12803E-07   -.52432E-03
   9  Prefactor     .10000E-03    17.926        .24266E-05** at limit **
  10  Prefactor     43.274        36.697       -.51028E-05   -.46359E-04
  11  Prefactor     .10000E-03    6.3082       -.19560E-06** at limit **
  12  Prefactor     .10000E-03    14.739       -.80171E-06** at limit **
  13  Prefactor     .10000E-03    3.1835       -.71824E-08** at limit **
  14  Prefactor     .10000E-03    15.130       -.26356E-07** at limit **
  15  Prefactor     4.9939        6.5130        .32234E-07   -.60477E-03
  16  Prefactor     4.4580        4.9020        .36517E-06   -.95882E-03
  17  norm          .41973        .40653       -.14725E-07    .12178E-03
  18  Prefactor     .10000E-03    10.980       -.13185E-05** at limit **
  19  Prefactor     .10000E-03    20.309       -.13624E-05** at limit **
  20  norm          10.037        10.612       -.17405E-06   -.11138E-04
  21  Prefactor     10.706        12.974        .46328E-06    .46496E-05
  22  Prefactor     .10000E-03    10.011        .13304E-05** at limit **
  23  Prefactor     .10000E-03    5.6677        .10700E-06** at limit **
  24  Normalizat    1.1133        .18029        .66281E-06   -.15491E-04
  25  Prefactor     1.0587        .10267        .21487E-06   -.44146E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 14.2029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.8598
  Prefactor  = 6.36825
  Prefactor  = 4.56432
  norm       = 0.34429
  Prefactor  = 0.0001
  Prefactor  = 43.2743
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.99391
  Prefactor  = 4.45805
  norm       = 0.419729
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.0372
  Prefactor  = 10.7061
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11329
  Prefactor  = 1.0587
 **********
 **   18 **HESSE 
 **********

 FCN=   9415.371     FROM HESSE     STATUS=OK           433 CALLS     3334 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5603        .15097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.203        15.739        .10627E-03   -1.4954    
   3  Prefactor     .10000E-03    1.4947        .11573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9129        .22466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.860        4.7991        .11632E-03   -1.5019    
   6  Prefactor     6.3682        5.7998        .15905E-03   -1.5203    
   7  Prefactor     4.5643        2.4765        .10778E-03   -1.5281    
   8  norm          .34429        .58802        .10651E-02   -1.5591    
   9  Prefactor     .10000E-03    17.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     43.274        36.737        .60938E-04   -1.4391    
  11  Prefactor     .10000E-03    6.4775        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.2071        .16902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9939        7.1313        .89980E-03   -1.5261    
  16  Prefactor     4.4580        8.2754        .95369E-03   -1.5286    
  17  norm          .41973        .39327        .54534E-03   -1.5578    
  18  Prefactor     .10000E-03    10.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.037        10.633        .12647E-03   -1.5074    
  21  Prefactor     10.706        12.848        .12246E-03   -1.5053    
  22  Prefactor     .10000E-03    10.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.6718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1133        .19959        .32516E-03   -.89326    
  25  Prefactor     1.0587        .11660        .19253E-03   -.90797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29834e-09
Minuit parameter uncertainties:
  1  2.77604e-06
  2  15.7438
  3  4.59069e-08
  4  5.45658e-06
  5  4.79925
  6  5.80027
  7  2.47658
  8  0.588032
  9  1.47933e-05
  10  36.7564
  11  3.15086e-06
  12  9.86954e-06
  13  2.27746e-06
  14  1.34073e-05
  15  7.13254
  16  8.2775
  17  0.393272
  18  1.27341e-05
  19  3.76048e-05
  20  10.6353
  21  12.8516
  22  1.10895e-05
  23  3.11772e-07
  24  0.19973
  25  0.116625
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.186e+01  4.799e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.059e+00  1.166e-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.113e+00  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.21
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 7.87e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 4.30e-05 +/- 1.74e-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) = 9413.48754317
delta logL = 1.88372392585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9413.27325772
delta logL = 2.09800937708

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6493       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3055       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0605       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=   9413.273     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      224 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6471        4.0978        .36249E-02   -.65551E-04
   2  alpha         1.3052        .25627        .24102       -.65062E-04
   3  Normalizat    1.1387        .17311        .72845E-01    .19267E-04
   4  Prefactor     1.0606        .10084        .39331E-01    .27994E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.64713
  alpha      = 1.30521
  Normalizat = 1.13865
  Prefactor  = 1.06056
 **********
 **   18 **HESSE 
 **********

 FCN=   9413.273     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6471        6.0512        .12770E-03   -1.5155    
   2  alpha         1.3052        .39875        .10094E-01   -.49828    
   3  Normalizat    1.1387        .19532        .32235E-03   -.88520    
   4  Prefactor     1.0606        .11417        .19266E-03   -.90737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26034e-09
Minuit parameter uncertainties:
  1  6.05167
  2  0.40097
  3  0.195446
  4  0.1142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409774': 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) = 9413.27325729
delta logL = 2.09800981197

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  7.647e+00  6.052e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        alpha:  1.305e+00  4.010e-01  0.000e+00  5.000e+00 ( 1.000e+00)
246         beta:  5.238e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.061e+00  1.142e-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.139e+00  1.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.40
Ra Dec: 32.809 10.857
Photon Index (Free Index): 1.31 +/- 0.40
Photon Flux (Free Index): 3.04e-08 +/- 2.43e-08
Energy Flux (Free Index): 1.13e-04 +/- 8.37e-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/409774/cmap_HighResolution_562550401_563155201_4FGL_J0211.2+1051_weekly_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.87e-08', energy_flux2='1.13e-04', photon_flux_error='3.18e-08', dlogl='2.10e+00', energy_flux='4.30e-05', photon_flux2='3.04e-08', job_status='DONE', time_completed='2021-07-04 11:26:37.268083', photon_index_error2='0.40', photon_index2='1.31', ts='21.21', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='8.37e-05', EG='1.11', time_epoch_completed='1625423197.27', return_code='0', job_id='409774', GAL2='1.06', EG2='1.14', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='2.43e-08', ts2='25.40', photon_index='2.05' WHERE bin_id='535' AND source_name='4FGL J0211.2+1051' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul  4 11:26:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 409774: <4FGL_J0211.2+1051_weekly_bin535> in cluster <slac> Done

Job <4FGL_J0211.2+1051_weekly_bin535> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Jul  4 11:11:11 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul  4 11:11:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul  4 11:11:12 2021
Terminated at Sun Jul  4 11:26:39 2021
Results reported at Sun Jul  4 11:26:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_weekly_bin535 32.8091 10.8569 562550401 563155201 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 :                                   864.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             363.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            928 sec.

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

