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 107 seconds before starting...
Proceeding.

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

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

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

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

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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1697
RA = 332.817, Dec = -13.4189
tmin = 679190401, tmax = 679449601
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='857678', job_status='RUN', time_executed='2022-07-14 00:37:46.906833', time_epoch_executed='1657784266.91' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857678

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857678/ft1_4FGL_J2211.2-1325_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857678/ft1_4FGL_J2211.2-1325_daily_bin1697.fits outfile=/scratch/kocevski/857678/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1697.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=679190401.0 tmax=679449601.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.43
user 3.20
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.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/857678/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1697.fits evtable="EVENTS" outfile="/scratch/kocevski/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.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.33
sys 0.16

Number of photons that the gtmktime cut: 521

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857678/ltcube_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.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/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits
.....................!
real 11.85
user 11.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857678/ltcube_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.fits outfile=/scratch/kocevski/857678/expmap_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.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/857678/ltcube_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.fits
.....................!
real 191.93
user 186.82
sys 4.73

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/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.fits scfile=/scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits outfile=/scratch/kocevski/857678/cmap_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.fits scfile=/scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits outfile=/scratch/kocevski/857678/cmap_HighResolution_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857678/Model_4FGL_J2211.2-1325_daily_bin1697.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/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.fits.....................!
real 55.73
user 54.32
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.fits', '/scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits', expMap='/scratch/kocevski/857678/expmap_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.fits', expCube='/scratch/kocevski/857678/ltcube_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/857678/Model_4FGL_J2211.2-1325_daily_bin1697.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  1.000e-04  1.000e+04 ( 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/857678/ft1_filtered_4FGL_J2211.2-1325_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/857678/ft2_4FGL_J2211.2-1325_daily_bin1697.fits
Exposure map: /scratch/kocevski/857678/expmap_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.fits
Exposure cube: /scratch/kocevski/857678/ltcube_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/857678/Model_4FGL_J2211.2-1325_daily_bin1697.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) = 5901.57957658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .68423       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5038       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3206       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.582       1.0000         .10000E-03   10000.    
     8 'Prefactor '    84.657       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.814       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.5129       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.3178       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.088       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .75522       1.0000         .10000E-03   10000.    
    16 'norm      '    2.8552       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.7550       1.0000         .10000E-03   10000.    
    18 'norm      '    .62913       1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.149       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.991       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .68109       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99017       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5901.557     FROM MIGRAD    STATUS=CONVERGED    893 CALLS     3340 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2666        .13424E-02** at limit **
   2  Prefactor     .10000E-03    3.6439        .14313E-02** at limit **
   3  Prefactor     .81620        152.40        .53119E-02    .98486E-04
   4  norm          .10000E-03    2.3592        .11521E-02** at limit **
   5  Prefactor     1.5007        6.4999        .34905E-03    .27717E-04
   6  Prefactor     4.3022        18.495        .19380E-03    .18772E-05
   7  Prefactor     22.587        14.682        .84291E-04   -.29403E-04
   8  Prefactor     84.662        20.627        .43660E-04   -.40934E-04
   9  Prefactor     27.817        13.271        .75963E-04   -.67197E-04
  10  Prefactor     9.5336        162.47        .12993E-03    .41999E-05
  11  Prefactor     .10000E-03    2.2052        .11071E-02** at limit **
  12  Prefactor     .10000E-03    21.617        .18142E-02** at limit **
  13  norm          1.3178        2.4425        .15887E-03    .62759E-04
  14  Prefactor     62.121        56.153        .25462E-03    .40774E-04
  15  Prefactor     .76398        58.913        .42176E-02    .13233E-03
  16  norm          2.8560        1.1941        .50880E-04   -.27170E-03
  17  Prefactor     2.7356        131.43        .24524E-03    .11821E-04
  18  norm          .62911        3.5993        .10375E-03    .47226E-04
  19  Prefactor     38.203        43.910        .64891E-04    .61318E-05
  20  Prefactor     15.999        15.024        .10016E-03   -.39501E-04
  21  Prefactor     .10000E-03    9.7604        .18142E-02** at limit **
  22  Normalizat    .68048        .28338        .34565E-03   -.24997E-04
  23  Prefactor     .99052        .17249        .19618E-03   -.33143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.816201
  norm       = 0.0001
  Prefactor  = 1.50071
  Prefactor  = 4.30225
  Prefactor  = 22.5867
  Prefactor  = 84.662
  Prefactor  = 27.8168
  Prefactor  = 9.53361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.31779
  Prefactor  = 62.1206
  Prefactor  = 0.763982
  norm       = 2.85604
  Prefactor  = 2.73558
  norm       = 0.629108
  Prefactor  = 38.2027
  Prefactor  = 15.9986
  Prefactor  = 0.0001
  Normalizat = 0.680478
  Prefactor  = 0.990521
 **********
 **   18 **HESSE 
 **********

 FCN=   5901.557     FROM HESSE     STATUS=OK           350 CALLS     3690 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2680        .26848E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.6441        .28626E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .81620        144.35        .21247E-03   -1.5527    
   4  norm          .10000E-03    2.3592        .23042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5007        6.4732        .13962E-04   -1.5463    
   6  Prefactor     4.3022        18.036        .77520E-05   -1.5293    
   7  Prefactor     22.587        14.673        .33716E-05   -1.4757    
   8  Prefactor     84.662        20.616        .87320E-05   -1.3865    
   9  Prefactor     27.817        13.255        .30385E-05   -1.4653    
  10  Prefactor     9.5336        162.25        .51973E-05   -1.5090    
  11  Prefactor     .10000E-03    2.2056        .22142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.617        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3178        2.4415        .63547E-05   -1.5478    
  14  Prefactor     62.121        56.142        .50924E-04   -1.4130    
  15  Prefactor     .76398        58.111        .16870E-03   -1.5533    
  16  norm          2.8560        1.1930        .20352E-05   -1.5370    
  17  Prefactor     2.7356        125.77        .98097E-05   -1.5377    
  18  norm          .62911        3.4535        .41501E-05   -1.5549    
  19  Prefactor     38.203        43.855        .25957E-05   -1.4471    
  20  Prefactor     15.999        15.021        .40063E-05   -1.4908    
  21  Prefactor     .10000E-03    9.7651        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .68048        .27898        .13826E-04   -1.0467    
  23  Prefactor     .99052        .17201        .39236E-04   -.93046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.87293e-10
