/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 33 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 = 7434
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1368
RA = 332.817, Dec = -13.4189
tmin = 593913601, tmax = 594172801
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='218358', job_status='RUN', time_executed='2021-09-28 06:51:52.601333', time_epoch_executed='1632837112.6' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218358

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218358/ft1_4FGL_J2211.2-1325_daily_bin1368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218358/ft2_4FGL_J2211.2-1325_daily_bin1368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218358/ft1_4FGL_J2211.2-1325_daily_bin1368.fits outfile=/scratch/kocevski/218358/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1368.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=593913601.0 tmax=594172801.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.57
user 3.34
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218358/ft1_filtered_4FGL_J2211.2-1325_daily_bin1368.fits" evtable="EVENTS" scfile=/scratch/kocevski/218358/ft2_4FGL_J2211.2-1325_daily_bin1368.fits sctable="SC_DATA" outfile=/scratch/kocevski/218358/ltcube_593913601_594172801_4FGL_J2211.2-1325_daily_bin1368.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/218358/ft2_4FGL_J2211.2-1325_daily_bin1368.fits
.....................!
real 12.14
user 11.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218358/ft1_filtered_4FGL_J2211.2-1325_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/218358/ft2_4FGL_J2211.2-1325_daily_bin1368.fits sctable="SC_DATA" expcube=/scratch/kocevski/218358/ltcube_593913601_594172801_4FGL_J2211.2-1325_daily_bin1368.fits outfile=/scratch/kocevski/218358/expmap_593913601_594172801_4FGL_J2211.2-1325_daily_bin1368.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/218358/ltcube_593913601_594172801_4FGL_J2211.2-1325_daily_bin1368.fits
.....................!
real 191.09
user 185.95
sys 4.79

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/218358/ft1_filtered_4FGL_J2211.2-1325_daily_bin1368.fits scfile=/scratch/kocevski/218358/ft2_4FGL_J2211.2-1325_daily_bin1368.fits outfile=/scratch/kocevski/218358/cmap_593913601_594172801_4FGL_J2211.2-1325_daily_bin1368.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218358/ft1_filtered_4FGL_J2211.2-1325_daily_bin1368.fits scfile=/scratch/kocevski/218358/ft2_4FGL_J2211.2-1325_daily_bin1368.fits outfile=/scratch/kocevski/218358/cmap_HighResolution_593913601_594172801_4FGL_J2211.2-1325_daily_bin1368.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218358/ft1_filtered_4FGL_J2211.2-1325_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/218358/ft2_4FGL_J2211.2-1325_daily_bin1368.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218358/Model_4FGL_J2211.2-1325_daily_bin1368.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/218358/ft1_filtered_4FGL_J2211.2-1325_daily_bin1368.fits.....................!
real 73.12
user 71.73
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15222E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.110       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .81242E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.162       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.107       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6518       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.436       1.0000         .10000E-03   10000.    
    13 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    55.137       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.144       1.0000         .10000E-03   10000.    
    16 'norm      '    .53923       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.074       1.0000         .10000E-03   10000.    
    18 'norm      '    8.5279       1.0000         .10000E-03   10000.    
    19 'Prefactor '    58.897       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .50640       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.536       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .33232       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2797       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=   8714.725     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2677 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7826        .42784E-07** at limit **
   2  Prefactor     .10000E-03    2.2075        .84321E-07** at limit **
   3  Prefactor     11.116        11.664        .46275E-06    .11515E-04
   4  norm          .10000E-03    1.4013       -.97738E-08** at limit **
   5  Prefactor     .10002E-03    2.2307        .71277E-06** at limit **
   6  Prefactor     33.166        13.652        .10202E-06    .59260E-05
   7  Prefactor     .10000E-03    3.2031        .19252E-06** at limit **
   8  Prefactor     31.110        11.214        .36256E-06    .38708E-04
   9  Prefactor     .10000E-03    11.291        .38638E-06** at limit **
  10  Prefactor     .10000E-03    32.090        .73191E-07** at limit **
  11  Prefactor     7.6533        3.9159        .81650E-07    .81347E-04
  12  Prefactor     14.434        32.549        .13979E-05    .76570E-04
  13  norm          .10000E-03    1.2906        .15350E-06** at limit **
  14  Prefactor     55.130        58.905        .80922E-07    .75892E-04
  15  Prefactor     19.145        11.210        .42336E-06    .77096E-04
  16  norm          .53938        .56431       -.25623E-06   -.40774E-03
  17  Prefactor     19.113        33.293       -.12789E-05   -.17673E-03
  18  norm          8.5237        3.1357        .44902E-06   -.12144E-02
  19  Prefactor     58.902        38.562       -.94451E-06    .87425E-04
  20  Prefactor     .51730        26.132        .13041E-04   -.23264E-04
  21  Prefactor     13.536        12.090        .20458E-06    .88698E-04
  22  Normalizat    .33227        .20945       -.46035E-05   -.18238E-03
  23  Prefactor     1.2797        .14469        .85272E-06   -.39808E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.116
  norm       = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 33.1664
  Prefactor  = 0.0001
  Prefactor  = 31.1104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.65325
  Prefactor  = 14.4344
  norm       = 0.0001
  Prefactor  = 55.1303
  Prefactor  = 19.1448
  norm       = 0.539379
  Prefactor  = 19.1133
  norm       = 8.52367
  Prefactor  = 58.9023
  Prefactor  = 0.517302
  Prefactor  = 13.5362
  Normalizat = 0.332273
  Prefactor  = 1.27973
 **********
 **   18 **HESSE 
 **********

 FCN=   8714.725     FROM HESSE     STATUS=OK           382 CALLS     3059 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.1650        .30123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.2119        .13547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.116        11.588        .12019E-03   -1.5041    
   4  norm          .10000E-03    1.4019        .10792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    60.093        .25979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     33.166        13.626        .69584E-04   -1.4556    
   7  Prefactor     .10000E-03    3.2188        .16322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.110        11.175        .71840E-04   -1.4592    
   9  Prefactor     .10000E-03    11.642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    32.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.6533        3.8891        .12505E-03   -1.5155    
  12  Prefactor     14.434        32.569        .10542E-03   -1.4948    
  13  norm          .10000E-03    2.4000        .20368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     55.130        58.612        .54020E-04   -1.4222    
  15  Prefactor     19.145        11.178        .91539E-04   -1.4833    
  16  norm          .53938        .53364        .69174E-03   -1.5561    
  17  Prefactor     19.113        33.190        .91708E-04   -1.4833    
  18  norm          8.5237        3.1338        .48554E-04   -1.5124    
  19  Prefactor     58.902        38.210        .52277E-04   -1.4171    
  20  Prefactor     .51730        25.960        .38753E-02   -1.5564    
  21  Prefactor     13.536        12.083        .10887E-03   -1.4972    
  22  Normalizat    .33227        .20261        .45896E-03   -1.2096    
  23  Prefactor     1.2797        .14276        .17871E-03   -.83912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68427e-08
