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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1403
RA = 332.474, Dec = -50.4702
tmin = 602985601, tmax = 603244801
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='211749', job_status='RUN', time_executed='2021-09-28 06:30:56.726643', time_epoch_executed='1632835856.73' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/211749

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/211749/ft1_4FGL_J2209.8-5028_daily_bin1403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/211749/ft2_4FGL_J2209.8-5028_daily_bin1403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/211749/ft1_4FGL_J2209.8-5028_daily_bin1403.fits outfile=/scratch/kocevski/211749/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1403.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=602985601.0 tmax=603244801.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.03
user 2.85
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/211749/ft1_filtered_4FGL_J2209.8-5028_daily_bin1403.fits" evtable="EVENTS" scfile=/scratch/kocevski/211749/ft2_4FGL_J2209.8-5028_daily_bin1403.fits sctable="SC_DATA" outfile=/scratch/kocevski/211749/ltcube_602985601_603244801_4FGL_J2209.8-5028_daily_bin1403.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/211749/ft2_4FGL_J2209.8-5028_daily_bin1403.fits
.....................!
real 12.36
user 12.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/211749/ft1_filtered_4FGL_J2209.8-5028_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/211749/ft2_4FGL_J2209.8-5028_daily_bin1403.fits sctable="SC_DATA" expcube=/scratch/kocevski/211749/ltcube_602985601_603244801_4FGL_J2209.8-5028_daily_bin1403.fits outfile=/scratch/kocevski/211749/expmap_602985601_603244801_4FGL_J2209.8-5028_daily_bin1403.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/211749/ltcube_602985601_603244801_4FGL_J2209.8-5028_daily_bin1403.fits
.....................!
real 192.35
user 187.24
sys 4.80

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/211749/ft1_filtered_4FGL_J2209.8-5028_daily_bin1403.fits scfile=/scratch/kocevski/211749/ft2_4FGL_J2209.8-5028_daily_bin1403.fits outfile=/scratch/kocevski/211749/cmap_602985601_603244801_4FGL_J2209.8-5028_daily_bin1403.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/211749/ft1_filtered_4FGL_J2209.8-5028_daily_bin1403.fits scfile=/scratch/kocevski/211749/ft2_4FGL_J2209.8-5028_daily_bin1403.fits outfile=/scratch/kocevski/211749/cmap_HighResolution_602985601_603244801_4FGL_J2209.8-5028_daily_bin1403.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/211749/ft1_filtered_4FGL_J2209.8-5028_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/211749/ft2_4FGL_J2209.8-5028_daily_bin1403.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/211749/Model_4FGL_J2209.8-5028_daily_bin1403.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/211749/ft1_filtered_4FGL_J2209.8-5028_daily_bin1403.fits.....................!
real 19.12
user 17.88
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10111E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .85785E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.466       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .84954E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1755.3       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    479.67       1.0000         .10000E-03   10000.    
    13 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10326E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3958       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10259E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.543       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3631       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=   1123.630     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     3406 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.934        .87419E-07** at limit **
   2  Prefactor     .10000E-03    58.954        .26086E-07** at limit **
   3  Prefactor     .10065E-03    70.343       -.66054E-06** at limit **
   4  Prefactor     .10000E-03    129.51       -.17873E-06** at limit **
   5  Prefactor     22.558        62.255        .33407E-06   -.24566E-04
   6  Prefactor     .10000E-03    14.893        .82325E-06** at limit **
   7  norm          .10000E-03    133.76       -.47030E-06** at limit **
   8  Prefactor    10000.0        1549.5        .46779E-06** at limit **
   9  Prefactor     .10004E-03    9400.1        .11956E-04** at limit **
  10  Prefactor     1756.9        817.11       -.31513E-05   -.66844E-04
  11  Prefactor     .10000E-03    38.944        .11191E-05** at limit **
  12  Prefactor     482.21        5583.3        .31085E-04    .14220E-05
  13  norm          .10000E-03    18.914       -.72686E-07** at limit **
  14  Prefactor     .10000E-03    14.147        .29589E-05** at limit **
  15  Prefactor     .10000E-03    170.36       -.43003E-06** at limit **
  16  Prefactor     .10000E-03    12.933        .36728E-05** at limit **
  17  Prefactor     .10001E-03    185.49        .58105E-05** at limit **
  18  Prefactor     1.2891        226.58        .34479E-04   -.11574E-04
  19  Prefactor     .10000E-03    121.98       -.45201E-07** at limit **
  20  Prefactor     .10000E-03    16.498        .31141E-06** at limit **
  21  Prefactor     .10000E-03    47.826        .10914E-06** at limit **
  22  Prefactor     17.531        26.862        .90352E-06   -.14873E-03
  23  norm          .10000E-03    5.6395       -.15162E-06** at limit **
  24  Normalizat    .10000E-01    .54061        .76592E-05** at limit **
  25  Prefactor     1.3630        .20024       -.15028E-05   -.48458E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100649
  Prefactor  = 0.0001
  Prefactor  = 22.5583
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10000
  Prefactor  = 0.000100037
  Prefactor  = 1756.93
  Prefactor  = 0.0001
  Prefactor  = 482.21
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 1.28911
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5312
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.36297
 **********
 **   18 **HESSE 
 **********

 FCN=   1123.630     FROM HESSE     STATUS=OK           419 CALLS     3825 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.940        .13073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    58.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10065E-03    82.253        .84637E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    129.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.558        62.316        .84508E-04   -1.4758    
   6  Prefactor     .10000E-03    14.918        .12642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    133.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        1550.0        .20916E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10004E-03    9374.5        .18372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1756.9        824.07        .52573E-04   -.70576    
  11  Prefactor     .10000E-03    38.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     482.21        5581.4        .93591E-04   -1.1280    
  13  norm          .10000E-03    18.915        .14244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.296        .12342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    170.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.989        .11794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    182.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2891        231.55        .36752E-02   -1.5481    
  19  Prefactor     .10000E-03    122.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    16.554        .13302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    47.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.531        26.943        .95624E-04   -1.4870    
  23  norm          .10000E-03    5.6416        .77760E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    2.2600        .12373E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.3630        .20967        .18011E-03   -.81453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13311e-08
