/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 110 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 = 7431
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1182
RA = 332.817, Dec = -13.4189
tmin = 545702401, tmax = 545961601
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='218053', job_status='RUN', time_executed='2021-09-28 06:52:36.993653', time_epoch_executed='1632837156.99' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218053

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218053/ft1_4FGL_J2211.2-1325_daily_bin1182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218053/ft2_4FGL_J2211.2-1325_daily_bin1182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218053/ft1_4FGL_J2211.2-1325_daily_bin1182.fits outfile=/scratch/kocevski/218053/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1182.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=545702401.0 tmax=545961601.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 4.00
user 3.76
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218053/ft1_filtered_4FGL_J2211.2-1325_daily_bin1182.fits" evtable="EVENTS" scfile=/scratch/kocevski/218053/ft2_4FGL_J2211.2-1325_daily_bin1182.fits sctable="SC_DATA" outfile=/scratch/kocevski/218053/ltcube_545702401_545961601_4FGL_J2211.2-1325_daily_bin1182.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/218053/ft2_4FGL_J2211.2-1325_daily_bin1182.fits
.....................!
real 11.82
user 11.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218053/ft1_filtered_4FGL_J2211.2-1325_daily_bin1182.fits evtable="EVENTS" scfile=/scratch/kocevski/218053/ft2_4FGL_J2211.2-1325_daily_bin1182.fits sctable="SC_DATA" expcube=/scratch/kocevski/218053/ltcube_545702401_545961601_4FGL_J2211.2-1325_daily_bin1182.fits outfile=/scratch/kocevski/218053/expmap_545702401_545961601_4FGL_J2211.2-1325_daily_bin1182.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/218053/ltcube_545702401_545961601_4FGL_J2211.2-1325_daily_bin1182.fits
.....................!
real 190.33
user 185.23
sys 4.75

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/218053/ft1_filtered_4FGL_J2211.2-1325_daily_bin1182.fits scfile=/scratch/kocevski/218053/ft2_4FGL_J2211.2-1325_daily_bin1182.fits outfile=/scratch/kocevski/218053/cmap_545702401_545961601_4FGL_J2211.2-1325_daily_bin1182.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218053/ft1_filtered_4FGL_J2211.2-1325_daily_bin1182.fits scfile=/scratch/kocevski/218053/ft2_4FGL_J2211.2-1325_daily_bin1182.fits outfile=/scratch/kocevski/218053/cmap_HighResolution_545702401_545961601_4FGL_J2211.2-1325_daily_bin1182.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/218053/ft1_filtered_4FGL_J2211.2-1325_daily_bin1182.fits evtable="EVENTS" scfile=/scratch/kocevski/218053/ft2_4FGL_J2211.2-1325_daily_bin1182.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218053/Model_4FGL_J2211.2-1325_daily_bin1182.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/218053/ft1_filtered_4FGL_J2211.2-1325_daily_bin1182.fits.....................!
real 28.37
user 27.02
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10353E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.031       1.0000         .10000E-03   10000.    
     4 'norm      '    .24179E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.575       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.6706       1.0000         .10000E-03   10000.    
     8 'Prefactor '    117.56       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    382.27       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .60002       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20660E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.5722       1.0000         .10000E-03   10000.    
    19 'Prefactor '    152.23       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .63717       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97958       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=   2243.687     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2684 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8794        .36610E-07** at limit **
   2  Prefactor     .10007E-03    115.91       -.26167E-04** at limit **
   3  Prefactor     42.879        39.148       -.50539E-06   -.16668E-03
   4  norm          .23605        25.547        .63552E-05   -.82187E-04
   5  Prefactor     .10000E-03    15.132        .36026E-06** at limit **
   6  Prefactor     18.634        52.375        .89119E-06   -.70526E-04
   7  Prefactor     8.6732        14.081       -.64425E-06   -.32733E-03
   8  Prefactor     117.54        49.708       -.10292E-06   -.18012E-03
   9  Prefactor     .10000E-03    38.229        .39762E-07** at limit **
  10  Prefactor     382.38        268.69       -.52762E-07   -.57843E-04
  11  Prefactor     .10000E-03    10.043        .16824E-07** at limit **
  12  Prefactor     .10000E-03    68.509        .24574E-06** at limit **
  13  norm          .10000E-03    4.8012       -.18330E-06** at limit **
  14  Prefactor     .10000E-03    105.59       -.19437E-05** at limit **
  15  Prefactor     .10000E-03    6.7729        .15992E-06** at limit **
  16  norm          .60120        1.4072        .16209E-06    .13784E-03
  17  Prefactor     .10001E-03    89.947        .39172E-05** at limit **
  18  norm          4.5812        4.9366       -.65631E-06   -.23409E-03
  19  Prefactor     152.06        158.13        .35437E-05   -.11618E-03
  20  Prefactor     .10000E-03    15.079        .95699E-07** at limit **
  21  Prefactor     .10000E-03    24.385        .43335E-06** at limit **
  22  Normalizat    .63864        .38261        .26994E-05   -.25651E-03
  23  Prefactor     .97843        .24567       -.44120E-05   -.85521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100072
  Prefactor  = 42.8792
  norm       = 0.236048
  Prefactor  = 0.0001
  Prefactor  = 18.634
  Prefactor  = 8.67321
  Prefactor  = 117.54
  Prefactor  = 0.0001
  Prefactor  = 382.375
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.601202
  Prefactor  = 0.000100006
  norm       = 4.58122
  Prefactor  = 152.064
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.638644
  Prefactor  = 0.978431
 **********
 **   18 **HESSE 
 **********

 FCN=   2243.687     FROM HESSE     STATUS=OK           362 CALLS     3046 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8809        .91127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10007E-03    121.34        .36445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     42.879        39.529        .61113E-04   -1.4397    
   4  norm          .23605        234.17        .39991E-02   -1.5611    
   5  Prefactor     .10000E-03    15.335        .17997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.634        52.335        .92930E-04   -1.4844    
   7  Prefactor     8.6732        14.175        .13613E-03   -1.5119    
   8  Prefactor     117.54        49.781        .18555E-03   -1.3535    
   9  Prefactor     .10000E-03    38.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     382.38        268.99        .10431E-03   -1.1772    
  11  Prefactor     .10000E-03    10.059        .14663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    68.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.8056        .10135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    106.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.7828        .12043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .60120        1.2290        .81914E-03   -1.5553    
  17  Prefactor     .10001E-03    91.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.5812        4.9488        .65958E-04   -1.5280    
  19  Prefactor     152.06        157.06        .16335E-03   -1.3235    
  20  Prefactor     .10000E-03    15.080        .17968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    24.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .63864        .43954        .37040E-03   -1.0637    
  23  Prefactor     .97843        .29740        .20676E-03   -.93452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38963e-09
