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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1037
RA = 332.817, Dec = -13.4189
tmin = 508118401, tmax = 508377601
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='217811', job_status='RUN', time_executed='2021-09-28 06:50:33.807447', time_epoch_executed='1632837033.81' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217811

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217811/ft1_4FGL_J2211.2-1325_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217811/ft2_4FGL_J2211.2-1325_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217811/ft1_4FGL_J2211.2-1325_daily_bin1037.fits outfile=/scratch/kocevski/217811/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1037.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=508118401.0 tmax=508377601.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.76
user 3.52
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217811/ft1_filtered_4FGL_J2211.2-1325_daily_bin1037.fits" evtable="EVENTS" scfile=/scratch/kocevski/217811/ft2_4FGL_J2211.2-1325_daily_bin1037.fits sctable="SC_DATA" outfile=/scratch/kocevski/217811/ltcube_508118401_508377601_4FGL_J2211.2-1325_daily_bin1037.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/217811/ft2_4FGL_J2211.2-1325_daily_bin1037.fits
.....................!
real 17.17
user 16.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217811/ft1_filtered_4FGL_J2211.2-1325_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/217811/ft2_4FGL_J2211.2-1325_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/217811/ltcube_508118401_508377601_4FGL_J2211.2-1325_daily_bin1037.fits outfile=/scratch/kocevski/217811/expmap_508118401_508377601_4FGL_J2211.2-1325_daily_bin1037.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/217811/ltcube_508118401_508377601_4FGL_J2211.2-1325_daily_bin1037.fits
.....................!
real 196.13
user 191.07
sys 4.69

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/217811/ft1_filtered_4FGL_J2211.2-1325_daily_bin1037.fits scfile=/scratch/kocevski/217811/ft2_4FGL_J2211.2-1325_daily_bin1037.fits outfile=/scratch/kocevski/217811/cmap_508118401_508377601_4FGL_J2211.2-1325_daily_bin1037.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217811/ft1_filtered_4FGL_J2211.2-1325_daily_bin1037.fits scfile=/scratch/kocevski/217811/ft2_4FGL_J2211.2-1325_daily_bin1037.fits outfile=/scratch/kocevski/217811/cmap_HighResolution_508118401_508377601_4FGL_J2211.2-1325_daily_bin1037.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.58
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217811/ft1_filtered_4FGL_J2211.2-1325_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/217811/ft2_4FGL_J2211.2-1325_daily_bin1037.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217811/Model_4FGL_J2211.2-1325_daily_bin1037.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/217811/ft1_filtered_4FGL_J2211.2-1325_daily_bin1037.fits.....................!
real 69.04
user 67.62
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6570       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.254       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0922       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8144       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16483E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .55804E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4900       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .20189E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    37.785       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8013       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15124E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .50808       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.7047       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=   7393.607     FROM MIGRAD    STATUS=CONVERGED    916 CALLS     2973 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6562        5.4892        .18649E-03   -.41636E-04
   2  Prefactor     .10000E-03    7.9345        .18142E-02** at limit **
   3  Prefactor     53.248        22.704        .54962E-04    .11848E-03
   4  norm          4.0919        4.4419        .92074E-03    .97375E-03
   5  Prefactor     1.8182        7.6321        .31011E-03    .44726E-05
   6  Prefactor     .10000E-03    11.211        .18142E-02** at limit **
   7  Prefactor     .10002E-03    48.259        .39370E-02** at limit **
   8  Prefactor     .10016E-03    47.096        .49492E-02** at limit **
   9  Prefactor     .10000E-03    9.8657        .18142E-02** at limit **
  10  Prefactor     .10000E-03    23.526        .18142E-02** at limit **
  11  Prefactor     4.4890        4.9737        .19001E-03    .74191E-05
  12  Prefactor     .10001E-03    234.31        .36285E-03** at limit **
  13  norm          .10000E-03    5.1172        .25426E-02** at limit **
  14  Prefactor     .10000E-03    77.508        .18142E-02** at limit **
  15  Prefactor     .10000E-03    10.914        .18142E-02** at limit **
  16  norm          .10000E-03    .19912        .18142E-03** at limit **
  17  Prefactor     37.786        40.997        .65202E-04    .29055E-03
  18  norm          2.8047        3.3666        .77096E-04    .69218E-03
  19  Prefactor     .10033E-03    154.81        .69469E-02** at limit **
  20  Prefactor     .10000E-03    10.443        .18142E-02** at limit **
  21  Prefactor     .10000E-03    6.0353        .18142E-02** at limit **
  22  Normalizat    .50855        .26675        .47141E-03    .30761E-03
  23  Prefactor     1.7046        .18924        .19664E-03    .78652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.65624
  Prefactor  = 0.0001
  Prefactor  = 53.248
  norm       = 4.09195
  Prefactor  = 1.81821
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 0.000100159
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.48899
  Prefactor  = 0.00010001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.7864
  norm       = 2.80468
  Prefactor  = 0.000100334
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.508547
  Prefactor  = 1.70464
 **********
 **   18 **HESSE 
 **********

 FCN=   7393.607     FROM HESSE     STATUS=OK           346 CALLS     3319 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6562        5.4890        .74597E-05   -1.5276    
   2  Prefactor     .10000E-03    7.9380        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     53.248        22.702        .10992E-04   -1.4247    
   4  norm          4.0919        4.4420        .36829E-04   -1.5303    
   5  Prefactor     1.8182        7.6241        .12404E-04   -1.5438    
   6  Prefactor     .10000E-03    11.212        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    49.603        .15748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10016E-03    47.694        .98984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.8691        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.526        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.4890        4.9728        .76005E-05   -1.5284    
  12  Prefactor     .10001E-03    234.32        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.1438        .50851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    77.514        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.917        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .19912        .36285E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     37.786        41.053        .13040E-04   -1.4478    
  18  norm          2.8047        3.3686        .30838E-05   -1.5373    
  19  Prefactor     .10033E-03    159.92        .27788E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.452        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.0355        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .50855        .26663        .18856E-04   -1.1202    
  23  Prefactor     1.7046        .18926        .39329E-04   -.71959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27793e-09