Minuit parameter uncertainties:
  1  6.48452e-06
  2  9.38596e-06
  3  0.0146281
  4  4.58908e-05
  5  62.4968
  6  3.97434e-05
  7  0.000129893
  8  0.000777089
  9  0.0462852
  10  830.65
  11  1.26742e-06
  12  2738.03
  13  4.10994e-05
  14  0.000118868
  15  0.000122457
  16  0.000126852
  17  0.00220655
  18  34.6892
  19  0.000133742
  20  1.27908e-05
  21  7.42072e-06
  22  26.9614
  23  5.30926e-06
  24  0.000447041
  25  0.209797
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  4.822e+02  2.738e+03  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.363e+00  2.098e-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.000e-02  4.470e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 2.44e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.88e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/211749/likelihoodResults_602985601_603244801_4FGL_J2209.8-5028_daily_bin1403.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) = 1123.32890901
delta logL = 0.300638306626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1123.27389168
delta logL = 0.355655645214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1002       1.0000         .10000E-03   10000.    
     2 'Index     '    5.5168       1.0000          .0000       10.000    
     3 'Normalizat'    .10018E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3361       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=   1123.274     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      317 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9570        176.74        .49773E-02    .81383E-03
   2  Index         5.5317        4.1294        .74753E-01    .21627E-03
   3  Normalizat    .10000E-01    .98259E-01    .17967    ** at limit **
   4  Prefactor     1.3362        .10915        .32009E-01   -.35456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95703
  Index      = 5.53173
  Normalizat = 0.01
  Prefactor  = 1.33616
 **********
 **   18 **HESSE 
 **********

 FCN=   1123.274     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      348 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9570        346.35        .79458E-04   -1.5310    
   2  Index         5.5317        7.7525        .29167E-02    .10655    
   3  Normalizat    .10000E-01    .51059        .11047E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3362        .18627        .18004E-03   -.82238    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19713e-09
Minuit parameter uncertainties:
  1  74.4889
  2  7.82393
  3  1.48258e-05
  4  0.186367
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/211749': 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) = 1123.2738704
delta logL = 0.355676922601

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.957e+00  7.449e+01  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  5.532e+00  7.824e+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.336e+00  1.864e-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.000e-02  1.483e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/211749/cmap_HighResolution_602985601_603244801_4FGL_J2209.8-5028_daily_bin1403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.88e-01', job_status='DONE', photon_flux_upper_limit='2.44e-06', time_completed='2021-09-28 06:38:49.013299', job_id='211749', GAL2='1.34', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632836329.01', return_code2='102', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='3.56e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1403' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:38:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 211749: <4FGL_J2209.8-5028_daily_bin1403> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1403> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 06:30:26 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:30:28 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:30:28 2021
Terminated at Tue Sep 28 06:38:49 2021
Results reported at Tue Sep 28 06:38:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1403 332.474 -50.4702 602985601 603244801 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 :                                   398.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   501 sec.
    Turnaround time :                            503 sec.

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

