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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1437
RA = 332.817, Dec = -13.4189
tmin = 611798401, tmax = 612057601
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='218472', job_status='RUN', time_executed='2021-09-28 06:52:20.711045', time_epoch_executed='1632837140.71' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218472

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218472/ft1_4FGL_J2211.2-1325_daily_bin1437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218472/ft2_4FGL_J2211.2-1325_daily_bin1437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218472/ft1_4FGL_J2211.2-1325_daily_bin1437.fits outfile=/scratch/kocevski/218472/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1437.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=611798401.0 tmax=612057601.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.47
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218472/ft1_filtered_4FGL_J2211.2-1325_daily_bin1437.fits" evtable="EVENTS" scfile=/scratch/kocevski/218472/ft2_4FGL_J2211.2-1325_daily_bin1437.fits sctable="SC_DATA" outfile=/scratch/kocevski/218472/ltcube_611798401_612057601_4FGL_J2211.2-1325_daily_bin1437.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/218472/ft2_4FGL_J2211.2-1325_daily_bin1437.fits
.....................!
real 12.26
user 11.91
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218472/ft1_filtered_4FGL_J2211.2-1325_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/218472/ft2_4FGL_J2211.2-1325_daily_bin1437.fits sctable="SC_DATA" expcube=/scratch/kocevski/218472/ltcube_611798401_612057601_4FGL_J2211.2-1325_daily_bin1437.fits outfile=/scratch/kocevski/218472/expmap_611798401_612057601_4FGL_J2211.2-1325_daily_bin1437.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/218472/ltcube_611798401_612057601_4FGL_J2211.2-1325_daily_bin1437.fits
.....................!
real 191.50
user 185.35
sys 5.72

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/218472/ft1_filtered_4FGL_J2211.2-1325_daily_bin1437.fits scfile=/scratch/kocevski/218472/ft2_4FGL_J2211.2-1325_daily_bin1437.fits outfile=/scratch/kocevski/218472/cmap_611798401_612057601_4FGL_J2211.2-1325_daily_bin1437.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/218472/ft1_filtered_4FGL_J2211.2-1325_daily_bin1437.fits scfile=/scratch/kocevski/218472/ft2_4FGL_J2211.2-1325_daily_bin1437.fits outfile=/scratch/kocevski/218472/cmap_HighResolution_611798401_612057601_4FGL_J2211.2-1325_daily_bin1437.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/218472/ft1_filtered_4FGL_J2211.2-1325_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/218472/ft2_4FGL_J2211.2-1325_daily_bin1437.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218472/Model_4FGL_J2211.2-1325_daily_bin1437.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/218472/ft1_filtered_4FGL_J2211.2-1325_daily_bin1437.fits....................!
real 72.09
user 70.74
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0979       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8765       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6590       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7675       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.849       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.048       1.0000         .10000E-03   10000.    
    13 'norm      '    2.1724       1.0000         .10000E-03   10000.    
    14 'Prefactor '    56.856       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2025       1.0000         .10000E-03   10000.    
    16 'norm      '    .94114       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13438E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    4.6881       1.0000         .10000E-03   10000.    
    19 'Prefactor '    49.909       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.1383       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0111       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82010       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=   8385.802     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2636 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0980        3.1765        .82271E-07    .43727E-05
   2  Prefactor     .10000E-03    5.8211       -.73646E-07** at limit **
   3  Prefactor     .10000E-03    2.8071        .15864E-06** at limit **
   4  norm          1.8766        2.3184        .19863E-08    .26784E-04
   5  Prefactor     4.6591        3.7489       -.28823E-07    .86548E-04
   6  Prefactor     9.2626        13.901       -.24034E-05    .29248E-04
   7  Prefactor     .10000E-03    6.2973       -.15584E-06** at limit **
   8  Prefactor     1.7705        8.4197        .14263E-04   -.56438E-04
   9  Prefactor     13.848        8.7112        .42131E-06   -.18802E-04
  10  Prefactor     .10000E-03    20.275        .10899E-07** at limit **
  11  Prefactor     .10000E-03    .95336        .15653E-06** at limit **
  12  Prefactor     22.009        37.051        .52465E-05   -.37047E-04
  13  norm          2.1715        2.9183        .60454E-06    .32583E-03
  14  Prefactor     56.881        75.761       -.31276E-05   -.13937E-04
  15  Prefactor     3.2031        7.6591        .37211E-06   -.19058E-04
  16  norm          .94148        .69662       -.19396E-06   -.26342E-02
  17  Prefactor     .10000E-03    18.049        .19049E-05** at limit **
  18  norm          4.6902        1.6477       -.41823E-07   -.39492E-02
  19  Prefactor     49.925        32.384       -.49345E-06   -.26378E-03
  20  Prefactor     6.1378        7.1577        .13984E-06   -.32096E-04
  21  Prefactor     .10000E-03    3.3996        .20048E-07** at limit **
  22  Normalizat    1.0112        .17192       -.37094E-05   -.63235E-04
  23  Prefactor     .82006        .11262        .16056E-05   -.11350E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.09805
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.87657
  Prefactor  = 4.65914
  Prefactor  = 9.26263
  Prefactor  = 0.0001
  Prefactor  = 1.77053
  Prefactor  = 13.8475
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.0092
  norm       = 2.17152
  Prefactor  = 56.8806
  Prefactor  = 3.20309
  norm       = 0.941478
  Prefactor  = 0.000100002
  norm       = 4.69025
  Prefactor  = 49.9248
  Prefactor  = 6.13776
  Prefactor  = 0.0001
  Normalizat = 1.01121
  Prefactor  = 0.82006
 **********
 **   18 **HESSE 
 **********

 FCN=   8385.802     FROM HESSE     STATUS=OK           378 CALLS     3014 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0980        3.1748        .16056E-03   -1.5356    
   2  Prefactor     .10000E-03    6.0163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.8103        .14983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8766        2.3126        .15134E-03   -1.5434    
   5  Prefactor     4.6591        3.7465        .15240E-03   -1.5276    
   6  Prefactor     9.2626        13.889        .13158E-03   -1.5099    
   7  Prefactor     .10000E-03    6.5460        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7705        8.3442        .15752E-02   -1.5442    
   9  Prefactor     13.848        8.7111        .53815E-03   -1.4964    
  10  Prefactor     .10000E-03    20.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .95987        .87259E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.009        37.056        .85303E-04   -1.4769    
  13  norm          2.1715        2.8899        .16437E-03   -1.5413    
  14  Prefactor     56.881        75.429        .53202E-04   -1.4198    
  15  Prefactor     3.2031        7.6612        .22641E-03   -1.5350    
  16  norm          .94148        .66797        .62514E-03   -1.5514    
  17  Prefactor     .10000E-03    88.464        .53153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.6902        1.4262        .47789E-04   -1.5275    
  19  Prefactor     49.925        31.505        .56765E-04   -1.4294    
  20  Prefactor     6.1378        7.1538        .16204E-03   -1.5212    
  21  Prefactor     .10000E-03    3.4021        .16490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0112        .20104        .26386E-03   -.92656    
  23  Prefactor     .82006        .13309        .20159E-03   -.98993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.93355e-10
