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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1111
RA = 332.817, Dec = -13.4189
tmin = 527299201, tmax = 527558401
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='217941', job_status='RUN', time_executed='2021-09-28 06:50:59.456426', time_epoch_executed='1632837059.46' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217941

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217941/ft1_4FGL_J2211.2-1325_daily_bin1111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217941/ft2_4FGL_J2211.2-1325_daily_bin1111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217941/ft1_4FGL_J2211.2-1325_daily_bin1111.fits outfile=/scratch/kocevski/217941/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1111.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=527299201.0 tmax=527558401.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 4.81
user 4.58
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217941/ft2_4FGL_J2211.2-1325_daily_bin1111.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/217941/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1111.fits evtable="EVENTS" outfile="/scratch/kocevski/217941/ft1_filtered_4FGL_J2211.2-1325_daily_bin1111.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217941/ft1_filtered_4FGL_J2211.2-1325_daily_bin1111.fits" evtable="EVENTS" scfile=/scratch/kocevski/217941/ft2_4FGL_J2211.2-1325_daily_bin1111.fits sctable="SC_DATA" outfile=/scratch/kocevski/217941/ltcube_527299201_527558401_4FGL_J2211.2-1325_daily_bin1111.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/217941/ft2_4FGL_J2211.2-1325_daily_bin1111.fits
.....................!
real 12.45
user 12.12
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217941/ft1_filtered_4FGL_J2211.2-1325_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/217941/ft2_4FGL_J2211.2-1325_daily_bin1111.fits sctable="SC_DATA" expcube=/scratch/kocevski/217941/ltcube_527299201_527558401_4FGL_J2211.2-1325_daily_bin1111.fits outfile=/scratch/kocevski/217941/expmap_527299201_527558401_4FGL_J2211.2-1325_daily_bin1111.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/217941/ltcube_527299201_527558401_4FGL_J2211.2-1325_daily_bin1111.fits
.....................!
real 189.94
user 185.07
sys 4.56

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/217941/ft1_filtered_4FGL_J2211.2-1325_daily_bin1111.fits scfile=/scratch/kocevski/217941/ft2_4FGL_J2211.2-1325_daily_bin1111.fits outfile=/scratch/kocevski/217941/cmap_527299201_527558401_4FGL_J2211.2-1325_daily_bin1111.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217941/ft1_filtered_4FGL_J2211.2-1325_daily_bin1111.fits scfile=/scratch/kocevski/217941/ft2_4FGL_J2211.2-1325_daily_bin1111.fits outfile=/scratch/kocevski/217941/cmap_HighResolution_527299201_527558401_4FGL_J2211.2-1325_daily_bin1111.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.56
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11227E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    13.473       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.4238       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.091       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.662       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12847E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.850       1.0000         .10000E-03   10000.    
    13 'norm      '    1.4823       1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.784       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.988       1.0000         .10000E-03   10000.    
    16 'norm      '    6.0330       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.083       1.0000         .10000E-03   10000.    
    18 'norm      '    8.1555       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.390       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .74698       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0986       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0578       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=   7396.468     FROM MIGRAD    STATUS=CONVERGED    928 CALLS     3447 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4088        .12980E-02** at limit **
   2  Prefactor     .10000E-03    2.5353        .13367E-02** at limit **
   3  Prefactor     .10001E-03    18.558        .79202E-01** at limit **
   4  norm          13.473        6.9815        .10912E-03   -.43756E-05
   5  Prefactor     5.4246        5.5749        .17254E-03   -.83152E-04
   6  Prefactor     .10000E-03    39.376        .36285E-03** at limit **
   7  Prefactor     .10000E-03    7.7794        .18142E-02** at limit **
   8  Prefactor     10.091        10.966        .12614E-03   -.75526E-04
   9  Prefactor     22.649        12.846        .84142E-04   -.15457E-03
  10  Prefactor     .10000E-03    119.35        .18142E-02** at limit **
  11  Prefactor     .10000E-03    7.7533        .36285E-03** at limit **
  12  Prefactor     33.845        77.485        .68876E-04   -.11125E-04
  13  norm          1.4813        3.9401        .25982E-03   -.55788E-04
  14  Prefactor     31.726        93.588        .71072E-04   -.94568E-04
  15  Prefactor     10.991        21.214        .12086E-03   -.12887E-04
  16  norm          6.0331        1.8190        .58281E-04   -.14415E-03
  17  Prefactor     17.023        78.668        .96902E-04   -.58661E-06
  18  norm          8.1589        5.2149        .70252E-04   -.36282E-03
  19  Prefactor     27.388        86.214        .76547E-04   -.14852E-05
  20  Prefactor     .10000E-03    5.3421        .18142E-02** at limit **
  21  Prefactor     .83068        41.219        .13866        .16314E-03
  22  Normalizat    1.0985        .27711        .32445E-03   -.96429E-04
  23  Prefactor     1.0578        .16998        .21747E-03   -.47677E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 13.4732
  Prefactor  = 5.42455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0913
  Prefactor  = 22.6486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8449
  norm       = 1.48126
  Prefactor  = 31.7263
  Prefactor  = 10.9908
  norm       = 6.0331
  Prefactor  = 17.0233
  norm       = 8.1589
  Prefactor  = 27.3882
  Prefactor  = 0.0001
  Prefactor  = 0.830683
  Normalizat = 1.09855
  Prefactor  = 1.05783
 **********
 **   18 **HESSE 
 **********

 FCN=   7396.468     FROM HESSE     STATUS=OK           366 CALLS     3813 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4092        .25961E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.5354        .26733E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    16.029        .86849E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.473        6.9814        .43650E-05   -1.4974    
   5  Prefactor     5.4246        5.5746        .69017E-05   -1.5242    
   6  Prefactor     .10000E-03    39.378        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.7812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.091        10.966        .50457E-05   -1.5073    
   9  Prefactor     22.649        12.846        .33657E-05   -1.4756    
  10  Prefactor     .10000E-03    119.36        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.7537        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.845        77.486        .13775E-04   -1.4544    
  13  norm          1.4813        3.9384        .10393E-04   -1.5465    
  14  Prefactor     31.726        93.575        .14214E-04   -1.4581    
  15  Prefactor     10.991        21.215        .48345E-05   -1.5045    
  16  norm          6.0331        1.8190        .23312E-05   -1.5217    
  17  Prefactor     17.023        78.833        .38761E-05   -1.4883    
  18  norm          8.1589        5.2202        .28101E-05   -1.5137    
  19  Prefactor     27.388        86.290        .30619E-05   -1.4661    
  20  Prefactor     .10000E-03    5.3421        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .83068        39.408        .14278       -1.5526    
  22  Normalizat    1.0985        .27735        .12978E-04   -.89798    
  23  Prefactor     1.0578        .17016        .43495E-04   -.90826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00728e-09
