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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin945
RA = 332.817, Dec = -13.4189
tmin = 484272001, tmax = 484531201
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='216671', job_status='RUN', time_executed='2021-09-28 06:48:23.891829', time_epoch_executed='1632836903.89' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216671

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216671/ft1_4FGL_J2211.2-1325_daily_bin945.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216671/ft2_4FGL_J2211.2-1325_daily_bin945.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216671/ft1_4FGL_J2211.2-1325_daily_bin945.fits outfile=/scratch/kocevski/216671/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin945.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=484272001.0 tmax=484531201.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 5.11
user 4.85
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216671/ft2_4FGL_J2211.2-1325_daily_bin945.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/216671/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin945.fits evtable="EVENTS" outfile="/scratch/kocevski/216671/ft1_filtered_4FGL_J2211.2-1325_daily_bin945.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/216671/ft1_filtered_4FGL_J2211.2-1325_daily_bin945.fits" evtable="EVENTS" scfile=/scratch/kocevski/216671/ft2_4FGL_J2211.2-1325_daily_bin945.fits sctable="SC_DATA" outfile=/scratch/kocevski/216671/ltcube_484272001_484531201_4FGL_J2211.2-1325_daily_bin945.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/216671/ft2_4FGL_J2211.2-1325_daily_bin945.fits
.....................!
real 11.65
user 11.31
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216671/ft1_filtered_4FGL_J2211.2-1325_daily_bin945.fits evtable="EVENTS" scfile=/scratch/kocevski/216671/ft2_4FGL_J2211.2-1325_daily_bin945.fits sctable="SC_DATA" expcube=/scratch/kocevski/216671/ltcube_484272001_484531201_4FGL_J2211.2-1325_daily_bin945.fits outfile=/scratch/kocevski/216671/expmap_484272001_484531201_4FGL_J2211.2-1325_daily_bin945.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/216671/ltcube_484272001_484531201_4FGL_J2211.2-1325_daily_bin945.fits
.....................!
real 192.70
user 187.19
sys 4.50

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/216671/ft1_filtered_4FGL_J2211.2-1325_daily_bin945.fits scfile=/scratch/kocevski/216671/ft2_4FGL_J2211.2-1325_daily_bin945.fits outfile=/scratch/kocevski/216671/cmap_484272001_484531201_4FGL_J2211.2-1325_daily_bin945.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216671/ft1_filtered_4FGL_J2211.2-1325_daily_bin945.fits scfile=/scratch/kocevski/216671/ft2_4FGL_J2211.2-1325_daily_bin945.fits outfile=/scratch/kocevski/216671/cmap_HighResolution_484272001_484531201_4FGL_J2211.2-1325_daily_bin945.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0611       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10403E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.512       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.060       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.368       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1874       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.926       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5058       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8642       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9321       1.0000         .10000E-03   10000.    
    13 'norm      '    13.476       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8212       1.0000         .10000E-03   10000.    
    16 'norm      '    5.8652       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .34813       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.508       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3635       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .95348       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97317       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7952.275     FROM MIGRAD    STATUS=CONVERGED     71 CALLS     1806 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7544       -.37560E-05** at limit **
   2  Prefactor     4.0593        1.0229       -.12714E-05   -.46693E-03
   3  Prefactor     .10000E-03    19.756       -.60376E-04** at limit **
   4  norm          14.513        1.0027        .29455E-06    .50434E-03
   5  Prefactor     11.060        1.0195       -.13433E-06   -.52770E-03
   6  Prefactor     11.368        1.0024       -.79134E-07    .31727E-04
   7  Prefactor     1.1867        1.1497       -.22776E-06   -.66734E-04
   8  Prefactor     15.925        1.0015       -.21643E-07    .28188E-04
   9  Prefactor     1.5056        1.1721        .69719E-06    .67101E-04
  10  Prefactor     .10001E-03    32.961        .13948E-03** at limit **
  11  Prefactor     4.8635        3.5675        .14404E-05    .19983E-04
  12  Prefactor     1.9318        1.0388       -.39556E-06    .23561E-04
  13  norm          13.477        4.2673       -.40060E-05   -.20965E-04
  14  Prefactor     .10002E-03    72.592       -.22621E-03** at limit **
  15  Prefactor     8.8164        1.0468        .55639E-06   -.19604E-03
  16  norm          5.8657        1.2087        .64065E-07    .39497E-02
  17  Prefactor     .10000E-03    10.427        .56669E-05** at limit **
  18  norm          .34780        .60245       -.44405E-07    .12743E-02
  19  Prefactor     11.500        1.4626       -.51618E-05    .13587E-02
  20  Prefactor     .10000E-03    7.9922       -.69525E-05** at limit **
  21  Prefactor     2.3660        1.0324       -.41601E-07    .16259E-04
  22  Normalizat    .95358        .21476        .57951E-05    .37367E-04
  23  Prefactor     .97315        .14841        .10591E-06    .23689E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.05927
  Prefactor  = 0.0001
  norm       = 14.5127
  Prefactor  = 11.0599
  Prefactor  = 11.368
  Prefactor  = 1.18669
  Prefactor  = 15.925
  Prefactor  = 1.50563
  Prefactor  = 0.00010001
  Prefactor  = 4.86354
  Prefactor  = 1.93184
  norm       = 13.4767
  Prefactor  = 0.00010002
  Prefactor  = 8.81641
  norm       = 5.86569
  Prefactor  = 0.000100002
  norm       = 0.347805
  Prefactor  = 11.4997
  Prefactor  = 0.000100001
  Prefactor  = 2.36603
  Normalizat = 0.953584
  Prefactor  = 0.973153
 **********
 **   18 **HESSE 
 **********

 FCN=   7952.275     FROM HESSE     STATUS=OK           428 CALLS     2234 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.6433        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0593        8.3983        .50020E-02   -1.5305    
   3  Prefactor     .10000E-03    19.334        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.513        7.5375        .26285E-02   -1.4946    
   5  Prefactor     11.060        6.4149        .30116E-02   -1.5043    
   6  Prefactor     11.368        14.273        .29704E-02   -1.5034    
   7  Prefactor     1.1867        13.147        .10462E-01   -1.5490    
   8  Prefactor     15.925        10.175        .25091E-02   -1.4910    
   9  Prefactor     1.5056        15.839        .87188E-02   -1.5463    
  10  Prefactor     .10001E-03    32.979        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8635        3.8197        .45597E-02   -1.5267    
  12  Prefactor     1.9318        60.191        .74698E-02   -1.5430    
  13  norm          13.477        4.2906        .27278E-02   -1.4974    
  14  Prefactor     .10002E-03    72.490        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.8164        13.456        .33739E-02   -1.5114    
  16  norm          5.8657        1.2161        .41456E-02   -1.5224    
  17  Prefactor     .10000E-03    10.354        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .34780        .83915        .21182E-01   -1.5590    
  19  Prefactor     11.500        24.361        .29523E-02   -1.5030    
  20  Prefactor     .10000E-03    7.8997        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.3660        21.548        .66639E-02   -1.5400    
  22  Normalizat    .95358        .19346        .68065E-01   -.94602    
  23  Prefactor     .97315        .12623        .45931E-01   -.93630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64115e-06
