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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin921
RA = 332.817, Dec = -13.4189
tmin = 478051201, tmax = 478310401
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='216631', job_status='RUN', time_executed='2021-09-28 06:46:02.284529', time_epoch_executed='1632836762.28' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='921'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216631

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216631/ft1_4FGL_J2211.2-1325_daily_bin921.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216631/ft2_4FGL_J2211.2-1325_daily_bin921.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216631/ft1_4FGL_J2211.2-1325_daily_bin921.fits outfile=/scratch/kocevski/216631/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin921.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=478051201.0 tmax=478310401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.51
user 3.31
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216631/ft2_4FGL_J2211.2-1325_daily_bin921.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/216631/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin921.fits evtable="EVENTS" outfile="/scratch/kocevski/216631/ft1_filtered_4FGL_J2211.2-1325_daily_bin921.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.46
user 0.31
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216631/ft1_filtered_4FGL_J2211.2-1325_daily_bin921.fits" evtable="EVENTS" scfile=/scratch/kocevski/216631/ft2_4FGL_J2211.2-1325_daily_bin921.fits sctable="SC_DATA" outfile=/scratch/kocevski/216631/ltcube_478051201_478310401_4FGL_J2211.2-1325_daily_bin921.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/216631/ft2_4FGL_J2211.2-1325_daily_bin921.fits
.....................!
real 11.88
user 11.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216631/ft1_filtered_4FGL_J2211.2-1325_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/216631/ft2_4FGL_J2211.2-1325_daily_bin921.fits sctable="SC_DATA" expcube=/scratch/kocevski/216631/ltcube_478051201_478310401_4FGL_J2211.2-1325_daily_bin921.fits outfile=/scratch/kocevski/216631/expmap_478051201_478310401_4FGL_J2211.2-1325_daily_bin921.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/216631/ltcube_478051201_478310401_4FGL_J2211.2-1325_daily_bin921.fits
.....................!
real 191.21
user 185.42
sys 5.45

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/216631/ft1_filtered_4FGL_J2211.2-1325_daily_bin921.fits scfile=/scratch/kocevski/216631/ft2_4FGL_J2211.2-1325_daily_bin921.fits outfile=/scratch/kocevski/216631/cmap_478051201_478310401_4FGL_J2211.2-1325_daily_bin921.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216631/ft1_filtered_4FGL_J2211.2-1325_daily_bin921.fits scfile=/scratch/kocevski/216631/ft2_4FGL_J2211.2-1325_daily_bin921.fits outfile=/scratch/kocevski/216631/cmap_HighResolution_478051201_478310401_4FGL_J2211.2-1325_daily_bin921.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216631/ft1_filtered_4FGL_J2211.2-1325_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/216631/ft2_4FGL_J2211.2-1325_daily_bin921.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216631/Model_4FGL_J2211.2-1325_daily_bin921.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/216631/ft1_filtered_4FGL_J2211.2-1325_daily_bin921.fits.....................!
real 57.54
user 56.22
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.631       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.709       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.623       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4591       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    24.610       1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.163       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5526       1.0000         .10000E-03   10000.    
    16 'norm      '    .63501       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.976       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12893E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69441       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4802       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=   6172.333     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     3026 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7102       -.19990E-06** at limit **
   2  Prefactor     .10000E-03    4.0291       -.17627E-07** at limit **
   3  Prefactor     .10000E-03    25.820        .27424E-05** at limit **
   4  norm          14.632        9.4088       -.50302E-06    .43530E-06
   5  Prefactor     .10000E-03    2.3982        .21876E-07** at limit **
   6  Prefactor     34.708        24.407       -.11402E-06   -.15478E-04
   7  Prefactor     .10000E-03    5.5482        .63207E-07** at limit **
   8  Prefactor     20.622        16.372       -.63159E-07   -.59877E-05
   9  Prefactor     .10000E-03    23.311       -.18909E-05** at limit **
  10  Prefactor     .10000E-03    46.472       -.33898E-05** at limit **
  11  Prefactor     4.4581        5.0067       -.56877E-06   -.21120E-03
  12  Prefactor     .10000E-03    35.604       -.30461E-05** at limit **
  13  norm          24.610        7.9416        .22577E-05    .88154E-05
  14  Prefactor     31.152        130.42       -.17683E-04    .28105E-06
  15  Prefactor     3.5516        14.860       -.87486E-06   -.86231E-04
  16  norm          .63500        1.0809       -.29461E-06   -.17292E-02
  17  Prefactor     21.976        17.480       -.56047E-06   -.10454E-03
  18  norm          .10000E-03    .59864        .51536E-07** at limit **
  19  Prefactor     .10000E-03    48.142        .51667E-05** at limit **
  20  Prefactor     .10000E-03    5.3879        .93601E-07** at limit **
  21  Prefactor     .10000E-03    15.684        .31462E-07** at limit **
  22  Normalizat    .69436        .26383        .62475E-06   -.32387E-04
  23  Prefactor     1.4802        .17402       -.23714E-06    .53297E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.6318
  Prefactor  = 0.0001
  Prefactor  = 34.7083
  Prefactor  = 0.0001
  Prefactor  = 20.6224
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.45814
  Prefactor  = 0.0001
  norm       = 24.61
  Prefactor  = 31.1519
  Prefactor  = 3.55164
  norm       = 0.635003
  Prefactor  = 21.976
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.694365
  Prefactor  = 1.4802
 **********
 **   18 **HESSE 
 **********

 FCN=   6172.333     FROM HESSE     STATUS=OK           380 CALLS     3406 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7178        .12630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0341        .15402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.632        9.4129        .10471E-03   -1.4943    
   5  Prefactor     .10000E-03    2.4038        .11879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.708        24.395        .68020E-04   -1.4529    
   7  Prefactor     .10000E-03    5.5647        .18073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.622        16.375        .88198E-04   -1.4799    
   9  Prefactor     .10000E-03    23.841        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    46.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.4581        5.0081        .17661E-03   -1.5286    
  12  Prefactor     .10000E-03    35.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          24.610        7.8241        .80748E-04   -1.4715    
  14  Prefactor     31.152        128.84        .71775E-04   -1.4591    
  15  Prefactor     3.5516        14.977        .21444E-03   -1.5331    
  16  norm          .63500        1.0186        .10198E-02   -1.5549    
  17  Prefactor     21.976        15.800        .85444E-04   -1.4770    
  18  norm          .10000E-03    .70955        .10666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    48.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.3943        .17810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.254        .10090       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69436        .29638        .41531E-03   -1.0412    
  23  Prefactor     1.4802        .19922        .20625E-03   -.78096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97614e-10
