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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin897
RA = 332.474, Dec = -50.4702
tmin = 471830401, tmax = 472089601
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='209212', job_status='RUN', time_executed='2021-09-28 06:23:58.612671', time_epoch_executed='1632835438.61' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='897'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209212

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209212/ft1_4FGL_J2209.8-5028_daily_bin897.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209212/ft1_4FGL_J2209.8-5028_daily_bin897.fits outfile=/scratch/kocevski/209212/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin897.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=471830401.0 tmax=472089601.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.59
user 3.37
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.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/209212/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin897.fits evtable="EVENTS" outfile="/scratch/kocevski/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.fits" evtable="EVENTS" scfile=/scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits sctable="SC_DATA" outfile=/scratch/kocevski/209212/ltcube_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.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/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits
.....................!
real 11.88
user 11.48
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.fits evtable="EVENTS" scfile=/scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits sctable="SC_DATA" expcube=/scratch/kocevski/209212/ltcube_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.fits outfile=/scratch/kocevski/209212/expmap_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.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/209212/ltcube_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.fits
.....................!
real 190.72
user 185.21
sys 5.10

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J2209.8-5028 @ 332.474 -50.4702

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.fits scfile=/scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits outfile=/scratch/kocevski/209212/cmap_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.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.474 yref=-50.4702 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.fits scfile=/scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits outfile=/scratch/kocevski/209212/cmap_HighResolution_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.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.474 yref=-50.4702 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/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.fits evtable="EVENTS" scfile=/scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209212/Model_4FGL_J2209.8-5028_daily_bin897.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/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.fits.....................!
real 47.38
user 46.00
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.fits', '/scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits', expMap='/scratch/kocevski/209212/expmap_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.fits', expCube='/scratch/kocevski/209212/ltcube_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/209212/Model_4FGL_J2209.8-5028_daily_bin897.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2209.8-5028'

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  7.258e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/209212/ft1_filtered_4FGL_J2209.8-5028_daily_bin897.fits
Spacecraft file(s): /scratch/kocevski/209212/ft2_4FGL_J2209.8-5028_daily_bin897.fits
Exposure map: /scratch/kocevski/209212/expmap_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.fits
Exposure cube: /scratch/kocevski/209212/ltcube_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/209212/Model_4FGL_J2209.8-5028_daily_bin897.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) = 6211.41142859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.189       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9779       1.0000         .10000E-03   10000.    
     7 'norm      '    26.197       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5307       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9025       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.2907       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.4662       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.150       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.9204       1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.612       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.042       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.926       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .65529       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1484       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6211.405     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2877 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.440         .0000    ** at limit **
   2  Prefactor     .10000E-03    36.650         .0000    ** at limit **
   3  Prefactor     .10000E-03    6.4029         .0000    ** at limit **
   4  Prefactor     .10000E-03    8.9971         .0000    ** at limit **
   5  Prefactor     15.193        21.248         .0000        .28135E-03
   6  Prefactor     2.9775        3.3450         .0000        .43453E-03
   7  norm          26.197        6.7773         .0000       -.10042E-02
   8  Prefactor     2.5305        9.3386         .0000        .55671E-02
   9  Prefactor     1.8706        121.92         .0000        .82604E-03
  10  Prefactor     .10000E-03    3.6936         .0000    ** at limit **
  11  Prefactor     6.2903        4.4845         .0000        .22657E-03
  12  Prefactor     .10000E-03    178.66         .0000    ** at limit **
  13  norm          7.4661        7.5399         .0000       -.29550E-03
  14  Prefactor     .10000E-03    1.1069         .0000    ** at limit **
  15  Prefactor     27.149        34.950         .0000        .11368E-03
  16  Prefactor     8.9198        6.3074         .0000       -.50048E-03
  17  Prefactor     25.613        28.220         .0000        .74594E-04
  18  Prefactor     .10000E-03    3.5541         .0000    ** at limit **
  19  Prefactor     .10000E-03    71.560         .0000    ** at limit **
  20  Prefactor     10.042        7.3356         .0000        .77491E-03
  21  Prefactor     24.926        30.045         .0000        .87804E-04
  22  Prefactor     .10000E-03    7.9149         .0000    ** at limit **
  23  norm          .10000E-03    2.5966         .0000    ** at limit **
  24  Normalizat    .65537        .18841         .0000        .15825E-04
  25  Prefactor     1.1484        .14727         .0000        .36229E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.1929
  Prefactor  = 2.97746
  norm       = 26.1967
  Prefactor  = 2.53052
  Prefactor  = 1.87059
  Prefactor  = 0.0001
  Prefactor  = 6.29031
  Prefactor  = 0.000100004
  norm       = 7.46609
  Prefactor  = 0.0001
  Prefactor  = 27.1495
  Prefactor  = 8.91978
  Prefactor  = 25.6127
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 10.0419
  Prefactor  = 24.9259
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.655373
  Prefactor  = 1.14837
 **********
 **   18 **HESSE 
 **********

 FCN=   6211.405     FROM HESSE     STATUS=OK           415 CALLS     3292 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    36.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.5115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.0049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.193        21.248        .10277E-03   -1.4928    
   6  Prefactor     2.9775        3.3328        .14635E-03   -1.5363    
   7  norm          26.197        6.7742        .78268E-04   -1.4684    
   8  Prefactor     2.5305        9.3210        .12838E-02   -1.5390    
   9  Prefactor     1.8706        122.67        .15075E-02   -1.5434    
  10  Prefactor     .10000E-03    3.7166        .14781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.2903        4.4813        .13257E-03   -1.5206    
  12  Prefactor     .10000E-03    179.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.4661        7.5390        .14678E-03   -1.5161    
  14  Prefactor     .10000E-03    1.1131        .80950E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.149        34.950        .76885E-04   -1.4665    
  16  Prefactor     8.9198        6.3080        .13420E-03   -1.5111    
  17  Prefactor     25.613        28.296        .79155E-04   -1.4695    
  18  Prefactor     .10000E-03    3.5578        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    71.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.042        7.3376        .12645E-03   -1.5074    
  21  Prefactor     24.926        30.043        .80235E-04   -1.4709    
  22  Prefactor     .10000E-03    7.9411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.5969        .12403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .65537        .21392        .31054E-03   -1.0568    
  25  Prefactor     1.1484        .16826        .19680E-03   -.87935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52383e-09