Minuit parameter uncertainties:
  1  5.48962
  2  1.95821e-05
  3  22.7055
  4  4.44232
  5  7.44785
  6  5.03101e-07
  7  0.00198449
  8  0.00551354
  9  4.70068e-05
  10  3.38153e-06
  11  4.97325
  12  0.0031081
  13  0.000240095
  14  0.000342201
  15  5.8593e-05
  16  9.6189e-08
  17  41.0833
  18  3.36884
  19  0.0146491
  20  4.50624e-05
  21  2.64171e-06
  22  0.267306
  23  0.189337
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.002e-04  5.514e-03  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.705e+00  1.893e-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:  5.085e-01  2.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217811/likelihoodResults_508118401_508377601_4FGL_J2211.2-1325_daily_bin1037.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): 102
logL (Free Index) = 7393.60683712
delta logL = -9.99716830847e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7393.60673842
delta logL = -1.27354087454e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16463E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8405       1.0000          .0000       10.000    
     3 'Normalizat'    .50855       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.7048       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=   7393.426     FROM MIGRAD    STATUS=CONVERGED    120 CALLS      293 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5811        67.535        .10198E-01    .11065E-02
   2  Index         4.3495        7.1507        .22499        .10468E-03
   3  Normalizat    .45282        .47911E-01    .11250        .37902E-04
   4  Prefactor     1.7279        .34567E-01    .44251E-01   -.43228E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.5811
  Index      = 4.34946
  Normalizat = 0.452817
  Prefactor  = 1.72787
 **********
 **   18 **HESSE 
 **********

 FCN=   7393.426     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      324 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5811        212.07        .17145E-03   -1.5456    
   2  Index         4.3495        5.9863        .13564E-01   -.13048    
   3  Normalizat    .45282        .25617        .49865E-03   -1.1465    
   4  Prefactor     1.7279        .17367        .19557E-03   -.71342    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.607e-09
Minuit parameter uncertainties:
  1  36.7551
  2  16.2542
  3  0.256836
  4  0.173734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217811': 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) = 7393.42557485
delta logL = 0.181162292448

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.581e+00  3.676e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  4.349e+00  1.625e+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.728e+00  1.737e-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:  4.528e-01  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 332.817 -13.419

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/217811/cmap_HighResolution_508118401_508377601_4FGL_J2211.2-1325_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.89e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-09-28 07:02:44.794283', job_id='217811', GAL2='1.73', fit_tolerance='1e-08', EG2='0.45', EG='0.51', time_epoch_completed='1632837764.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.70', dlogl='1.81e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1037' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:02:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 217811: <4FGL_J2211.2-1325_daily_bin1037> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1037> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:50:13 2021
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:50:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:50:14 2021
Terminated at Tue Sep 28 07:02:45 2021
Results reported at Tue Sep 28 07:02:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1037 332.817 -13.4189 508118401 508377601 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 :                                   729.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            752 sec.

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

