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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1749
RA = 332.474, Dec = -50.4702
tmin = 692668801, tmax = 692928001
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='964216', job_status='RUN', time_executed='2022-12-17 01:33:14.576968', time_epoch_executed='1671269594.58' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964216

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964216/ft1_4FGL_J2209.8-5028_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964216/ft2_4FGL_J2209.8-5028_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964216/ft1_4FGL_J2209.8-5028_daily_bin1749.fits outfile=/scratch/kocevski/964216/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1749.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=692668801.0 tmax=692928001.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.66
user 3.43
sys 0.20

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

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

Number of photons that the gtmktime cut: 505

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964216/ft1_filtered_4FGL_J2209.8-5028_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/964216/ft2_4FGL_J2209.8-5028_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/964216/ltcube_692668801_692928001_4FGL_J2209.8-5028_daily_bin1749.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/964216/ft2_4FGL_J2209.8-5028_daily_bin1749.fits
.....................!
real 12.10
user 11.75
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964216/ft1_filtered_4FGL_J2209.8-5028_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964216/ft2_4FGL_J2209.8-5028_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/964216/ltcube_692668801_692928001_4FGL_J2209.8-5028_daily_bin1749.fits outfile=/scratch/kocevski/964216/expmap_692668801_692928001_4FGL_J2209.8-5028_daily_bin1749.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/964216/ltcube_692668801_692928001_4FGL_J2209.8-5028_daily_bin1749.fits
.....................!
real 192.06
user 186.03
sys 5.64

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/964216/ft1_filtered_4FGL_J2209.8-5028_daily_bin1749.fits scfile=/scratch/kocevski/964216/ft2_4FGL_J2209.8-5028_daily_bin1749.fits outfile=/scratch/kocevski/964216/cmap_692668801_692928001_4FGL_J2209.8-5028_daily_bin1749.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.56
user 0.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86954E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .45400E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .29379E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .51528E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .58419E-03   1.0000          .0000       .10000E+07
     6 'norm      '    13.468       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20881E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14516E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.005       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9600       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8361       1.0000          .0000       .10000E+07
    12 'norm      '    18.168       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.4700       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.778       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.6145       1.0000          .0000       .10000E+07
    16 'Prefactor '    .43857E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .66045E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    16.801       1.0000          .0000       .10000E+07
    19 'Prefactor '    23.227       1.0000          .0000       .10000E+07
    20 'norm      '    .34874E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    .90329       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97172       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=   5529.942     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1405 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68334E-07    35.518       -.19079E-06** at limit **
   2  Prefactor     .25052E-06    5.4758       -.49910E-08** at limit **
   3  Prefactor     .11102E-09    19.312       -.80996E-07** at limit **
   4  Prefactor     .67668E-07    10.540       -.22687E-07** at limit **
   5  Prefactor      .0000        5.1444       -.32634E-07** at limit **
   6  norm          13.480        5.9410       -.38812E-07    .61073E-03
   7  Prefactor      .0000        5.8469        .19983E-06** at limit **
   8  Prefactor     .21816E-07    12.599       -.17197E-06** at limit **
   9  Prefactor     12.223        11.644        .28379E-06    .14255E-01
  10  Prefactor     3.9306        5.0181        .10723E-06   -.22099E-02
  11  Prefactor     .44520E-06    384.49       -.90842E-06** at limit **
  12  norm          18.197        11.238       -.38743E-07    .24840E-01
  13  Prefactor     3.4206        4.4657       -.12470E-06    .10166E-02
  14  Prefactor     14.343        13.750        .45316E-07   -.68945E-01
  15  Prefactor     4.5994        5.5907        .18839E-07   -.78065E-03
  16  Prefactor     .55511E-10    8.7154       -.58615E-07** at limit **
  17  Prefactor      .0000        2.8656        .28475E-07** at limit **
  18  Prefactor     17.831        40.001        .54408E-07    .25960E-01
  19  Prefactor     23.205        4.1069       -.43068E-07    .19580E-01
  20  norm          .55511E-09    8.3515        .12180E-06** at limit **
  21  Normalizat    .90368        .23056        .12177E-05   -.46778E-04
  22  Prefactor     .97130        .18281        .11147E-05   -.57800E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.83342e-08
  Prefactor  = 2.50522e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 6.76681e-08
  Prefactor  = 0
  norm       = 13.4798
  Prefactor  = 0
  Prefactor  = 2.18159e-08
  Prefactor  = 12.2232
  Prefactor  = 3.93058
  Prefactor  = 4.45199e-07
  norm       = 18.1966
  Prefactor  = 3.42061
  Prefactor  = 14.3434
  Prefactor  = 4.59939
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 17.8313
  Prefactor  = 23.2046
  norm       = 5.55112e-10
  Normalizat = 0.90368
  Prefactor  = 0.971296
 **********
 **   18 **HESSE 
 **********

 FCN=   5529.942     FROM HESSE     STATUS=OK           382 CALLS     1787 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68334E-07    35.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25052E-06    15.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    19.482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .67668E-07    15.156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.1021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.480        5.9432        .27268E-03   -1.5635    
   7  Prefactor      .0000        5.8519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .21816E-07    13.012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.223        12.109        .28887E-03   -1.5638    
  10  Prefactor     3.9306        5.0559        .50664E-03   -1.5668    
  11  Prefactor     .44520E-06    384.98        .60357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.197        11.432        .23470E-03   -1.5623    
  13  Prefactor     3.4206        4.5075        .54262E-03   -1.5671    
  14  Prefactor     14.343        33.230        .26959E-03   -1.5632    
  15  Prefactor     4.5994        5.6146        .46831E-03   -1.5665    
  16  Prefactor     .55511E-10    8.7589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.8652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.831        43.493        .24408E-03   -1.5624    
  19  Prefactor     23.205        13.357        .20754E-03   -1.5612    
  20  norm          .55511E-09    8.3432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90368        .19670        .44944E-01   -.96331    
  22  Prefactor     .97130        .15495        .45913E-01   -.93693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54445e-07
