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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin489
RA = 332.474, Dec = -50.4702
tmin = 366076801, tmax = 366336001
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='207470', job_status='RUN', time_executed='2021-09-28 06:16:18.182514', time_epoch_executed='1632834978.18' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/207470

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/207470/ft1_4FGL_J2209.8-5028_daily_bin489.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/207470/ft2_4FGL_J2209.8-5028_daily_bin489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/207470/ft1_4FGL_J2209.8-5028_daily_bin489.fits outfile=/scratch/kocevski/207470/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin489.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=366076801.0 tmax=366336001.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 5.34
user 5.09
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/207470/ft1_filtered_4FGL_J2209.8-5028_daily_bin489.fits" evtable="EVENTS" scfile=/scratch/kocevski/207470/ft2_4FGL_J2209.8-5028_daily_bin489.fits sctable="SC_DATA" outfile=/scratch/kocevski/207470/ltcube_366076801_366336001_4FGL_J2209.8-5028_daily_bin489.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/207470/ft2_4FGL_J2209.8-5028_daily_bin489.fits
.....................!
real 11.82
user 11.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/207470/ft1_filtered_4FGL_J2209.8-5028_daily_bin489.fits evtable="EVENTS" scfile=/scratch/kocevski/207470/ft2_4FGL_J2209.8-5028_daily_bin489.fits sctable="SC_DATA" expcube=/scratch/kocevski/207470/ltcube_366076801_366336001_4FGL_J2209.8-5028_daily_bin489.fits outfile=/scratch/kocevski/207470/expmap_366076801_366336001_4FGL_J2209.8-5028_daily_bin489.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/207470/ltcube_366076801_366336001_4FGL_J2209.8-5028_daily_bin489.fits
.....................!
real 191.14
user 185.95
sys 4.87

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/207470/ft1_filtered_4FGL_J2209.8-5028_daily_bin489.fits scfile=/scratch/kocevski/207470/ft2_4FGL_J2209.8-5028_daily_bin489.fits outfile=/scratch/kocevski/207470/cmap_366076801_366336001_4FGL_J2209.8-5028_daily_bin489.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/207470/ft1_filtered_4FGL_J2209.8-5028_daily_bin489.fits scfile=/scratch/kocevski/207470/ft2_4FGL_J2209.8-5028_daily_bin489.fits outfile=/scratch/kocevski/207470/cmap_HighResolution_366076801_366336001_4FGL_J2209.8-5028_daily_bin489.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/207470/ft1_filtered_4FGL_J2209.8-5028_daily_bin489.fits evtable="EVENTS" scfile=/scratch/kocevski/207470/ft2_4FGL_J2209.8-5028_daily_bin489.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/207470/Model_4FGL_J2209.8-5028_daily_bin489.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/207470/ft1_filtered_4FGL_J2209.8-5028_daily_bin489.fits....................!
real 50.49
user 49.18
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.393       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4059       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.904       1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.959       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.3261       1.0000         .10000E-03   10000.    
     7 'norm      '    2.3593       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.487       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11661E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.3409       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.4623       1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.544       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.0661       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.2878       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.6223       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .73341       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1785       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=   6666.905     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     2957 TOTAL
                     EDM=   .96E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.356       -.43514E-06** at limit **
   2  Prefactor     28.395        29.358       -.33812E-06    .44604E-07
   3  Prefactor     6.4061        6.5086        .15467E-05    .21230E-05
   4  Prefactor     16.904        21.385        .67521E-07   -.12888E-05
   5  Prefactor     29.961        22.045       -.57502E-06   -.10020E-05
   6  Prefactor     8.3260        4.0684       -.95777E-07    .64310E-06
   7  norm          2.3598        4.2874       -.19366E-06   -.35225E-04
   8  Prefactor     10.487        8.3683        .25016E-08    .11527E-05
   9  Prefactor     .10000E-03    208.29       -.35228E-05** at limit **
  10  Prefactor     .10000E-03    3.2684        .32824E-07** at limit **
  11  Prefactor     .10000E-03    2.0471        .77989E-07** at limit **
  12  Prefactor     .10000E-03    37.625       -.54655E-05** at limit **
  13  norm          1.3408        .37056        .19707E-07   -.72614E-03
  14  Prefactor     .10000E-03    1.5640        .26284E-07** at limit **
  15  Prefactor     .10000E-03    14.926        .33062E-05** at limit **
  16  Prefactor     6.4622        5.6303       -.23947E-05   -.32322E-05
  17  Prefactor     39.543        31.157        .42110E-07    .11773E-04
  18  Prefactor     3.0678        11.380       -.21579E-06   -.74999E-06
  19  Prefactor     .10000E-03    47.157        .52960E-05** at limit **
  20  Prefactor     7.2882        6.2777        .28491E-05   -.25448E-05
  21  Prefactor     .10000E-03    15.646       -.36648E-05** at limit **
  22  Prefactor     .10000E-03    22.516        .19057E-05** at limit **
  23  norm          4.6199        10.644       -.99968E-07   -.12630E-04
  24  Normalizat    .73332        .18475        .57091E-06   -.18853E-04
  25  Prefactor     1.1785        .14802       -.34804E-06    .34750E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 28.3946
  Prefactor  = 6.40615
  Prefactor  = 16.904
  Prefactor  = 29.9611
  Prefactor  = 8.32598
  norm       = 2.35983
  Prefactor  = 10.487
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.34084
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.46222
  Prefactor  = 39.5429
  Prefactor  = 3.06783
  Prefactor  = 0.0001
  Prefactor  = 7.28817
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.61993
  Normalizat = 0.733321
  Prefactor  = 1.17852
 **********
 **   18 **HESSE 
 **********

 FCN=   6666.905     FROM HESSE     STATUS=OK           429 CALLS     3386 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.395        29.366        .75187E-04   -1.4642    
   3  Prefactor     6.4061        6.5036        .15858E-03   -1.5202    
   4  Prefactor     16.904        21.263        .97415E-04   -1.4885    
   5  Prefactor     29.961        22.043        .73199E-04   -1.4613    
   6  Prefactor     8.3260        4.0669        .11049E-03   -1.5131    
   7  norm          2.3598        4.2483        .20905E-03   -1.5401    
   8  Prefactor     10.487        8.3652        .12373E-03   -1.5060    
   9  Prefactor     .10000E-03    215.03        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.2942        .14411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.4388        .22524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    37.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3408        5.4872        .18689E-02   -1.5476    
  14  Prefactor     .10000E-03    1.5796        .99655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.4622        5.6273        .15788E-03   -1.5199    
  17  Prefactor     39.543        30.922        .63741E-04   -1.4449    
  18  Prefactor     3.0678        11.240        .23166E-03   -1.5358    
  19  Prefactor     .10000E-03    47.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.2882        6.2838        .14858E-03   -1.5168    
  21  Prefactor     .10000E-03    15.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.6199        10.636        .18721E-03   -1.5278    
  24  Normalizat    .73332        .21077        .30439E-03   -1.0259    
  25  Prefactor     1.1785        .17036        .20243E-03   -.86995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06514e-09
