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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1252
RA = 332.474, Dec = -50.4702
tmin = 563846401, tmax = 564105601
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='210965', job_status='RUN', time_executed='2021-09-28 06:26:59.437521', time_epoch_executed='1632835619.44' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210965/ft1_4FGL_J2209.8-5028_daily_bin1252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210965/ft2_4FGL_J2209.8-5028_daily_bin1252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210965/ft1_4FGL_J2209.8-5028_daily_bin1252.fits outfile=/scratch/kocevski/210965/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1252.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=563846401.0 tmax=564105601.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 2.82
user 2.62
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210965/ft1_filtered_4FGL_J2209.8-5028_daily_bin1252.fits" evtable="EVENTS" scfile=/scratch/kocevski/210965/ft2_4FGL_J2209.8-5028_daily_bin1252.fits sctable="SC_DATA" outfile=/scratch/kocevski/210965/ltcube_563846401_564105601_4FGL_J2209.8-5028_daily_bin1252.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/210965/ft2_4FGL_J2209.8-5028_daily_bin1252.fits
.....................!
real 13.13
user 12.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210965/ft1_filtered_4FGL_J2209.8-5028_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/210965/ft2_4FGL_J2209.8-5028_daily_bin1252.fits sctable="SC_DATA" expcube=/scratch/kocevski/210965/ltcube_563846401_564105601_4FGL_J2209.8-5028_daily_bin1252.fits outfile=/scratch/kocevski/210965/expmap_563846401_564105601_4FGL_J2209.8-5028_daily_bin1252.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/210965/ltcube_563846401_564105601_4FGL_J2209.8-5028_daily_bin1252.fits
.....................!
real 190.83
user 185.45
sys 5.01

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/210965/ft1_filtered_4FGL_J2209.8-5028_daily_bin1252.fits scfile=/scratch/kocevski/210965/ft2_4FGL_J2209.8-5028_daily_bin1252.fits outfile=/scratch/kocevski/210965/cmap_563846401_564105601_4FGL_J2209.8-5028_daily_bin1252.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/210965/ft1_filtered_4FGL_J2209.8-5028_daily_bin1252.fits scfile=/scratch/kocevski/210965/ft2_4FGL_J2209.8-5028_daily_bin1252.fits outfile=/scratch/kocevski/210965/cmap_HighResolution_563846401_564105601_4FGL_J2209.8-5028_daily_bin1252.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/210965/ft1_filtered_4FGL_J2209.8-5028_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/210965/ft2_4FGL_J2209.8-5028_daily_bin1252.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210965/Model_4FGL_J2209.8-5028_daily_bin1252.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/210965/ft1_filtered_4FGL_J2209.8-5028_daily_bin1252.fits.....................!
real 54.98
user 53.70
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.513       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.410       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7193       1.0000         .10000E-03   10000.    
     5 'Prefactor '    64.873       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2471       1.0000         .10000E-03   10000.    
     7 'norm      '    10.002       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18319       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0667       1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.002       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7984       1.0000         .10000E-03   10000.    
    19 'Prefactor '    75.114       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.8965       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2205       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7475.247     FROM MIGRAD    STATUS=CONVERGED    637 CALLS     2992 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5483        .90712E-02** at limit **
   2  Prefactor     21.526        35.089        .21589E-02    .29965E-03
   3  Prefactor     22.409        10.696        .21153E-02    .74958E-03
   4  Prefactor     5.8175        56.334        .41989E-02   -.10124E-03
   5  Prefactor     64.877        32.301        .12456E-02    .90432E-03
   6  Prefactor     2.2413        4.1960        .68533E-02    .86664E-03
   7  norm          9.9996        5.7332        .31676E-02    .11772E-03
   8  Prefactor     .10000E-03    6.1421        .90712E-02** at limit **
   9  Prefactor     .10000E-03    61.403        .90712E-02** at limit **
  10  Prefactor     .43648        5.8979        .99006E-01    .25146E-03
  11  Prefactor     7.0530        4.5153        .37726E-02    .25095E-03
  12  Prefactor     60.537        70.448        .12843E-02   -.25626E-04
  13  norm          .10000E-03    1.6625        .90712E-02** at limit **
  14  Prefactor     .10000E-03    3.0184        .90712E-02** at limit **
  15  Prefactor     .10000E-03    12.769        .90712E-02** at limit **
  16  Prefactor     .10000E-03    2.9122        .90712E-02** at limit **
  17  Prefactor     .10000E-03    12.685        .90712E-02** at limit **
  18  Prefactor     1.8080        13.795        .77940E-02    .99569E-03
  19  Prefactor     75.141        84.595        .11582E-02   -.60456E-03
  20  Prefactor     .10000E-03    4.0983        .67034E-01** at limit **
  21  Prefactor     9.9226        34.928        .31844E-02    .30576E-03
  22  Prefactor     .10000E-03    10.454        .90712E-02** at limit **
  23  norm          .10000E-03    2.2067        .90712E-02** at limit **
  24  Normalizat    1.2198        .18399        .60476E-01    .90229E-05
  25  Prefactor     .96367        .14285        .45812E-01    .85926E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.5264
  Prefactor  = 22.4094
  Prefactor  = 5.81752
  Prefactor  = 64.8771
  Prefactor  = 2.24134
  norm       = 9.99962
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.436483
  Prefactor  = 7.053
  Prefactor  = 60.5371
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.80798
  Prefactor  = 75.1409
  Prefactor  = 0.0001
  Prefactor  = 9.92256
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.21984
  Prefactor  = 0.963672
 **********
 **   18 **HESSE 
 **********

 FCN=   7475.247     FROM HESSE     STATUS=OK           423 CALLS     3415 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.526        35.127        .86357E-04   -1.4780    
   3  Prefactor     22.409        10.670        .42306E-03   -1.4761    
   4  Prefactor     5.8175        55.333        .16796E-03   -1.5226    
   5  Prefactor     64.877        32.295        .49826E-04   -1.4095    
   6  Prefactor     2.2413        4.1686        .22895E-03   -1.5409    
   7  norm          9.9996        5.6958        .12670E-03   -1.5075    
   8  Prefactor     .10000E-03    6.1548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    61.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .43648        63.313        .36853E-02   -1.5576    
  11  Prefactor     7.0530        4.5119        .13734E-03   -1.5177    
  12  Prefactor     60.537        72.018        .51373E-04   -1.4150    
  13  norm          .10000E-03    1.6627        .10887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.0915        .29297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.9332        .14401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8080        13.683        .31176E-03   -1.5439    
  19  Prefactor     75.141        84.058        .46328E-04   -1.3972    
  20  Prefactor     .10000E-03    14.246        .33927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.9226        34.938        .12738E-03   -1.5078    
  22  Prefactor     .10000E-03    10.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.2078        .12543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2198        .21372        .26747E-03   -.85992    
  25  Prefactor     .96367        .16633        .23731E-03   -.93950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74304e-08
