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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1780
RA = 32.8091, Dec = 10.8569
tmin = 700704001, tmax = 700963201
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='49150', job_status='RUN', time_executed='2023-03-20 00:05:29.270053', time_epoch_executed='1679295929.27' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49150

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49150/ft1_4FGL_J0211.2+1051_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49150/ft2_4FGL_J0211.2+1051_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49150/ft1_4FGL_J0211.2+1051_daily_bin1780.fits outfile=/scratch/kocevski/49150/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1780.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.10
user 3.86
sys 0.22

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

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

Number of photons that the gtmktime cut: 576

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49150/ft1_filtered_4FGL_J0211.2+1051_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49150/ft2_4FGL_J0211.2+1051_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/49150/ltcube_700704001_700963201_4FGL_J0211.2+1051_daily_bin1780.fits outfile=/scratch/kocevski/49150/expmap_700704001_700963201_4FGL_J0211.2+1051_daily_bin1780.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/49150/ltcube_700704001_700963201_4FGL_J0211.2+1051_daily_bin1780.fits
.....................!
real 191.61
user 184.91
sys 5.36

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/49150/ft1_filtered_4FGL_J0211.2+1051_daily_bin1780.fits scfile=/scratch/kocevski/49150/ft2_4FGL_J0211.2+1051_daily_bin1780.fits outfile=/scratch/kocevski/49150/cmap_700704001_700963201_4FGL_J0211.2+1051_daily_bin1780.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.81
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49150/ft1_filtered_4FGL_J0211.2+1051_daily_bin1780.fits scfile=/scratch/kocevski/49150/ft2_4FGL_J0211.2+1051_daily_bin1780.fits outfile=/scratch/kocevski/49150/cmap_HighResolution_700704001_700963201_4FGL_J0211.2+1051_daily_bin1780.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.61
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12575E-03   1.0000          .0000       .10000E+07
     2 'norm      '    5.2808       1.0000          .0000       .10000E+07
     3 'Prefactor '    .47247E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0555       1.0000          .0000       .10000E+07
     5 'norm      '    10.488       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33461E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2406       1.0000          .0000       .10000E+07
     8 'norm      '    1.1487       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25741E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10007E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .63148E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0667       1.0000          .0000       .10000E+07
    13 'Prefactor '    .86204E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .36824E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .87653       1.0000          .0000       .10000E+07
    16 'Prefactor '    .71928E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    13.423       1.0000          .0000       .10000E+07
    18 'norm      '    .47799E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.8796       1.0000          .0000       .10000E+07
    20 'Prefactor '    .30795       1.0000          .0000       .10000E+07
    21 'Prefactor '    4.6558       1.0000          .0000       .10000E+07
    22 'Normalizat'    .98674       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0774       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=   6386.287     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1419 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6725        .77818E-06** at limit **
   2  norm          5.2938        1.3015        .46548E-06    .40223E-02
   3  Prefactor     .46124E-06    7.9622        .23780E-05** at limit **
   4  Prefactor     5.0589        3.5792       -.12859E-06    .20214E-02
   5  norm          10.485        6.5836        .22619E-06   -.91519E-03
   6  Prefactor      .0000        3.6918        .14990E-06** at limit **
   7  Prefactor     4.2422        2.7443        .62287E-07   -.63372E-02
   8  norm          1.1487        .83257       -.19832E-06   -.46083E-02
   9  Prefactor     .22204E-09    9.3851        .29539E-05** at limit **
  10  Prefactor     .16653E-09    6.3969       -.11333E-05** at limit **
  11  Prefactor     .32141E-07    24.540       -.37645E-05** at limit **
  12  Prefactor     6.0781        8.5570        .12301E-05    .45507E-03
  13  Prefactor     .39374E-06    11.011        .64512E-05** at limit **
  14  Prefactor     .11102E-09    4.2356        .52599E-07** at limit **
  15  norm          .87523        .47271        .65100E-07    .14894E-03
  16  Prefactor     .10252E-05    2.9519        .42700E-05** at limit **
  17  Prefactor     13.535        1.0835        .10197E-06    .11135E-02
  18  norm          .19762E-07    11.593       -.85261E-05** at limit **
  19  Prefactor     6.0761        1.6698       -.63411E-06   -.54239E-02
  20  Prefactor     .13889E-06    3.5014        .35239E-05** at limit **
  21  Prefactor     4.8098        1.3125       -.43630E-06   -.29558E-02
  22  Normalizat    .98630        .25107       -.15116E-04   -.36825E-04
  23  Prefactor     1.0773        .13947        .90770E-06    .10896E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 5.2938
  Prefactor  = 4.61242e-07
  Prefactor  = 5.05893
  norm       = 10.4851
  Prefactor  = 0
  Prefactor  = 4.24222
  norm       = 1.14871
  Prefactor  = 2.22045e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 3.2141e-08
  Prefactor  = 6.07813
  Prefactor  = 3.93741e-07
  Prefactor  = 1.11022e-10
  norm       = 0.875229
  Prefactor  = 1.02518e-06
  Prefactor  = 13.5355
  norm       = 1.9762e-08
  Prefactor  = 6.07612
  Prefactor  = 1.38889e-07
  Prefactor  = 4.80982
  Normalizat = 0.986299
  Prefactor  = 1.07733
 **********
 **   18 **HESSE 
 **********

 FCN=   6386.287     FROM HESSE     STATUS=OK           414 CALLS     1833 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.2938        14.603        .43714E-03   -1.5662    
   3  Prefactor     .46124E-06    16.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.0589        3.5872        .44697E-03   -1.5663    
   5  norm          10.485        6.5941        .30913E-03   -1.5643    
   6  Prefactor      .0000        3.6973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2422        2.7469        .48907E-03   -1.5667    
   8  norm          1.1487        .83857        .10802E-02   -1.5687    
   9  Prefactor     .22204E-09    9.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    6.4038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .32141E-07    25.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.0781        8.6033        .40740E-03   -1.5659    
  13  Prefactor     .39374E-06    18.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-09    4.2394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .87523        .48481        .47396E-03   -1.5689    
  16  Prefactor     .10252E-05    93.386        .14755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.535        15.448        .27314E-03   -1.5634    
  18  norm          .19762E-07    12.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.0761        15.079        .41392E-03   -1.5659    
  20  Prefactor     .13889E-06    108.76        .10104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.8098        15.612        .46618E-03   -1.5664    
  22  Normalizat    .98630        .22541        .78079E-01   -.93491    
  23  Prefactor     1.0773        .12441        .38517E-01   -.90195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61443e-08
