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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1509
RA = 332.817, Dec = -13.4189
tmin = 630460801, tmax = 630720001
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='218589', job_status='RUN', time_executed='2021-09-28 06:51:42.598869', time_epoch_executed='1632837102.6' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1509'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218589

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218589/ft1_4FGL_J2211.2-1325_daily_bin1509.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218589/ft2_4FGL_J2211.2-1325_daily_bin1509.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218589/ft1_4FGL_J2211.2-1325_daily_bin1509.fits outfile=/scratch/kocevski/218589/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1509.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=630460801.0 tmax=630720001.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 2.81
user 2.62
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218589/ft1_filtered_4FGL_J2211.2-1325_daily_bin1509.fits" evtable="EVENTS" scfile=/scratch/kocevski/218589/ft2_4FGL_J2211.2-1325_daily_bin1509.fits sctable="SC_DATA" outfile=/scratch/kocevski/218589/ltcube_630460801_630720001_4FGL_J2211.2-1325_daily_bin1509.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/218589/ft2_4FGL_J2211.2-1325_daily_bin1509.fits
.....................!
real 12.55
user 12.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218589/ft1_filtered_4FGL_J2211.2-1325_daily_bin1509.fits evtable="EVENTS" scfile=/scratch/kocevski/218589/ft2_4FGL_J2211.2-1325_daily_bin1509.fits sctable="SC_DATA" expcube=/scratch/kocevski/218589/ltcube_630460801_630720001_4FGL_J2211.2-1325_daily_bin1509.fits outfile=/scratch/kocevski/218589/expmap_630460801_630720001_4FGL_J2211.2-1325_daily_bin1509.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/218589/ltcube_630460801_630720001_4FGL_J2211.2-1325_daily_bin1509.fits
.....................!
real 190.88
user 186.12
sys 4.42

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/218589/ft1_filtered_4FGL_J2211.2-1325_daily_bin1509.fits scfile=/scratch/kocevski/218589/ft2_4FGL_J2211.2-1325_daily_bin1509.fits outfile=/scratch/kocevski/218589/cmap_630460801_630720001_4FGL_J2211.2-1325_daily_bin1509.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218589/ft1_filtered_4FGL_J2211.2-1325_daily_bin1509.fits scfile=/scratch/kocevski/218589/ft2_4FGL_J2211.2-1325_daily_bin1509.fits outfile=/scratch/kocevski/218589/cmap_HighResolution_630460801_630720001_4FGL_J2211.2-1325_daily_bin1509.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218589/ft1_filtered_4FGL_J2211.2-1325_daily_bin1509.fits evtable="EVENTS" scfile=/scratch/kocevski/218589/ft2_4FGL_J2211.2-1325_daily_bin1509.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218589/Model_4FGL_J2211.2-1325_daily_bin1509.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/218589/ft1_filtered_4FGL_J2211.2-1325_daily_bin1509.fits.....................!
real 76.23
user 74.86
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41688E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3414       1.0000         .10000E-03   10000.    
     4 'norm      '    10.195       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2860       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4249       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7086       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.948       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5611       1.0000         .10000E-03   10000.    
    13 'norm      '    1.8069       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1110       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1906       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.6197       1.0000         .10000E-03   10000.    
    19 'Prefactor '    49.728       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6465       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.9141       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3310       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76414       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=   9030.465     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2524 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4179        .53642E-07** at limit **
   2  Prefactor     .10000E-03    2.5476       -.32516E-08** at limit **
   3  Prefactor     1.3414        30.360        .88997E-06   -.94098E-06
   4  norm          10.195        6.4260       -.80142E-07   -.14227E-04
   5  Prefactor     3.2852        4.4719        .23065E-05   -.16512E-04
   6  Prefactor     .10000E-03    8.9986        .59907E-07** at limit **
   7  Prefactor     8.4235        9.5730        .57524E-06   -.33485E-05
   8  Prefactor     3.7078        4.2884       -.13578E-06   -.18051E-04
   9  Prefactor     .10000E-03    4.8770       -.18632E-07** at limit **
  10  Prefactor     20.907        31.925        .67184E-05    .13245E-04
  11  Prefactor     .10000E-03    .80990       -.74830E-08** at limit **
  12  Prefactor     5.5498        32.769        .33363E-05    .11949E-05
  13  norm          1.8059        2.1457       -.12729E-07   -.67737E-04
  14  Prefactor     .10000E-03    26.161       -.59502E-06** at limit **
  15  Prefactor     2.1097        13.430        .67698E-06   -.56969E-06
  16  norm          2.1905        .80671       -.42058E-08   -.10007E-03
  17  Prefactor     .10000E-03    14.881        .47809E-06** at limit **
  18  norm          5.6191        1.5200        .11701E-06   -.57083E-03
  19  Prefactor     49.749        31.434       -.16024E-05    .24000E-05
  20  Prefactor     3.6467        4.7778        .25052E-06    .68429E-05
  21  Prefactor     3.9143        7.1892        .16605E-06    .20986E-05
  22  Normalizat    1.3311        .17627       -.94544E-06   -.52187E-05
  23  Prefactor     .76403        .11431       -.10576E-07   -.58551E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.34143
  norm       = 10.1951
  Prefactor  = 3.2852
  Prefactor  = 0.0001
  Prefactor  = 8.42347
  Prefactor  = 3.70783
  Prefactor  = 0.0001
  Prefactor  = 20.9072
  Prefactor  = 0.0001
  Prefactor  = 5.54983
  norm       = 1.80594
  Prefactor  = 0.0001
  Prefactor  = 2.10972
  norm       = 2.19053
  Prefactor  = 0.0001
  norm       = 5.61912
  Prefactor  = 49.7487
  Prefactor  = 3.64672
  Prefactor  = 3.9143
  Normalizat = 1.33115
  Prefactor  = 0.764031
 **********
 **   18 **HESSE 
 **********

 FCN=   9030.465     FROM HESSE     STATUS=OK           380 CALLS     2904 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.640        .38348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.5493        .14813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3414        30.526        .37840E-03   -1.5476    
   4  norm          10.195        6.4177        .12549E-03   -1.5069    
   5  Prefactor     3.2852        4.4736        .11168E-02   -1.5345    
   6  Prefactor     .10000E-03    9.0436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4235        9.5751        .69056E-03   -1.5127    
   8  Prefactor     3.7078        4.2861        .20570E-03   -1.5323    
   9  Prefactor     .10000E-03    4.9480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.907        31.988        .87512E-04   -1.4793    
  11  Prefactor     .10000E-03    .81725        .83495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5498        32.772        .17036E-03   -1.5237    
  13  norm          1.8059        2.1268        .14513E-03   -1.5439    
  14  Prefactor     .10000E-03    26.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1097        13.564        .28394E-03   -1.5417    
  16  norm          2.1905        .80410        .49511E-04   -1.5412    
  17  Prefactor     .10000E-03    14.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.6191        1.5389        .46941E-04   -1.5234    
  19  Prefactor     49.749        31.925        .56868E-04   -1.4296    
  20  Prefactor     3.6467        4.7721        .10577E-02   -1.5326    
  21  Prefactor     3.9143        7.1746        .20392E-03   -1.5312    
  22  Normalizat    1.3311        .21028        .26150E-03   -.82641    
  23  Prefactor     .76403        .13672        .22636E-03   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37714e-10