Minuit parameter uncertainties:
  1  4.15548e-06
  2  35.1611
  3  10.671
  4  35.9265
  5  32.304
  6  4.16911
  7  5.69613
  8  4.59567e-07
  9  4.16145e-05
  10  10.5239
  11  4.51211
  12  72.1214
  13  7.49724e-07
  14  1.78212e-06
  15  0.000240846
  16  1.31293e-06
  17  0.000246505
  18  9.95059
  19  84.1913
  20  3.00164e-05
  21  35.0096
  22  3.21817e-07
  23  3.74488e-07
  24  0.213872
  25  0.166415
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  6.054e+01  7.212e+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:  9.637e-01  1.664e-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.220e+00  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.92
Ra Dec: 332.474 -50.470
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 2.13e-08 +/- 2.53e-08
Energy Flux (Fixed Index): 7.25e-06 +/- 8.63e-06

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

Saving results to:
/scratch/kocevski/210965/likelihoodResults_563846401_564105601_4FGL_J2209.8-5028_daily_bin1252.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) = 7471.26031486
delta logL = 3.9871172891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7470.35612663
delta logL = 4.8913055179

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7470.356     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      263 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7882        3.3491        .60935E-02   -.35126E-03
   2  Index         .77716E-14    .33874        .50000    ** at limit **
   3  Normalizat    1.2371        .17464        .60076E-01    .70549E-05
   4  Prefactor     .95879        .14032        .45751E-01    .98565E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.78823
  Index      = 7.77156e-15
  Normalizat = 1.23707
  Prefactor  = 0.958789
 **********
 **   18 **HESSE 
 **********

 FCN=   7470.356     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .71E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7882        2.8547        .14053E-03   -1.5374    
   2  Index         .77716E-14    2.2636        .25933E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2371        .20309        .26570E-03   -.85465    
   4  Prefactor     .95879        .16325        .23774E-03   -.94116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.07309e-15
Minuit parameter uncertainties:
  1  2.85486
  2  2.79828e-07
  3  0.203222
  4  0.163331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210965': 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) = 7470.35612487
delta logL = 4.89130728559

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.788e+00  2.855e+00  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  7.772e-15  2.798e-07  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:  9.588e-01  1.633e-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.237e+00  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.67
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 2.79e-09 +/- 2.85e-09
Energy Flux (Free Index): 1.40e-04 +/- 1.43e-04

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/210965/cmap_HighResolution_563846401_564105601_4FGL_J2209.8-5028_daily_bin1252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', comment='SUCCESS', photon_flux='2.13e-08', energy_flux2='1.40e-04', photon_flux_error='2.53e-08', dlogl='4.89e+00', energy_flux='7.25e-06', photon_flux2='2.79e-09', job_status='DONE', time_completed='2021-09-28 06:40:43.350978', photon_index_error2='0.00', photon_index2='0.00', ts='1.92', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='8.97e-08', energy_flux_error2='1.43e-04', EG='1.22', time_epoch_completed='1632836443.35', return_code='0', job_id='210965', GAL2='0.96', EG2='1.24', return_code2='0', energy_flux_error='8.63e-06', photon_flux_error2='2.85e-09', ts2='11.67', photon_index='2.37' WHERE bin_id='1252' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:40:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 210965: <4FGL_J2209.8-5028_daily_bin1252> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1252> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:25:59 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:26:01 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:01 2021
Terminated at Tue Sep 28 06:40:45 2021
Results reported at Tue Sep 28 06:40:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1252 332.474 -50.4702 563846401 564105601 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 :                                   809.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            886 sec.

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

