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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1015
RA = 332.817, Dec = -13.4189
tmin = 502416001, tmax = 502675201
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='216778', job_status='RUN', time_executed='2021-09-28 06:47:27.197215', time_epoch_executed='1632836847.2' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216778

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216778/ft1_4FGL_J2211.2-1325_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216778/ft2_4FGL_J2211.2-1325_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216778/ft1_4FGL_J2211.2-1325_daily_bin1015.fits outfile=/scratch/kocevski/216778/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1015.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=502416001.0 tmax=502675201.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.52
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216778/ft1_filtered_4FGL_J2211.2-1325_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/216778/ft2_4FGL_J2211.2-1325_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/216778/ltcube_502416001_502675201_4FGL_J2211.2-1325_daily_bin1015.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/216778/ft2_4FGL_J2211.2-1325_daily_bin1015.fits
.....................!
real 11.57
user 11.25
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216778/ft1_filtered_4FGL_J2211.2-1325_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/216778/ft2_4FGL_J2211.2-1325_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/216778/ltcube_502416001_502675201_4FGL_J2211.2-1325_daily_bin1015.fits outfile=/scratch/kocevski/216778/expmap_502416001_502675201_4FGL_J2211.2-1325_daily_bin1015.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/216778/ltcube_502416001_502675201_4FGL_J2211.2-1325_daily_bin1015.fits
.....................!
real 190.25
user 185.64
sys 4.30

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/216778/ft1_filtered_4FGL_J2211.2-1325_daily_bin1015.fits scfile=/scratch/kocevski/216778/ft2_4FGL_J2211.2-1325_daily_bin1015.fits outfile=/scratch/kocevski/216778/cmap_502416001_502675201_4FGL_J2211.2-1325_daily_bin1015.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216778/ft1_filtered_4FGL_J2211.2-1325_daily_bin1015.fits scfile=/scratch/kocevski/216778/ft2_4FGL_J2211.2-1325_daily_bin1015.fits outfile=/scratch/kocevski/216778/cmap_HighResolution_502416001_502675201_4FGL_J2211.2-1325_daily_bin1015.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216778/ft1_filtered_4FGL_J2211.2-1325_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/216778/ft2_4FGL_J2211.2-1325_daily_bin1015.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216778/Model_4FGL_J2211.2-1325_daily_bin1015.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/216778/ft1_filtered_4FGL_J2211.2-1325_daily_bin1015.fits....................!
real 73.78
user 72.47
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    48.175       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5025       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2987       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1919       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.5148       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.918       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .14329E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6422       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .53398E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .25280       1.0000         .10000E-03   10000.    
    17 'Prefactor '    72.660       1.0000         .10000E-03   10000.    
    18 'norm      '    7.9863       1.0000         .10000E-03   10000.    
    19 'Prefactor '    42.628       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0379       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80181       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=   8767.425     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2663 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7632       -.53144E-07** at limit **
   2  Prefactor     .10000E-03    2.2376       -.30140E-07** at limit **
   3  Prefactor     48.174        17.058        .25615E-07   -.30365E-04
   4  norm          .10000E-03    2.1813       -.10877E-07** at limit **
   5  Prefactor     6.5027        5.0519        .52098E-07   -.36875E-04
   6  Prefactor     .10000E-03    16.275        .19469E-07** at limit **
   7  Prefactor     5.2986        4.8382        .54836E-07   -.36157E-05
   8  Prefactor     7.1916        6.9489        .51402E-07   -.76261E-04
   9  Prefactor     9.5341        10.085        .56463E-06   -.53582E-03
  10  Prefactor     16.915        33.117        .17397E-06   -.73293E-04
  11  Prefactor     .10017E-03    2.1921        .43082E-06** at limit **
  12  Prefactor     .10000E-03    8.9848        .29953E-07** at limit **
  13  norm          .10001E-03    1.6045        .67947E-06** at limit **
  14  Prefactor     6.6998        163.67       -.48063E-05   -.65450E-04
  15  Prefactor     .10000E-03    4.2033       -.67268E-07** at limit **
  16  norm          .25326        .33026       -.33528E-06   -.27480E-02
  17  Prefactor     72.717        46.311        .18226E-05    .42637E-04
  18  norm          7.9805        4.0840       -.51810E-06   -.65576E-03
  19  Prefactor     42.623        37.596        .67003E-06   -.25847E-04
  20  Prefactor     .10000E-03    2.1650        .63736E-08** at limit **
  21  Prefactor     .10000E-03    11.443       -.75689E-07** at limit **
  22  Normalizat    1.0378        .18604       -.16976E-05   -.40137E-03
  23  Prefactor     .80182        .12190        .16407E-05   -.59424E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.1741
  norm       = 0.0001
  Prefactor  = 6.50267
  Prefactor  = 0.0001
  Prefactor  = 5.29863
  Prefactor  = 7.19156
  Prefactor  = 9.53406
  Prefactor  = 16.9151
  Prefactor  = 0.000100167
  Prefactor  = 0.0001
  norm       = 0.000100012
  Prefactor  = 6.69977
  Prefactor  = 0.000100002
  norm       = 0.253262
  Prefactor  = 72.7168
  norm       = 7.98049
  Prefactor  = 42.6232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03784
  Prefactor  = 0.801822
 **********
 **   18 **HESSE 
 **********

 FCN=   8767.425     FROM HESSE     STATUS=OK           374 CALLS     3037 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7759        .12141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.2413        .13679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     48.174        17.083        .57772E-04   -1.4319    
   4  norm          .10000E-03    2.1860        .13505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.5027        5.0498        .15738E-03   -1.5198    
   6  Prefactor     .10000E-03    16.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.2986        4.8435        .17460E-03   -1.5248    
   8  Prefactor     7.1916        6.9514        .14957E-03   -1.5172    
   9  Prefactor     9.5341        9.3998        .12992E-03   -1.5090    
  10  Prefactor     16.915        33.029        .97375E-04   -1.4885    
  11  Prefactor     .10017E-03    22.995        .23239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.9873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10001E-03    5.7303        .20452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6998        169.19        .15570E-03   -1.5190    
  15  Prefactor     .10000E-03    28.631        .36922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .25326        .31932        .75777E-03   -1.5607    
  17  Prefactor     72.717        46.796        .47098E-04   -1.4000    
  18  norm          7.9805        4.1209        .54898E-04   -1.5143    
  19  Prefactor     42.623        37.476        .61401E-04   -1.4401    
  20  Prefactor     .10000E-03    2.1653        .13455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0378        .20659        .27638E-03   -.91773    
  23  Prefactor     .80182        .13445        .21385E-03   -.99661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.84664e-09
