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


Performing analysis on: 4FGL_J2211.2-1325_weekly_bin731
RA = 332.817, Dec = -13.4189
tmin = 681091201, tmax = 681696001
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='131545', job_status='RUN', time_executed='2022-08-09 01:06:17.571140', time_epoch_executed='1660032377.57' WHERE source_name='4FGL J2211.2-1325' and cadence='weekly' and bin_id='731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/131545

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/131545/ft1_4FGL_J2211.2-1325_weekly_bin731.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/131545/ft2_4FGL_J2211.2-1325_weekly_bin731.fits


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

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

Done.
real 5.69
user 5.43
sys 0.22

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

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

Number of photons that the gtmktime cut: 141

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/131545/ft1_filtered_4FGL_J2211.2-1325_weekly_bin731.fits" evtable="EVENTS" scfile=/scratch/kocevski/131545/ft2_4FGL_J2211.2-1325_weekly_bin731.fits sctable="SC_DATA" outfile=/scratch/kocevski/131545/ltcube_681091201_681696001_4FGL_J2211.2-1325_weekly_bin731.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/131545/ft2_4FGL_J2211.2-1325_weekly_bin731.fits
.....................!
real 27.46
user 27.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/131545/ft1_filtered_4FGL_J2211.2-1325_weekly_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/131545/ft2_4FGL_J2211.2-1325_weekly_bin731.fits sctable="SC_DATA" expcube=/scratch/kocevski/131545/ltcube_681091201_681696001_4FGL_J2211.2-1325_weekly_bin731.fits outfile=/scratch/kocevski/131545/expmap_681091201_681696001_4FGL_J2211.2-1325_weekly_bin731.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/131545/ltcube_681091201_681696001_4FGL_J2211.2-1325_weekly_bin731.fits
.....................!
real 190.76
user 185.75
sys 4.65

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/131545/ft1_filtered_4FGL_J2211.2-1325_weekly_bin731.fits scfile=/scratch/kocevski/131545/ft2_4FGL_J2211.2-1325_weekly_bin731.fits outfile=/scratch/kocevski/131545/cmap_681091201_681696001_4FGL_J2211.2-1325_weekly_bin731.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/131545/ft1_filtered_4FGL_J2211.2-1325_weekly_bin731.fits scfile=/scratch/kocevski/131545/ft2_4FGL_J2211.2-1325_weekly_bin731.fits outfile=/scratch/kocevski/131545/cmap_HighResolution_681091201_681696001_4FGL_J2211.2-1325_weekly_bin731.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/131545/ft1_filtered_4FGL_J2211.2-1325_weekly_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/131545/ft2_4FGL_J2211.2-1325_weekly_bin731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/131545/Model_4FGL_J2211.2-1325_weekly_bin731.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/131545/ft1_filtered_4FGL_J2211.2-1325_weekly_bin731.fits.....................!
real 28.61
user 27.35
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.051       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13630E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12485E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    173.14       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    147.16       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.222       1.0000         .10000E-03   10000.    
    10 'Prefactor '    93.220       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12659E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10426E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12624E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    67.850       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2473       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .14251E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.840       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .32076       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84089       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.

 FCN=   1778.865     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     3163 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.065        36.792       -.59361E-06   -.10700E-04
   2  Prefactor     .10000E-03    93.266       -.41829E-06** at limit **
   3  Prefactor     .10000E-03    59.072        .37494E-06** at limit **
   4  norm          .10000E-03    19.251        .96567E-08** at limit **
   5  Prefactor     .10000E-03    15.424        .30632E-07** at limit **
   6  Prefactor     173.16        142.04        .19630E-05    .85261E-05
   7  Prefactor     .10000E-03    23.395       -.16292E-07** at limit **
   8  Prefactor     147.15        79.024       -.46017E-06   -.28624E-04
   9  Prefactor     29.230        22.620        .28854E-07    .98933E-05
  10  Prefactor     93.131        238.04       -.72482E-05   -.21677E-04
  11  Prefactor     .10000E-03    3.3299        .45993E-09** at limit **
  12  Prefactor     .10000E-03    59.355       -.26704E-06** at limit **
  13  norm          .10003E-03    6.1001       -.89295E-06** at limit **
  14  Prefactor     .10000E-03    370.32       -.72506E-06** at limit **
  15  Prefactor     67.841        46.104       -.54747E-06   -.16915E-04
  16  norm          2.2472        1.8088       -.52403E-07   -.35249E-03
  17  Prefactor     .10000E-03    14.467        .64278E-06** at limit **
  18  norm          .10000E-03    1.4821        .14224E-05** at limit **
  19  Prefactor     13.801        24.555       -.38458E-05   -.35056E-03
  20  Prefactor     .10000E-03    4.8710        .34343E-07** at limit **
  21  Prefactor     .10000E-03    19.147        .25945E-06** at limit **
  22  Normalizat    .32128        .41885        .17115E-05   -.44208E-04
  23  Prefactor     .84038        .25374        .61808E-06   -.15285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.0652
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 173.164
  Prefactor  = 0.0001
  Prefactor  = 147.155
  Prefactor  = 29.2295
  Prefactor  = 93.1306
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100028
  Prefactor  = 0.0001
  Prefactor  = 67.841
  norm       = 2.24721
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 13.8011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.321276
  Prefactor  = 0.840378
 **********
 **   18 **HESSE 
 **********

 FCN=   1778.865     FROM HESSE     STATUS=OK           360 CALLS     3523 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.065        36.791        .61818E-04   -1.4410    
   2  Prefactor     .10000E-03    93.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    59.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    19.251        .18080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.434        .16180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     173.16        141.50        .15333E-03   -1.3068    
   7  Prefactor     .10000E-03    23.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     147.15        78.635        .33219E-04   -1.3276    
   9  Prefactor     29.230        22.562        .74115E-04   -1.4626    
  10  Prefactor     93.131        239.09        .20812E-03   -1.3775    
  11  Prefactor     .10000E-03    3.3491        .75001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    59.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10003E-03    17.511        .18711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    372.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     67.841        45.628        .48728E-04   -1.4059    
  16  norm          2.2472        1.8023        .47603E-04   -1.5408    
  17  Prefactor     .10000E-03    14.539        .15660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.2788        .88342E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.801        27.418        .10767E-03   -1.4965    
  20  Prefactor     .10000E-03    4.8731        .90917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    19.204        .18024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .32128        .43298        .43893E-03   -1.2159    
  23  Prefactor     .84038        .27580        .17787E-03   -.98257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63706e-09
