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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1745
RA = 332.817, Dec = -13.4189
tmin = 691632001, tmax = 691891201
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='657649', job_status='RUN', time_executed='2022-12-05 01:27:55.727074', time_epoch_executed='1670232475.73' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657649

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657649/ft1_4FGL_J2211.2-1325_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657649/ft1_4FGL_J2211.2-1325_daily_bin1745.fits outfile=/scratch/kocevski/657649/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1745.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.37
user 2.16
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.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/657649/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.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.51
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/657649/ltcube_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.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/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits
.....................!
real 13.11
user 12.62
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/657649/ltcube_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.fits outfile=/scratch/kocevski/657649/expmap_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.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/657649/ltcube_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.fits
.....................!
real 191.71
user 185.04
sys 5.77

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/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.fits scfile=/scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits outfile=/scratch/kocevski/657649/cmap_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.fits scfile=/scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits outfile=/scratch/kocevski/657649/cmap_HighResolution_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/657649/Model_4FGL_J2211.2-1325_daily_bin1745.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/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.fits.....................!
real 69.95
user 68.21
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.fits', '/scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits', expMap='/scratch/kocevski/657649/expmap_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.fits', expCube='/scratch/kocevski/657649/ltcube_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/657649/Model_4FGL_J2211.2-1325_daily_bin1745.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/657649/ft1_filtered_4FGL_J2211.2-1325_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/657649/ft2_4FGL_J2211.2-1325_daily_bin1745.fits
Exposure map: /scratch/kocevski/657649/expmap_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.fits
Exposure cube: /scratch/kocevski/657649/ltcube_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/657649/Model_4FGL_J2211.2-1325_daily_bin1745.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) = 7591.84480353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1785       1.0000          .0000       .10000E+07
     2 'Prefactor '    .24717E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8724       1.0000          .0000       .10000E+07
     4 'norm      '    .28122E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.4837       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32095E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12272E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15452E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19073E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6851       1.0000          .0000       .10000E+07
    11 'Prefactor '    29.525       1.0000          .0000       .10000E+07
    12 'norm      '    .46792E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    89.740       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39568E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .63566       1.0000          .0000       .10000E+07
    16 'Prefactor '    .39093E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .84054       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.444       1.0000          .0000       .10000E+07
    19 'Prefactor '    27.798       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0666       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0831       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=   7591.810     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1656 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1782        4.4418        .16980E-06   -.16531E-03
   2  Prefactor     .55511E-10    5.9270        .73466E-07** at limit **
   3  Prefactor     4.8663        7.7156       -.21740E-06    .71485E-03
   4  norm           .0000        1.6110       -.31531E-07** at limit **
   5  Prefactor     4.4897        3.9977        .43556E-07    .12925E-03
   6  Prefactor      .0000        2.8164        .11990E-06** at limit **
   7  Prefactor     .93425E-07    21.449       -.32735E-07** at limit **
   8  Prefactor      .0000        5.2083        .39418E-07** at limit **
   9  Prefactor      .0000        3.6882       -.14906E-06** at limit **
  10  Prefactor     2.6816        3.4582       -.24103E-08    .24730E-03
  11  Prefactor     30.026        31.197        .26856E-06    .12197    
  12  norm           .0000        6.2551       -.16818E-06** at limit **
  13  Prefactor     90.955        68.723        .69346E-06   -.73974E-01
  14  Prefactor      .0000        2.9371        .90927E-07** at limit **
  15  norm          .63529        .62236        .43393E-07   -.14807E-02
  16  Prefactor     .22315E-07    16.182        .70372E-06** at limit **
  17  norm          .83631        .94593       -.17827E-07    .85789E-04
  18  Prefactor     11.675        28.499        .12641E-07   -.56767E-02
  19  Prefactor     27.943        21.645        .15183E-06    .13546    
  20  Normalizat    1.0656        .23198       -.68522E-05    .12648E-04
  21  Prefactor     1.0833        .15981        .38487E-05   -.13718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.17819
  Prefactor  = 5.55112e-11
  Prefactor  = 4.86631
  norm       = 0
  Prefactor  = 4.48975
  Prefactor  = 0
  Prefactor  = 9.34253e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.68159
  Prefactor  = 30.0261
  norm       = 0
  Prefactor  = 90.9551
  Prefactor  = 0
  norm       = 0.635289
  Prefactor  = 2.23155e-08
  norm       = 0.836311
  Prefactor  = 11.6754
  Prefactor  = 27.9428
  Normalizat = 1.06565
  Prefactor  = 1.08331
 **********
 **   18 **HESSE 
 **********

 FCN=   7591.810     FROM HESSE     STATUS=OK           359 CALLS     2015 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1782        4.4645        .69724E-03   -1.5678    
   2  Prefactor     .55511E-10    5.9239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8663        7.7252        .45546E-03   -1.5664    
   4  norm           .0000        1.6107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4897        3.9999        .47526E-03   -1.5666    
   6  Prefactor      .0000        2.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .93425E-07    21.102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.1956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.6866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.6816        3.4824        .62155E-03   -1.5675    
  11  Prefactor     30.026        55.011        .18407E-03   -1.5598    
  12  norm           .0000        6.0919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     90.955        73.605        .10557E-03   -1.5517    
  14  Prefactor      .0000        2.9350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .63529        .62170        .66093E-03   -1.5692    
  16  Prefactor     .22315E-07    16.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .83631        .96495        .49961E-03   -1.5690    
  18  Prefactor     11.675        29.092        .29590E-03   -1.5640    
  19  Prefactor     27.943        23.879        .18970E-03   -1.5602    
  20  Normalizat    1.0656        .19436        .65693E-01   -.90862    
  21  Prefactor     1.0833        .13299        .38267E-01   -.90002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1928e-06
