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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1097
RA = 332.817, Dec = -13.4189
tmin = 523670401, tmax = 523929601
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='217913', job_status='RUN', time_executed='2021-09-28 06:52:31.466524', time_epoch_executed='1632837151.47' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1097'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217913

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217913/ft1_4FGL_J2211.2-1325_daily_bin1097.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217913/ft2_4FGL_J2211.2-1325_daily_bin1097.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217913/ft1_4FGL_J2211.2-1325_daily_bin1097.fits outfile=/scratch/kocevski/217913/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1097.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=523670401.0 tmax=523929601.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.54
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217913/ft1_filtered_4FGL_J2211.2-1325_daily_bin1097.fits" evtable="EVENTS" scfile=/scratch/kocevski/217913/ft2_4FGL_J2211.2-1325_daily_bin1097.fits sctable="SC_DATA" outfile=/scratch/kocevski/217913/ltcube_523670401_523929601_4FGL_J2211.2-1325_daily_bin1097.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/217913/ft2_4FGL_J2211.2-1325_daily_bin1097.fits
.....................!
real 12.42
user 12.00
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217913/ft1_filtered_4FGL_J2211.2-1325_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/217913/ft2_4FGL_J2211.2-1325_daily_bin1097.fits sctable="SC_DATA" expcube=/scratch/kocevski/217913/ltcube_523670401_523929601_4FGL_J2211.2-1325_daily_bin1097.fits outfile=/scratch/kocevski/217913/expmap_523670401_523929601_4FGL_J2211.2-1325_daily_bin1097.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/217913/ltcube_523670401_523929601_4FGL_J2211.2-1325_daily_bin1097.fits
.....................!
real 190.90
user 185.57
sys 4.97

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/217913/ft1_filtered_4FGL_J2211.2-1325_daily_bin1097.fits scfile=/scratch/kocevski/217913/ft2_4FGL_J2211.2-1325_daily_bin1097.fits outfile=/scratch/kocevski/217913/cmap_523670401_523929601_4FGL_J2211.2-1325_daily_bin1097.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217913/ft1_filtered_4FGL_J2211.2-1325_daily_bin1097.fits scfile=/scratch/kocevski/217913/ft2_4FGL_J2211.2-1325_daily_bin1097.fits outfile=/scratch/kocevski/217913/cmap_HighResolution_523670401_523929601_4FGL_J2211.2-1325_daily_bin1097.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217913/ft1_filtered_4FGL_J2211.2-1325_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/217913/ft2_4FGL_J2211.2-1325_daily_bin1097.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217913/Model_4FGL_J2211.2-1325_daily_bin1097.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/217913/ft1_filtered_4FGL_J2211.2-1325_daily_bin1097.fits.....................!
real 53.17
user 51.14
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10738E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.990       1.0000         .10000E-03   10000.    
     4 'norm      '    15.877       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.001       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.958       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.8909       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.156       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.586       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1222       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.2384       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.494       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5202       1.0000         .10000E-03   10000.    
    16 'norm      '    .92755E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.411       1.0000         .10000E-03   10000.    
    18 'norm      '    .11499E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.986       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4245       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .62156       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=   5256.799     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2575 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    4.9374       -.11865E-05** at limit **
   2  Prefactor     .10000E-03    6.9508       -.11128E-05** at limit **
   3  Prefactor     37.995        27.672        .17566E-05    .39055E-04
   4  norm          15.876        9.7128       -.38331E-06    .33727E-04
   5  Prefactor     36.010        13.473       -.21835E-05    .84865E-04
   6  Prefactor     11.960        17.349       -.23550E-05   -.10233E-05
   7  Prefactor     9.8936        13.749       -.40161E-05   -.94974E-03
   8  Prefactor     18.163        18.214       -.35343E-06    .40148E-04
   9  Prefactor     10.584        12.909       -.54935E-06   -.33731E-04
  10  Prefactor     .10000E-03    30.572        .17252E-04** at limit **
  11  Prefactor     5.1234        4.2935        .41232E-05    .33975E-03
  12  Prefactor     .10000E-03    40.443        .49223E-05** at limit **
  13  norm          2.2410        3.3943        .73214E-05    .86222E-03
  14  Prefactor     23.300        72.252       -.36350E-03    .15205E-04
  15  Prefactor     8.5292        17.368        .10525E-05   -.16873E-04
  16  norm          .91127E-01    .67822       -.13937E-05   -.16205E-03
  17  Prefactor     53.399        23.472       -.20845E-05   -.95881E-04
  18  norm          .10000E-03    1.3017        .58831E-06** at limit **
  19  Prefactor     .10000E-03    25.809       -.16662E-04** at limit **
  20  Prefactor     .10000E-03    3.5071        .32446E-06** at limit **
  21  Prefactor     13.990        25.397        .57516E-05    .15982E-04
  22  Normalizat    1.4232        .26026        .14923E-05    .33082E-03
  23  Prefactor     .62238        .15556        .11133E-04    .44423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  Prefactor  = 37.9948
  norm       = 15.8759
  Prefactor  = 36.0102
  Prefactor  = 11.9596
  Prefactor  = 9.89358
  Prefactor  = 18.1626
  Prefactor  = 10.5844
  Prefactor  = 0.0001
  Prefactor  = 5.12337
  Prefactor  = 0.0001
  norm       = 2.24103
  Prefactor  = 23.3004
  Prefactor  = 8.52922
  norm       = 0.0911273
  Prefactor  = 53.3992
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.9897
  Normalizat = 1.42324
  Prefactor  = 0.622384
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.799     FROM HESSE     STATUS=OK           380 CALLS     2955 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    13.278        .31128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.9633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.995        27.753        .65027E-04   -1.4474    
   4  norm          15.876        9.7150        .10052E-03   -1.4911    
   5  Prefactor     36.010        13.507        .66793E-04   -1.4507    
   6  Prefactor     11.960        17.334        .11584E-03   -1.5016    
   7  Prefactor     9.8936        13.775        .63707E-03   -1.5079    
   8  Prefactor     18.163        18.315        .93995E-04   -1.4855    
   9  Prefactor     10.584        12.880        .12314E-03   -1.5057    
  10  Prefactor     .10000E-03    30.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1234        4.2825        .12765E-03   -1.5255    
  12  Prefactor     .10000E-03    40.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2410        3.3728        .15553E-03   -1.5409    
  14  Prefactor     23.300        72.455        .41320E-03   -1.4742    
  15  Prefactor     8.5292        17.506        .13733E-03   -1.5124    
  16  norm          .91127E-01    1.3323        .11237E-02   -1.5648    
  17  Prefactor     53.399        19.564        .54882E-04   -1.4245    
  18  norm          .10000E-03    1.6632        .13261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.5082        .13261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.990        25.453        .10710E-03   -1.4960    
  22  Normalizat    1.4232        .31432        .27307E-03   -.79959    
  23  Prefactor     .62238        .18489        .25103E-03   -1.0665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0024e-08
