/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 113 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 = 7664
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2209.8-5028_daily_bin408
RA = 332.474, Dec = -50.4702
tmin = 345081601, tmax = 345340801
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='207341', job_status='RUN', time_executed='2021-09-28 06:17:21.203011', time_epoch_executed='1632835041.2' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='408'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/207341

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/207341/ft1_4FGL_J2209.8-5028_daily_bin408.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/207341/ft2_4FGL_J2209.8-5028_daily_bin408.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/207341/ft1_4FGL_J2209.8-5028_daily_bin408.fits outfile=/scratch/kocevski/207341/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin408.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=345081601.0 tmax=345340801.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.52
user 3.29
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/207341/ft1_filtered_4FGL_J2209.8-5028_daily_bin408.fits" evtable="EVENTS" scfile=/scratch/kocevski/207341/ft2_4FGL_J2209.8-5028_daily_bin408.fits sctable="SC_DATA" outfile=/scratch/kocevski/207341/ltcube_345081601_345340801_4FGL_J2209.8-5028_daily_bin408.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/207341/ft2_4FGL_J2209.8-5028_daily_bin408.fits
.....................!
real 12.00
user 11.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/207341/ft1_filtered_4FGL_J2209.8-5028_daily_bin408.fits evtable="EVENTS" scfile=/scratch/kocevski/207341/ft2_4FGL_J2209.8-5028_daily_bin408.fits sctable="SC_DATA" expcube=/scratch/kocevski/207341/ltcube_345081601_345340801_4FGL_J2209.8-5028_daily_bin408.fits outfile=/scratch/kocevski/207341/expmap_345081601_345340801_4FGL_J2209.8-5028_daily_bin408.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/207341/ltcube_345081601_345340801_4FGL_J2209.8-5028_daily_bin408.fits
.....................!
real 192.79
user 187.15
sys 5.25

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/207341/ft1_filtered_4FGL_J2209.8-5028_daily_bin408.fits scfile=/scratch/kocevski/207341/ft2_4FGL_J2209.8-5028_daily_bin408.fits outfile=/scratch/kocevski/207341/cmap_345081601_345340801_4FGL_J2209.8-5028_daily_bin408.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/207341/ft1_filtered_4FGL_J2209.8-5028_daily_bin408.fits scfile=/scratch/kocevski/207341/ft2_4FGL_J2209.8-5028_daily_bin408.fits outfile=/scratch/kocevski/207341/cmap_HighResolution_345081601_345340801_4FGL_J2209.8-5028_daily_bin408.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/207341/ft1_filtered_4FGL_J2209.8-5028_daily_bin408.fits evtable="EVENTS" scfile=/scratch/kocevski/207341/ft2_4FGL_J2209.8-5028_daily_bin408.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/207341/Model_4FGL_J2209.8-5028_daily_bin408.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/207341/ft1_filtered_4FGL_J2209.8-5028_daily_bin408.fits.....................!
real 48.63
user 47.22
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.176       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.918       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2200       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9741       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6508       1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.017       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9293       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .99679       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2152       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5350       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1207       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.812       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .27619E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6181       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .47477       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3731       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=   6471.726     FROM MIGRAD    STATUS=CONVERGED   1076 CALLS     3414 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.327        .18142E-02** at limit **
   2  Prefactor     .10000E-03    25.154        .18142E-02** at limit **
   3  Prefactor     50.175        12.889        .56614E-04   -.36146E-05
   4  Prefactor     13.911        27.151        .10736E-03   -.17154E-04
   5  Prefactor     1.2186        51.673        .40842E-03   -.22797E-04
   6  Prefactor     4.9707        4.7973        .82086E-03   -.12173E-03
   7  norm          .10000E-03    1.4918        .95841E-03** at limit **
   8  Prefactor     7.6490        12.075        .14498E-03    .24466E-04
   9  Prefactor     52.954        47.996        .55084E-04    .56509E-04
  10  Prefactor     5.9940        13.220        .16491E-03    .56598E-04
  11  Prefactor     .10000E-03    1.0687        .81043E-03** at limit **
  12  Prefactor     .19036        196.10        .21787        .38728E-04
  13  norm          1.2174        22.071        .40984E-03   -.40832E-04
  14  Prefactor     .10002E-03    8.8248        .21208E-02** at limit **
  15  Prefactor     .10000E-03    9.9734        .18142E-02** at limit **
  16  Prefactor     9.5342        6.8118        .12978E-03    .87249E-04
  17  Prefactor     5.1184        66.248        .17767E-03   -.11838E-04
  18  Prefactor     24.813        18.160        .80418E-04    .29504E-03
  19  Prefactor     .10000E-03    937.58        .42849E-03** at limit **
  20  Prefactor     .10000E-03    2.5613        .12552E-02** at limit **
  21  Prefactor     .10000E-03    42.789        .18142E-02** at limit **
  22  Prefactor     5.6163        13.565        .16948E-03    .10196E-04
  23  norm          .10000E-03    2.5529        .12551E-02** at limit **
  24  Normalizat    .47489        .22278        .37818E-03    .95145E-04
  25  Prefactor     1.3731        .18022        .19697E-03    .16406E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.1752
  Prefactor  = 13.9108
  Prefactor  = 1.21858
  Prefactor  = 4.97072
  norm       = 0.0001
  Prefactor  = 7.64901
  Prefactor  = 52.9542
  Prefactor  = 5.99398
  Prefactor  = 0.0001
  Prefactor  = 0.190358
  norm       = 1.21743
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 9.53422
  Prefactor  = 5.11836
  Prefactor  = 24.8129
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.61629
  norm       = 0.0001
  Normalizat = 0.474893
  Prefactor  = 1.37308
 **********
 **   18 **HESSE 
 **********

 FCN=   6471.726     FROM HESSE     STATUS=OK           413 CALLS     3827 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.329        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.155        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     50.175        12.888        .22646E-05   -1.4290    
   4  Prefactor     13.911        27.147        .42945E-05   -1.4962    
   5  Prefactor     1.2186        51.650        .16337E-04   -1.5487    
   6  Prefactor     4.9707        4.7958        .32834E-04   -1.5262    
   7  norm          .10000E-03    1.4918        .19168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.6490        12.074        .57992E-05   -1.5155    
   9  Prefactor     52.954        47.995        .11017E-04   -1.4251    
  10  Prefactor     5.9940        13.290        .65965E-05   -1.5218    
  11  Prefactor     .10000E-03    1.0687        .16209E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .19036        204.40        .21364       -1.5621    
  13  norm          1.2174        22.053        .16394E-04   -1.5487    
  14  Prefactor     .10002E-03    8.8790        .42416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.9734        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.5342        6.8102        .51912E-05   -1.5090    
  17  Prefactor     5.1184        66.016        .71067E-05   -1.5255    
  18  Prefactor     24.813        18.132        .32167E-05   -1.4711    
  19  Prefactor     .10000E-03    937.53        .85697E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.5614        .25103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    42.795        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.6163        13.563        .67794E-05   -1.5234    
  23  norm          .10000E-03    2.5529        .25103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .47489        .22277        .15127E-04   -1.1359    
  25  Prefactor     1.3731        .18025        .39394E-04   -.81159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51915e-09
