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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1111
RA = 332.474, Dec = -50.4702
tmin = 527299201, tmax = 527558401
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='210747', job_status='RUN', time_executed='2021-09-28 06:27:16.140785', time_epoch_executed='1632835636.14' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210747

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210747/ft1_4FGL_J2209.8-5028_daily_bin1111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210747/ft2_4FGL_J2209.8-5028_daily_bin1111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210747/ft1_4FGL_J2209.8-5028_daily_bin1111.fits outfile=/scratch/kocevski/210747/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1111.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=527299201.0 tmax=527558401.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 4.84
user 4.59
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210747/ft1_filtered_4FGL_J2209.8-5028_daily_bin1111.fits" evtable="EVENTS" scfile=/scratch/kocevski/210747/ft2_4FGL_J2209.8-5028_daily_bin1111.fits sctable="SC_DATA" outfile=/scratch/kocevski/210747/ltcube_527299201_527558401_4FGL_J2209.8-5028_daily_bin1111.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/210747/ft2_4FGL_J2209.8-5028_daily_bin1111.fits
.....................!
real 11.69
user 11.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210747/ft1_filtered_4FGL_J2209.8-5028_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/210747/ft2_4FGL_J2209.8-5028_daily_bin1111.fits sctable="SC_DATA" expcube=/scratch/kocevski/210747/ltcube_527299201_527558401_4FGL_J2209.8-5028_daily_bin1111.fits outfile=/scratch/kocevski/210747/expmap_527299201_527558401_4FGL_J2209.8-5028_daily_bin1111.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/210747/ltcube_527299201_527558401_4FGL_J2209.8-5028_daily_bin1111.fits
.....................!
real 189.94
user 185.26
sys 4.33

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/210747/ft1_filtered_4FGL_J2209.8-5028_daily_bin1111.fits scfile=/scratch/kocevski/210747/ft2_4FGL_J2209.8-5028_daily_bin1111.fits outfile=/scratch/kocevski/210747/cmap_527299201_527558401_4FGL_J2209.8-5028_daily_bin1111.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.63
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/210747/ft1_filtered_4FGL_J2209.8-5028_daily_bin1111.fits scfile=/scratch/kocevski/210747/ft2_4FGL_J2209.8-5028_daily_bin1111.fits outfile=/scratch/kocevski/210747/cmap_HighResolution_527299201_527558401_4FGL_J2209.8-5028_daily_bin1111.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/210747/ft1_filtered_4FGL_J2209.8-5028_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/210747/ft2_4FGL_J2209.8-5028_daily_bin1111.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210747/Model_4FGL_J2209.8-5028_daily_bin1111.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/210747/ft1_filtered_4FGL_J2209.8-5028_daily_bin1111.fits.....................!
real 40.85
user 39.55
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.780       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.401       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0187       1.0000         .10000E-03   10000.    
     7 'norm      '    13.725       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.357       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5123       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.546       1.0000         .10000E-03   10000.    
    13 'norm      '    5.3647       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0825       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.491       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .62586       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    39.192       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    8.7603       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0131       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84943       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=   4597.418     FROM MIGRAD    STATUS=CONVERGED    599 CALLS     3312 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.212       -.67891E-06** at limit **
   2  Prefactor     .10000E-03    25.101       -.68264E-07** at limit **
   3  Prefactor     14.777        10.714       -.24052E-07    .58316E-03
   4  Prefactor     .10000E-03    35.339       -.21132E-05** at limit **
   5  Prefactor     36.385        37.469       -.51162E-06    .19032E-03
   6  Prefactor     1.0200        5.5331       -.69420E-05    .41986E-03
   7  norm          13.724        5.9266       -.41194E-06    .31911E-03
   8  Prefactor     .10000E-03    9.6328       -.39151E-06** at limit **
   9  Prefactor     15.351        30.371       -.33895E-05    .66423E-04
  10  Prefactor     4.5423        13.332        .68297E-05    .81073E-04
  11  Prefactor     .10000E-03    1.8282        .46916E-06** at limit **
  12  Prefactor     39.229        216.64       -.10304E-04    .11422E-03
  13  norm          5.3737        9.3436        .98653E-06    .18275E-03
  14  Prefactor     .10000E-03    4.0465       -.70859E-06** at limit **
  15  Prefactor     1.1665        297.70       -.10672E-03    .31847E-04
  16  Prefactor     .10000E-03    4.4490       -.52355E-06** at limit **
  17  Prefactor     20.700        43.728        .92470E-05    .24424E-03
  18  Prefactor     .49020        12.551       -.36007E-05    .52331E-04
  19  Prefactor     .10000E-03    48.739        .15811E-05** at limit **
  20  Prefactor     .10000E-03    8.1353       -.55748E-06** at limit **
  21  Prefactor     39.209        55.483       -.26686E-06    .50100E-04
  22  Prefactor     .10000E-03    8.0066       -.20819E-06** at limit **
  23  norm          8.7614        10.098       -.40766E-07   -.25375E-05
  24  Normalizat    1.0134        .22633        .24971E-05    .89708E-03
  25  Prefactor     .84924        .16145        .24981E-05    .97154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.7769
  Prefactor  = 0.0001
  Prefactor  = 36.3848
  Prefactor  = 1.02001
  norm       = 13.7243
  Prefactor  = 0.0001
  Prefactor  = 15.3512
  Prefactor  = 4.54231
  Prefactor  = 0.0001
  Prefactor  = 39.2293
  norm       = 5.37368
  Prefactor  = 0.0001
  Prefactor  = 1.16648
  Prefactor  = 0.0001
  Prefactor  = 20.7001
  Prefactor  = 0.490201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.2088
  Prefactor  = 0.0001
  norm       = 8.76139
  Normalizat = 1.0134
  Prefactor  = 0.849237
 **********
 **   18 **HESSE 
 **********

 FCN=   4597.418     FROM HESSE     STATUS=OK           425 CALLS     3737 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.777        10.698        .10418E-03   -1.4939    
   4  Prefactor     .10000E-03    35.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.385        37.429        .66426E-04   -1.4501    
   6  Prefactor     1.0200        5.5388        .29476E-03   -1.5506    
   7  norm          13.724        5.9253        .10385E-03   -1.4967    
   8  Prefactor     .10000E-03    9.6665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.351        30.322        .10220E-03   -1.4924    
  10  Prefactor     4.5423        13.087        .18953E-03   -1.5282    
  11  Prefactor     .10000E-03    1.8287        .89353E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.229        213.04        .31869E-03   -1.4454    
  13  norm          5.3737        9.3367        .17351E-03   -1.5244    
  14  Prefactor     .10000E-03    4.1377        .13314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1665        293.57        .83526E-02   -1.5492    
  16  Prefactor     .10000E-03    4.4799        .13969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.700        45.778        .88483E-04   -1.4798    
  18  Prefactor     .49020        144.78        .41545E-02   -1.5568    
  19  Prefactor     .10000E-03    48.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.1933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     39.209        55.486        .64025E-04   -1.4455    
  22  Prefactor     .10000E-03    8.0096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          8.7614        10.098        .13543E-03   -1.5116    
  24  Normalizat    1.0134        .26051        .27132E-03   -.92583    
  25  Prefactor     .84924        .18593        .21748E-03   -.97938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87817e-09
