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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1421
RA = 332.817, Dec = -13.4189
tmin = 607651201, tmax = 607910401
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='218446', job_status='RUN', time_executed='2021-09-28 06:51:28.732787', time_epoch_executed='1632837088.73' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1421'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218446

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218446/ft1_4FGL_J2211.2-1325_daily_bin1421.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218446/ft2_4FGL_J2211.2-1325_daily_bin1421.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218446/ft1_4FGL_J2211.2-1325_daily_bin1421.fits outfile=/scratch/kocevski/218446/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1421.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=607651201.0 tmax=607910401.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.99
user 3.62
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218446/ft1_filtered_4FGL_J2211.2-1325_daily_bin1421.fits" evtable="EVENTS" scfile=/scratch/kocevski/218446/ft2_4FGL_J2211.2-1325_daily_bin1421.fits sctable="SC_DATA" outfile=/scratch/kocevski/218446/ltcube_607651201_607910401_4FGL_J2211.2-1325_daily_bin1421.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/218446/ft2_4FGL_J2211.2-1325_daily_bin1421.fits
.....................!
real 11.69
user 11.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218446/ft1_filtered_4FGL_J2211.2-1325_daily_bin1421.fits evtable="EVENTS" scfile=/scratch/kocevski/218446/ft2_4FGL_J2211.2-1325_daily_bin1421.fits sctable="SC_DATA" expcube=/scratch/kocevski/218446/ltcube_607651201_607910401_4FGL_J2211.2-1325_daily_bin1421.fits outfile=/scratch/kocevski/218446/expmap_607651201_607910401_4FGL_J2211.2-1325_daily_bin1421.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/218446/ltcube_607651201_607910401_4FGL_J2211.2-1325_daily_bin1421.fits
.....................!
real 191.27
user 186.72
sys 4.16

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/218446/ft1_filtered_4FGL_J2211.2-1325_daily_bin1421.fits scfile=/scratch/kocevski/218446/ft2_4FGL_J2211.2-1325_daily_bin1421.fits outfile=/scratch/kocevski/218446/cmap_607651201_607910401_4FGL_J2211.2-1325_daily_bin1421.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218446/ft1_filtered_4FGL_J2211.2-1325_daily_bin1421.fits scfile=/scratch/kocevski/218446/ft2_4FGL_J2211.2-1325_daily_bin1421.fits outfile=/scratch/kocevski/218446/cmap_HighResolution_607651201_607910401_4FGL_J2211.2-1325_daily_bin1421.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/218446/ft1_filtered_4FGL_J2211.2-1325_daily_bin1421.fits evtable="EVENTS" scfile=/scratch/kocevski/218446/ft2_4FGL_J2211.2-1325_daily_bin1421.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218446/Model_4FGL_J2211.2-1325_daily_bin1421.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/218446/ft1_filtered_4FGL_J2211.2-1325_daily_bin1421.fits.....................!
real 80.55
user 79.09
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.837       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.5227       1.0000         .10000E-03   10000.    
     4 'norm      '    2.9875       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.621       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.010       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6699       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0012       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .83892       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.418       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.0698       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11701E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.131       1.0000         .10000E-03   10000.    
    19 'Prefactor '    28.378       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.2828       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .62370       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2074       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=   9439.702     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2511 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4994        .59865E-07** at limit **
   2  Prefactor     12.837        8.0107        .28564E-07   -.17064E-04
   3  Prefactor     6.5231        10.923        .32860E-05   -.37180E-03
   4  norm          2.9875        3.0983       -.13596E-06   -.33138E-04
   5  Prefactor     10.621        6.1247        .32120E-07    .50303E-05
   6  Prefactor     19.010        13.662       -.28022E-06   -.14637E-04
   7  Prefactor     2.6694        8.8905        .10192E-05   -.52235E-04
   8  Prefactor     8.0015        7.4966        .91169E-06   -.28298E-03
   9  Prefactor     .10000E-03    2.9894       -.10823E-06** at limit **
  10  Prefactor     .10001E-03    21.502       -.36033E-05** at limit **
  11  Prefactor     .83900        3.2913        .21914E-05   -.30488E-03
  12  Prefactor     .10000E-03    13.345        .79893E-06** at limit **
  13  norm          11.418        3.9507       -.12972E-06   -.40552E-03
  14  Prefactor     .10001E-03    46.614       -.39401E-05** at limit **
  15  Prefactor     .10000E-03    10.409       -.11908E-06** at limit **
  16  norm          3.0699        .98749        .37781E-07   -.34816E-03
  17  Prefactor     .10001E-03    28.110        .57257E-05** at limit **
  18  norm          12.130        2.0874        .15979E-06   -.17519E-02
  19  Prefactor     28.373        32.510       -.44388E-06   -.18835E-03
  20  Prefactor     7.2833        7.2602       -.65935E-07    .15924E-04
  21  Prefactor     .10000E-03    5.1406        .20331E-07** at limit **
  22  Normalizat    .62355        .19109       -.13359E-05   -.13556E-03
  23  Prefactor     1.2075        .12918       -.24628E-06   -.19573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.8375
  Prefactor  = 6.52311
  norm       = 2.98749
  Prefactor  = 10.6212
  Prefactor  = 19.0097
  Prefactor  = 2.66942
  Prefactor  = 8.00146
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.839001
  Prefactor  = 0.0001
  norm       = 11.4177
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 3.0699
  Prefactor  = 0.000100013
  norm       = 12.1295
  Prefactor  = 28.3735
  Prefactor  = 7.28334
  Prefactor  = 0.0001
  Normalizat = 0.623546
  Prefactor  = 1.20754
 **********
 **   18 **HESSE 
 **********

 FCN=   9439.702     FROM HESSE     STATUS=OK           370 CALLS     2881 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6186        .35486E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.837        8.0111        .11180E-03   -1.4991    
   3  Prefactor     6.5231        11.196        .78568E-03   -1.5197    
   4  norm          2.9875        3.1025        .16991E-03   -1.5362    
   5  Prefactor     10.621        6.1163        .12294E-03   -1.5056    
   6  Prefactor     19.010        13.651        .91862E-04   -1.4836    
   7  Prefactor     2.6694        8.9008        .24942E-03   -1.5381    
   8  Prefactor     8.0015        7.5349        .70873E-03   -1.5142    
   9  Prefactor     .10000E-03    2.9983        .16401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    22.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .83900        3.3468        .33167E-03   -1.5525    
  12  Prefactor     .10000E-03    13.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.418        3.9346        .10647E-03   -1.5032    
  14  Prefactor     .10001E-03    47.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.705        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.0699        .98584        .52278E-04   -1.5358    
  17  Prefactor     .10001E-03    30.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.130        2.0861        .47212E-04   -1.5011    
  19  Prefactor     28.373        32.912        .75207E-04   -1.4642    
  20  Prefactor     7.2833        7.2598        .74314E-03   -1.5168    
  21  Prefactor     .10000E-03    5.1500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .62355        .21310        .37368E-03   -1.0699    
  23  Prefactor     1.2075        .14562        .19780E-03   -.86100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42701e-09
