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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin755
RA = 332.474, Dec = -50.4702
tmin = 435024001, tmax = 435283201
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='209007', job_status='RUN', time_executed='2021-09-28 06:22:22.956195', time_epoch_executed='1632835342.96' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209007

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209007/ft1_4FGL_J2209.8-5028_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209007/ft2_4FGL_J2209.8-5028_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209007/ft1_4FGL_J2209.8-5028_daily_bin755.fits outfile=/scratch/kocevski/209007/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin755.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=435024001.0 tmax=435283201.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.68
user 4.88
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/209007/ft2_4FGL_J2209.8-5028_daily_bin755.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/209007/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/209007/ft1_filtered_4FGL_J2209.8-5028_daily_bin755.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209007/ft1_filtered_4FGL_J2209.8-5028_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/209007/ft2_4FGL_J2209.8-5028_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/209007/ltcube_435024001_435283201_4FGL_J2209.8-5028_daily_bin755.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/209007/ft2_4FGL_J2209.8-5028_daily_bin755.fits
.....................!
real 15.34
user 14.93
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209007/ft1_filtered_4FGL_J2209.8-5028_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/209007/ft2_4FGL_J2209.8-5028_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/209007/ltcube_435024001_435283201_4FGL_J2209.8-5028_daily_bin755.fits outfile=/scratch/kocevski/209007/expmap_435024001_435283201_4FGL_J2209.8-5028_daily_bin755.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/209007/ltcube_435024001_435283201_4FGL_J2209.8-5028_daily_bin755.fits
.....................!
real 191.05
user 185.73
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/209007/ft1_filtered_4FGL_J2209.8-5028_daily_bin755.fits scfile=/scratch/kocevski/209007/ft2_4FGL_J2209.8-5028_daily_bin755.fits outfile=/scratch/kocevski/209007/cmap_435024001_435283201_4FGL_J2209.8-5028_daily_bin755.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209007/ft1_filtered_4FGL_J2209.8-5028_daily_bin755.fits scfile=/scratch/kocevski/209007/ft2_4FGL_J2209.8-5028_daily_bin755.fits outfile=/scratch/kocevski/209007/cmap_HighResolution_435024001_435283201_4FGL_J2209.8-5028_daily_bin755.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/209007/ft1_filtered_4FGL_J2209.8-5028_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/209007/ft2_4FGL_J2209.8-5028_daily_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209007/Model_4FGL_J2209.8-5028_daily_bin755.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/209007/ft1_filtered_4FGL_J2209.8-5028_daily_bin755.fits.....................!
real 31.12
user 29.66
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.014       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.568       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.876       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .87389       1.0000         .10000E-03   10000.    
     7 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16195E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.707       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2856       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5819       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    88.273       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10468E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5838       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    68.760       1.0000         .10000E-03   10000.    
    23 'norm      '    .10154E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .98594       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3559       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=   3066.222     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2954 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.018        47.165        .72941E-06    .23998E-04
   2  Prefactor     .10000E-03    52.091       -.35884E-05** at limit **
   3  Prefactor     .10000E-03    14.654        .14534E-07** at limit **
   4  Prefactor     20.567        43.735        .42609E-06   -.17457E-04
   5  Prefactor     11.858        39.430       -.36794E-05   -.12839E-03
   6  Prefactor     .90684        9.7296        .12144E-05   -.12876E-03
   7  norm          .10000E-03    5.7703        .19013E-07** at limit **
   8  Prefactor     .10002E-03    102.03        .82696E-05** at limit **
   9  Prefactor     29.674        73.547       -.93115E-05   -.21539E-03
  10  Prefactor     4.2853        16.065        .14505E-05   -.27080E-04
  11  Prefactor     .10000E-03    2.0910        .32425E-07** at limit **
  12  Prefactor     .10000E-03    124.44       -.12239E-05** at limit **
  13  norm          .10000E-03    7.9150        .51941E-07** at limit **
  14  Prefactor     6.5822        7.1618        .22879E-06    .12682E-03
  15  Prefactor     .10000E-03    33.864        .14505E-05** at limit **
  16  Prefactor     .10000E-03    5.0601        .67386E-07** at limit **
  17  Prefactor     88.281        59.688        .15760E-05    .11767E-03
  18  Prefactor     .10000E-03    62.694        .30924E-05** at limit **
  19  Prefactor     .10002E-03    130.04       -.59635E-05** at limit **
  20  Prefactor     3.5832        11.709        .75319E-05   -.50188E-03
  21  Prefactor     .10000E-03    27.362       -.55294E-06** at limit **
  22  Prefactor     68.757        38.099       -.31843E-06   -.53009E-04
  23  norm          .10000E-03    11.613       -.26506E-08** at limit **
  24  Normalizat    .98620        .34409       -.33028E-06   -.10081E-03
  25  Prefactor     1.3556        .25369       -.15000E-06   -.12811E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.0177
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 20.5673
  Prefactor  = 11.8582
  Prefactor  = 0.906836
  norm       = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 29.6742
  Prefactor  = 4.28529
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 6.58218
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 88.2811
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 3.5832
  Prefactor  = 0.0001
  Prefactor  = 68.7566
  norm       = 0.0001
  Normalizat = 0.986202
  Prefactor  = 1.35564
 **********
 **   18 **HESSE 
 **********

 FCN=   3066.222     FROM HESSE     STATUS=OK           417 CALLS     3371 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.018        47.185        .75692E-04   -1.4649    
   2  Prefactor     .10000E-03    52.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.567        43.728        .88317E-04   -1.4801    
   5  Prefactor     11.858        39.895        .11624E-03   -1.5019    
   6  Prefactor     .90684        18.552        .31330E-02   -1.5518    
   7  norm          .10000E-03    5.7881        .12972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    107.61        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.674        77.348        .73508E-04   -1.4618    
  10  Prefactor     4.2853        15.975        .19461E-03   -1.5294    
  11  Prefactor     .10000E-03    2.0938        .78183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    124.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.9255        .15215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.5822        7.1848        .14748E-03   -1.5195    
  15  Prefactor     .10000E-03    33.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.0704        .12162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     88.281        60.239        .42764E-04   -1.3826    
  18  Prefactor     .10000E-03    63.765        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10002E-03    131.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.5832        12.555        .10673E-02   -1.5329    
  21  Prefactor     .10000E-03    27.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     68.757        38.328        .48406E-04   -1.4048    
  23  norm          .10000E-03    11.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .98620        .41629        .32103E-03   -.93494    
  25  Prefactor     1.3556        .30679        .22607E-03   -.81667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68509e-09