Minuit parameter uncertainties:
  1  1.38979e-06
  2  1.32915e-06
  3  0.000730311
  4  6.98185
  5  5.57517
  6  3.51899e-05
  7  7.62808e-06
  8  10.9683
  9  12.8473
  10  0.00017189
  11  6.92134e-05
  12  77.7182
  13  3.93912
  14  94.0118
  15  21.2292
  16  1.81902
  17  73.4262
  18  5.2205
  19  86.6874
  20  1.95319e-06
  21  11.4503
  22  0.277721
  23  0.170247
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.009e+01  1.097e+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.058e+00  1.702e-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.099e+00  2.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 4.09e-08 +/- 4.44e-08
Energy Flux (Fixed Index): 9.66e-06 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/217941/likelihoodResults_527299201_527558401_4FGL_J2211.2-1325_daily_bin1111.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) = 7396.45638675
delta logL = 0.0117950427657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7396.45138454
delta logL = 0.0167972495683

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9473       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0480       1.0000          .0000       10.000    
     3 'Normalizat'    1.0828       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0656       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7396.451     FROM MIGRAD    STATUS=FAILED       105 CALLS      272 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9347        16.868        .66998E-03   -.71048E-04
   2  Index         3.0505        2.3624        .14828E-01    .26251E-03
   3  Normalizat    1.0826        .27873        .32655E-03   -.98525E-05
   4  Prefactor     1.0656        .17690        .21679E-03   -.11537E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7396.451     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      351 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9347        16.868        .27496E-03   -1.5110    
   2  Index         3.0505        2.3624        .19446E-02   -.40053    
   3  Normalizat    1.0826        .27873        .38577E-03   -.90313    
   4  Prefactor     1.0656        .17690        .25831E-03   -.90574    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7396.451     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      389 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9347        13.702        .26799E-04   -.39028E-04
   2  Index         3.0505        1.9452        .29656E-02   -.21621E-05
   3  Normalizat    1.0826        .27316        .13062E-04   -.43518E-05
   4  Prefactor     1.0656        .17426        .86717E-05   -.18354E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.93472
  Index      = 3.05046
  Normalizat = 1.08257
  Prefactor  = 1.06559
 **********
 **   18 **HESSE 
 **********

 FCN=   7396.451     FROM HESSE     STATUS=OK            23 CALLS      412 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9347        13.306        .10720E-05   -1.5110    
   2  Index         3.0505        1.8903        .11863E-03   -.40053    
   3  Normalizat    1.0826        .27224        .26124E-05   -.90313    
   4  Prefactor     1.0656        .17381        .17343E-05   -.90574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48066e-12
Minuit parameter uncertainties:
  1  13.3103
  2  1.94789
  3  0.272596
  4  0.173904
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217941': 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) = 7396.45138279
delta logL = 0.0167990075679

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  8.935e+00  1.331e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.050e+00  1.948e+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:  1.066e+00  1.739e-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.083e+00  2.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.05 +/- 1.95
Photon Flux (Free Index): 5.06e-08 +/- 7.40e-08
Energy Flux (Free Index): 9.87e-06 +/- 1.04e-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/217941/cmap_HighResolution_527299201_527558401_4FGL_J2211.2-1325_daily_bin1111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', photon_flux='4.09e-08', energy_flux2='9.87e-06', photon_flux_error='4.44e-08', dlogl='1.68e-02', energy_flux='9.66e-06', photon_flux2='5.06e-08', job_status='DONE', time_completed='2021-09-28 07:04:02.520996', photon_index_error2='1.95', photon_index2='3.05', ts='1.19', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.04e-05', EG='1.10', time_epoch_completed='1632837842.52', return_code='0', job_id='217941', GAL2='1.07', EG2='1.08', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='7.40e-08', ts2='1.24', photon_index='2.72' WHERE bin_id='1111' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:04:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 217941: <4FGL_J2211.2-1325_daily_bin1111> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1111 332.817 -13.4189 527299201 527558401 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 :                                   751.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             333.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            817 sec.

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