Minuit parameter uncertainties:
  1  1.08929e-06
  2  5.04649e-06
  3  11.5903
  4  1.15428e-07
  5  0.00198812
  6  13.6276
  7  1.26024e-05
  8  11.1758
  9  2.44911e-05
  10  1.28655e-05
  11  3.88926
  12  32.6091
  13  1.55587e-05
  14  58.6735
  15  11.1787
  16  0.533643
  17  33.222
  18  3.13381
  19  38.2258
  20  7.33188
  21  12.0851
  22  0.203053
  23  0.1428
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.111e+01  1.118e+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:  1.280e+00  1.428e-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.323e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.88
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 4.53e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 1.07e-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) = 8714.60056381
delta logL = 0.124115873828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8714.59779063
delta logL = 0.126889058298

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.009       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5386       1.0000          .0000       10.000    
     3 'Normalizat'    .34611       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2713       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=   8714.598     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      292 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.010        14.267        .67729E-04   -.15261E-02
   2  Index         2.5386        .35793        .59289E-02   -.52542E-03
   3  Normalizat    .34619        .19414        .44992E-03    .65596E-04
   4  Prefactor     1.2713        .14157        .17919E-03    .23596E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.01
  Index      = 2.5386
  Normalizat = 0.34619
  Prefactor  = 1.27126
 **********
 **   18 **HESSE 
 **********

 FCN=   8714.598     FROM HESSE     STATUS=OK            23 CALLS      315 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.010        14.056        .13546E-04   -1.4524    
   2  Index         2.5386        .35250        .23716E-03   -.51471    
   3  Normalizat    .34619        .19409        .17997E-04   -1.2018    
   4  Prefactor     1.2713        .14152        .35838E-04   -.84166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85694e-09
Minuit parameter uncertainties:
  1  14.0575
  2  0.352885
  3  0.194472
  4  0.141561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218358': 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) = 8714.59779053
delta logL = 0.126889158684

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.501e+01  1.406e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.539e+00  3.529e-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:  1.271e+00  1.416e-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.462e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.95
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.54 +/- 0.35
Photon Flux (Free Index): 1.19e-07 +/- 4.58e-08
Energy Flux (Free Index): 3.32e-05 +/- 1.40e-05

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/218358/cmap_HighResolution_593913601_594172801_4FGL_J2211.2-1325_daily_bin1368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='3.32e-05', photon_flux_error='4.53e-08', dlogl='1.27e-01', energy_flux='2.98e-05', photon_flux2='1.19e-07', job_status='DONE', time_completed='2021-09-28 07:03:59.017725', photon_index_error2='0.35', photon_index2='2.54', ts='13.88', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', energy_flux_error2='1.40e-05', EG='0.33', time_epoch_completed='1632837839.02', return_code='0', job_id='218358', GAL2='1.27', EG2='0.35', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='4.58e-08', ts2='13.95', photon_index='2.72' WHERE bin_id='1368' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:03:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 218358: <4FGL_J2211.2-1325_daily_bin1368> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1368> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:51:04 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:51:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:51:06 2021
Terminated at Tue Sep 28 07:03:59 2021
Results reported at Tue Sep 28 07:03:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1368 332.817 -13.4189 593913601 594172801 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 :                                   681.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             367.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            775 sec.

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