Minuit parameter uncertainties:
  1  47.2483
  2  0.00102211
  3  7.5861e-06
  4  43.7966
  5  39.985
  6  8.20571
  7  1.5224e-06
  8  0.00270702
  9  77.6113
  10  15.9908
  11  1.37765e-06
  12  0.000594363
  13  8.58915e-06
  14  7.18572
  15  0.00033202
  16  5.81064e-06
  17  60.2809
  18  0.000182424
  19  0.0028972
  20  12.5646
  21  0.000133386
  22  38.3413
  23  5.84842e-06
  24  0.417666
  25  0.307201
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  5.944e-04  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.356e+00  3.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  9.862e-01  4.177e-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: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/209007/likelihoodResults_435024001_435283201_4FGL_J2209.8-5028_daily_bin755.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) = 3066.22227701
delta logL = -3.81052304874e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3066.22223896
delta logL = -5.16120053362e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8215       1.0000          .0000       10.000    
     3 'Normalizat'    .98620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3556       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=   3066.222     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    97.480        .90712E-02** at limit **
   2  Index         2.8116        8.0033        .50000        .82115E-06
   3  Normalizat    .98621        .73780E-02    .72557E-01    .39540E-03
   4  Prefactor     1.3556        .59958E-02    .51136E-01    .51923E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100034
  Index      = 2.81157
  Normalizat = 0.986206
  Prefactor  = 1.35564
 **********
 **   18 **HESSE 
 **********

 FCN=   3066.222     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    639.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8116        6.2641        .50000       -.45302    
   3  Normalizat    .98621        .19115E-01    .32103E-03   -.93494    
   4  Prefactor     1.3556        .15555E-01    .22607E-03   -.81667    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.18765e-09
Minuit parameter uncertainties:
  1  0.00943658
  2  624.937
  3  0.0191149
  4  0.0155555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209007': 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) = 3066.22223896
delta logL = -4.84369593323e-08

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  9.437e-03  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.812e+00  6.249e+02  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.356e+00  1.556e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  9.862e-01  1.911e-02  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/209007/cmap_HighResolution_435024001_435283201_4FGL_J2209.8-5028_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2021-09-28 06:31:17.317931', job_id='209007', GAL2='1.36', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632835877.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='-4.84e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='755' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:31:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 209007: <4FGL_J2209.8-5028_daily_bin755> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin755> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 06:20:23 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:20:24 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:20:24 2021
Terminated at Tue Sep 28 06:31:18 2021
Results reported at Tue Sep 28 06:31:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin755 332.474 -50.4702 435024001 435283201 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 :                                   531.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            655 sec.

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

