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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1721
RA = 32.8091, Dec = 10.8569
tmin = 685411201, tmax = 685670401
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='48843', job_status='RUN', time_executed='2022-09-24 00:08:08.781917', time_epoch_executed='1664003288.78' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48843

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48843/ft1_4FGL_J0211.2+1051_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48843/ft2_4FGL_J0211.2+1051_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48843/ft1_4FGL_J0211.2+1051_daily_bin1721.fits outfile=/scratch/kocevski/48843/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1721.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=685411201.0 tmax=685670401.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 5.31
user 4.93
sys 0.28

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

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

Number of photons that the gtmktime cut: 566

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48843/ft1_filtered_4FGL_J0211.2+1051_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/48843/ft2_4FGL_J0211.2+1051_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/48843/ltcube_685411201_685670401_4FGL_J0211.2+1051_daily_bin1721.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/48843/ft2_4FGL_J0211.2+1051_daily_bin1721.fits
.....................!
real 15.11
user 14.66
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48843/ft1_filtered_4FGL_J0211.2+1051_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/48843/ft2_4FGL_J0211.2+1051_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/48843/ltcube_685411201_685670401_4FGL_J0211.2+1051_daily_bin1721.fits outfile=/scratch/kocevski/48843/expmap_685411201_685670401_4FGL_J0211.2+1051_daily_bin1721.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/48843/ltcube_685411201_685670401_4FGL_J0211.2+1051_daily_bin1721.fits
.....................!
real 194.12
user 187.72
sys 5.82

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/48843/ft1_filtered_4FGL_J0211.2+1051_daily_bin1721.fits scfile=/scratch/kocevski/48843/ft2_4FGL_J0211.2+1051_daily_bin1721.fits outfile=/scratch/kocevski/48843/cmap_685411201_685670401_4FGL_J0211.2+1051_daily_bin1721.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48843/ft1_filtered_4FGL_J0211.2+1051_daily_bin1721.fits scfile=/scratch/kocevski/48843/ft2_4FGL_J0211.2+1051_daily_bin1721.fits outfile=/scratch/kocevski/48843/cmap_HighResolution_685411201_685670401_4FGL_J0211.2+1051_daily_bin1721.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17082E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .28609E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .48054E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .14433       1.0000          .0000       .10000E+07
     5 'norm      '    .20968       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28570E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.4727       1.0000          .0000       .10000E+07
     8 'norm      '    1.8785       1.0000          .0000       .10000E+07
     9 'Prefactor '    35.520       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28043E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .43050E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    17.586       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26115E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .31033E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .89647       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.811       1.0000          .0000       .10000E+07
    17 'Prefactor '    30.037       1.0000          .0000       .10000E+07
    18 'norm      '     .0000       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.0218       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19823E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .86961E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    .66543       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1907       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=   6531.016     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1913 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9862        .14804E-06** at limit **
   2  norm          .10871E-05    7.7909       -.10112E-06** at limit **
   3  Prefactor      .0000        2.4428        .11293E-08** at limit **
   4  Prefactor     .17172        14.411        .33266E-06** at limit **
   5  norm          .25199        13.791       -.71298E-06    .22239E-03
   6  Prefactor      .0000        3.6084        .11296E-06** at limit **
   7  Prefactor     1.4652        1.8153       -.25853E-08   -.18496E-03
   8  norm          1.8786        .99058       -.24239E-07    .95727E-03
   9  Prefactor     36.397        10.243        .99915E-07    .18476    
  10  Prefactor     .85104E-06    106.66       -.16277E-05** at limit **
  11  Prefactor     .26645E-08    14.170       -.28948E-06** at limit **
  12  Prefactor     17.617        11.246        .92789E-07   -.10759E-02
  13  Prefactor     .82540E-06    13.961        .42442E-07** at limit **
  14  Prefactor     .20394E-05    33.929       -.10111E-05** at limit **
  15  norm          .89649        .57958        .38689E-07   -.12822E-02
  16  Prefactor     10.775        1.9280        .31070E-07    .15724E-01
  17  Prefactor     29.998        1.3593       -.86393E-08   -.15070E-01
  18  norm          .22204E-09    7.2643       -.17890E-06** at limit **
  19  Prefactor     5.0792        2.8028        .92842E-07   -.76491E-02
  20  Prefactor     .12973E-06    14.025       -.28501E-06** at limit **
  21  Prefactor     .33307E-09    6.8438        .10582E-07** at limit **
  22  Normalizat    .66429        .22977       -.50472E-05    .11490E-04
  23  Prefactor     1.1906        .13351        .37119E-05    .82325E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.08707e-06
  Prefactor  = 0
  Prefactor  = 0.171718
  norm       = 0.251988
  Prefactor  = 0
  Prefactor  = 1.46524
  norm       = 1.87862
  Prefactor  = 36.3967
  Prefactor  = 8.51041e-07
  Prefactor  = 2.66454e-09
  Prefactor  = 17.6175
  Prefactor  = 8.25395e-07
  Prefactor  = 2.03937e-06
  norm       = 0.896487
  Prefactor  = 10.7746
  Prefactor  = 29.9977
  norm       = 2.22045e-10
  Prefactor  = 5.07917
  Prefactor  = 1.2973e-07
  Prefactor  = 3.33067e-10
  Normalizat = 0.66429
  Prefactor  = 1.19056
 **********
 **   18 **HESSE 
 **********

 FCN=   6531.016     FROM HESSE     STATUS=OK           426 CALLS     2339 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10871E-05    19.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.4531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .17172        1.5556        .66945E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .25199        2.5533        .70537E-02   -1.5698    
   6  Prefactor      .0000        3.6177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4652        1.8753        .88495E-03   -1.5684    
   8  norm          1.8786        .99072        .75933E-03   -1.5681    
   9  Prefactor     36.397        33.043        .16781E-03   -1.5587    
  10  Prefactor     .85104E-06    107.39        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .26645E-08    20.515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.617        11.608        .23856E-03   -1.5624    
  13  Prefactor     .82540E-06    15.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .20394E-05    35.718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .89649        .63331        .46005E-03   -1.5689    
  16  Prefactor     10.775        38.493        .30446E-03   -1.5642    
  17  Prefactor     29.998        20.913        .18249E-03   -1.5598    
  18  norm          .22204E-09    7.2361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.0792        25.240        .44849E-03   -1.5663    
  20  Prefactor     .12973E-06    14.269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .33307E-09    6.8401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .66429        .21780        .89585E-01   -1.0532    
  23  Prefactor     1.1906        .12254        .34855E-01   -.86622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24913e-06