Minuit parameter uncertainties:
  1  6.0012e-07
  2  1.51453e-07
  3  12.8051
  4  6.41817
  5  4.47408
  6  2.6954e-06
  7  9.57681
  8  4.28641
  9  2.53071e-06
  10  32.014
  11  2.50027e-07
  12  26.9947
  13  2.12686
  14  9.2543e-07
  15  10.702
  16  0.804101
  17  4.5956e-05
  18  1.53889
  19  31.9358
  20  4.77259
  21  7.17621
  22  0.210412
  23  0.136784
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.708e+00  4.286e+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:  7.640e-01  1.368e-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:  1.331e+00  2.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.50e-08 +/- 1.74e-08
Energy Flux (Fixed Index): 3.55e-06 +/- 4.10e-06

TS (Fixed Index): 1.71
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218589/likelihoodResults_630460801_630720001_4FGL_J2211.2-1325_daily_bin1509.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) = 9028.75871202
delta logL = 1.70627455503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9028.73670628
delta logL = 1.7282802934

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7582       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4266       1.0000          .0000       10.000    
     3 'Normalizat'    1.3425       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75906       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=   9028.737     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      212 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7653        2.8249        .61273E-02   -.76314E-02
   2  Index         1.4276        .34372        .25015       -.17269E-03
   3  Normalizat    1.3425        .16663        .58904E-01   -.80694E-04
   4  Prefactor     .75905        .11320        .43182E-01   -.47534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76535
  Index      = 1.42765
  Normalizat = 1.34254
  Prefactor  = 0.759049
 **********
 **   18 **HESSE 
 **********

 FCN=   9028.737     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7653        4.0452        .77690E-03   -1.5375    
   2  Index         1.4276        .60240        .90031E-02   -.79587    
   3  Normalizat    1.3425        .19865        .26049E-03   -.82305    
   4  Prefactor     .75905        .13498        .22692E-03   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53483e-10
Minuit parameter uncertainties:
  1  4.04558
  2  0.605419
  3  0.198765
  4  0.135041
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218589': 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) = 9028.73670462
delta logL = 1.72828195364

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.765e+00  4.046e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.428e+00  6.054e-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:  7.590e-01  1.350e-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:  1.343e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.17
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.43 +/- 0.61
Photon Flux (Free Index): 5.67e-09 +/- 7.36e-09
Energy Flux (Free Index): 2.29e-05 +/- 3.59e-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/218589/cmap_HighResolution_630460801_630720001_4FGL_J2211.2-1325_daily_bin1509.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-03', comment='SUCCESS', photon_flux='1.50e-08', energy_flux2='2.29e-05', photon_flux_error='1.74e-08', dlogl='1.73e+00', energy_flux='3.55e-06', photon_flux2='5.67e-09', job_status='DONE', time_completed='2021-09-28 07:04:42.886555', photon_index_error2='0.61', photon_index2='1.43', ts='1.71', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='6.71e-08', energy_flux_error2='3.59e-05', EG='1.33', time_epoch_completed='1632837882.89', return_code='0', job_id='218589', GAL2='0.76', EG2='1.34', return_code2='0', energy_flux_error='4.10e-06', photon_flux_error2='7.36e-09', ts2='5.17', photon_index='2.72' WHERE bin_id='1509' 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@bullet0046>
Subject: Job 218589: <4FGL_J2211.2-1325_daily_bin1509> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1509 332.817 -13.4189 630460801 630720001 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 :                                   744.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             342.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            800 sec.

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

