/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 134 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin15
RA = 332.817, Dec = -13.4189
tmin = 243216001, tmax = 243475201
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='212058', job_status='RUN', time_executed='2021-09-28 06:33:11.951681', time_epoch_executed='1632835991.95' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/212058

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/212058/ft1_4FGL_J2211.2-1325_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/212058/ft2_4FGL_J2211.2-1325_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/212058/ft1_4FGL_J2211.2-1325_daily_bin15.fits outfile=/scratch/kocevski/212058/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin15.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.08
user 0.91
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/212058/ft1_filtered_4FGL_J2211.2-1325_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/212058/ft2_4FGL_J2211.2-1325_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/212058/ltcube_243216001_243475201_4FGL_J2211.2-1325_daily_bin15.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/212058/ft2_4FGL_J2211.2-1325_daily_bin15.fits
.....................!
real 9.56
user 9.25
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/212058/ft1_filtered_4FGL_J2211.2-1325_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/212058/ft2_4FGL_J2211.2-1325_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/212058/ltcube_243216001_243475201_4FGL_J2211.2-1325_daily_bin15.fits outfile=/scratch/kocevski/212058/expmap_243216001_243475201_4FGL_J2211.2-1325_daily_bin15.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/212058/ltcube_243216001_243475201_4FGL_J2211.2-1325_daily_bin15.fits
.....................!
real 143.20
user 139.13
sys 3.83

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/212058/ft1_filtered_4FGL_J2211.2-1325_daily_bin15.fits scfile=/scratch/kocevski/212058/ft2_4FGL_J2211.2-1325_daily_bin15.fits outfile=/scratch/kocevski/212058/cmap_243216001_243475201_4FGL_J2211.2-1325_daily_bin15.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.44
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/212058/ft1_filtered_4FGL_J2211.2-1325_daily_bin15.fits scfile=/scratch/kocevski/212058/ft2_4FGL_J2211.2-1325_daily_bin15.fits outfile=/scratch/kocevski/212058/cmap_HighResolution_243216001_243475201_4FGL_J2211.2-1325_daily_bin15.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.45
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/212058/ft1_filtered_4FGL_J2211.2-1325_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/212058/ft2_4FGL_J2211.2-1325_daily_bin15.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/212058/Model_4FGL_J2211.2-1325_daily_bin15.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/212058/ft1_filtered_4FGL_J2211.2-1325_daily_bin15.fits.....................!
real 42.88
user 41.79
sys 1.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4244       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .39296E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.399       1.0000         .10000E-03   10000.    
     4 'norm      '    4.8768       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.618       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2314       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.6660       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.318       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0030       1.0000         .10000E-03   10000.    
    16 'norm      '    .88008       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2111       1.0000         .10000E-03   10000.    
    18 'norm      '    .18119E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9117       1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.606       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87343       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90865       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=   6475.017     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2255 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4241        4.7165       -.35040E-09   -.21935E-04
   2  Prefactor     .10027E-03    4.4567        .60394E-07** at limit **
   3  Prefactor     18.403        14.963       -.54448E-06   -.64176E-04
   4  norm          4.8768        4.6240       -.47819E-06   -.12743E-03
   5  Prefactor     .10000E-03    4.4975        .12855E-07** at limit **
   6  Prefactor     .10000E-03    10.725       -.58825E-06** at limit **
   7  Prefactor     .10000E-03    8.5022       -.12098E-05** at limit **
   8  Prefactor     13.618        12.781        .67716E-06    .66748E-04
   9  Prefactor     .10000E-03    6.2808        .67672E-07** at limit **
  10  Prefactor     .10000E-03    35.469        .13848E-05** at limit **
  11  Prefactor     3.2306        3.4817       -.20324E-07   -.97069E-04
  12  Prefactor     .10000E-03    30.937       -.14382E-05** at limit **
  13  norm          7.6650        3.5436       -.11156E-06   -.99176E-04
  14  Prefactor     13.377        57.314        .98289E-05    .57630E-04
  15  Prefactor     5.0025        8.5568       -.96020E-07   -.31421E-04
  16  norm          .88000        .71402        .42809E-08   -.36371E-03
  17  Prefactor     2.2165        19.399        .34150E-05   -.30342E-03
  18  norm          .10033E-03    .51868        .10744E-06** at limit **
  19  Prefactor     5.9107        39.776       -.17905E-05   -.19060E-03
  20  Prefactor     20.605        11.481       -.16383E-06   -.13906E-03
  21  Prefactor     .10000E-03    6.1308       -.13294E-06** at limit **
  22  Normalizat    .87346        .18427        .25667E-06   -.93241E-04
  23  Prefactor     .90868        .12138       -.22873E-06   -.74217E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.42408
  Prefactor  = 0.000100272
  Prefactor  = 18.4033
  norm       = 4.87681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6176
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.23064
  Prefactor  = 0.0001
  norm       = 7.66503
  Prefactor  = 13.3769
  Prefactor  = 5.00252
  norm       = 0.879996
  Prefactor  = 2.21651
  norm       = 0.00010033
  Prefactor  = 5.91071
  Prefactor  = 20.6053
  Prefactor  = 0.0001
  Normalizat = 0.87346
  Prefactor  = 0.908682
 **********
 **   18 **HESSE 
 **********

 FCN=   6475.017     FROM HESSE     STATUS=OK           386 CALLS     2641 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4241        4.7160        .14527E-03   -1.5201    
   2  Prefactor     .10027E-03    6.6748        .62642E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.403        14.985        .93373E-04   -1.4850    
   4  norm          4.8768        4.6274        .16404E-03   -1.5266    
   5  Prefactor     .10000E-03    4.6335        .33299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.6184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.618        12.814        .10854E-03   -1.4970    
   9  Prefactor     .10000E-03    6.4217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2306        3.4777        .14889E-03   -1.5348    
  12  Prefactor     .10000E-03    31.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.6650        3.5445        .97514E-04   -1.5154    
  14  Prefactor     13.377        58.107        .10976E-03   -1.4976    
  15  Prefactor     5.0025        8.5598        .17979E-03   -1.5261    
  16  norm          .88000        .67768        .58621E-03   -1.5520    
  17  Prefactor     2.2165        20.136        .27662E-03   -1.5410    
  18  norm          .10033E-03    11.330        .94522E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.9107        33.454        .16516E-03   -1.5222    
  20  Prefactor     20.605        11.470        .88235E-04   -1.4800    
  21  Prefactor     .10000E-03    6.1498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .87346        .21356        .28031E-03   -.97399    
  23  Prefactor     .90868        .14138        .18999E-03   -.95838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76648e-08
