aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 59 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 = 7477
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1669
RA = 332.474, Dec = -50.4702
tmin = 671932801, tmax = 672192001
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='692186', job_status='RUN', time_executed='2022-04-21 00:36:45.392423', time_epoch_executed='1650526605.39' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692186

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692186/ft1_4FGL_J2209.8-5028_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692186/ft2_4FGL_J2209.8-5028_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692186/ft1_4FGL_J2209.8-5028_daily_bin1669.fits outfile=/scratch/kocevski/692186/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1669.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=671932801.0 tmax=672192001.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.76
user 3.51
sys 0.23

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

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

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

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

Number of photons that the gtmktime cut: 626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692186/ft1_filtered_4FGL_J2209.8-5028_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/692186/ft2_4FGL_J2209.8-5028_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/692186/ltcube_671932801_672192001_4FGL_J2209.8-5028_daily_bin1669.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/692186/ft2_4FGL_J2209.8-5028_daily_bin1669.fits
.....................!
real 12.02
user 11.68
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692186/ft1_filtered_4FGL_J2209.8-5028_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692186/ft2_4FGL_J2209.8-5028_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/692186/ltcube_671932801_672192001_4FGL_J2209.8-5028_daily_bin1669.fits outfile=/scratch/kocevski/692186/expmap_671932801_672192001_4FGL_J2209.8-5028_daily_bin1669.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/692186/ltcube_671932801_672192001_4FGL_J2209.8-5028_daily_bin1669.fits
.....................!
real 192.27
user 186.78
sys 5.13

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/692186/ft1_filtered_4FGL_J2209.8-5028_daily_bin1669.fits scfile=/scratch/kocevski/692186/ft2_4FGL_J2209.8-5028_daily_bin1669.fits outfile=/scratch/kocevski/692186/cmap_671932801_672192001_4FGL_J2209.8-5028_daily_bin1669.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692186/ft1_filtered_4FGL_J2209.8-5028_daily_bin1669.fits scfile=/scratch/kocevski/692186/ft2_4FGL_J2209.8-5028_daily_bin1669.fits outfile=/scratch/kocevski/692186/cmap_HighResolution_671932801_672192001_4FGL_J2209.8-5028_daily_bin1669.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/692186/ft1_filtered_4FGL_J2209.8-5028_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692186/ft2_4FGL_J2209.8-5028_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692186/Model_4FGL_J2209.8-5028_daily_bin1669.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/692186/ft1_filtered_4FGL_J2209.8-5028_daily_bin1669.fits.....................!
real 50.00
user 48.70
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10829E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    86.354       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7825       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8303       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0793       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .41886       1.0000         .10000E-03   10000.    
     7 'norm      '    7.6306       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.3050       1.0000         .10000E-03   10000.    
     9 'Prefactor '    83.743       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4417       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9454       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6558       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7946       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17661E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.257       1.0000         .10000E-03   10000.    
    19 'Prefactor '    83.120       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.4892       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .55545       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99639       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=   6839.821     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2997 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.399        .54396E-06** at limit **
   2  Prefactor     86.366        46.556       -.31431E-06    .19098E-03
   3  Prefactor     4.7822        5.5717        .16455E-06   -.79899E-04
   4  Prefactor     3.8278        23.652        .82970E-06   -.17442E-04
   5  Prefactor     3.0424        16.122        .94159E-06   -.14560E-04
   6  Prefactor     .42512        1.6965       -.38610E-06   -.11387E-03
   7  norm          7.6304        3.6058       -.22220E-08    .43376E-04
   8  Prefactor     7.3047        7.6499        .67588E-07    .40234E-06
   9  Prefactor     83.751        35.743       -.31622E-06    .61010E-04
  10  Prefactor     2.4393        5.5276        .71909E-06   -.11059E-03
  11  Prefactor     5.9462        3.5397        .42983E-07   -.19428E-03
  12  Prefactor     .10000E-03    34.685       -.43960E-06** at limit **
  13  norm          .10000E-03    2.0768       -.48095E-08** at limit **
  14  Prefactor     2.6561        2.7136        .74498E-06   -.14669E-04
  15  Prefactor     .10000E-03    11.396        .53812E-07** at limit **
  16  Prefactor     4.7945        4.1589        .24769E-07    .47428E-04
  17  Prefactor     .10000E-03    22.063       -.17759E-06** at limit **
  18  Prefactor     12.249        10.664        .69300E-06    .67960E-04
  19  Prefactor     83.117        76.452        .99651E-08   -.11117E-04
  20  Prefactor     3.4882        6.2430        .32079E-05   -.11590E-04
  21  Prefactor     .10000E-03    10.005       -.29435E-07** at limit **
  22  Prefactor     .10000E-03    3.2120       -.14395E-07** at limit **
  23  norm          .10000E-03    1.8162       -.20234E-08** at limit **
  24  Normalizat    .55530        .15273       -.12394E-05   -.83378E-04
  25  Prefactor     .99654        .12061       -.23616E-06   -.23593E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 86.3662
  Prefactor  = 4.78221
  Prefactor  = 3.82778
  Prefactor  = 3.04238
  Prefactor  = 0.425119
  norm       = 7.6304
  Prefactor  = 7.30473
  Prefactor  = 83.7506
  Prefactor  = 2.43932
  Prefactor  = 5.94617
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.65614
  Prefactor  = 0.0001
  Prefactor  = 4.79451
  Prefactor  = 0.0001
  Prefactor  = 12.249
  Prefactor  = 83.1165
  Prefactor  = 3.48824
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.555296
  Prefactor  = 0.996536
 **********
 **   18 **HESSE 
 **********

 FCN=   6839.821     FROM HESSE     STATUS=OK           429 CALLS     3426 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     86.366        46.818        .43233E-04   -1.3847    
   3  Prefactor     4.7822        5.5484        .18397E-03   -1.5271    
   4  Prefactor     3.8278        23.451        .20622E-03   -1.5317    
   5  Prefactor     3.0424        16.094        .23114E-03   -1.5359    
   6  Prefactor     .42512        5.2978        .20165E-02   -1.5578    
   7  norm          7.6304        3.5953        .10149E-03   -1.5155    
   8  Prefactor     7.3047        7.6449        .14840E-03   -1.5167    
   9  Prefactor     83.751        35.757        .43895E-04   -1.3875    
  10  Prefactor     2.4393        5.5093        .26183E-03   -1.5396    
  11  Prefactor     5.9462        3.5358        .11416E-03   -1.5220    
  12  Prefactor     .10000E-03    34.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.0782        .11639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6561        2.7052        .65398E-03   -1.5382    
  15  Prefactor     .10000E-03    11.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.7945        4.1575        .14973E-03   -1.5270    
  17  Prefactor     .10000E-03    22.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.249        10.675        .57210E-03   -1.5008    
  19  Prefactor     83.117        76.451        .44058E-04   -1.3882    
  20  Prefactor     3.4882        6.2603        .10823E-02   -1.5334    
  21  Prefactor     .10000E-03    10.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.2157        .14476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.8164        .10885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .55530        .17454        .29225E-03   -1.0992    
  25  Prefactor     .99654        .13987        .18579E-03   -.92845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72883e-08