Minuit parameter uncertainties:
  1  1.32696e-06
  2  0.00917495
  3  1.00562e-06
  4  1.03368
  5  1.60425
  6  7.40845e-06
  7  1.87533
  8  0.990716
  9  33.0431
  10  0.0191209
  11  0.00046663
  12  11.6076
  13  0.00726393
  14  0.0170695
  15  0.633307
  16  38.494
  17  20.9127
  18  8.10487e-05
  19  22.6453
  20  0.00272132
  21  9.4988e-05
  22  0.218085
  23  0.122569
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  2.520e-01  1.604e+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.191e+00  1.226e-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:  6.643e-01  2.181e-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: 7.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/48843/likelihoodResults_685411201_685670401_4FGL_J0211.2+1051_daily_bin1721.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) = 6531.01162014
delta logL = 0.00414342910881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6531.01048014
delta logL = 0.00528343176393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41099       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7814       1.0000          .0000       5.0000    
     3 'Normalizat'    .66527       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1898       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6531.010     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      297 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41781        7.4280        .17645E-03    .14530E-01
   2  alpha         1.7842        1.9195        .58748E-01   -.99006E-04
   3  Normalizat    .66506        .22463        .39670E-03   -.40122E-05
   4  Prefactor     1.1898        .13181        .17624E-03    .13418E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.417813
  alpha      = 1.78421
  Normalizat = 0.665057
  Prefactor  = 1.18981
 **********
 **   18 **HESSE 
 **********

 FCN=   6531.010     FROM HESSE     STATUS=OK            27 CALLS      324 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41781        7.3828        .35290E-04   -1.5695    
   2  alpha         1.7842        1.9210        .11750E-01   -.29038    
   3  Normalizat    .66506        .22470        .15868E-04   -1.0529    
   4  Prefactor     1.1898        .13179        .70495E-05   -.86645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10253e-11
Minuit parameter uncertainties:
  1  3.51263
  2  2.22911
  3  0.225008
  4  0.131828
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48843': 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) = 6531.01047719
delta logL = 0.00528638560991

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.190e+00  1.318e-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:  6.651e-01  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/48843/cmap_HighResolution_685411201_685670401_4FGL_J0211.2+1051_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', job_status='DONE', photon_flux_upper_limit='7.88e-08', time_completed='2022-09-24 00:18:50.075481', job_id='48843', GAL2='1.19', fit_tolerance='1e-08', EG2='0.67', EG='0.66', time_epoch_completed='1664003930.08', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='5.29e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1721' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 00:18:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 48843: <4FGL_J0211.2+1051_daily_bin1721> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1721> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 24 00:05:10 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 00:05:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 00:05:40 2022
Terminated at Sat Sep 24 00:18:50 2022
Results reported at Sat Sep 24 00:18:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1721 32.8091 10.8569 685411201 685670401 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 :                                   639.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            820 sec.

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

