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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1044
RA = 332.474, Dec = -50.4702
tmin = 509932801, tmax = 510192001
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='210647', job_status='RUN', time_executed='2021-09-28 06:28:35.480892', time_epoch_executed='1632835715.48' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1044'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210647/ft1_4FGL_J2209.8-5028_daily_bin1044.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210647/ft2_4FGL_J2209.8-5028_daily_bin1044.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210647/ft1_4FGL_J2209.8-5028_daily_bin1044.fits outfile=/scratch/kocevski/210647/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1044.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=509932801.0 tmax=510192001.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.55
user 3.33
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210647/ft1_filtered_4FGL_J2209.8-5028_daily_bin1044.fits" evtable="EVENTS" scfile=/scratch/kocevski/210647/ft2_4FGL_J2209.8-5028_daily_bin1044.fits sctable="SC_DATA" outfile=/scratch/kocevski/210647/ltcube_509932801_510192001_4FGL_J2209.8-5028_daily_bin1044.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/210647/ft2_4FGL_J2209.8-5028_daily_bin1044.fits
.....................!
real 12.25
user 11.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210647/ft1_filtered_4FGL_J2209.8-5028_daily_bin1044.fits evtable="EVENTS" scfile=/scratch/kocevski/210647/ft2_4FGL_J2209.8-5028_daily_bin1044.fits sctable="SC_DATA" expcube=/scratch/kocevski/210647/ltcube_509932801_510192001_4FGL_J2209.8-5028_daily_bin1044.fits outfile=/scratch/kocevski/210647/expmap_509932801_510192001_4FGL_J2209.8-5028_daily_bin1044.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/210647/ltcube_509932801_510192001_4FGL_J2209.8-5028_daily_bin1044.fits
.....................!
real 190.88
user 185.78
sys 4.73

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/210647/ft1_filtered_4FGL_J2209.8-5028_daily_bin1044.fits scfile=/scratch/kocevski/210647/ft2_4FGL_J2209.8-5028_daily_bin1044.fits outfile=/scratch/kocevski/210647/cmap_509932801_510192001_4FGL_J2209.8-5028_daily_bin1044.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/210647/ft1_filtered_4FGL_J2209.8-5028_daily_bin1044.fits scfile=/scratch/kocevski/210647/ft2_4FGL_J2209.8-5028_daily_bin1044.fits outfile=/scratch/kocevski/210647/cmap_HighResolution_509932801_510192001_4FGL_J2209.8-5028_daily_bin1044.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.963       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.963       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.790       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2075       1.0000         .10000E-03   10000.    
     7 'norm      '    4.3477       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16127       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9928       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27658E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.7598       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8045       1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.766       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .63644       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.451       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .80733       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96831       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=   5090.584     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2974 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.979        30.566       -.29565E-05   -.23138E-04
   2  Prefactor     .10000E-03    26.038        .94089E-05** at limit **
   3  Prefactor     16.963        9.7426        .30592E-06   -.88617E-05
   4  Prefactor     10.781        34.704       -.12006E-04   -.77986E-04
   5  Prefactor     3.8178        15.878       -.15532E-06   -.16664E-04
   6  Prefactor     4.2079        5.0457       -.48706E-06   -.11336E-03
   7  norm          4.3444        5.4298        .24013E-07   -.17215E-03
   8  Prefactor     .23574        16.899        .15488E-05   -.10219E-03
   9  Prefactor     .10000E-03    25.397       -.88240E-05** at limit **
  10  Prefactor     .10000E-03    6.5503        .58820E-07** at limit **
  11  Prefactor     3.9943        5.3725       -.66275E-06   -.21761E-03
  12  Prefactor     .10000E-03    382.08        .17729E-04** at limit **
  13  norm          1.7591        2.1739        .86127E-06   -.27637E-02
  14  Prefactor     .10000E-03    3.0927       -.12908E-07** at limit **
  15  Prefactor     .10000E-03    17.894        .11539E-06** at limit **
  16  Prefactor     5.8050        6.1649        .23207E-06   -.15069E-03
  17  Prefactor     34.787        37.102       -.14992E-05   -.23827E-03
  18  Prefactor     .62449        18.148        .15904E-05   -.22791E-03
  19  Prefactor     .10000E-03    54.175       -.15883E-04** at limit **
  20  Prefactor     .10000E-03    3.4020       -.53398E-07** at limit **
  21  Prefactor     .10000E-03    57.898        .15692E-04** at limit **
  22  Prefactor     16.453        13.371       -.64359E-07   -.29399E-04
  23  norm          .10000E-03    2.5085       -.60071E-07** at limit **
  24  Normalizat    .80728        .19751        .88015E-06   -.19480E-03
  25  Prefactor     .96829        .15201        .42259E-06   -.22726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9793
  Prefactor  = 0.0001
  Prefactor  = 16.9631
  Prefactor  = 10.7812
  Prefactor  = 3.81775
  Prefactor  = 4.20787
  norm       = 4.3444
  Prefactor  = 0.235744
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.99427
  Prefactor  = 0.0001
  norm       = 1.75911
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.805
  Prefactor  = 34.7866
  Prefactor  = 0.624489
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 16.4527
  norm       = 0.0001
  Normalizat = 0.807283
  Prefactor  = 0.968287
 **********
 **   18 **HESSE 
 **********

 FCN=   5090.584     FROM HESSE     STATUS=OK           437 CALLS     3411 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.979        30.576        .12100E-03   -1.5045    
   2  Prefactor     .10000E-03    26.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.963        9.7344        .97244E-04   -1.4884    
   4  Prefactor     10.781        34.665        .12197E-03   -1.5051    
   5  Prefactor     3.8178        15.880        .20660E-03   -1.5317    
   6  Prefactor     4.2079        5.0362        .16575E-03   -1.5298    
   7  norm          4.3444        5.4103        .16835E-03   -1.5291    
   8  Prefactor     .23574        22.336        .81434E-01   -1.5611    
   9  Prefactor     .10000E-03    25.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.6035        .17823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.9943        5.3681        .17584E-03   -1.5308    
  12  Prefactor     .10000E-03    388.16        .21424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.7591        5.1962        .13675E-02   -1.5443    
  14  Prefactor     .10000E-03    3.2066        .24482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8050        6.1730        .16670E-03   -1.5226    
  17  Prefactor     34.787        37.023        .67965E-04   -1.4528    
  18  Prefactor     .62449        86.084        .44523E-02   -1.5550    
  19  Prefactor     .10000E-03    54.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.4207        .12852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    58.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.453        13.386        .98746E-04   -1.4897    
  23  norm          .10000E-03    2.5089        .11036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .80728        .22885        .27043E-03   -.99799    
  25  Prefactor     .96829        .17780        .20200E-03   -.93794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22079e-08