Minuit parameter uncertainties:
  1  3.17499
  2  1.24604e-05
  3  1.52929e-05
  4  2.31273
  5  3.74664
  6  13.8938
  7  1.29107e-05
  8  7.68883
  9  8.71186
  10  3.06804e-05
  11  9.52725e-06
  12  37.0945
  13  2.89006
  14  75.5557
  15  7.66358
  16  0.667979
  17  0.000769358
  18  1.42622
  19  31.5155
  20  7.1548
  21  2.78404e-06
  22  0.201195
  23  0.133145
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.771e+00  7.689e+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.201e-01  1.331e-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.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/218472/likelihoodResults_611798401_612057601_4FGL_J2211.2-1325_daily_bin1437.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) = 8384.70575792
delta logL = 1.09634521406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8384.65430662
delta logL = 1.14779652

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23768       1.0000         .10000E-03   10000.    
     2 'Index     '    6.0400       1.0000          .0000       10.000    
     3 'Normalizat'    .93293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85675       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=   8384.654     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      306 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23718        2.3614        .73172E-02    .19381E-02
   2  Index         6.0419        3.1915        .20613        .11963E-03
   3  Normalizat    .93294        .35167E-01    .45321E-01    .15075E-04
   4  Prefactor     .85673        .24593E-01    .44451E-01   -.29449E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.237183
  Index      = 6.04189
  Normalizat = 0.932939
  Prefactor  = 0.856731
 **********
 **   18 **HESSE 
 **********

 FCN=   8384.654     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      341 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23718        6.8266        .33581E-03   -1.5611    
   2  Index         6.0419        7.9486        .77690E-02    .20992    
   3  Normalizat    .93294        .14266        .27336E-03   -.95312    
   4  Prefactor     .85673        .97109E-01    .19766E-03   -.97670    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.13411e-07
Minuit parameter uncertainties:
  1  2.5447
  2  7.52915
  3  0.142717
  4  0.0971283
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218472': 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): 102
logL (Free Index) = 8384.65430607
delta logL = 1.14779707238

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.372e-01  2.545e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  6.042e+00  7.529e+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:  8.567e-01  9.713e-02  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.329e-01  1.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.53
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 6.04 +/- 7.53
Photon Flux (Free Index): 5.84e-08 +/- 4.98e-08
Energy Flux (Free Index): 7.25e-06 +/- 7.97e-06

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/218472/cmap_HighResolution_611798401_612057601_4FGL_J2211.2-1325_daily_bin1437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.33e-03', comment='SUCCESS', energy_flux2='7.25e-06', dlogl='1.15e+00', photon_flux2='5.84e-08', job_status='DONE', time_completed='2021-09-28 07:06:32.114338', photon_index_error2='7.53', photon_index2='6.04', ts='0.06', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='8.02e-08', energy_flux_error2='7.97e-06', EG='1.01', time_epoch_completed='1632837992.11', return_code='0', job_id='218472', GAL2='0.86', EG2='0.93', return_code2='102', photon_flux_error2='4.98e-08', ts2='2.53', photon_index='2.72' WHERE bin_id='1437' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:06:32 PDT 2021


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

Job <4FGL_J2211.2-1325_daily_bin1437> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:51:15 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:51:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:51:17 2021
Terminated at Tue Sep 28 07:06:32 2021
Results reported at Tue Sep 28 07:06:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1437 332.817 -13.4189 611798401 612057601 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 :                                   739.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            917 sec.

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