Minuit parameter uncertainties:
  1  3.23728e-05
  2  8.61868e-05
  3  10.6995
  4  6.21626e-05
  5  37.4532
  6  4.75425
  7  5.92556
  8  2.05674e-05
  9  30.3528
  10  13.0955
  11  4.8689e-05
  12  183.861
  13  9.33925
  14  5.96686e-05
  15  37.1944
  16  7.23541e-05
  17  45.8555
  18  16.8883
  19  0.000168708
  20  4.33711e-05
  21  55.5587
  22  1.08216e-05
  23  10.1002
  24  0.260837
  25  0.186065
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.923e+01  1.839e+02  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:  8.492e-01  1.861e-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.013e+00  2.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/210747/likelihoodResults_527299201_527558401_4FGL_J2209.8-5028_daily_bin1111.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4597.15024107
delta logL = 0.267789930183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4597.14080688
delta logL = 0.277224112298

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.137       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4196       1.0000          .0000       10.000    
     3 'Normalizat'    .97173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86617       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=   4597.141     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      267 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.137        856.66        .23512E-02    .18516E-03
   2  Index         3.4212        6.6830        .10840        .10648E-03
   3  Normalizat    .97162        .76958E-01    .45812E-01    .54123E-04
   4  Prefactor     .86602        .53667E-01    .44572E-01    .13925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1368
  Index      = 3.42121
  Normalizat = 0.971621
  Prefactor  = 0.866018
 **********
 **   18 **HESSE 
 **********

 FCN=   4597.141     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.137        1462.5        .94046E-04   -1.4856    
   2  Index         3.4212        6.3144        .67067E-02   -.32126    
   3  Normalizat    .97162        .26021        .27621E-03   -.93987    
   4  Prefactor     .86602        .19184        .21548E-03   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.16152e-07
Minuit parameter uncertainties:
  1  334.583
  2  8.6355
  3  0.260545
  4  0.191992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210747': 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) = 4597.1408017
delta logL = 0.277229290355

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.814e+01  3.346e+02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  3.421e+00  8.635e+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:  8.660e-01  1.920e-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.716e-01  2.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/210747/cmap_HighResolution_527299201_527558401_4FGL_J2209.8-5028_daily_bin1111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.93e-03', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-09-28 06:39:42.482950', job_id='210747', GAL2='0.87', fit_tolerance='1e-08', EG2='0.97', EG='1.01', time_epoch_completed='1632836382.48', return_code2='102', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.77e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1111' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:39:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 210747: <4FGL_J2209.8-5028_daily_bin1111> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1111 332.474 -50.4702 527299201 527558401 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 :                                   622.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            844 sec.

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