Minuit parameter uncertainties:
  1  1.81646e-06
  2  29.3808
  3  6.50434
  4  21.2725
  5  22.0494
  6  4.06701
  7  4.24888
  8  8.36617
  9  0.000527798
  10  6.03869e-06
  11  1.89429e-05
  12  2.19252e-05
  13  5.42557
  14  1.64971e-06
  15  8.02153e-06
  16  5.62775
  17  30.9343
  18  11.2475
  19  1.30137e-05
  20  6.2844
  21  1.38744e-05
  22  3.78938e-06
  23  10.6402
  24  0.211001
  25  0.17044
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  2.193e-05  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.179e+00  1.704e-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:  7.333e-01  2.110e-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: 5.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/207470/likelihoodResults_366076801_366336001_4FGL_J2209.8-5028_daily_bin489.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) = 6666.9047716
delta logL = -0.000126550681671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6666.90464672
delta logL = -1.66687823366e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.9778       1.0000          .0000       10.000    
     3 'Normalizat'    .73332       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1785       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=   6666.905     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      256 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .16256E-01    .63399E-01** at limit **
   2  Index         3.9790        6.9578        .50000       -.18023E-05
   3  Normalizat    .73332        .41249E-03    .68788E-01    .29736E-04
   4  Prefactor     1.1785        .34165E-03    .35160E-01    .41379E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.97905
  Normalizat = 0.73332
  Prefactor  = 1.17852
 **********
 **   18 **HESSE 
 **********

 FCN=   6666.905     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      291 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.715        .21771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.9790        6.7560        .50000       -.20564    
   3  Normalizat    .73332        .38821E-02    .30439E-03   -1.0259    
   4  Prefactor     1.1785        .32211E-02    .20243E-03   -.86995    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.64797e-10
Minuit parameter uncertainties:
  1  3.696e-06
  2  70.3224
  3  0.00388208
  4  0.00322111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/207470': 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) = 6666.90464672
delta logL = -1.66578229255e-06

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  3.696e-06  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  3.979e+00  7.032e+01  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.179e+00  3.221e-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:  7.333e-01  3.882e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/207470/cmap_HighResolution_366076801_366336001_4FGL_J2209.8-5028_daily_bin489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-03', job_status='DONE', photon_flux_upper_limit='5.37e-08', time_completed='2021-09-28 06:29:12.019609', job_id='207470', GAL2='1.18', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1632835752.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-1.67e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='489' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:29:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 207470: <4FGL_J2209.8-5028_daily_bin489> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin489 332.474 -50.4702 366076801 366336001 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 :                                   764.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             359.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            822 sec.

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