Minuit parameter uncertainties:
  1  4.71626
  2  0.00269366
  3  14.988
  4  4.62771
  5  1.44512e-06
  6  2.39572e-05
  7  4.48565e-05
  8  12.8168
  9  6.15825e-07
  10  0.000102409
  11  3.47795
  12  0.000118678
  13  3.54455
  14  55.8513
  15  8.56188
  16  0.677685
  17  13.3672
  18  0.00386773
  19  28.1476
  20  11.4711
  21  6.66333e-06
  22  0.213766
  23  0.141435
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.362e+01  1.282e+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.087e-01  1.414e-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:  8.735e-01  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 5.52e-08 +/- 5.19e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.23e-05

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

Saving results to:
/scratch/kocevski/212058/likelihoodResults_243216001_243475201_4FGL_J2211.2-1325_daily_bin15.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6474.98667096
delta logL = 0.0300082569211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6474.97733832
delta logL = 0.0393408978462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.894       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9651       1.0000          .0000       10.000    
     3 'Normalizat'    .86411       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91356       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6474.977     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      254 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.887        14.638        .58079E-03    .68534E-04
   2  Index         2.9660        .98191        .95581E-02    .23356E-03
   3  Normalizat    .86412        .20858        .28191E-03   -.40731E-05
   4  Prefactor     .91355        .14135        .18954E-03    .83974E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8871
  Index      = 2.96595
  Normalizat = 0.86412
  Prefactor  = 0.913553
 **********
 **   18 **HESSE 
 **********

 FCN=   6474.977     FROM HESSE     STATUS=OK            27 CALLS      281 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.887        13.765        .11616E-03   -1.5018    
   2  Index         2.9660        .92327        .19116E-02   -.41896    
   3  Normalizat    .86412        .20882        .11276E-04   -.97733    
   4  Prefactor     .91355        .14138        .75815E-05   -.95669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8388e-12
Minuit parameter uncertainties:
  1  13.7689
  2  0.929677
  3  0.209017
  4  0.141438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/212058': 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) = 6474.97733785
delta logL = 0.0393413670936

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.189e+01  1.377e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.966e+00  9.297e-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.136e-01  1.414e-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:  8.641e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.56
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.97 +/- 0.93
Photon Flux (Free Index): 6.16e-08 +/- 5.84e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.17e-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/212058/cmap_HighResolution_243216001_243475201_4FGL_J2211.2-1325_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', photon_flux='5.52e-08', energy_flux2='1.25e-05', photon_flux_error='5.19e-08', dlogl='3.93e-02', energy_flux='1.30e-05', photon_flux2='6.16e-08', job_status='DONE', time_completed='2021-09-28 06:40:32.156268', photon_index_error2='0.93', photon_index2='2.97', ts='1.48', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.17e-05', EG='0.87', time_epoch_completed='1632836432.16', return_code='0', job_id='212058', GAL2='0.91', EG2='0.86', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='5.84e-08', ts2='1.56', photon_index='2.72' WHERE bin_id='15' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:40:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 212058: <4FGL_J2211.2-1325_daily_bin15> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin15> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 06:30:48 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:30:50 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:30:50 2021
Terminated at Tue Sep 28 06:40:32 2021
Results reported at Tue Sep 28 06:40:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin15 332.817 -13.4189 243216001 243475201 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 :                                   439.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             308.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            584 sec.

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