Minuit parameter uncertainties:
  1  30.6197
  2  0.000206508
  3  9.73533
  4  34.7301
  5  15.5793
  6  5.03672
  7  5.41089
  8  4.59015
  9  0.000185968
  10  4.75446e-07
  11  5.36875
  12  0.000838819
  13  5.19754
  14  8.9159e-06
  15  3.56604e-06
  16  6.17365
  17  37.0471
  18  14.6845
  19  0.000512663
  20  3.44583e-06
  21  0.000380584
  22  13.3888
  23  6.64151e-07
  24  0.229121
  25  0.17791
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  8.388e-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:  9.683e-01  1.779e-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:  8.073e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/210647/likelihoodResults_509932801_510192001_4FGL_J2209.8-5028_daily_bin1044.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) = 5090.58404454
delta logL = -1.21232114907e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5090.58404454
delta logL = -1.2123065062e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96365E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3719       1.0000          .0000       10.000    
     3 'Normalizat'    .80728       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96829       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=   5090.584     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      199 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    188.18        .90712E-02** at limit **
   2  Index         2.3865        6.9658        .50000       -.20884E-06
   3  Normalizat    .80728        .32689E-02    .43705E-01   -.67550E-05
   4  Prefactor     .96829        .26673E-02    .45870E-01    .21456E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.38647
  Normalizat = 0.807283
  Prefactor  = 0.968288
 **********
 **   18 **HESSE 
 **********

 FCN=   5090.584     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      232 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    954.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3865        5.5031        .50000       -.55002    
   3  Normalizat    .80728        .74201E-02    .27043E-03   -.99799    
   4  Prefactor     .96829        .60558E-02    .20200E-03   -.93794    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7107e-10
Minuit parameter uncertainties:
  1  0.00111893
  2  295.713
  3  0.00742014
  4  0.00605581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210647': 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) = 5090.58403241
delta logL = 9.77706804406e-10

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.119e-03  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.386e+00  2.957e+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:  9.683e-01  6.056e-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:  8.073e-01  7.420e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/210647/cmap_HighResolution_509932801_510192001_4FGL_J2209.8-5028_daily_bin1044.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.26e-03', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2021-09-28 06:39:41.966669', job_id='210647', GAL2='0.97', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1632836381.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='9.78e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1044' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:39:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 210647: <4FGL_J2209.8-5028_daily_bin1044> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1044> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:25:30 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:25: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:25:32 2021
Terminated at Tue Sep 28 06:39:42 2021
Results reported at Tue Sep 28 06:39:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1044 332.474 -50.4702 509932801 510192001 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 :                                   642.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            852 sec.

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

