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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1474
RA = 332.474, Dec = -50.4702
tmin = 621388801, tmax = 621648001
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='211852', job_status='RUN', time_executed='2021-09-28 06:31:49.898650', time_epoch_executed='1632835909.9' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1474'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/211852

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/211852/ft1_4FGL_J2209.8-5028_daily_bin1474.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/211852/ft2_4FGL_J2209.8-5028_daily_bin1474.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/211852/ft1_4FGL_J2209.8-5028_daily_bin1474.fits outfile=/scratch/kocevski/211852/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1474.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=621388801.0 tmax=621648001.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.33
user 3.10
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/211852/ft2_4FGL_J2209.8-5028_daily_bin1474.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/211852/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1474.fits evtable="EVENTS" outfile="/scratch/kocevski/211852/ft1_filtered_4FGL_J2209.8-5028_daily_bin1474.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.52
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/211852/ft1_filtered_4FGL_J2209.8-5028_daily_bin1474.fits" evtable="EVENTS" scfile=/scratch/kocevski/211852/ft2_4FGL_J2209.8-5028_daily_bin1474.fits sctable="SC_DATA" outfile=/scratch/kocevski/211852/ltcube_621388801_621648001_4FGL_J2209.8-5028_daily_bin1474.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/211852/ft2_4FGL_J2209.8-5028_daily_bin1474.fits
.....................!
real 17.14
user 16.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/211852/ft1_filtered_4FGL_J2209.8-5028_daily_bin1474.fits evtable="EVENTS" scfile=/scratch/kocevski/211852/ft2_4FGL_J2209.8-5028_daily_bin1474.fits sctable="SC_DATA" expcube=/scratch/kocevski/211852/ltcube_621388801_621648001_4FGL_J2209.8-5028_daily_bin1474.fits outfile=/scratch/kocevski/211852/expmap_621388801_621648001_4FGL_J2209.8-5028_daily_bin1474.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/211852/ltcube_621388801_621648001_4FGL_J2209.8-5028_daily_bin1474.fits
.....................!
real 193.81
user 188.50
sys 4.95

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/211852/ft1_filtered_4FGL_J2209.8-5028_daily_bin1474.fits scfile=/scratch/kocevski/211852/ft2_4FGL_J2209.8-5028_daily_bin1474.fits outfile=/scratch/kocevski/211852/cmap_621388801_621648001_4FGL_J2209.8-5028_daily_bin1474.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/211852/ft1_filtered_4FGL_J2209.8-5028_daily_bin1474.fits scfile=/scratch/kocevski/211852/ft2_4FGL_J2209.8-5028_daily_bin1474.fits outfile=/scratch/kocevski/211852/cmap_HighResolution_621388801_621648001_4FGL_J2209.8-5028_daily_bin1474.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.60
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/211852/ft1_filtered_4FGL_J2209.8-5028_daily_bin1474.fits evtable="EVENTS" scfile=/scratch/kocevski/211852/ft2_4FGL_J2209.8-5028_daily_bin1474.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/211852/Model_4FGL_J2209.8-5028_daily_bin1474.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/211852/ft1_filtered_4FGL_J2209.8-5028_daily_bin1474.fits.........................!
real 20.63
user 19.21
sys 1.37

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    92.480       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.8208       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8610       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2508       1.0000         .10000E-03   10000.    
     7 'norm      '    5.5278       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12255E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7237       1.0000         .10000E-03   10000.    
    12 'Prefactor '    166.45       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.461       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .84661E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10790E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11445E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    71.897       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3205       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=   1118.495     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2870 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.454        35.044       -.15834E-06    .70122E-04
   2  Prefactor     92.443        121.84       -.19324E-06    .52556E-04
   3  Prefactor     8.8206        12.080       -.19236E-06    .11302E-03
   4  Prefactor     8.7538        92.388        .22798E-05    .31885E-05
   5  Prefactor     .10000E-03    26.270        .37312E-07** at limit **
   6  Prefactor     4.2482        11.909        .29160E-06    .12793E-03
   7  norm          5.5181        16.428       -.49747E-06    .10274E-03
   8  Prefactor     .10000E-03    193.59       -.50988E-06** at limit **
   9  Prefactor     .10000E-03    62.087       -.94436E-07** at limit **
  10  Prefactor     .10000E-03    9.5719       -.20278E-06** at limit **
  11  Prefactor     1.7131        11.731        .40756E-06    .51986E-04
  12  Prefactor     166.38        298.26       -.43866E-06    .22040E-04
  13  norm          .10000E-03    15.745       -.93241E-07** at limit **
  14  Prefactor     35.455        18.775        .16333E-06    .18281E-03
  15  Prefactor     .10000E-03    175.71        .60689E-06** at limit **
  16  Prefactor     .10000E-03    8.5980       -.30318E-06** at limit **
  17  Prefactor     .10002E-03    246.39       -.70317E-05** at limit **
  18  Prefactor     .10000E-03    25.003       -.93021E-06** at limit **
  19  Prefactor     .10000E-03    277.47       -.16354E-05** at limit **
  20  Prefactor     .10000E-03    9.4526       -.14991E-07** at limit **
  21  Prefactor     71.731        135.09       -.34025E-06    .95351E-05
  22  Prefactor     .10000E-03    24.709       -.40473E-06** at limit **
  23  norm          .10000E-03    14.021       -.50136E-07** at limit **
  24  Normalizat    .10000E-01    .13389       -.17627E-04** at limit **
  25  Prefactor     1.3210        .19414        .33471E-05    .31322E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.4535
  Prefactor  = 92.4435
  Prefactor  = 8.82062
  Prefactor  = 8.7538
  Prefactor  = 0.0001
  Prefactor  = 4.24818
  norm       = 5.51814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.71309
  Prefactor  = 166.378
  norm       = 0.0001
  Prefactor  = 35.4554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.7308
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.32099
 **********
 **   18 **HESSE 
 **********

 FCN=   1118.495     FROM HESSE     STATUS=OK           417 CALLS     3287 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.454        35.073        .86446E-04   -1.4781    
   2  Prefactor     92.443        122.01        .20894E-03   -1.3782    
   3  Prefactor     8.8206        12.062        .12968E-03   -1.5114    
   4  Prefactor     8.7538        91.880        .13465E-03   -1.5116    
   5  Prefactor     .10000E-03    26.274        .16750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2482        11.916        .17984E-03   -1.5296    
   7  norm          5.5181        16.281        .17089E-03   -1.5238    
   8  Prefactor     .10000E-03    195.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    62.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.5726        .10106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7131        11.589        .21550E-03   -1.5446    
  12  Prefactor     166.38        297.40        .15633E-03   -1.3121    
  13  norm          .10000E-03    15.746        .12965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.455        18.827        .67297E-04   -1.4516    
  15  Prefactor     .10000E-03    175.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.5991        .95765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    247.04        .20868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    25.003        .16318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    277.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.4530        .10045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     71.731        134.94        .23673E-03   -1.4012    
  22  Prefactor     .10000E-03    24.710        .16240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    14.021        .12235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .16255        .74444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.3210        .20665        .16714E-03   -.82685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0984e-10
