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 88 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1774
RA = 332.474, Dec = -50.4702
tmin = 699148801, tmax = 699408001
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='697882', job_status='RUN', time_executed='2023-03-02 01:41:56.431849', time_epoch_executed='1677750116.43' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697882

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697882/ft1_4FGL_J2209.8-5028_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697882/ft1_4FGL_J2209.8-5028_daily_bin1774.fits outfile=/scratch/kocevski/697882/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1774.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.95
user 2.63
sys 0.17

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

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

Number of photons that the gtmktime cut: 89

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697882/ft1_filtered_4FGL_J2209.8-5028_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/697882/ltcube_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.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/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits
.....................!
real 13.95
user 13.60
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697882/ft1_filtered_4FGL_J2209.8-5028_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/697882/ltcube_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.fits outfile=/scratch/kocevski/697882/expmap_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.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/697882/ltcube_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.fits
.....................!
real 190.84
user 185.95
sys 4.51

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/697882/ft1_filtered_4FGL_J2209.8-5028_daily_bin1774.fits scfile=/scratch/kocevski/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits outfile=/scratch/kocevski/697882/cmap_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697882/ft1_filtered_4FGL_J2209.8-5028_daily_bin1774.fits scfile=/scratch/kocevski/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits outfile=/scratch/kocevski/697882/cmap_HighResolution_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/697882/ft1_filtered_4FGL_J2209.8-5028_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/697882/Model_4FGL_J2209.8-5028_daily_bin1774.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/697882/ft1_filtered_4FGL_J2209.8-5028_daily_bin1774.fits.......................!
real 18.51
user 17.24
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/697882/ft1_filtered_4FGL_J2209.8-5028_daily_bin1774.fits', '/scratch/kocevski/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits', expMap='/scratch/kocevski/697882/expmap_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.fits', expCube='/scratch/kocevski/697882/ltcube_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/697882/Model_4FGL_J2209.8-5028_daily_bin1774.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  0.000e+00  1.000e+06 ( 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/697882/ft1_filtered_4FGL_J2209.8-5028_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/697882/ft2_4FGL_J2209.8-5028_daily_bin1774.fits
Exposure map: /scratch/kocevski/697882/expmap_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.fits
Exposure cube: /scratch/kocevski/697882/ltcube_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/697882/Model_4FGL_J2209.8-5028_daily_bin1774.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) = 972.714685019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10628E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26617E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14273E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13910E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    6516.6       1.0000          .0000       .10000E+07
     6 'norm      '    .59835E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .25477E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .57454E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13139E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .29809E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .36119E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .20858E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11961E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    142.34       1.0000          .0000       .10000E+07
    15 'Prefactor '    13.302       1.0000          .0000       .10000E+07
    16 'Prefactor '    24.712       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.737       1.0000          .0000       .10000E+07
    18 'Prefactor '    .28533E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .18124E-06   1.0000          .0000       .10000E+07
    20 'norm      '    .56760E-06   1.0000          .0000       .10000E+07
    21 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2231       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   972.6741     FROM MIGRAD    STATUS=CONVERGED    204 CALLS     2697 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    14.606        .37337E-07** at limit **
   2  Prefactor     .38858E-09    29.364       -.58729E-06** at limit **
   3  Prefactor     .57568E-03    284.43        .22980E-04** at limit **
   4  Prefactor     .52076E-03    241.61        .17752E-04** at limit **
   5  Prefactor     6516.6        1.7239       -.25502E-07    .25091E-01
   6  norm          .10222E-04    273.19       -.36428E-04** at limit **
   7  Prefactor     .52823E-04    1941.3       -.98335E-04** at limit **
   8  Prefactor     .65881E-06    190.78        .20474E-04** at limit **
   9  Prefactor     .11102E-09    20.794        .10856E-05** at limit **
  10  Prefactor      .0000        3.7227       -.52455E-08** at limit **
  11  Prefactor     .51126E-07    152.52       -.55829E-05** at limit **
  12  norm           .0000        8.6746        .26486E-07** at limit **
  13  Prefactor     .38858E-09    15.395        .75132E-07** at limit **
  14  Prefactor     142.85        27.634        .30479E-05   -.54058E-01
  15  Prefactor     13.304        18.754       -.32559E-05    .69016E-03
  16  Prefactor     24.724        29.167        .17470E-04    .87050E-02
  17  Prefactor     15.758        34.354       -.60389E-05   -.13078E-02
  18  Prefactor     .16653E-09    30.394        .86319E-06** at limit **
  19  Prefactor     .55511E-10    21.040       -.11771E-05** at limit **
  20  norm          .55511E-10    9.4471        .16486E-07** at limit **
  21  Normalizat    .10000E-01    .27425       -.36869E-05** at limit **
  22  Prefactor     1.2232        .20197        .18661E-05   -.53496E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 3.88578e-10
  Prefactor  = 0.000575681
  Prefactor  = 0.000520756
  Prefactor  = 6516.59
  norm       = 1.02222e-05
  Prefactor  = 5.2823e-05
  Prefactor  = 6.58806e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 5.11258e-08
  norm       = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 142.845
  Prefactor  = 13.3044
  Prefactor  = 24.7236
  Prefactor  = 15.758
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Normalizat = 0.01
  Prefactor  = 1.22316
 **********
 **   18 **HESSE 
 **********

 FCN=   972.6741     FROM HESSE     STATUS=OK           372 CALLS     3069 TOTAL
                     EDM=   .58E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    14.611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38858E-09    29.369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .57568E-03    536.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .52076E-03    460.17        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6516.6        1761.4        .12428E-04   -1.4092    
   6  norm          .10222E-04    277.65        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .52823E-04    2025.8        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .65881E-06    191.20        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    20.801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.7230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .51126E-07    152.66        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        8.6754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38858E-09    15.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     142.85        395.75        .83824E-04   -1.5469    
  15  Prefactor     13.304        18.909        .27438E-03   -1.5635    
  16  Prefactor     24.724        29.188        .20121E-03   -1.5609    
  17  Prefactor     15.758        42.626        .25221E-03   -1.5629    
  18  Prefactor     .16653E-09    30.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-10    21.036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    9.4483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10000E-01    .22948        .22800       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.2232        .23467        .34107E-01   -.85621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76051e-06