Minuit parameter uncertainties:
  1  4.06956e-06
  2  0.00590529
  3  39.5535
  4  14.9253
  5  0.000148544
  6  52.4647
  7  14.1804
  8  49.7987
  9  3.40797e-05
  10  269.883
  11  1.10049e-05
  12  0.000173982
  13  4.66605e-06
  14  0.00129289
  15  2.90151e-05
  16  1.22901
  17  0.0015368
  18  4.94924
  19  157.496
  20  1.17004e-05
  21  1.93429e-05
  22  0.441983
  23  0.297897
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.175e+02  4.980e+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.784e-01  2.979e-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.386e-01  4.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.26
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 4.77e-07 +/- 2.02e-07
Energy Flux (Fixed Index): 1.13e-04 +/- 4.77e-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) = 2242.98556362
delta logL = 0.701827526615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2242.96913044
delta logL = 0.718260706724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    78.306       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3465       1.0000          .0000       10.000    
     3 'Normalizat'    .52657       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0433       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=   2242.969     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      281 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     78.286        52.004        .45381E-04    .33920E-04
   2  Index         3.3466        .59555        .30961E-03    .15643E-04
   3  Normalizat    .52674        .42720        .40401E-03    .21906E-04
   4  Prefactor     1.0431        .28865        .20108E-03    .63712E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 78.2858
  Index      = 3.34659
  Normalizat = 0.526743
  Prefactor  = 1.04311
 **********
 **   18 **HESSE 
 **********

 FCN=   2242.969     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     78.286        51.774        .90763E-05   -1.3936    
   2  Index         3.3466        .59291        .12384E-04   -.33703    
   3  Normalizat    .52674        .42743        .16161E-04   -1.1119    
   4  Prefactor     1.0431        .28879        .40216E-04   -.91306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96241e-12
Minuit parameter uncertainties:
  1  51.8035
  2  0.594482
  3  0.430136
  4  0.289226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218053': 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) = 2242.96913
delta logL = 0.718261147915

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.829e+01  5.180e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.347e+00  5.945e-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.043e+00  2.892e-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:  5.267e-01  4.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.27
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.35 +/- 0.59
Photon Flux (Free Index): 6.16e-07 +/- 2.48e-07
Energy Flux (Free Index): 1.07e-04 +/- 4.12e-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/218053/cmap_HighResolution_545702401_545961601_4FGL_J2211.2-1325_daily_bin1182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.77e-07', energy_flux2='1.07e-04', photon_flux_error='2.02e-07', dlogl='7.18e-01', energy_flux='1.13e-04', photon_flux2='6.16e-07', job_status='DONE', time_completed='2021-09-28 07:00:26.264143', photon_index_error2='0.59', photon_index2='3.35', ts='11.26', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='4.12e-05', EG='0.64', time_epoch_completed='1632837626.26', return_code='0', job_id='218053', GAL2='1.04', EG2='0.53', return_code2='0', energy_flux_error='4.77e-05', photon_flux_error2='2.48e-07', ts2='13.27', photon_index='2.72' WHERE bin_id='1182' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:00:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 218053: <4FGL_J2211.2-1325_daily_bin1182> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1182> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:50:35 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:50:38 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:50:38 2021
Terminated at Tue Sep 28 07:00:27 2021
Results reported at Tue Sep 28 07:00:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1182 332.817 -13.4189 545702401 545961601 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 :                                   399.47 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             297.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            592 sec.

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