Minuit parameter uncertainties:
  1  2.80105e-05
  2  3.34204e-05
  3  12.8889
  4  27.1711
  5  15.8809
  6  4.79616
  7  3.55608e-06
  8  12.078
  9  48.0301
  10  13.2968
  11  3.72727e-06
  12  12.515
  13  10.367
  14  0.000829541
  15  5.69874e-06
  16  6.81079
  17  36.8136
  18  18.1361
  19  0.00347093
  20  7.14037e-06
  21  9.69941e-05
  22  13.5704
  23  3.06559e-07
  24  0.223189
  25  0.180332
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.904e-01  1.252e+01  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.373e+00  1.803e-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:  4.749e-01  2.232e-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: 8.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/207341/likelihoodResults_345081601_345340801_4FGL_J2209.8-5028_daily_bin408.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) = 6471.72584631
delta logL = 4.56674188172e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6471.55451523
delta logL = 0.171376741465

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5065       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3818       1.0000          .0000       10.000    
     3 'Normalizat'    .44957       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3817       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=   6471.555     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      353 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4952        326.71        .12998E-03    .16182E-04
   2  Index         3.3817        6.6571        .87423E-02    .28026E-04
   3  Normalizat    .44963        .20802        .38789E-03   -.24619E-04
   4  Prefactor     1.3817        .17544        .19632E-03    .43025E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.49516
  Index      = 3.38174
  Normalizat = 0.449631
  Prefactor  = 1.38169
 **********
 **   18 **HESSE 
 **********

 FCN=   6471.555     FROM HESSE     STATUS=OK            25 CALLS      378 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4952        34.148        .51990E-05   -1.5092    
   2  Index         3.3817        1.5261        .34969E-03   -.32959    
   3  Normalizat    .44963        .20814        .15516E-04   -1.1481    
   4  Prefactor     1.3817        .17496        .78530E-05   -.80909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35638e-11
Minuit parameter uncertainties:
  1  34.2184
  2  1.55393
  3  0.208497
  4  0.175032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/207341': 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) = 6471.55451491
delta logL = 0.171377061534

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  9.495e+00  3.422e+01  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  3.382e+00  1.554e+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:  1.382e+00  1.750e-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:  4.496e-01  2.085e-01  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/207341/cmap_HighResolution_345081601_345340801_4FGL_J2209.8-5028_daily_bin408.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', job_status='DONE', photon_flux_upper_limit='8.57e-08', time_completed='2021-09-28 06:30:21.465550', job_id='207341', GAL2='1.38', fit_tolerance='1e-08', EG2='0.45', EG='0.47', time_epoch_completed='1632835821.47', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='1.71e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='408' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:30:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 207341: <4FGL_J2209.8-5028_daily_bin408> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin408> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:15:18 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:15:20 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:15:20 2021
Terminated at Tue Sep 28 06:30:21 2021
Results reported at Tue Sep 28 06:30:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin408 332.474 -50.4702 345081601 345340801 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 :                                   778.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            903 sec.

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

