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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1768
RA = 332.817, Dec = -13.4189
tmin = 697593601, tmax = 697852801
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='283240', job_status='RUN', time_executed='2023-02-12 01:44:59.690859', time_epoch_executed='1676195099.69' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/283240

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/283240/ft1_4FGL_J2211.2-1325_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/283240/ft1_4FGL_J2211.2-1325_daily_bin1768.fits outfile=/scratch/kocevski/283240/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1768.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=697593601.0 tmax=697852801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.64
user 3.39
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.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/283240/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/283240/ltcube_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.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/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits
.....................!
real 14.98
user 14.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/283240/ltcube_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.fits outfile=/scratch/kocevski/283240/expmap_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.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/283240/ltcube_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.fits
.....................!
real 192.19
user 186.43
sys 4.84

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J2211.2-1325 @ 332.817 -13.4189

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.fits scfile=/scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits outfile=/scratch/kocevski/283240/cmap_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.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=332.817 yref=-13.4189 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.fits scfile=/scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits outfile=/scratch/kocevski/283240/cmap_HighResolution_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.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=332.817 yref=-13.4189 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/283240/Model_4FGL_J2211.2-1325_daily_bin1768.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/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.fits.....................!
real 65.32
user 63.97
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.fits', '/scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits', expMap='/scratch/kocevski/283240/expmap_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.fits', expCube='/scratch/kocevski/283240/ltcube_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/283240/Model_4FGL_J2211.2-1325_daily_bin1768.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2211.2-1325'

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.184e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/283240/ft1_filtered_4FGL_J2211.2-1325_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/283240/ft2_4FGL_J2211.2-1325_daily_bin1768.fits
Exposure map: /scratch/kocevski/283240/expmap_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.fits
Exposure cube: /scratch/kocevski/283240/ltcube_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/283240/Model_4FGL_J2211.2-1325_daily_bin1768.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) = 7034.4351838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68279E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    14.304       1.0000          .0000       .10000E+07
     3 'Prefactor '    44.922       1.0000          .0000       .10000E+07
     4 'norm      '    .24939E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .35096E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16031       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22662E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.1725       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6587       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.6054       1.0000          .0000       .10000E+07
    11 'Prefactor '    .19438E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .43636       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13092E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    17.482       1.0000          .0000       .10000E+07
    15 'norm      '    .12514       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.393       1.0000          .0000       .10000E+07
    17 'norm      '    .45864E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.0239       1.0000          .0000       .10000E+07
    19 'Prefactor '    .38407E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .58554       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.6419       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7034.339     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     1838 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    1.8869        .18149E-06** at limit **
   2  Prefactor     14.278        9.7533       -.26352E-07   -.13843E-01
   3  Prefactor     46.153        28.549        .96735E-07   -.45432E-02
   4  norm          .56954E-07    8.7962       -.77992E-07** at limit **
   5  Prefactor     .27756E-09    6.7275       -.19465E-06** at limit **
   6  Prefactor     .34051E-06    54.104        .36014E-07** at limit **
   7  Prefactor     .38858E-09    4.2676        .10296E-06** at limit **
   8  Prefactor     7.2134        12.123        .12891E-06   -.33740E-01
   9  Prefactor     2.7043        4.3771        .75824E-07   -.58024E-02
  10  Prefactor     6.5703        5.1834       -.52976E-07    .10083E-02
  11  Prefactor     .87308E-06    10.783        .10334E-06** at limit **
  12  norm          .47073        6.7479        .92643E-07    .81418E-03
  13  Prefactor     .36082E-08    10.148        .89161E-07** at limit **
  14  Prefactor     17.414        5.5915        .85915E-07    .80454E-01
  15  norm          .12736        .90905        .48454E-07** at limit **
  16  Prefactor     15.613        12.429        .14335E-06    .38503E-01
  17  norm          .68834E-08    18.270        .30522E-06** at limit **
  18  Prefactor     .70207E-05    947.76       -.63722E-05** at limit **
  19  Prefactor     .94369E-08    14.513        .37312E-06** at limit **
  20  Normalizat    .58391        .28858       -.79325E-06    .45468E-04
  21  Prefactor     1.6421        .19369       -.49811E-06    .10566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 14.2778
  Prefactor  = 46.1533
  norm       = 5.69544e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 3.40505e-07
  Prefactor  = 3.88578e-10
  Prefactor  = 7.21342
  Prefactor  = 2.70433
  Prefactor  = 6.57025
  Prefactor  = 8.73079e-07
  norm       = 0.470729
  Prefactor  = 3.60822e-09
  Prefactor  = 17.4142
  norm       = 0.127363
  Prefactor  = 15.6134
  norm       = 6.88338e-09
  Prefactor  = 7.02066e-06
  Prefactor  = 9.4369e-09
  Normalizat = 0.583908
  Prefactor  = 1.64211
 **********
 **   18 **HESSE 
 **********

 FCN=   7034.339     FROM HESSE     STATUS=OK           383 CALLS     2221 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    1.8906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.278        9.7785        .26457E-03   -1.5632    
   3  Prefactor     46.153        29.770        .14921E-03   -1.5572    
   4  norm          .56954E-07    10.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    6.7321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .34051E-06    12.397        .12530E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .38858E-09    4.2273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2134        14.752        .37431E-03   -1.5654    
   9  Prefactor     2.7043        18.352        .62487E-03   -1.5675    
  10  Prefactor     6.5703        5.8195        .39022E-03   -1.5657    
  11  Prefactor     .87308E-06    25.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .47073        2.0278        .61512E-02   -1.5694    
  13  Prefactor     .36082E-08    24.454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.414        17.536        .23927E-03   -1.5625    
  15  norm          .12736        .49439        .22250E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.613        23.527        .25502E-03   -1.5629    
  17  norm          .68834E-08    2.3412        .26103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .70207E-05    39.571        .12682E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .94369E-08    15.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .58391        .27165        .99808E-01   -1.0867    
  21  Prefactor     1.6421        .17306        .44556E-01   -.73634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4192e-07
