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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1612
RA = 332.474, Dec = -50.4702
tmin = 657158401, tmax = 657417601
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='482812', job_status='RUN', time_executed='2021-12-08 08:26:06.465979', time_epoch_executed='1638980766.47' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1612'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/482812

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/482812/ft1_4FGL_J2209.8-5028_daily_bin1612.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/482812/ft2_4FGL_J2209.8-5028_daily_bin1612.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/482812/ft1_4FGL_J2209.8-5028_daily_bin1612.fits outfile=/scratch/kocevski/482812/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1612.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=657158401.0 tmax=657417601.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.04
user 2.82
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/482812/ft2_4FGL_J2209.8-5028_daily_bin1612.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/482812/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1612.fits evtable="EVENTS" outfile="/scratch/kocevski/482812/ft1_filtered_4FGL_J2209.8-5028_daily_bin1612.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.45
user 0.28
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/482812/ft1_filtered_4FGL_J2209.8-5028_daily_bin1612.fits" evtable="EVENTS" scfile=/scratch/kocevski/482812/ft2_4FGL_J2209.8-5028_daily_bin1612.fits sctable="SC_DATA" outfile=/scratch/kocevski/482812/ltcube_657158401_657417601_4FGL_J2209.8-5028_daily_bin1612.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/482812/ft2_4FGL_J2209.8-5028_daily_bin1612.fits
.....................!
real 12.40
user 12.05
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/482812/ft1_filtered_4FGL_J2209.8-5028_daily_bin1612.fits evtable="EVENTS" scfile=/scratch/kocevski/482812/ft2_4FGL_J2209.8-5028_daily_bin1612.fits sctable="SC_DATA" expcube=/scratch/kocevski/482812/ltcube_657158401_657417601_4FGL_J2209.8-5028_daily_bin1612.fits outfile=/scratch/kocevski/482812/expmap_657158401_657417601_4FGL_J2209.8-5028_daily_bin1612.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/482812/ltcube_657158401_657417601_4FGL_J2209.8-5028_daily_bin1612.fits
.....................!
real 156.30
user 151.60
sys 4.28

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/482812/ft1_filtered_4FGL_J2209.8-5028_daily_bin1612.fits scfile=/scratch/kocevski/482812/ft2_4FGL_J2209.8-5028_daily_bin1612.fits outfile=/scratch/kocevski/482812/cmap_657158401_657417601_4FGL_J2209.8-5028_daily_bin1612.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.50
user 0.32
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/482812/ft1_filtered_4FGL_J2209.8-5028_daily_bin1612.fits scfile=/scratch/kocevski/482812/ft2_4FGL_J2209.8-5028_daily_bin1612.fits outfile=/scratch/kocevski/482812/cmap_HighResolution_657158401_657417601_4FGL_J2209.8-5028_daily_bin1612.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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/482812/ft1_filtered_4FGL_J2209.8-5028_daily_bin1612.fits evtable="EVENTS" scfile=/scratch/kocevski/482812/ft2_4FGL_J2209.8-5028_daily_bin1612.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/482812/Model_4FGL_J2209.8-5028_daily_bin1612.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/482812/ft1_filtered_4FGL_J2209.8-5028_daily_bin1612.fits.....................!
real 45.04
user 43.80
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.251       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.7241       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .64211E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.1663       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.120       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7904       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .56052       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .70674       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3019       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4901       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.099       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .69889       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1728       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=   7650.711     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2884 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    43.018        .29137E-05** at limit **
   2  Prefactor     24.256        48.543       -.15666E-05   -.23171E-04
   3  Prefactor     8.7185        7.1105       -.14084E-06    .55192E-04
   4  Prefactor     .10001E-03    100.48       -.52886E-04** at limit **
   5  Prefactor     .10000E-03    7.0610        .34667E-06** at limit **
   6  Prefactor     .10000E-03    1.8373        .42842E-06** at limit **
   7  norm          9.1543        4.9108       -.17795E-06    .31399E-03
   8  Prefactor     .10000E-03    4.7248       -.98469E-07** at limit **
   9  Prefactor     21.120        26.187       -.19410E-06   -.95499E-04
  10  Prefactor     .10000E-03    2.0946        .10471E-06** at limit **
  11  Prefactor     2.7930        2.7587        .11824E-05    .47149E-03
  12  Prefactor     .10000E-03    28.564        .26897E-05** at limit **
  13  norm          .10000E-03    1.4844       -.85603E-10** at limit **
  14  Prefactor     .56080        2.0972        .21493E-06   -.91790E-04
  15  Prefactor     .10000E-03    10.645       -.26716E-06** at limit **
  16  Prefactor     .71185        2.0215        .50444E-07   -.13041E-02
  17  Prefactor     9.2991        20.889       -.13160E-05   -.36672E-03
  18  Prefactor     .10000E-03    7.5306       -.24739E-06** at limit **
  19  Prefactor     .10000E-03    36.490       -.45986E-05** at limit **
  20  Prefactor     2.4909        4.0174        .16314E-06    .61006E-06
  21  Prefactor     23.099        31.479       -.94935E-08   -.10979E-03
  22  Prefactor     .10000E-03    3.1712       -.51112E-08** at limit **
  23  norm          .10000E-03    1.8870       -.26219E-08** at limit **
  24  Normalizat    .69875        .16081       -.40162E-06   -.47109E-03
  25  Prefactor     1.1728        .13132       -.72356E-06   -.83053E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100015
  Prefactor  = 24.2565
  Prefactor  = 8.71849
  Prefactor  = 0.000100012
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 9.15428
  Prefactor  = 0.0001
  Prefactor  = 21.1204
  Prefactor  = 0.0001
  Prefactor  = 2.79302
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.5608
  Prefactor  = 0.0001
  Prefactor  = 0.711855
  Prefactor  = 9.29909
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.4909
  Prefactor  = 23.0987
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.698755
  Prefactor  = 1.17276
 **********
 **   18 **HESSE 
 **********

 FCN=   7650.711     FROM HESSE     STATUS=OK           431 CALLS     3315 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    44.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.256        48.625        .81342E-04   -1.4723    
   3  Prefactor     8.7185        7.0692        .13571E-03   -1.5117    
   4  Prefactor     .10001E-03    101.26        .54438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.0707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.8734        .11588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.1543        4.7210        .13068E-03   -1.5103    
   8  Prefactor     .10000E-03    4.7403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.120        26.206        .87155E-04   -1.4789    
  10  Prefactor     .10000E-03    2.1009        .12359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7930        3.6640        .89653E-03   -1.5374    
  12  Prefactor     .10000E-03    28.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.4846        .10407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .56080        2.0994        .23225E-03   -1.5558    
  15  Prefactor     .10000E-03    10.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .71185        2.8443        .71926E-01   -1.5539    
  17  Prefactor     9.2991        21.488        .13140E-03   -1.5098    
  18  Prefactor     .10000E-03    7.6196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    36.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.4909        4.0020        .21595E-03   -1.5392    
  21  Prefactor     23.099        31.558        .83343E-04   -1.4746    
  22  Prefactor     .10000E-03    3.1766        .15212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.8879        .11734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .69875        .19162        .28658E-03   -1.0394    
  25  Prefactor     1.1728        .15301        .19246E-03   -.87174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17866e-09