Minuit parameter uncertainties:
  1  0.000964643
  2  5.07072e-05
  3  27.7629
  4  9.71595
  5  13.5077
  6  17.341
  7  13.7789
  8  18.3206
  9  12.8831
  10  4.34481e-05
  11  4.28278
  12  0.000116576
  13  3.37313
  14  72.7306
  15  17.5164
  16  0.696503
  17  19.5663
  18  5.74495e-05
  19  8.21091e-05
  20  3.03353e-06
  21  25.4727
  22  0.314752
  23  0.185068
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.816e+01  1.832e+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:  6.224e-01  1.851e-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.423e+00  3.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.35
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 7.36e-08 +/- 7.42e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.75e-05

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

Saving results to:
/scratch/kocevski/217913/likelihoodResults_523670401_523929601_4FGL_J2211.2-1325_daily_bin1097.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) = 5256.7194484
delta logL = 0.0797824167148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5256.68680077
delta logL = 0.112430045056

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.491       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2820       1.0000          .0000       10.000    
     3 'Normalizat'    1.3900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63939       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=   5256.687     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      245 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.481        22.284        .10905E-03   -.14261E-03
   2  Index         3.2823        1.5102        .91614E-02   -.17062E-04
   3  Normalizat    1.3900        .30020        .27569E-03   -.80824E-05
   4  Prefactor     .63938        .18627        .24797E-03    .89862E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4806
  Index      = 3.28233
  Normalizat = 1.39005
  Prefactor  = 0.63938
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.687     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.481        19.410        .43621E-05   -1.4973    
   2  Index         3.2823        1.3179        .36646E-03   -.35068    
   3  Normalizat    1.3900        .29990        .11028E-04   -.80917    
   4  Prefactor     .63938        .18577        .99186E-05   -1.0595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47277e-11
Minuit parameter uncertainties:
  1  19.419
  2  1.33581
  3  0.300282
  4  0.185952
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217913': 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) = 5256.68680059
delta logL = 0.112430223995

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.348e+01  1.942e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.282e+00  1.336e+00  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:  6.394e-01  1.860e-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.390e+00  3.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.62
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.28 +/- 1.34
Photon Flux (Free Index): 9.86e-08 +/- 9.80e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.61e-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/217913/cmap_HighResolution_523670401_523929601_4FGL_J2211.2-1325_daily_bin1097.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-02', comment='SUCCESS', photon_flux='7.36e-08', energy_flux2='1.75e-05', photon_flux_error='7.42e-08', dlogl='1.12e-01', energy_flux='1.74e-05', photon_flux2='9.86e-08', job_status='DONE', time_completed='2021-09-28 07:03:03.018581', photon_index_error2='1.34', photon_index2='3.28', ts='1.35', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', photon_flux_upper_limit='2.25e-07', energy_flux_error2='1.61e-05', EG='1.42', time_epoch_completed='1632837783.02', return_code='0', job_id='217913', GAL2='0.64', EG2='1.39', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='9.80e-08', ts2='1.62', photon_index='2.72' WHERE bin_id='1097' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:03:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 217913: <4FGL_J2211.2-1325_daily_bin1097> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1097 332.817 -13.4189 523670401 523929601 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 :                                   567.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            759 sec.

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