Minuit parameter uncertainties:
  1  4.57362e-06
  2  8.01179
  3  11.2001
  4  3.10263
  5  6.11668
  6  13.6534
  7  8.90524
  8  7.53575
  9  8.26923e-06
  10  0.00073808
  11  3.34751
  12  0.000126489
  13  3.93471
  14  0.00116621
  15  1.28468e-05
  16  0.985844
  17  0.00126675
  18  2.08607
  19  32.9334
  20  7.26065
  21  1.65631e-06
  22  0.213385
  23  0.145669
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.001e+00  7.536e+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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.208e+00  1.457e-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.235e-01  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 3.24e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 7.66e-06 +/- 7.21e-06

TS (Fixed Index): 2.40
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218446/likelihoodResults_607651201_607910401_4FGL_J2211.2-1325_daily_bin1421.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) = 9439.11619753
delta logL = 0.585646237094

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9439.10737286
delta logL = 0.594470912463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8443       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9757       1.0000          .0000       10.000    
     3 'Normalizat'    .64360       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1976       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=   9439.107     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8443        8.6397        .33695E-02    .31224E-02
   2  Index         1.9755        .45618        .25930       -.64514E-04
   3  Normalizat    .64349        .17843        .83135E-01    .36354E-04
   4  Prefactor     1.1976        .12812        .34689E-01   -.98338E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.84433
  Index      = 1.97546
  Normalizat = 0.643494
  Prefactor  = 1.19763
 **********
 **   18 **HESSE 
 **********

 FCN=   9439.107     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8443        8.9619        .13478E-03   -1.5113    
   2  Index         1.9755        .61746        .10237E-01   -.64965    
   3  Normalizat    .64349        .20160        .36819E-03   -1.0617    
   4  Prefactor     1.1976        .14493        .19848E-03   -.86404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2981e-09
Minuit parameter uncertainties:
  1  8.9633
  2  0.619966
  3  0.201833
  4  0.144979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218446': 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) = 9439.10737258
delta logL = 0.594471190985

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.844e+00  8.963e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.975e+00  6.200e-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.198e+00  1.450e-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.435e-01  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.98 +/- 0.62
Photon Flux (Free Index): 1.97e-08 +/- 2.35e-08
Energy Flux (Free Index): 1.45e-05 +/- 1.78e-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/218446/cmap_HighResolution_607651201_607910401_4FGL_J2211.2-1325_daily_bin1421.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.30e-03', comment='SUCCESS', photon_flux='3.24e-08', energy_flux2='1.45e-05', photon_flux_error='3.05e-08', dlogl='5.94e-01', energy_flux='7.66e-06', photon_flux2='1.97e-08', job_status='DONE', time_completed='2021-09-28 07:04:42.896782', photon_index_error2='0.62', photon_index2='1.98', ts='2.40', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.78e-05', EG='0.62', time_epoch_completed='1632837882.9', return_code='0', job_id='218446', GAL2='1.20', EG2='0.64', return_code2='0', energy_flux_error='7.21e-06', photon_flux_error2='2.35e-08', ts2='3.57', photon_index='2.72' WHERE bin_id='1421' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:04:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 218446: <4FGL_J2211.2-1325_daily_bin1421> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1421> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:51:12 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:51:14 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:14 2021
Terminated at Tue Sep 28 07:04:43 2021
Results reported at Tue Sep 28 07:04:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1421 332.817 -13.4189 607651201 607910401 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 :                                   770.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