Minuit parameter uncertainties:
  1  0.00312421
  2  0.00389764
  3  0.000102255
  4  0.0020254
  5  1.11072e-05
  6  5.94318
  7  7.99971e-06
  8  0.00106594
  9  12.1089
  10  5.05586
  11  0.026186
  12  11.4321
  13  4.50752
  14  33.2299
  15  5.61464
  16  4.17766e-05
  17  1.89143e-06
  18  43.4934
  19  13.3568
  20  0.000135246
  21  0.196858
  22  0.155018
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  4.452e-07  2.619e-02  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:  9.713e-01  1.550e-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.037e-01  1.969e-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: 9.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/964216/likelihoodResults_692668801_692928001_4FGL_J2209.8-5028_daily_bin1749.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) = 5529.94375196
delta logL = -0.00126562925198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5529.04263316
delta logL = 0.899853179408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22185E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    .84223       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0046       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=   5529.942     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      508 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32641E-07    17.470        .42118E-03** at limit **
   2  Index         1.3991        8.6710        .50000       -.13415E-08
   3  Normalizat    .90367        .24369E-02    .44159E-01   -.11327E-02
   4  Prefactor     .97130        .19968E-02    .44276E-01   -.83920E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.26406e-08
  Index      = 1.39912
  Normalizat = 0.90367
  Prefactor  = 0.971301
 **********
 **   18 **HESSE 
 **********

 FCN=   5529.942     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      537 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32641E-07    81.674        .90256E-04   -378.56    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3991        6.9041        .50000       -13139.    
   3  Normalizat    .90367        .52700E-02    .26741E-03   -70.078    
   4  Prefactor     .97130        .43190E-02    .21097E-03   -70.052    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.52604e-09
Minuit parameter uncertainties:
  1  0.00326426
  2  35699
  3  0.00527001
  4  0.00431901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964216': 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) = 5529.94248634
delta logL = -9.21318132896e-10

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.264e-08  3.264e-03  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  1.399e+00  3.570e+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:  9.713e-01  4.319e-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:  9.037e-01  5.270e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 332.474 -50.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/964216/cmap_HighResolution_692668801_692928001_4FGL_J2209.8-5028_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-03', job_status='DONE', photon_flux_upper_limit='9.86e-08', time_completed='2022-12-17 01:42:38.275113', job_id='964216', GAL2='0.97', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1671270158.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-9.21e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1749' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:42:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 964216: <4FGL_J2209.8-5028_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1749> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Dec 17 01:30:18 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:30:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:30:19 2022
Terminated at Sat Dec 17 01:42:39 2022
Results reported at Sat Dec 17 01:42:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1749 332.474 -50.4702 692668801 692928001 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 :                                   565.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            741 sec.

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

