/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 184 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 = 7686
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2209.8-5028_daily_bin114
RA = 332.474, Dec = -50.4702
tmin = 268876801, tmax = 269136001
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='205843', job_status='RUN', time_executed='2021-09-28 06:13:43.333564', time_epoch_executed='1632834823.33' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='114'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/205843

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/205843/ft1_4FGL_J2209.8-5028_daily_bin114.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/205843/ft2_4FGL_J2209.8-5028_daily_bin114.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/205843/ft1_4FGL_J2209.8-5028_daily_bin114.fits outfile=/scratch/kocevski/205843/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin114.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=268876801.0 tmax=269136001.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 1.67
user 1.48
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/205843/ft2_4FGL_J2209.8-5028_daily_bin114.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/205843/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin114.fits evtable="EVENTS" outfile="/scratch/kocevski/205843/ft1_filtered_4FGL_J2209.8-5028_daily_bin114.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/205843/ft1_filtered_4FGL_J2209.8-5028_daily_bin114.fits" evtable="EVENTS" scfile=/scratch/kocevski/205843/ft2_4FGL_J2209.8-5028_daily_bin114.fits sctable="SC_DATA" outfile=/scratch/kocevski/205843/ltcube_268876801_269136001_4FGL_J2209.8-5028_daily_bin114.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/205843/ft2_4FGL_J2209.8-5028_daily_bin114.fits
.....................!
real 12.91
user 12.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/205843/ft1_filtered_4FGL_J2209.8-5028_daily_bin114.fits evtable="EVENTS" scfile=/scratch/kocevski/205843/ft2_4FGL_J2209.8-5028_daily_bin114.fits sctable="SC_DATA" expcube=/scratch/kocevski/205843/ltcube_268876801_269136001_4FGL_J2209.8-5028_daily_bin114.fits outfile=/scratch/kocevski/205843/expmap_268876801_269136001_4FGL_J2209.8-5028_daily_bin114.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/205843/ltcube_268876801_269136001_4FGL_J2209.8-5028_daily_bin114.fits
.....................!
real 190.33
user 184.96
sys 5.06

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/205843/ft1_filtered_4FGL_J2209.8-5028_daily_bin114.fits scfile=/scratch/kocevski/205843/ft2_4FGL_J2209.8-5028_daily_bin114.fits outfile=/scratch/kocevski/205843/cmap_268876801_269136001_4FGL_J2209.8-5028_daily_bin114.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/205843/ft1_filtered_4FGL_J2209.8-5028_daily_bin114.fits scfile=/scratch/kocevski/205843/ft2_4FGL_J2209.8-5028_daily_bin114.fits outfile=/scratch/kocevski/205843/cmap_HighResolution_268876801_269136001_4FGL_J2209.8-5028_daily_bin114.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/205843/ft1_filtered_4FGL_J2209.8-5028_daily_bin114.fits evtable="EVENTS" scfile=/scratch/kocevski/205843/ft2_4FGL_J2209.8-5028_daily_bin114.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/205843/Model_4FGL_J2209.8-5028_daily_bin114.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/205843/ft1_filtered_4FGL_J2209.8-5028_daily_bin114.fits.....................!
real 48.93
user 47.63
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.741       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9159       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.423       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2067       1.0000         .10000E-03   10000.    
     7 'norm      '    13.387       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.149       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4576       1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.165       1.0000         .10000E-03   10000.    
    13 'norm      '    .53581E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    43.991       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.0001       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.884       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.093       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.195       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'    1.0496       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82679       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=   6445.414     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     3285 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.740        22.780        .55210E-07   -.89827E-06
   2  Prefactor     .10000E-03    15.176        .17660E-05** at limit **
   3  Prefactor     1.9142        6.5789       -.10636E-04   -.27461E-03
   4  Prefactor     .10000E-03    18.240       -.24606E-05** at limit **
   5  Prefactor     22.423        29.515       -.82867E-07    .37622E-04
   6  Prefactor     6.2069        4.4218        .13012E-06    .24037E-03
   7  norm          13.387        4.8101       -.37449E-06    .47762E-03
   8  Prefactor     .10000E-03    4.1505        .13801E-07** at limit **
   9  Prefactor     20.170        37.652        .29206E-04   -.91426E-04
  10  Prefactor     .10000E-03    7.3862       -.20278E-05** at limit **
  11  Prefactor     6.4581        4.2286        .32167E-06    .27938E-03
  12  Prefactor     34.149        120.38       -.25320E-04    .17884E-03
  13  norm          .10024E-03    6.0413        .12797E-05** at limit **
  14  Prefactor     .10000E-03    1.4802        .31934E-07** at limit **
  15  Prefactor     43.987        44.171       -.34519E-05    .65951E-04
  16  Prefactor     8.9992        6.5261       -.22474E-05    .39631E-03
  17  Prefactor     17.879        22.024       -.94408E-06    .84031E-04
  18  Prefactor     13.092        12.492        .35601E-06   -.49812E-04
  19  Prefactor     .10000E-03    34.075        .14549E-05** at limit **
  20  Prefactor     .10000E-03    1.8159        .78005E-08** at limit **
  21  Prefactor     33.197        28.277        .12146E-05   -.20774E-04
  22  Prefactor     .10000E-03    3.3131       -.14068E-07** at limit **
  23  norm          .10000E-03    2.3641       -.26439E-08** at limit **
  24  Normalizat    1.0498        .18709        .11618E-05    .42401E-03
  25  Prefactor     .82664        .14078        .10766E-06    .40007E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7402
  Prefactor  = 0.0001
  Prefactor  = 1.91421
  Prefactor  = 0.000100001
  Prefactor  = 22.4227
  Prefactor  = 6.2069
  norm       = 13.3869
  Prefactor  = 0.0001
  Prefactor  = 20.1703
  Prefactor  = 0.000100004
  Prefactor  = 6.45806
  Prefactor  = 34.1486
  norm       = 0.000100237
  Prefactor  = 0.0001
  Prefactor  = 43.9871
  Prefactor  = 8.99923
  Prefactor  = 17.8793
  Prefactor  = 13.0917
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.1969
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.04981
  Prefactor  = 0.826636
 **********
 **   18 **HESSE 
 **********

 FCN=   6445.414     FROM HESSE     STATUS=OK           425 CALLS     3710 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.740        22.775        .11691E-03   -1.5023    
   2  Prefactor     .10000E-03    15.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.9142        6.7671        .30027E-03   -1.5431    
   4  Prefactor     .10000E-03    18.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.423        29.505        .84588E-04   -1.4761    
   6  Prefactor     6.2069        4.4079        .13439E-03   -1.5210    
   7  norm          13.387        4.8050        .10190E-03   -1.4976    
   8  Prefactor     .10000E-03    4.1637        .15973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.170        36.852        .89229E-04   -1.4809    
  10  Prefactor     .10000E-03    65.097        .34246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.4581        4.2084        .12510E-03   -1.5200    
  12  Prefactor     34.149        104.89        .68558E-04   -1.4539    
  13  norm          .10024E-03    56.308        .38107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.4887        .95321E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     43.987        44.207        .60446E-04   -1.4381    
  16  Prefactor     8.9992        6.5453        .13360E-03   -1.5108    
  17  Prefactor     17.879        21.999        .94709E-04   -1.4862    
  18  Prefactor     13.092        12.463        .11070E-03   -1.4984    
  19  Prefactor     .10000E-03    34.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.8172        .10565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     33.197        28.272        .69550E-04   -1.4555    
  22  Prefactor     .10000E-03    3.3147        .14272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.3648        .12056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0498        .21469        .25520E-03   -.91380    
  25  Prefactor     .82664        .16094        .22530E-03   -.98754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56135e-09
