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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1286
RA = 332.474, Dec = -50.4702
tmin = 572659201, tmax = 572918401
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='211008', job_status='RUN', time_executed='2021-09-28 06:27:09.983668', time_epoch_executed='1632835629.98' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1286'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/211008

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/211008/ft1_4FGL_J2209.8-5028_daily_bin1286.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/211008/ft1_4FGL_J2209.8-5028_daily_bin1286.fits outfile=/scratch/kocevski/211008/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1286.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=572659201.0 tmax=572918401.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.62
user 3.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/211008/ft1_filtered_4FGL_J2209.8-5028_daily_bin1286.fits" evtable="EVENTS" scfile=/scratch/kocevski/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits sctable="SC_DATA" outfile=/scratch/kocevski/211008/ltcube_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.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/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits
.....................!
real 11.81
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/211008/ft1_filtered_4FGL_J2209.8-5028_daily_bin1286.fits evtable="EVENTS" scfile=/scratch/kocevski/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits sctable="SC_DATA" expcube=/scratch/kocevski/211008/ltcube_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.fits outfile=/scratch/kocevski/211008/expmap_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.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/211008/ltcube_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.fits
.....................!
real 193.31
user 188.24
sys 4.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 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/211008/ft1_filtered_4FGL_J2209.8-5028_daily_bin1286.fits scfile=/scratch/kocevski/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits outfile=/scratch/kocevski/211008/cmap_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/211008/ft1_filtered_4FGL_J2209.8-5028_daily_bin1286.fits scfile=/scratch/kocevski/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits outfile=/scratch/kocevski/211008/cmap_HighResolution_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.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.53
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/211008/ft1_filtered_4FGL_J2209.8-5028_daily_bin1286.fits evtable="EVENTS" scfile=/scratch/kocevski/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/211008/Model_4FGL_J2209.8-5028_daily_bin1286.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/211008/ft1_filtered_4FGL_J2209.8-5028_daily_bin1286.fits.....................!
real 41.10
user 39.86
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/211008/ft1_filtered_4FGL_J2209.8-5028_daily_bin1286.fits', '/scratch/kocevski/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits', expMap='/scratch/kocevski/211008/expmap_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.fits', expCube='/scratch/kocevski/211008/ltcube_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/211008/Model_4FGL_J2209.8-5028_daily_bin1286.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/211008/ft1_filtered_4FGL_J2209.8-5028_daily_bin1286.fits
Spacecraft file(s): /scratch/kocevski/211008/ft2_4FGL_J2209.8-5028_daily_bin1286.fits
Exposure map: /scratch/kocevski/211008/expmap_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.fits
Exposure cube: /scratch/kocevski/211008/ltcube_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/211008/Model_4FGL_J2209.8-5028_daily_bin1286.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) = 5171.21871919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5377       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.356       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.189       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3267       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .84131E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .79822       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.313       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10678E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0503       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.8063       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4090       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7976       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.263       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.5352       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.181       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .65788       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1470       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5171.206     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2910 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5451        18.157        .53341E-06    .15300E-04
   2  Prefactor     .10000E-03    26.072       -.11875E-06** at limit **
   3  Prefactor     13.354        10.864       -.19500E-06   -.50915E-04
   4  Prefactor     16.145        32.266        .37689E-05    .23023E-03
   5  Prefactor     6.3308        20.638        .15832E-06   -.26584E-04
   6  Prefactor     .11248        4.4054        .14976E-05   -.93873E-03
   7  norm          .81080        6.3267       -.17189E-05   -.26545E-03
   8  Prefactor     .10000E-03    5.5014       -.34546E-06** at limit **
   9  Prefactor     53.307        43.052        .99232E-06    .36174E-04
  10  Prefactor     .10016E-03    10.259        .18847E-05** at limit **
  11  Prefactor     4.0483        4.7956        .43193E-06    .27604E-03
  12  Prefactor     .10000E-03    37.764       -.58326E-09** at limit **
  13  norm          8.8072        7.0200       -.34511E-07   -.39216E-04
  14  Prefactor     2.4115        3.7557        .28171E-06    .24492E-03
  15  Prefactor     7.7792        58.081       -.60776E-06   -.67671E-05
  16  Prefactor     13.266        7.1445       -.13419E-06   -.47358E-04
  17  Prefactor     9.4954        31.192        .13876E-05    .33808E-04
  18  Prefactor     24.196        17.764       -.73936E-06   -.13901E-03
  19  Prefactor     .10000E-03    38.946       -.92723E-09** at limit **
  20  Prefactor     .10000E-03    8.8788        .42236E-07** at limit **
  21  Prefactor     .10000E-03    16.945       -.36314E-07** at limit **
  22  Prefactor     .10000E-03    6.1016        .80596E-07** at limit **
  23  norm          .10000E-03    3.0093        .14771E-07** at limit **
  24  Normalizat    .65763        .22978        .45161E-05    .45286E-04
  25  Prefactor     1.1470        .18053       -.27605E-05   -.14448E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.54506
  Prefactor  = 0.0001
  Prefactor  = 13.3537
  Prefactor  = 16.1447
  Prefactor  = 6.33076
  Prefactor  = 0.112481
  norm       = 0.810799
  Prefactor  = 0.0001
  Prefactor  = 53.3071
  Prefactor  = 0.000100156
  Prefactor  = 4.0483
  Prefactor  = 0.0001
  norm       = 8.80722
  Prefactor  = 2.41149
  Prefactor  = 7.77919
  Prefactor  = 13.266
  Prefactor  = 9.49543
  Prefactor  = 24.1961
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.657632
  Prefactor  = 1.14696
 **********
 **   18 **HESSE 
 **********

 FCN=   5171.206     FROM HESSE     STATUS=OK           431 CALLS     3341 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5451        18.137        .18899E-03   -1.5282    
   2  Prefactor     .10000E-03    26.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.354        10.830        .10960E-03   -1.4977    
   4  Prefactor     16.145        32.548        .99542E-04   -1.4904    
   5  Prefactor     6.3308        20.631        .15958E-03   -1.5205    
   6  Prefactor     .11248        56.549        .22320E-02   -1.5641    
   7  norm          .81080        6.4642        .32951E-03   -1.5528    
   8  Prefactor     .10000E-03    5.5111        .16481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     53.307        42.334        .54932E-04   -1.4246    
  10  Prefactor     .10016E-03    38.621        .36062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0483        4.7853        .15923E-03   -1.5306    
  12  Prefactor     .10000E-03    37.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.8072        7.0206        .13507E-03   -1.5114    
  14  Prefactor     2.4115        3.7317        .16452E-03   -1.5397    
  15  Prefactor     7.7792        57.937        .14360E-03   -1.5150    
  16  Prefactor     13.266        7.1463        .10998E-03   -1.4979    
  17  Prefactor     9.4954        31.076        .12978E-03   -1.5092    
  18  Prefactor     24.196        17.698        .81460E-04   -1.4724    
  19  Prefactor     .10000E-03    38.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.2501        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.1105        .17348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    3.0096        .12184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .65763        .24543        .31273E-03   -1.0559    
  25  Prefactor     1.1470        .18989        .19712E-03   -.87979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32992e-08