Minuit parameter uncertainties:
  1  4.35232e-05
  2  8.4007
  3  9.01773e-05
  4  7.53801
  5  6.41534
  6  14.2772
  7  7.90152
  8  10.1763
  9  9.76982
  10  0.00116932
  11  3.81993
  12  21.5899
  13  4.29068
  14  0.00241801
  15  13.4604
  16  1.21607
  17  0.000320625
  18  0.83918
  19  24.3819
  20  0.000169874
  21  14.287
  22  0.193606
  23  0.126273
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.593e+01  1.018e+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.732e-01  1.263e-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.536e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.18
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 6.46e-08 +/- 4.12e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 9.74e-06

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) = 7950.60873241
delta logL = 1.66616770958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7950.46784322
delta logL = 1.8070569052

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.351       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8383       1.0000          .0000       10.000    
     3 'Normalizat'    1.0027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94065       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=   7950.468     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      213 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.351        12.187        .21181E-02   -.54221E-03
   2  Index         1.8382        .29192        .16655       -.93473E-04
   3  Normalizat    1.0027        .17812        .66554E-01    .18177E-04
   4  Prefactor     .94063        .12449        .45521E-01    .74366E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3507
  Index      = 1.83822
  Normalizat = 1.00272
  Prefactor  = 0.940629
 **********
 **   18 **HESSE 
 **********

 FCN=   7950.468     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.351        12.941        .84725E-04   -1.4762    
   2  Index         1.8382        .35197        .65006E-02   -.68459    
   3  Normalizat    1.0027        .21215        .29438E-03   -.92939    
   4  Prefactor     .94063        .14817        .21060E-03   -.94736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74752e-09
Minuit parameter uncertainties:
  1  12.9428
  2  0.352461
  3  0.212333
  4  0.148238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216671': 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) = 7950.46784318
delta logL = 1.80705694577

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.235e+01  1.294e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.838e+00  3.525e-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.406e-01  1.482e-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.003e+00  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.81
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.84 +/- 0.35
Photon Flux (Free Index): 4.67e-08 +/- 2.99e-08
Energy Flux (Free Index): 4.99e-05 +/- 4.35e-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/216671/cmap_HighResolution_484272001_484531201_4FGL_J2211.2-1325_daily_bin945.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.46e-08', energy_flux2='4.99e-05', photon_flux_error='4.12e-08', dlogl='1.81e+00', energy_flux='1.52e-05', photon_flux2='4.67e-08', job_status='DONE', time_completed='2021-09-28 06:58:10.447337', photon_index_error2='0.35', photon_index2='1.84', ts='5.18', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='4.35e-05', EG='0.95', time_epoch_completed='1632837490.45', return_code='0', job_id='216671', GAL2='0.94', EG2='1.00', return_code2='0', energy_flux_error='9.74e-06', photon_flux_error2='2.99e-08', ts2='8.81', photon_index='2.72' WHERE bin_id='945' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:58:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 216671: <4FGL_J2211.2-1325_daily_bin945> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin945 332.817 -13.4189 484272001 484531201 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 :                                   582.01 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             292.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            743 sec.

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