Minuit parameter uncertainties:
  1  22.7918
  2  5.77999e-05
  3  6.76976
  4  0.00021533
  5  29.5242
  6  4.40816
  7  4.80513
  8  1.62079e-06
  9  36.8931
  10  0.00100415
  11  4.20862
  12  105.459
  13  0.00731306
  14  6.82088e-07
  15  44.24
  16  6.54582
  17  22.009
  18  12.4654
  19  6.93239e-05
  20  5.26181e-07
  21  28.2835
  22  1.45971e-07
  23  1.36215e-07
  24  0.214865
  25  0.161033
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.415e+01  1.055e+02  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:  8.266e-01  1.610e-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:  1.050e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/205843/likelihoodResults_268876801_269136001_4FGL_J2209.8-5028_daily_bin114.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): 0
logL (Free Index) = 6444.16471815
delta logL = 1.24936433695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6444.16169684
delta logL = 1.25238565494

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6444.162     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      307 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2413        77.523        .47968E-03   -.36817E-03
   2  Index         4.3461        3.7314        .37911E-02    .30618E-04
   3  Normalizat    .96877        .17298        .26382E-03   -.43093E-07
   4  Prefactor     .86473        .13581        .22063E-03    .30917E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.24134
  Index      = 4.34614
  Normalizat = 0.968768
  Prefactor  = 0.864735
 **********
 **   18 **HESSE 
 **********

 FCN=   6444.162     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2413        12.381        .19187E-04   -1.5348    
   2  Index         4.3461        1.6177        .15164E-03   -.13115    
   3  Normalizat    .96877        .20713        .10553E-04   -.94084    
   4  Prefactor     .86473        .16164        .88253E-05   -.97384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23363e-10
Minuit parameter uncertainties:
  1  12.391
  2  1.64786
  3  0.207299
  4  0.16173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/205843': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6444.16169681
delta logL = 1.25238567594

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.241e+00  1.239e+01  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  4.346e+00  1.648e+00  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:  8.647e-01  1.617e-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:  9.688e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.78
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 4.35 +/- 1.65
Photon Flux (Free Index): 8.02e-08 +/- 5.70e-08
Energy Flux (Free Index): 1.14e-05 +/- 8.34e-06

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/205843/cmap_HighResolution_268876801_269136001_4FGL_J2209.8-5028_daily_bin114.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='1.25e+00', photon_flux2='8.02e-08', job_status='DONE', time_completed='2021-09-28 06:26:51.722037', photon_index_error2='1.65', photon_index2='4.35', ts='0.13', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='9.60e-08', energy_flux_error2='8.34e-06', EG='1.05', time_epoch_completed='1632835611.72', return_code='0', job_id='205843', GAL2='0.86', EG2='0.97', return_code2='0', photon_flux_error2='5.70e-08', ts2='2.78', photon_index='2.37' WHERE bin_id='114' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:26:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 205843: <4FGL_J2209.8-5028_daily_bin114> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin114> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Sep 28 06:10:29 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:10:31 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:10:31 2021
Terminated at Tue Sep 28 06:26:52 2021
Results reported at Tue Sep 28 06:26:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin114 332.474 -50.4702 268876801 269136001 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 :                                   757.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            983 sec.

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