Minuit parameter uncertainties:
  1  4.25836e-06
  2  2.6809e-06
  3  21.7609
  4  6.73009e-07
  5  6.23454
  6  17.6266
  7  14.6755
  8  20.6177
  9  13.2564
  10  78.9106
  11  3.21841e-06
  12  1.39225e-05
  13  2.44172
  14  56.1895
  15  13.3386
  16  1.19298
  17  37.1803
  18  2.94799
  19  43.8925
  20  15.0244
  21  8.3733e-06
  22  0.279563
  23  0.172102
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.466e+01  2.062e+01  1.000e-04  1.000e+04 ( 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:  9.905e-01  1.721e-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:  6.805e-01  2.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 38.27
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 3.43e-07 +/- 8.35e-08
Energy Flux (Fixed Index): 8.11e-05 +/- 1.97e-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) = 5901.55527588
delta logL = 0.00221180805784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5901.55382139
delta logL = 0.00366629989458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    83.477       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7499       1.0000          .0000       10.000    
     3 'Normalizat'    .67560       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99313       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5901.554     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      256 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     83.479        24.763        .43965E-04   -.12797E-02
   2  Index         2.7499        .30082        .37256E-02   -.57583E-03
   3  Normalizat    .67568        .25438        .34676E-03    .36064E-04
   4  Prefactor     .99309        .16856        .19596E-03    .10409E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 83.4787
  Index      = 2.74985
  Normalizat = 0.675679
  Prefactor  = 0.993095
 **********
 **   18 **HESSE 
 **********

 FCN=   5901.554     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     83.479        24.410        .87930E-05   -1.3878    
   2  Index         2.7499        .29640        .14903E-03   -.46680    
   3  Normalizat    .67568        .25453        .13870E-04   -1.0486    
   4  Prefactor     .99309        .16863        .39193E-04   -.92960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16668e-09
Minuit parameter uncertainties:
  1  24.4125
  2  0.296613
  3  0.254972
  4  0.168719
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857678': 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) = 5901.55382133
delta logL = 0.00366635710452

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.348e+01  2.441e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.750e+00  2.966e-01  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:  9.931e-01  1.687e-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:  6.757e-01  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 37.90
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.75 +/- 0.30
Photon Flux (Free Index): 3.47e-07 +/- 9.31e-08
Energy Flux (Free Index): 8.04e-05 +/- 2.05e-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/857678/cmap_HighResolution_679190401_679449601_4FGL_J2211.2-1325_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.43e-07', energy_flux2='8.04e-05', photon_flux_error='8.35e-08', dlogl='3.67e-03', energy_flux='8.11e-05', photon_flux2='3.47e-07', job_status='DONE', time_completed='2022-07-14 00:47:26.851222', photon_index_error2='0.30', photon_index2='2.75', ts='38.27', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.05e-05', EG='0.68', time_epoch_completed='1657784846.85', return_code='0', job_id='857678', GAL2='0.99', EG2='0.68', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='9.31e-08', ts2='37.90', photon_index='2.72' WHERE bin_id='1697' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:47:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 857678: <4FGL_J2211.2-1325_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:50 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:51 2022
Terminated at Thu Jul 14 00:47:27 2022
Results reported at Thu Jul 14 00:47:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1697 332.817 -13.4189 679190401 679449601 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 :                                   582.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             317.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            697 sec.

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

