/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 126 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 = 7382
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin230
RA = 332.817, Dec = -13.4189
tmin = 298944001, tmax = 299203201
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='213377', job_status='RUN', time_executed='2021-09-28 06:37:47.683554', time_epoch_executed='1632836267.68' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213377

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213377/ft1_4FGL_J2211.2-1325_daily_bin230.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213377/ft2_4FGL_J2211.2-1325_daily_bin230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213377/ft1_4FGL_J2211.2-1325_daily_bin230.fits outfile=/scratch/kocevski/213377/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin230.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=298944001.0 tmax=299203201.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.43
user 3.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213377/ft1_filtered_4FGL_J2211.2-1325_daily_bin230.fits" evtable="EVENTS" scfile=/scratch/kocevski/213377/ft2_4FGL_J2211.2-1325_daily_bin230.fits sctable="SC_DATA" outfile=/scratch/kocevski/213377/ltcube_298944001_299203201_4FGL_J2211.2-1325_daily_bin230.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/213377/ft2_4FGL_J2211.2-1325_daily_bin230.fits
.....................!
real 12.15
user 11.35
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213377/ft1_filtered_4FGL_J2211.2-1325_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/213377/ft2_4FGL_J2211.2-1325_daily_bin230.fits sctable="SC_DATA" expcube=/scratch/kocevski/213377/ltcube_298944001_299203201_4FGL_J2211.2-1325_daily_bin230.fits outfile=/scratch/kocevski/213377/expmap_298944001_299203201_4FGL_J2211.2-1325_daily_bin230.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/213377/ltcube_298944001_299203201_4FGL_J2211.2-1325_daily_bin230.fits
.....................!
real 190.68
user 185.40
sys 4.88

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/213377/ft1_filtered_4FGL_J2211.2-1325_daily_bin230.fits scfile=/scratch/kocevski/213377/ft2_4FGL_J2211.2-1325_daily_bin230.fits outfile=/scratch/kocevski/213377/cmap_298944001_299203201_4FGL_J2211.2-1325_daily_bin230.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213377/ft1_filtered_4FGL_J2211.2-1325_daily_bin230.fits scfile=/scratch/kocevski/213377/ft2_4FGL_J2211.2-1325_daily_bin230.fits outfile=/scratch/kocevski/213377/cmap_HighResolution_298944001_299203201_4FGL_J2211.2-1325_daily_bin230.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213377/ft1_filtered_4FGL_J2211.2-1325_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/213377/ft2_4FGL_J2211.2-1325_daily_bin230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213377/Model_4FGL_J2211.2-1325_daily_bin230.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/213377/ft1_filtered_4FGL_J2211.2-1325_daily_bin230.fits.....................!
real 51.51
user 50.20
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30651E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.160       1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.653       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5841       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.768       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.202       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6593       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.990       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.8321       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.0699       1.0000         .10000E-03   10000.    
    18 'norm      '    .10470E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.262       1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.132       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99547       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95674       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=   5399.323     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2527 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10034E-03    4.6381       -.24078E-05** at limit **
   2  Prefactor     .10000E-03    6.8501       -.33823E-07** at limit **
   3  Prefactor     15.154        26.353       -.85221E-05    .20202E-04
   4  norm          .10000E-03    2.5268       -.16433E-07** at limit **
   5  Prefactor     .10000E-03    5.9061       -.28348E-06** at limit **
   6  Prefactor     31.657        25.183        .33712E-05    .18761E-04
   7  Prefactor     .10000E-03    11.798       -.37942E-05** at limit **
   8  Prefactor     1.5778        32.085        .69641E-05   -.45347E-04
   9  Prefactor     15.768        14.044       -.51717E-06    .26467E-04
  10  Prefactor     28.091        70.072       -.18391E-03    .18441E-04
  11  Prefactor     3.6590        5.5293       -.15512E-05   -.36534E-03
  12  Prefactor     .10000E-03    36.916        .60002E-05** at limit **
  13  norm          13.990        5.7366        .31038E-05    .16897E-03
  14  Prefactor     .10000E-03    46.305        .36725E-05** at limit **
  15  Prefactor     .10000E-03    12.631        .40194E-05** at limit **
  16  norm          1.8322        1.0793        .18537E-06    .48926E-03
  17  Prefactor     9.0853        11.536        .25928E-05    .62140E-03
  18  norm          .10000E-03    .58096       -.69082E-06** at limit **
  19  Prefactor     10.272        21.299        .40039E-05    .17604E-03
  20  Prefactor     25.132        13.705       -.13461E-06    .92469E-04
  21  Prefactor     .10000E-03    12.093       -.90217E-06** at limit **
  22  Normalizat    .99545        .22884        .48495E-05    .23127E-03
  23  Prefactor     .95676        .14655        .21624E-05    .44426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100343
  Prefactor  = 0.0001
  Prefactor  = 15.1536
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.6572
  Prefactor  = 0.0001
  Prefactor  = 1.5778
  Prefactor  = 15.7677
  Prefactor  = 28.0908
  Prefactor  = 3.65896
  Prefactor  = 0.0001
  norm       = 13.99
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.83218
  Prefactor  = 9.0853
  norm       = 0.000100001
  Prefactor  = 10.2719
  Prefactor  = 25.1325
  Prefactor  = 0.0001
  Normalizat = 0.99545
  Prefactor  = 0.956757
 **********
 **   18 **HESSE 
 **********

 FCN=   5399.323     FROM HESSE     STATUS=OK           374 CALLS     2901 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10034E-03    34.601        .30672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.8806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.154        26.358        .10287E-03   -1.4929    
   4  norm          .10000E-03    2.5274        .11407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.9780        .17424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.657        25.075        .71219E-04   -1.4582    
   7  Prefactor     .10000E-03    11.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5778        31.847        .33734E-03   -1.5457    
   9  Prefactor     15.768        13.965        .10086E-03   -1.4914    
  10  Prefactor     28.091        69.989        .75440E-04   -1.4647    
  11  Prefactor     3.6590        5.4793        .18806E-03   -1.5325    
  12  Prefactor     .10000E-03    36.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.990        5.7379        .10366E-03   -1.4960    
  14  Prefactor     .10000E-03    46.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8322        1.0789        .30831E-04   -1.5437    
  17  Prefactor     9.0853        10.704        .13308E-03   -1.5105    
  18  norm          .10000E-03    .88027        .98353E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.272        21.099        .12508E-03   -1.5067    
  20  Prefactor     25.132        13.702        .79906E-04   -1.4705    
  21  Prefactor     .10000E-03    12.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99545        .26953        .30347E-03   -.93183    
  23  Prefactor     .95676        .17276        .20670E-03   -.94185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11858e-08