Minuit parameter uncertainties:
  1  35.1065
  2  122.34
  3  12.065
  4  56.8323
  5  4.78652e-05
  6  11.9229
  7  16.2943
  8  0.000236852
  9  6.8917e-05
  10  1.96599e-05
  11  8.91348
  12  300.145
  13  1.42149e-05
  14  18.8306
  15  0.000337257
  16  3.10291e-05
  17  0.00443279
  18  0.000156442
  19  0.000621023
  20  4.66701e-07
  21  135.526
  22  3.44668e-05
  23  4.37559e-06
  24  3.34263e-06
  25  0.206775
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.664e+02  3.001e+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:  1.321e+00  2.068e-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  3.343e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.44
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 3.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.77e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/211852/likelihoodResults_621388801_621648001_4FGL_J2209.8-5028_daily_bin1474.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) = 1118.24309777
delta logL = 0.251695895751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1117.85674851
delta logL = 0.638045152928

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    740.22       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4550       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3039       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=   1117.857     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      221 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     738.76        758.96       -.13658E-03    .49798E-05
   2  Index         1.4546        .55720       -.13835E-03    .95880E-05
   3  Normalizat    .10000E-01    .15224        .86408E-06** at limit **
   4  Prefactor     1.3042        .18805        .64172E-05    .24935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 738.762
  Index      = 1.45457
  Normalizat = 0.01
  Prefactor  = 1.30418
 **********
 **   18 **HESSE 
 **********

 FCN=   1117.857     FROM HESSE     STATUS=OK            29 CALLS      250 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     738.76        756.79        .76392E-04   -1.0203    
   2  Index         1.4546        .55552        .48448E-02   -.78820    
   3  Normalizat    .10000E-01    .16605        .74795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3042        .17433        .16747E-03   -.83183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27388e-10
Minuit parameter uncertainties:
  1  767.769
  2  0.557843
  3  2.73493e-06
  4  0.174408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/211852': 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): 0
logL (Free Index) = 1117.85674366
delta logL = 0.63805000794

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  7.388e+02  7.678e+02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  1.455e+00  5.578e-01  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.304e+00  1.744e-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  2.735e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.72
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 1.45 +/- 0.56
Photon Flux (Free Index): 6.87e-08 +/- 7.97e-08
Energy Flux (Free Index): 2.53e-04 +/- 4.28e-04

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/211852/cmap_HighResolution_621388801_621648001_4FGL_J2209.8-5028_daily_bin1474.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-02', comment='SUCCESS', energy_flux2='2.53e-04', dlogl='6.38e-01', photon_flux2='6.87e-08', job_status='DONE', time_completed='2021-09-28 06:38:49.876961', photon_index_error2='0.56', photon_index2='1.45', ts='0.44', fit_tolerance='1e-08', GAL='1.32', photon_index_error='0.00', photon_flux_upper_limit='3.59e-07', energy_flux_error2='4.28e-04', EG='0.01', time_epoch_completed='1632836329.88', return_code='0', job_id='211852', GAL2='1.30', EG2='0.01', return_code2='0', photon_flux_error2='7.97e-08', ts2='1.72', photon_index='2.37' WHERE bin_id='1474' 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@bullet0149>
Subject: Job 211852: <4FGL_J2209.8-5028_daily_bin1474> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1474 332.474 -50.4702 621388801 621648001 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 :                                   403.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             364.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   496 sec.
    Turnaround time :                            497 sec.

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