Minuit parameter uncertainties:
  1  2.44349e-06
  2  1.51676e-06
  3  17.0846
  4  1.51458e-06
  5  5.05016
  6  5.02262e-05
  7  4.84384
  8  6.95219
  9  9.40125
  10  33.0643
  11  0.00392559
  12  1.10375e-06
  13  0.000516911
  14  67.5506
  15  0.00044984
  16  0.319318
  17  46.8192
  18  4.12103
  19  37.4968
  20  1.44999e-07
  21  1.20371e-05
  22  0.206749
  23  0.134508
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.192e+00  6.952e+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:  8.018e-01  1.345e-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.038e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 6.89e-06 +/- 6.66e-06

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

Saving results to:
/scratch/kocevski/216778/likelihoodResults_502416001_502675201_4FGL_J2211.2-1325_daily_bin1015.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) = 8767.11746539
delta logL = 0.307043644625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8767.11427403
delta logL = 0.310235010578

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4208       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1077       1.0000          .0000       10.000    
     3 'Normalizat'    1.0535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79497       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=   8767.114     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4208        8.1472        .36807E-02    .10167E-02
   2  Index         2.1076        .60171        .25204       -.51560E-04
   3  Normalizat    1.0535        .16123        .62074E-01    .17534E-04
   4  Prefactor     .79496        .11132        .43652E-01   -.80928E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.42077
  Index      = 2.1076
  Normalizat = 1.05354
  Prefactor  = 0.79496
 **********
 **   18 **HESSE 
 **********

 FCN=   8767.114     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4208        7.8839        .14723E-03   -1.5163    
   2  Index         2.1076        .73136        .12143E-01   -.61686    
   3  Normalizat    1.0535        .19251        .27455E-03   -.91258    
   4  Prefactor     .79496        .13269        .21465E-03   -.99914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.11974e-10
Minuit parameter uncertainties:
  1  7.88505
  2  0.735333
  3  0.192636
  4  0.132746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216778': 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) = 8767.11427402
delta logL = 0.31023501822

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.421e+00  7.885e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.108e+00  7.353e-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.950e-01  1.327e-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.054e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.11 +/- 0.74
Photon Flux (Free Index): 1.79e-08 +/- 2.36e-08
Energy Flux (Free Index): 9.66e-06 +/- 1.17e-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/216778/cmap_HighResolution_502416001_502675201_4FGL_J2211.2-1325_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.62e-03', comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='9.66e-06', photon_flux_error='2.82e-08', dlogl='3.10e-01', energy_flux='6.89e-06', photon_flux2='1.79e-08', job_status='DONE', time_completed='2021-09-28 07:00:04.211472', photon_index_error2='0.74', photon_index2='2.11', ts='2.18', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='9.67e-08', energy_flux_error2='1.17e-05', EG='1.04', time_epoch_completed='1632837604.21', return_code='0', job_id='216778', GAL2='0.79', EG2='1.05', return_code2='0', energy_flux_error='6.66e-06', photon_flux_error2='2.36e-08', ts2='2.79', photon_index='2.72' WHERE bin_id='1015' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:00:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 216778: <4FGL_J2211.2-1325_daily_bin1015> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1015 332.817 -13.4189 502416001 502675201 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 :                                   753.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            847 sec.

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