Minuit parameter uncertainties:
  1  0.00162982
  2  48.7041
  3  7.06985
  4  0.0021661
  5  0.000144003
  6  5.49032e-05
  7  4.72119
  8  4.03234e-06
  9  26.2203
  10  1.05437e-05
  11  3.66433
  12  0.000101007
  13  3.42732e-07
  14  2.09971
  15  9.8916e-06
  16  2.84481
  17  21.5056
  18  0.000153128
  19  0.00023499
  20  4.00248
  21  31.5808
  22  8.29983e-07
  23  1.21131e-07
  24  0.191801
  25  0.153063
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.010e-04  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.173e+00  1.531e-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.988e-01  1.918e-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: 4.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/482812/likelihoodResults_657158401_657417601_4FGL_J2209.8-5028_daily_bin1612.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) = 7650.71098879
delta logL = -0.000164784499248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7650.71082542
delta logL = -1.40580596053e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7862       1.0000          .0000       10.000    
     3 'Normalizat'    .69868       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1728       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=   7650.711     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      274 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10799E-03    8.1357        .18142E-01** at limit **
   2  Index         2.6432        7.6467        .50000        .16389E-04
   3  Normalizat    .69875        .24009E-02    .28658E-03   -.23449E-03
   4  Prefactor     1.1728        .20531E-02    .19246E-03   -.40037E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000107986
  Index      = 2.6432
  Normalizat = 0.698755
  Prefactor  = 1.17277
 **********
 **   18 **HESSE 
 **********

 FCN=   7650.711     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10799E-03    90.854        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6432        8.2787        .50000       -.49083    
   3  Normalizat    .69875        .80508E-02    .11463E-04   -1.0394    
   4  Prefactor     1.1728        .68845E-02    .38492E-04   -.87174    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.63705e-09
Minuit parameter uncertainties:
  1  0.0539543
  2  353.628
  3  0.00805082
  4  0.00688449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/482812': 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) = 7650.71082492
delta logL = -9.05532942852e-07

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.080e-04  5.395e-02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.643e+00  3.536e+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.173e+00  6.884e-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.988e-01  8.051e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/482812/cmap_HighResolution_657158401_657417601_4FGL_J2209.8-5028_daily_bin1612.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2021-12-08 08:37:24.369562', job_id='482812', GAL2='1.17', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1638981444.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='-9.06e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1612' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 08:37:24 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 482812: <4FGL_J2209.8-5028_daily_bin1612> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1612> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec  8 08:25:18 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 08:25:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 08:25:58 2021
Terminated at Wed Dec  8 08:37:25 2021
Results reported at Wed Dec  8 08:37:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1612 332.474 -50.4702 657158401 657417601 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 :                                   677.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            727 sec.

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