Minuit parameter uncertainties:
  1  0.00689395
  2  2.25717e-05
  3  26.3778
  4  1.04437e-06
  5  1.56071e-05
  6  25.0832
  7  6.87943e-05
  8  14.1854
  9  13.9674
  10  70.1946
  11  5.48005
  12  2.6451e-05
  13  5.73809
  14  6.02216e-05
  15  8.0206e-05
  16  1.0789
  17  10.7059
  18  6.12381e-05
  19  21.1146
  20  13.7038
  21  4.85757e-05
  22  0.269899
  23  0.17286
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.578e+00  1.419e+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:  9.568e-01  1.729e-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:  9.955e-01  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/213377/likelihoodResults_298944001_299203201_4FGL_J2211.2-1325_daily_bin230.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) = 5398.79337409
delta logL = 0.529209618852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5398.48816622
delta logL = 0.834417489075

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6233       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4903       1.0000          .0000       10.000    
     3 'Normalizat'    1.0112       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93751       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=   5398.488     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      226 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6112        7.9881        .36311E-02    .43915E-04
   2  Index         1.4900        .34912        .18826       -.84186E-04
   3  Normalizat    1.0110        .21635        .68087E-01    .12772E-04
   4  Prefactor     .93757        .14564        .45481E-01    .45460E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.61118
  Index      = 1.49
  Normalizat = 1.01104
  Prefactor  = 0.937568
 **********
 **   18 **HESSE 
 **********

 FCN=   5398.488     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6112        10.583        .14524E-03   -1.5156    
   2  Index         1.4900        .54909        .70270E-02   -.77820    
   3  Normalizat    1.0110        .25534        .30119E-03   -.92662    
   4  Prefactor     .93757        .17206        .20827E-03   -.94840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41064e-12
Minuit parameter uncertainties:
  1  10.5857
  2  0.551292
  3  0.255648
  4  0.172158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213377': 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) = 5398.48816516
delta logL = 0.834418548641

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.611e+00  1.059e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.490e+00  5.513e-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:  9.376e-01  1.722e-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.011e+00  2.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.69
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.49 +/- 0.55
Photon Flux (Free Index): 1.53e-08 +/- 2.00e-08
Energy Flux (Free Index): 5.00e-05 +/- 7.49e-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/213377/cmap_HighResolution_298944001_299203201_4FGL_J2211.2-1325_daily_bin230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', energy_flux2='5.00e-05', dlogl='8.34e-01', photon_flux2='1.53e-08', job_status='DONE', time_completed='2021-09-28 06:47:08.041350', photon_index_error2='0.55', photon_index2='1.49', ts='0.01', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='7.49e-05', EG='1.00', time_epoch_completed='1632836828.04', return_code='0', job_id='213377', GAL2='0.94', EG2='1.01', return_code2='0', photon_flux_error2='2.00e-08', ts2='1.69', photon_index='2.72' WHERE bin_id='230' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:47:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 213377: <4FGL_J2211.2-1325_daily_bin230> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin230> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:35:31 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:35:32 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:35:32 2021
Terminated at Tue Sep 28 06:47:08 2021
Results reported at Tue Sep 28 06:47:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin230 332.817 -13.4189 298944001 299203201 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 :                                   558.41 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             337.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            697 sec.

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