Minuit parameter uncertainties:
  1  4.27424e-05
  2  9.77852
  3  29.7698
  4  0.0015496
  5  8.29149e-05
  6  0.00410911
  7  7.88053e-05
  8  14.7521
  9  14.0898
  10  5.81948
  11  0.00936727
  12  1.95402
  13  0.000591887
  14  17.5359
  15  0.494393
  16  23.5272
  17  0.000254151
  18  0.0333359
  19  0.000774386
  20  0.272274
  21  0.173126
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.213e+00  1.475e+01  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.642e+00  1.731e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  5.839e-01  2.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.28
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/283240/likelihoodResults_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.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) = 7034.23857126
delta logL = 0.100599536358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7033.79937525
delta logL = 0.539795545647

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66524E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .54917       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6669       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7033.799     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      422 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66529E-03    .80332E-03    .42118E-04** at limit **
   2  Index        10.0000        1.5096        .50000    ** at limit **
   3  Normalizat    .54902        .25347        .10274       -.22654E-03
   4  Prefactor     1.6670        .17669        .44277E-01   -.58212E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000665286
  Index      = 10
  Normalizat = 0.549018
  Prefactor  = 1.66705
 **********
 **   18 **HESSE 
 **********

 FCN=   7033.799     FROM HESSE     STATUS=OK            35 CALLS      457 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66529E-03    .80155E-03    .24487E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        1.7114        .50000        1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .54902        .27635        .45537E-03   -1.1019    
   4  Prefactor     1.6670        .19478        .19570E-03   -.72963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69271e-10
Minuit parameter uncertainties:
  1  0.00080155
  2  0.00034896
  3  0.277042
  4  0.194874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/283240': 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) = 7033.79937486
delta logL = 0.539795934477

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  6.653e-04  8.016e-04  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  1.000e+01  3.490e-04  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.667e+00  1.949e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  5.490e-01  2.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 4.48e-08 +/- 5.22e-08
Energy Flux (Free Index): 5.00e-06 +/- 5.88e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/283240/cmap_HighResolution_697593601_697852801_4FGL_J2211.2-1325_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', energy_flux2='5.00e-06', dlogl='5.40e-01', photon_flux2='4.48e-08', job_status='DONE', time_completed='2023-02-12 01:55:00.263340', photon_index_error2='0.00', photon_index2='10.00', ts='0.28', fit_tolerance='1e-08', GAL='1.64', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='5.88e-06', EG='0.58', time_epoch_completed='1676195700.26', return_code='0', job_id='283240', GAL2='1.67', EG2='0.55', return_code2='0', photon_flux_error2='5.22e-08', ts2='1.40', photon_index='2.72' WHERE bin_id='1768' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:55:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 283240: <4FGL_J2211.2-1325_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1768> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Feb 12 01:40:16 2023
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:40:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:40:48 2023
Terminated at Sun Feb 12 01:55:00 2023
Results reported at Sun Feb 12 01:55:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1768 332.817 -13.4189 697593601 697852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2211.2-1325 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   602.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            884 sec.

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