Minuit parameter uncertainties:
  1  8.37817e-08
  2  1.98788e-07
  3  6.57942e-06
  4  9.41382
  5  6.27831e-07
  6  24.4024
  7  4.16577e-07
  8  16.379
  9  2.37842e-05
  10  8.2885e-05
  11  5.00858
  12  8.22405e-06
  13  7.82445
  14  127.18
  15  14.5929
  16  1.01859
  17  15.8034
  18  3.54061e-06
  19  2.99772e-06
  20  1.21182e-06
  21  0.00027524
  22  0.297071
  23  0.199327
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.062e+01  1.638e+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.480e+00  1.993e-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:  6.944e-01  2.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.60
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 8.36e-08 +/- 6.63e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 1.57e-05

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

Saving results to:
/scratch/kocevski/216631/likelihoodResults_478051201_478310401_4FGL_J2211.2-1325_daily_bin921.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) = 6172.3119678
delta logL = 0.0206435430073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6172.30535478
delta logL = 0.0272565673877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.777       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8985       1.0000          .0000       10.000    
     3 'Normalizat'    .68545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4848       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=   6172.305     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      248 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.772        17.984        .92429E-04    .16629E-03
   2  Index         2.8996        .79694        .85482E-02    .22369E-03
   3  Normalizat    .68539        .28649        .41782E-03    .14693E-04
   4  Prefactor     1.4849        .19787        .20597E-03    .22263E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.772
  Index      = 2.89964
  Normalizat = 0.685389
  Prefactor  = 1.48487
 **********
 **   18 **HESSE 
 **********

 FCN=   6172.305     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.772        17.438        .36972E-05   -1.4841    
   2  Index         2.8996        .77252        .17096E-02   -.43352    
   3  Normalizat    .68539        .28666        .16713E-04   -1.0447    
   4  Prefactor     1.4849        .19793        .41195E-04   -.77964    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64999e-10
Minuit parameter uncertainties:
  1  17.4423
  2  0.776303
  3  0.287284
  4  0.198032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216631': 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) = 6172.30535355
delta logL = 0.0272577923706

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.877e+01  1.744e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.900e+00  7.763e-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.485e+00  1.980e-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:  6.854e-01  2.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.90 +/- 0.78
Photon Flux (Free Index): 9.08e-08 +/- 7.44e-08
Energy Flux (Free Index): 1.91e-05 +/- 1.50e-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/216631/cmap_HighResolution_478051201_478310401_4FGL_J2211.2-1325_daily_bin921.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-02', comment='SUCCESS', photon_flux='8.36e-08', energy_flux2='1.91e-05', photon_flux_error='6.63e-08', dlogl='2.73e-02', energy_flux='1.97e-05', photon_flux2='9.08e-08', job_status='DONE', time_completed='2021-09-28 06:56:40.499034', photon_index_error2='0.78', photon_index2='2.90', ts='2.60', fit_tolerance='1e-08', GAL='1.48', photon_index_error='0.00', photon_flux_upper_limit='2.23e-07', energy_flux_error2='1.50e-05', EG='0.69', time_epoch_completed='1632837400.5', return_code='0', job_id='216631', GAL2='1.48', EG2='0.69', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='7.44e-08', ts2='2.66', photon_index='2.72' WHERE bin_id='921' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:56:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 216631: <4FGL_J2211.2-1325_daily_bin921> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin921> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:45:44 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:45:47 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:47 2021
Terminated at Tue Sep 28 06:56:41 2021
Results reported at Tue Sep 28 06:56:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin921 332.817 -13.4189 478051201 478310401 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 :                                   631.05 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             379.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            657 sec.

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