Minuit parameter uncertainties:
  1  18.159
  2  7.58222e-05
  3  10.8312
  4  32.5841
  5  20.6538
  6  5.04666
  7  4.57912
  8  3.81434e-05
  9  42.3574
  10  0.00491083
  11  4.78577
  12  6.25201e-06
  13  7.02125
  14  3.73205
  15  42.517
  16  7.14677
  17  31.1294
  18  17.7021
  19  2.52179e-05
  20  1.25043e-06
  21  8.01064e-07
  22  6.76205e-06
  23  1.01933e-06
  24  0.245836
  25  0.190005
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  6.252e-06  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.147e+00  1.900e-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.576e-01  2.458e-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: 6.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/211008/likelihoodResults_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.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) = 5171.20659381
delta logL = -0.000125992805806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5171.20646895
delta logL = -1.13110581879e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6609       1.0000          .0000       10.000    
     3 'Normalizat'    .65762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1470       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5171.206     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      276 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10291E-03    15.507        .18142E-01** at limit **
   2  Index         2.5819        8.3497        .50000        .10078E-04
   3  Normalizat    .65763        .35473E-02    .31272E-03   -.11197E-04
   4  Prefactor     1.1470        .29024E-02    .19712E-03   -.21916E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102907
  Index      = 2.5819
  Normalizat = 0.657629
  Prefactor  = 1.14696
 **********
 **   18 **HESSE 
 **********

 FCN=   5171.206     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10291E-03    96.465        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5819        5.4634        .50000       -.50479    
   3  Normalizat    .65763        .88751E-02    .12509E-04   -1.0559    
   4  Prefactor     1.1470        .72618E-02    .39425E-04   -.87979    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.29731e-09
Minuit parameter uncertainties:
  1  0.0335444
  2  257.693
  3  0.00887515
  4  0.00726179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/211008': 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) = 5171.20646824
delta logL = -4.21828190156e-07

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.029e-04  3.354e-02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.582e+00  2.577e+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.147e+00  7.262e-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.576e-01  8.875e-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/211008/cmap_HighResolution_572659201_572918401_4FGL_J2209.8-5028_daily_bin1286.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-03', job_status='DONE', photon_flux_upper_limit='6.06e-08', time_completed='2021-09-28 06:38:03.062121', job_id='211008', GAL2='1.15', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1632836283.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-4.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1286' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:38:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 211008: <4FGL_J2209.8-5028_daily_bin1286> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1286> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:26:02 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:26:04 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:26:04 2021
Terminated at Tue Sep 28 06:38:03 2021
Results reported at Tue Sep 28 06:38:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1286 332.474 -50.4702 572659201 572918401 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 :                                   649.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             315.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            721 sec.

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

