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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1265
RA = 332.817, Dec = -13.4189
tmin = 567216001, tmax = 567475201
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='218191', job_status='RUN', time_executed='2021-09-28 06:52:20.454507', time_epoch_executed='1632837140.45' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218191

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218191/ft1_4FGL_J2211.2-1325_daily_bin1265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218191/ft2_4FGL_J2211.2-1325_daily_bin1265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218191/ft1_4FGL_J2211.2-1325_daily_bin1265.fits outfile=/scratch/kocevski/218191/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1265.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=567216001.0 tmax=567475201.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.51
user 2.61
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218191/ft1_filtered_4FGL_J2211.2-1325_daily_bin1265.fits" evtable="EVENTS" scfile=/scratch/kocevski/218191/ft2_4FGL_J2211.2-1325_daily_bin1265.fits sctable="SC_DATA" outfile=/scratch/kocevski/218191/ltcube_567216001_567475201_4FGL_J2211.2-1325_daily_bin1265.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/218191/ft2_4FGL_J2211.2-1325_daily_bin1265.fits
.....................!
real 14.49
user 12.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218191/ft1_filtered_4FGL_J2211.2-1325_daily_bin1265.fits evtable="EVENTS" scfile=/scratch/kocevski/218191/ft2_4FGL_J2211.2-1325_daily_bin1265.fits sctable="SC_DATA" expcube=/scratch/kocevski/218191/ltcube_567216001_567475201_4FGL_J2211.2-1325_daily_bin1265.fits outfile=/scratch/kocevski/218191/expmap_567216001_567475201_4FGL_J2211.2-1325_daily_bin1265.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/218191/ltcube_567216001_567475201_4FGL_J2211.2-1325_daily_bin1265.fits
.....................!
real 196.06
user 184.84
sys 4.91

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/218191/ft1_filtered_4FGL_J2211.2-1325_daily_bin1265.fits scfile=/scratch/kocevski/218191/ft2_4FGL_J2211.2-1325_daily_bin1265.fits outfile=/scratch/kocevski/218191/cmap_567216001_567475201_4FGL_J2211.2-1325_daily_bin1265.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/218191/ft1_filtered_4FGL_J2211.2-1325_daily_bin1265.fits scfile=/scratch/kocevski/218191/ft2_4FGL_J2211.2-1325_daily_bin1265.fits outfile=/scratch/kocevski/218191/cmap_HighResolution_567216001_567475201_4FGL_J2211.2-1325_daily_bin1265.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218191/ft1_filtered_4FGL_J2211.2-1325_daily_bin1265.fits evtable="EVENTS" scfile=/scratch/kocevski/218191/ft2_4FGL_J2211.2-1325_daily_bin1265.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218191/Model_4FGL_J2211.2-1325_daily_bin1265.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/218191/ft1_filtered_4FGL_J2211.2-1325_daily_bin1265.fits.....................!
real 66.22
user 64.67
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23348E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    4.7905       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6741       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8577       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.827       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8329       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.493       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.4117       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10296E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2681       1.0000         .10000E-03   10000.    
    16 'norm      '    .40709       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.9271       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9545       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2271       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71592       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=   7727.195     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2551 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7551       -.15315E-06** at limit **
   2  Prefactor     .10000E-03    2.2216       -.16209E-07** at limit **
   3  Prefactor     .10010E-03    9.7407        .10001E-05** at limit **
   4  norm          4.7914        6.3248        .30355E-06    .69355E-05
   5  Prefactor     2.6763        5.6949        .14331E-05    .59565E-05
   6  Prefactor     2.8617        18.431        .19718E-05   -.38041E-04
   7  Prefactor     .10000E-03    5.2928       -.84563E-07** at limit **
   8  Prefactor     15.829        10.715        .20719E-06   -.30286E-03
   9  Prefactor     5.8333        7.2828       -.37013E-06   -.21936E-03
  10  Prefactor     28.575        60.128       -.27714E-05   -.88568E-04
  11  Prefactor     8.4057        4.2646        .92776E-06   -.51424E-03
  12  Prefactor     .10000E-03    11.709       -.28229E-07** at limit **
  13  norm          .10000E-03    2.2777        .25690E-05** at limit **
  14  Prefactor     .10000E-03    58.802       -.40716E-06** at limit **
  15  Prefactor     5.2704        7.3538        .38703E-06   -.15988E-04
  16  norm          .40780        .67356        .64530E-06    .75110E-03
  17  Prefactor     .10000E-03    13.818        .15443E-06** at limit **
  18  norm          3.9271        1.0410        .33731E-07   -.88385E-03
  19  Prefactor     .10000E-03    10.838        .17041E-07** at limit **
  20  Prefactor     5.9550        6.0394       -.49487E-08   -.64125E-04
  21  Prefactor     .10000E-03    14.007       -.27488E-06** at limit **
  22  Normalizat    1.2267        .17902       -.39067E-05   -.92937E-03
  23  Prefactor     .71596        .11574        .11250E-05   -.11598E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100099
  norm       = 4.79141
  Prefactor  = 2.67634
  Prefactor  = 2.86174
  Prefactor  = 0.0001
  Prefactor  = 15.8287
  Prefactor  = 5.83326
  Prefactor  = 28.5755
  Prefactor  = 8.40568
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 5.27038
  norm       = 0.407803
  Prefactor  = 0.0001
  norm       = 3.92705
  Prefactor  = 0.0001
  Prefactor  = 5.95496
  Prefactor  = 0.0001
  Normalizat = 1.22673
  Prefactor  = 0.71596
 **********
 **   18 **HESSE 
 **********

 FCN=   7727.195     FROM HESSE     STATUS=OK           376 CALLS     2927 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9127        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.2247        .12796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10010E-03    11.702        .79146E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.7914        6.3291        .18382E-03   -1.5270    
   5  Prefactor     2.6763        5.6710        .24921E-03   -1.5381    
   6  Prefactor     2.8617        18.182        .24049E-03   -1.5370    
   7  Prefactor     .10000E-03    5.3427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.829        10.733        .10067E-03   -1.4912    
   9  Prefactor     5.8333        7.2618        .16629E-03   -1.5225    
  10  Prefactor     28.575        59.853        .75055E-04   -1.4638    
  11  Prefactor     8.4057        4.1671        .58545E-03   -1.5128    
  12  Prefactor     .10000E-03    11.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.1325        .22090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    58.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2704        7.3589        .17512E-03   -1.5249    
  16  norm          .40780        .66942        .89808E-04   -1.5580    
  17  Prefactor     .10000E-03    13.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.9271        1.0326        .20357E-04   -1.5312    
  19  Prefactor     .10000E-03    10.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9550        6.0401        .16456E-03   -1.5220    
  21  Prefactor     .10000E-03    14.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2267        .20904        .24862E-03   -.85781    
  23  Prefactor     .71596        .13499        .21404E-03   -1.0290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19641e-09