Minuit parameter uncertainties:
  1  1.35614e-05
  2  14.6035
  3  0.00558554
  4  3.58723
  5  6.59412
  6  5.20836e-06
  7  2.74686
  8  0.838566
  9  9.0436e-05
  10  6.98939e-05
  11  0.00179427
  12  8.6033
  13  0.00546938
  14  4.47203e-05
  15  0.484809
  16  0.0195696
  17  15.4477
  18  0.000993263
  19  15.0789
  20  0.00777375
  21  15.6116
  22  0.225629
  23  0.12444
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  1.049e+01  6.594e+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.077e+00  1.244e-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:  9.863e-01  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.79
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 6.96e-08 +/- 4.37e-08
Energy Flux (Fixed Index): 3.80e-05 +/- 2.39e-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) = 6385.90077016
delta logL = 0.38611490114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6385.89650388
delta logL = 0.390381183633

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2585       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4822       1.0000          .0000       5.0000    
     3 'Normalizat'    .95210       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0856       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6385.897     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      269 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2584        6.3393        .12817E-04    .45192E-02
   2  alpha         2.4821        .51048        .10845E-01    .45171E-04
   3  Normalizat    .95213        .24754        .35066E-03    .20425E-04
   4  Prefactor     1.0856        .13886        .18695E-03   -.89598E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.25843
  alpha      = 2.48206
  Normalizat = 0.952125
  Prefactor  = 1.08559
 **********
 **   18 **HESSE 
 **********

 FCN=   6385.897     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2584        6.1452        .51269E-06   -1.5647    
   2  alpha         2.4821        .49462        .43382E-03   -.71763E-02
   3  Normalizat    .95213        .24752        .14027E-04   -.94652    
   4  Prefactor     1.0856        .13887        .37391E-04   -.89928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89492e-11
Minuit parameter uncertainties:
  1  6.14516
  2  0.497901
  3  0.247815
  4  0.138918
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49150': 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) = 6385.89650375
delta logL = 0.390381308024

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  9.258e+00  6.145e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  2.482e+00  4.979e-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.086e+00  1.389e-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:  9.521e-01  2.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.58
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.48 +/- 0.50
Photon Flux (Free Index): 1.07e-07 +/- 6.96e-08
Energy Flux (Free Index): 3.21e-05 +/- 1.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/49150/cmap_HighResolution_700704001_700963201_4FGL_J0211.2+1051_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.96e-08', energy_flux2='3.21e-05', photon_flux_error='4.37e-08', dlogl='3.90e-01', energy_flux='3.80e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2023-03-20 00:14:36.913445', photon_index_error2='0.50', photon_index2='2.48', ts='4.79', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.85e-05', EG='0.99', time_epoch_completed='1679296476.91', return_code='0', job_id='49150', GAL2='1.09', EG2='0.95', return_code2='0', energy_flux_error='2.39e-05', photon_flux_error2='6.96e-08', ts2='5.58', photon_index='2.05' WHERE bin_id='1780' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:14:36 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 49150: <4FGL_J0211.2+1051_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1780> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 20 00:05:06 2023
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:05:07 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:05:07 2023
Terminated at Mon Mar 20 00:14:37 2023
Results reported at Mon Mar 20 00:14:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1780 32.8091 10.8569 700704001 700963201 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 :                                   541.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             387.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   570 sec.
    Turnaround time :                            571 sec.

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