Minuit parameter uncertainties:
  1  4.46446
  2  2.82026e-05
  3  7.72523
  4  2.67169e-06
  5  3.99987
  6  2.66193e-07
  7  0.00280789
  8  9.10729e-06
  9  9.10856e-06
  10  3.48237
  11  55.0119
  12  6.95246e-06
  13  73.6061
  14  8.61464e-07
  15  0.621695
  16  0.00120105
  17  0.964953
  18  29.0921
  19  23.8789
  20  0.194485
  21  0.133029
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  9.107e-06  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.083e+00  1.330e-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:  1.066e+00  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 6.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/657649/likelihoodResults_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.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): 102
logL (Free Index) = 7591.81083275
delta logL = -0.000358777931979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7591.81047405
delta logL = -7.2021066444e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17819E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0432       1.0000          .0000       10.000    
     3 'Normalizat'    1.0657       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0833       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7591.810     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      252 TOTAL
                     EDM=   .35E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5936        .42118E-03** at limit **
   2  Index         3.7849        1.9033       -.41834E-04     .0000    
   3  Normalizat    1.0656        1.1849        .28771E-05   -.13340E-04
   4  Prefactor     1.0833        1.1603        .20399E-06   -.78817E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.7849
  Normalizat = 1.06565
  Prefactor  = 1.08331
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7591.810     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .35E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5718        2.3106       -.41834E-04   -.24548    
   3  Normalizat    1.0656        1.1849        .28771E-05   -.90862    
   4  Prefactor     1.0833        1.1603        .20399E-06   -.90002    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.47248e-13
Minuit parameter uncertainties:
  1  1.81722e-06
  2  1.95592
  3  1.21641
  4  1.18908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657649': 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): 101
logL (Free Index) = 7591.81047397
delta logL = 9.09494701773e-13

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  1.817e-06  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  3.785e+00  1.956e+00  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.083e+00  1.189e+00  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:  1.066e+00  1.216e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 332.817 -13.419

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/657649/cmap_HighResolution_691632001_691891201_4FGL_J2211.2-1325_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='6.77e-08', time_completed='2022-12-05 01:37:33.558473', job_id='657649', GAL2='1.08', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1670233053.56', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1745' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:37:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 657649: <4FGL_J2211.2-1325_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1745> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec  5 01:25:15 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:25:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:25:17 2022
Terminated at Mon Dec  5 01:37:34 2022
Results reported at Mon Dec  5 01:37:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1745 332.817 -13.4189 691632001 691891201 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 :                                   579.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             244.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            739 sec.

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

