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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1340
RA = 332.817, Dec = -13.4189
tmin = 586656001, tmax = 586915201
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='218315', job_status='RUN', time_executed='2021-09-28 06:51:24.138263', time_epoch_executed='1632837084.14' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1340'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218315

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218315/ft1_4FGL_J2211.2-1325_daily_bin1340.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218315/ft2_4FGL_J2211.2-1325_daily_bin1340.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218315/ft1_4FGL_J2211.2-1325_daily_bin1340.fits outfile=/scratch/kocevski/218315/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1340.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=586656001.0 tmax=586915201.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.66
user 3.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218315/ft1_filtered_4FGL_J2211.2-1325_daily_bin1340.fits" evtable="EVENTS" scfile=/scratch/kocevski/218315/ft2_4FGL_J2211.2-1325_daily_bin1340.fits sctable="SC_DATA" outfile=/scratch/kocevski/218315/ltcube_586656001_586915201_4FGL_J2211.2-1325_daily_bin1340.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/218315/ft2_4FGL_J2211.2-1325_daily_bin1340.fits
.....................!
real 12.12
user 11.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218315/ft1_filtered_4FGL_J2211.2-1325_daily_bin1340.fits evtable="EVENTS" scfile=/scratch/kocevski/218315/ft2_4FGL_J2211.2-1325_daily_bin1340.fits sctable="SC_DATA" expcube=/scratch/kocevski/218315/ltcube_586656001_586915201_4FGL_J2211.2-1325_daily_bin1340.fits outfile=/scratch/kocevski/218315/expmap_586656001_586915201_4FGL_J2211.2-1325_daily_bin1340.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/218315/ltcube_586656001_586915201_4FGL_J2211.2-1325_daily_bin1340.fits
.....................!
real 191.20
user 185.91
sys 4.98

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/218315/ft1_filtered_4FGL_J2211.2-1325_daily_bin1340.fits scfile=/scratch/kocevski/218315/ft2_4FGL_J2211.2-1325_daily_bin1340.fits outfile=/scratch/kocevski/218315/cmap_586656001_586915201_4FGL_J2211.2-1325_daily_bin1340.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218315/ft1_filtered_4FGL_J2211.2-1325_daily_bin1340.fits scfile=/scratch/kocevski/218315/ft2_4FGL_J2211.2-1325_daily_bin1340.fits outfile=/scratch/kocevski/218315/cmap_HighResolution_586656001_586915201_4FGL_J2211.2-1325_daily_bin1340.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218315/ft1_filtered_4FGL_J2211.2-1325_daily_bin1340.fits evtable="EVENTS" scfile=/scratch/kocevski/218315/ft2_4FGL_J2211.2-1325_daily_bin1340.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218315/Model_4FGL_J2211.2-1325_daily_bin1340.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/218315/ft1_filtered_4FGL_J2211.2-1325_daily_bin1340.fits.....................!
real 48.88
user 47.60
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14977E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.104       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.004       1.0000         .10000E-03   10000.    
     4 'norm      '    .10395E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14536E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19159E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18232E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.6132       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.8018       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1108       1.0000         .10000E-03   10000.    
    12 'Prefactor '    315.39       1.0000         .10000E-03   10000.    
    13 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21667E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8243       1.0000         .10000E-03   10000.    
    16 'norm      '    .97656E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    33.388       1.0000         .10000E-03   10000.    
    18 'norm      '    2.5718       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .22865E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .69458E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .17314E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .56637       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3254       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=   5124.341     FROM MIGRAD    STATUS=CONVERGED    659 CALLS     2411 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5158         .0000    ** at limit **
   2  Prefactor     11.033        13.848         .0000       -.12985E-03
   3  Prefactor     22.239        20.081         .0000        .13517E-03
   4  norm          .10000E-03    2.1282         .0000    ** at limit **
   5  Prefactor     .10000E-03    2.8670         .0000    ** at limit **
   6  Prefactor     .10000E-03    15.696         .0000    ** at limit **
   7  Prefactor     .10000E-03    13.810         .0000    ** at limit **
   8  Prefactor     8.4872        12.960         .0000        .11484E-02
   9  Prefactor     9.7859        11.406         .0000        .10112E-02
  10  Prefactor     .10000E-03    33.304         .0000    ** at limit **
  11  Prefactor     1.0784        4.8032         .0000        .99582E-03
  12  Prefactor     314.79        135.25         .0000        .89012E-05
  13  norm          .10000E-03    1.5861         .0000    ** at limit **
  14  Prefactor     4.1719        349.64         .0000       -.26636E-04
  15  Prefactor     3.6624        13.375         .0000        .20202E-02
  16  norm          .10371        .79691         .0000        .57039E-03
  17  Prefactor     28.384        45.460         .0000        .72787E-04
  18  norm          2.9103        3.4277         .0000        .83834E-03
  19  Prefactor     .10000E-03    82.552         .0000    ** at limit **
  20  Prefactor     .10000E-03    5.2160         .0000    ** at limit **
  21  Prefactor     .10000E-03    25.379         .0000    ** at limit **
  22  Normalizat    .57404        .28797         .0000        .74123E-04
  23  Prefactor     1.3214        .18390         .0000        .12810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.0329
  Prefactor  = 22.2387
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.48716
  Prefactor  = 9.78593
  Prefactor  = 0.0001
  Prefactor  = 1.07844
  Prefactor  = 314.791
  norm       = 0.0001
  Prefactor  = 4.17186
  Prefactor  = 3.66237
  norm       = 0.103707
  Prefactor  = 28.3844
  norm       = 2.91032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.574037
  Prefactor  = 1.32142
 **********
 **   18 **HESSE 
 **********

 FCN=   5124.341     FROM HESSE     STATUS=OK           370 CALLS     2781 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5242        .11088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.033        13.838        .12023E-03   -1.5044    
   3  Prefactor     22.239        20.059        .85389E-04   -1.4764    
   4  norm          .10000E-03    2.1283        .10199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8893        .11834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.811        .20267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.4872        12.945        .68292E-03   -1.5125    
   9  Prefactor     9.7859        11.270        .63997E-03   -1.5082    
  10  Prefactor     .10000E-03    33.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0784        4.6439        .28482E-03   -1.5500    
  12  Prefactor     314.79        133.75        .22888E-04   -1.2141    
  13  norm          .10000E-03    1.5977        .87980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1719        348.95        .36523E-03   -1.5299    
  15  Prefactor     3.6624        13.366        .10319E-02   -1.5325    
  16  norm          .10371        3.0692        .11285E-02   -1.5644    
  17  Prefactor     28.384        52.376        .69349E-04   -1.4642    
  18  norm          2.9103        3.9447        .68987E-04   -1.5367    
  19  Prefactor     .10000E-03    83.011        .20105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.2245        .15967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .57404        .31500        .40557E-03   -1.0910    
  23  Prefactor     1.3214        .20448        .19054E-03   -.82672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.30617e-10