Minuit parameter uncertainties:
  1  36.8105
  2  3.08757e-05
  3  7.45823e-06
  4  2.82696e-06
  5  8.54899e-06
  6  141.783
  7  3.55748e-06
  8  78.6913
  9  22.5683
  10  241.632
  11  4.2005e-06
  12  5.41911e-06
  13  0.0013943
  14  0.000380578
  15  45.652
  16  1.80232
  17  1.96498e-05
  18  9.38628e-05
  19  27.4431
  20  2.13208e-06
  21  2.10501e-05
  22  0.437602
  23  0.276261
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.472e+02  7.869e+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:  8.404e-01  2.763e-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:  3.213e-01  4.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.68
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 5.97e-07 +/- 3.19e-07
Energy Flux (Fixed Index): 1.41e-04 +/- 7.53e-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) = 1778.86445178
delta logL = 0.000284927235271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1778.864444
delta logL = 0.000292707905373

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    147.15       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7345       1.0000          .0000       10.000    
     3 'Normalizat'    .32020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84066       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=   1778.864     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      187 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     146.53        92.142        .83049E-03    .87018E-04
   2  Index         2.7355        .52225        .82413E-01    .37177E-04
   3  Normalizat    .32043        .38364        .99169E-01    .17911E-04
   4  Prefactor     .84076        .24692        .44244E-01   -.14944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 146.531
  Index      = 2.73548
  Normalizat = 0.320433
  Prefactor  = 0.840758
 **********
 **   18 **HESSE 
 **********

 FCN=   1778.864     FROM HESSE     STATUS=OK            27 CALLS      214 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     146.53        73.553        .33220E-04   -1.3281    
   2  Index         2.7355        .42435        .35859E-03   -.47002    
   3  Normalizat    .32043        .40958        .43947E-03   -1.2164    
   4  Prefactor     .84076        .26553        .17784E-03   -.98243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73819e-11
Minuit parameter uncertainties:
  1  73.5987
  2  0.424994
  3  0.41349
  4  0.265938
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/131545': 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) = 1778.86440785
delta logL = 0.000328848772824

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.465e+02  7.360e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.735e+00  4.250e-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:  8.408e-01  2.659e-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:  3.204e-01  4.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.90
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.74 +/- 0.42
Photon Flux (Free Index): 6.00e-07 +/- 3.20e-07
Energy Flux (Free Index): 1.41e-04 +/- 6.71e-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/131545/cmap_HighResolution_681091201_681696001_4FGL_J2211.2-1325_weekly_bin731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.97e-07', energy_flux2='1.41e-04', photon_flux_error='3.19e-07', dlogl='3.29e-04', energy_flux='1.41e-04', photon_flux2='6.00e-07', job_status='DONE', time_completed='2022-08-09 01:13:18.685228', photon_index_error2='0.42', photon_index2='2.74', ts='7.68', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='6.71e-05', EG='0.32', time_epoch_completed='1660032798.69', return_code='0', job_id='131545', GAL2='0.84', EG2='0.32', return_code2='0', energy_flux_error='7.53e-05', photon_flux_error2='3.20e-07', ts2='7.90', photon_index='2.72' WHERE bin_id='731' AND source_name='4FGL J2211.2-1325' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug  9 01:13:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 131545: <4FGL_J2211.2-1325_weekly_bin731> in cluster <slac> Done

Job <4FGL_J2211.2-1325_weekly_bin731> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug  9 01:05:28 2022
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug  9 01:05:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug  9 01:05:29 2022
Terminated at Tue Aug  9 01:13:19 2022
Results reported at Tue Aug  9 01:13:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_weekly_bin731 332.817 -13.4189 681091201 681696001 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 :                                   423.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   470 sec.
    Turnaround time :                            471 sec.

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