Minuit parameter uncertainties:
  1  1.83435e-05
  2  1.09092e-06
  3  0.00215249
  4  6.32996
  5  5.6721
  6  14.4331
  7  1.3201e-05
  8  10.7338
  9  7.26289
  10  59.9793
  11  4.16722
  12  9.43028e-06
  13  0.000206323
  14  0.000153036
  15  7.36013
  16  0.669435
  17  3.09127e-05
  18  1.03262
  19  9.99235e-06
  20  6.04072
  21  2.84331e-06
  22  0.20918
  23  0.135049
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.583e+01  1.073e+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:  7.160e-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.227e+00  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.70
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 6.42e-08 +/- 4.35e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.03e-05

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

Saving results to:
/scratch/kocevski/218191/likelihoodResults_567216001_567475201_4FGL_J2211.2-1325_daily_bin1265.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) = 7727.0541708
delta logL = 0.14127962415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7727.05350423
delta logL = 0.14194619062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.999       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1797       1.0000          .0000       10.000    
     3 'Normalizat'    1.1966       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73031       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=   7727.054     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      295 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.002        12.229        .11110E-03   -.61397E-05
   2  Index         3.1798        .97408        .82136E-02    .36307E-03
   3  Normalizat    1.1965        .20970        .25124E-03    .16884E-02
   4  Prefactor     .73023        .13741        .21214E-03    .21386E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.002
  Index      = 3.17975
  Normalizat = 1.19655
  Prefactor  = 0.730234
 **********
 **   18 **HESSE 
 **********

 FCN=   7727.054     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.002        11.385        .44440E-05   -1.4987    
   2  Index         3.1798        .90588        .16427E-02   -.37261    
   3  Normalizat    1.1965        .20938        .50249E-04   -.86710    
   4  Prefactor     .73023        .13724        .42429E-04   -1.0235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04178e-09
Minuit parameter uncertainties:
  1  11.387
  2  0.911693
  3  0.20953
  4  0.137306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218191': 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) = 7727.05350224
delta logL = 0.141948175662

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.300e+01  1.139e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.180e+00  9.117e-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.302e-01  1.373e-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.197e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.05
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.18 +/- 0.91
Photon Flux (Free Index): 8.48e-08 +/- 6.12e-08
Energy Flux (Free Index): 1.56e-05 +/- 9.63e-06

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/218191/cmap_HighResolution_567216001_567475201_4FGL_J2211.2-1325_daily_bin1265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', comment='SUCCESS', photon_flux='6.42e-08', energy_flux2='1.56e-05', photon_flux_error='4.35e-08', dlogl='1.42e-01', energy_flux='1.52e-05', photon_flux2='8.48e-08', job_status='DONE', time_completed='2021-09-28 07:05:44.280808', photon_index_error2='0.91', photon_index2='3.18', ts='3.70', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='9.63e-06', EG='1.23', time_epoch_completed='1632837944.28', return_code='0', job_id='218191', GAL2='0.73', EG2='1.20', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='6.12e-08', ts2='4.05', photon_index='2.72' WHERE bin_id='1265' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:05:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 218191: <4FGL_J2211.2-1325_daily_bin1265> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1265 332.817 -13.4189 567216001 567475201 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 :                                   682.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             312.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            897 sec.

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