Minuit parameter uncertainties:
  1  7.3497e-05
  2  0.000217479
  3  1.1114
  4  0.979124
  5  1761.56
  6  0.106554
  7  0.65446
  8  0.0224472
  9  8.98463e-05
  10  1.16255e-05
  11  0.00558645
  12  2.57472e-05
  13  0.000156486
  14  395.822
  15  18.9087
  16  29.1877
  17  42.6266
  18  0.000142598
  19  7.4639e-05
  20  3.29597e-05
  21  1.32112e-06
  22  0.234871
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  5.113e-08  5.586e-03  0.000e+00  1.000e+06 ( 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.223e+00  2.349e-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  1.321e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/697882/likelihoodResults_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.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) = 972.677233547
delta logL = -0.00309588222228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 972.674138046
delta logL = -3.81166955776e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24259E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.9577       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2231       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   972.6741     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      226 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82157E-08    314.60       -.42347E-05** at limit **
   2  Index         1.1971        7.8219       -.16581E-03   -.30886E-10
   3  Normalizat    .10000E-01    .27448       -.14919E-05** at limit **
   4  Prefactor     1.2232        .19788        .79619E-05    .99848E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.21565e-09
  Index      = 1.19712
  Normalizat = 0.01
  Prefactor  = 1.22316
 **********
 **   18 **HESSE 
 **********

 FCN=   972.6741     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      261 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82157E-08    50.983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1971        8.4872        .50000       -.86420    
   3  Normalizat    .10000E-01    .54782E-04    .22801       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2232        .35623E-02    .34107E-01   -.85621    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.59455e-12
Minuit parameter uncertainties:
  1  0.00129429
  2  42394.1
  3  2.18545e-08
  4  0.00356229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697882': 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) = 972.674137664
delta logL = 1.41426426126e-10

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  8.216e-09  1.294e-03  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  1.197e+00  4.239e+04  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.223e+00  3.562e-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:  1.000e-02  2.185e-08  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/697882/cmap_HighResolution_699148801_699408001_4FGL_J2209.8-5028_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-02', job_status='DONE', photon_flux_upper_limit='3.20e-07', time_completed='2023-03-02 01:48:08.635462', job_id='697882', GAL2='1.22', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677750488.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.41e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1774' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:48:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 697882: <4FGL_J2209.8-5028_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1774> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Mar  2 01:40:18 2023
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:40:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:40:19 2023
Terminated at Thu Mar  2 01:48:09 2023
Results reported at Thu Mar  2 01:48:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1774 332.474 -50.4702 699148801 699408001 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 :                                   374.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   469 sec.
    Turnaround time :                            471 sec.

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