Minuit parameter uncertainties:
  1  1.25312e-05
  2  13.8425
  3  20.0655
  4  1.35305e-06
  5  2.42774e-05
  6  0.000105892
  7  0.000139621
  8  12.9493
  9  11.2723
  10  0.000251594
  11  4.47619
  12  133.88
  13  1.27748e-06
  14  76.7758
  15  13.3771
  16  1.12788
  17  52.4613
  18  3.94508
  19  0.000248062
  20  5.05778e-05
  21  1.56967e-05
  22  0.315988
  23  0.204601
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.487e+00  1.295e+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:  1.321e+00  2.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  5.740e-01  3.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/218315/likelihoodResults_586656001_586915201_4FGL_J2211.2-1325_daily_bin1340.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) = 5123.3211358
delta logL = 1.02016352039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5123.27397608
delta logL = 1.06732324299

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.909       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5777       1.0000          .0000       10.000    
     3 'Normalizat'    .58827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3086       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=   5123.274     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      207 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.909        11.319        .27872E-02   -.74693E-04
   2  Index         1.5777        .33766        .16699       -.73436E-04
   3  Normalizat    .58824        .26022        .90373E-01    .28478E-04
   4  Prefactor     1.3086        .17993        .32462E-01   -.19630E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9089
  Index      = 1.57774
  Normalizat = 0.58824
  Prefactor  = 1.30859
 **********
 **   18 **HESSE 
 **********

 FCN=   5123.274     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.909        15.230        .11149E-03   -1.4989    
   2  Index         1.5777        .52058        .64550E-02   -.75385    
   3  Normalizat    .58824        .28723        .40039E-03   -1.0849    
   4  Prefactor     1.3086        .19939        .19112E-03   -.83052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55461e-09
Minuit parameter uncertainties:
  1  15.2342
  2  0.52237
  3  0.287964
  4  0.19951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218315': 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) = 5123.27397606
delta logL = 1.06732325928

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.291e+01  1.523e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.578e+00  5.224e-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.309e+00  1.995e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  5.882e-01  2.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.72
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.58 +/- 0.52
Photon Flux (Free Index): 2.56e-08 +/- 2.99e-08
Energy Flux (Free Index): 6.25e-05 +/- 8.15e-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/218315/cmap_HighResolution_586656001_586915201_4FGL_J2211.2-1325_daily_bin1340.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', comment='SUCCESS', energy_flux2='6.25e-05', dlogl='1.07e+00', photon_flux2='2.56e-08', job_status='DONE', time_completed='2021-09-28 07:00:36.216110', photon_index_error2='0.52', photon_index2='1.58', ts='0.58', fit_tolerance='1e-08', GAL='1.32', photon_index_error='0.00', photon_flux_upper_limit='1.62e-07', energy_flux_error2='8.15e-05', EG='0.57', time_epoch_completed='1632837636.22', return_code='0', job_id='218315', GAL2='1.31', EG2='0.59', return_code2='0', photon_flux_error2='2.99e-08', ts2='2.72', photon_index='2.72' WHERE bin_id='1340' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:00:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 218315: <4FGL_J2211.2-1325_daily_bin1340> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1340 332.817 -13.4189 586656001 586915201 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 :                                   543.00 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             342.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   575 sec.
    Turnaround time :                            577 sec.

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