Minuit parameter uncertainties:
  1  1.89987e-06
  2  46.8381
  3  5.549
  4  18.9596
  5  14.0006
  6  3.00144
  7  3.59544
  8  7.64593
  9  35.7657
  10  5.5104
  11  3.53591
  12  0.000144117
  13  3.67076e-06
  14  2.70536
  15  3.51261e-05
  16  4.15776
  17  0.000100638
  18  10.6766
  19  76.5412
  20  6.26144
  21  1.51568e-05
  22  4.48146e-06
  23  4.29682e-07
  24  0.174713
  25  0.139923
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.441e-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.965e-01  1.399e-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:  5.553e-01  1.747e-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: 4.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/692186/likelihoodResults_671932801_672192001_4FGL_J2209.8-5028_daily_bin1669.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) = 6839.82109301
delta logL = -0.000137150537739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6839.82095872
delta logL = -2.85656915366e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14405E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1242       1.0000          .0000       10.000    
     3 'Normalizat'    .55529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99654       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=   6839.821     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      242 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    203.53        .90712E-02** at limit **
   2  Index         3.0953        7.5759        .50000        .15953E-04
   3  Normalizat    .55530        .12837E-01    .66037E-01    .98984E-04
   4  Prefactor     .99654        .10775E-01    .46224E-01    .65702E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Index      = 3.09531
  Normalizat = 0.555296
  Prefactor  = 0.996537
 **********
 **   18 **HESSE 
 **********

 FCN=   6839.821     FROM HESSE     STATUS=OK            31 CALLS      273 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    17.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0953        6.5082        .50000       -.39081    
   3  Normalizat    .55530        .16233        .29225E-03   -1.0992    
   4  Prefactor     .99654        .13656        .18579E-03   -.92845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.42019e-10
Minuit parameter uncertainties:
  1  0.000726234
  2  4.63283
  3  0.162467
  4  0.136611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692186': 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) = 6839.8209573
delta logL = -1.44146270031e-06

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  7.262e-04  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  3.095e+00  4.633e+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:  9.965e-01  1.366e-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:  5.553e-01  1.625e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/692186/cmap_HighResolution_671932801_672192001_4FGL_J2209.8-5028_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-03', job_status='DONE', photon_flux_upper_limit='4.85e-08', time_completed='2022-04-21 00:49:36.398514', job_id='692186', GAL2='1.00', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1650527376.4', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-1.44e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1669' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:49:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 692186: <4FGL_J2209.8-5028_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1669> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Apr 21 00:35:36 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:35:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:35:37 2022
Terminated at Thu Apr 21 00:49:37 2022
Results reported at Thu Apr 21 00:49:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1669 332.474 -50.4702 671932801 672192001 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 :                                   772.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