Minuit parameter uncertainties:
  1  1.79029e-05
  2  3.66949e-05
  3  9.45579e-05
  4  1.31297e-05
  5  21.2581
  6  3.333
  7  6.77439
  8  9.32632
  9  30.3606
  10  5.26577e-05
  11  4.48156
  12  0.00177849
  13  7.53999
  14  3.88793e-06
  15  34.9763
  16  6.30848
  17  28.3108
  18  3.76686e-05
  19  0.000882644
  20  7.33824
  21  30.0609
  22  6.03245e-05
  23  4.90647e-06
  24  0.214195
  25  0.168343
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.778e-03  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.148e+00  1.683e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  6.554e-01  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 7.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/209212/likelihoodResults_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.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) = 6211.40520525
delta logL = -2.64170021183e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6211.40517893
delta logL = -9.8135387816e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10443E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5347       1.0000          .0000       10.000    
     3 'Normalizat'    .65537       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1484       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6211.405     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      244 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    103.45        .90712E-02** at limit **
   2  Index         2.4863        8.7465        .50000        .25573E-05
   3  Normalizat    .65537        .36652E-02    .70166E-01    .33692E-04
   4  Prefactor     1.1484        .30156E-02    .35984E-01   -.14218E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.48631
  Normalizat = 0.655375
  Prefactor  = 1.14837
 **********
 **   18 **HESSE 
 **********

 FCN=   6211.405     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      275 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    578.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4863        6.6023        .50000       -.52676    
   3  Normalizat    .65537        .87234E-02    .31054E-03   -1.0568    
   4  Prefactor     1.1484        .71915E-02    .19680E-03   -.87935    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.75043e-08
Minuit parameter uncertainties:
  1  0.000618716
  2  364.944
  3  0.00872338
  4  0.00719147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209212': 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) = 6211.40517888
delta logL = -5.08389348397e-08

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  6.187e-04  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.486e+00  3.649e+02  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.148e+00  7.191e-03  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  6.554e-01  8.723e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 332.474 -50.470

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/209212/cmap_HighResolution_471830401_472089601_4FGL_J2209.8-5028_daily_bin897.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.39e-08', time_completed='2021-09-28 06:35:52.452678', job_id='209212', GAL2='1.15', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1632836152.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-5.08e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='897' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:35:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 209212: <4FGL_J2209.8-5028_daily_bin897> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin897> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 06:20:37 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:20:39 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:20:39 2021
Terminated at Tue Sep 28 06:35:53 2021
Results reported at Tue Sep 28 06:35:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin897 332.474 -50.4702 471830401 472089601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2209.8-5028 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   711.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            916 sec.

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

