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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1736
RA = 332.474, Dec = -50.4702
tmin = 689299201, tmax = 689558401
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='963334', job_status='RUN', time_executed='2022-11-08 00:42:30.622067', time_epoch_executed='1667896950.62' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963334

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963334/ft1_4FGL_J2209.8-5028_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963334/ft2_4FGL_J2209.8-5028_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963334/ft1_4FGL_J2209.8-5028_daily_bin1736.fits outfile=/scratch/kocevski/963334/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1736.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=689299201.0 tmax=689558401.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.61
user 3.38
sys 0.21

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

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

Number of photons that the gtmktime cut: 717

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963334/ft1_filtered_4FGL_J2209.8-5028_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963334/ft2_4FGL_J2209.8-5028_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963334/ltcube_689299201_689558401_4FGL_J2209.8-5028_daily_bin1736.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/963334/ft2_4FGL_J2209.8-5028_daily_bin1736.fits
.....................!
real 11.94
user 11.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963334/ft1_filtered_4FGL_J2209.8-5028_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963334/ft2_4FGL_J2209.8-5028_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963334/ltcube_689299201_689558401_4FGL_J2209.8-5028_daily_bin1736.fits outfile=/scratch/kocevski/963334/expmap_689299201_689558401_4FGL_J2209.8-5028_daily_bin1736.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/963334/ltcube_689299201_689558401_4FGL_J2209.8-5028_daily_bin1736.fits
.....................!
real 193.19
user 187.23
sys 5.59

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/963334/ft1_filtered_4FGL_J2209.8-5028_daily_bin1736.fits scfile=/scratch/kocevski/963334/ft2_4FGL_J2209.8-5028_daily_bin1736.fits outfile=/scratch/kocevski/963334/cmap_689299201_689558401_4FGL_J2209.8-5028_daily_bin1736.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963334/ft1_filtered_4FGL_J2209.8-5028_daily_bin1736.fits scfile=/scratch/kocevski/963334/ft2_4FGL_J2209.8-5028_daily_bin1736.fits outfile=/scratch/kocevski/963334/cmap_HighResolution_689299201_689558401_4FGL_J2209.8-5028_daily_bin1736.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.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84905E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.1224       1.0000          .0000       .10000E+07
     3 'Prefactor '    .45597E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.6820       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5909       1.0000          .0000       .10000E+07
     6 'norm      '    15.684       1.0000          .0000       .10000E+07
     7 'Prefactor '    .47900E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.837       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36502       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.6036       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13695       1.0000          .0000       .10000E+07
    12 'norm      '    2.3001       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13639E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.4165       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20526E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28444E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .72138       1.0000          .0000       .10000E+07
    18 'Prefactor '    .93025E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .13503E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .22749E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .85583       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99650       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=   7686.436     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1774 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    12.539       -.16374E-06** at limit **
   2  Prefactor     9.1190        6.0536        .99401E-07   -.21186E-03
   3  Prefactor     .22538E-07    37.355        .15238E-06** at limit **
   4  Prefactor     6.7057        1.5029        .19072E-07   -.13988E-02
   5  Prefactor     1.5899        2.7670        .10557E-06   -.12486E-03
   6  norm          15.671        5.2705        .35120E-07   -.68546E-03
   7  Prefactor     .43637E-06    48.740       -.10057E-05** at limit **
   8  Prefactor     50.203        17.542        .16419E-06    .27052E-01
   9  Prefactor     .27152        38.835       -.97488E-06   -.34116E-02
  10  Prefactor     6.6095        3.7943        .15470E-06   -.21749E-03
  11  Prefactor      .0000        50.156        .35795E-06** at limit **
  12  norm          2.3007        3.1340        .13831E-07   -.12516E-03
  13  Prefactor      .0000        1.2594        .11862E-06** at limit **
  14  Prefactor     2.4289        5.7469        .21550E-06   -.85040E-02
  15  Prefactor      .0000        3.9426       -.19393E-06** at limit **
  16  Prefactor      .0000        4.3698        .48102E-09** at limit **
  17  Prefactor     .69702        2.5503       -.20272E-06    .10691E-04
  18  Prefactor     .16653E-09    8.5646        .10515E-07** at limit **
  19  Prefactor     .54623E-07    139.75       -.75743E-06** at limit **
  20  norm           .0000        2.1681        .85865E-07** at limit **
  21  Normalizat    .85529        .17700       -.36564E-06    .23937E-04
  22  Prefactor     .99663        .14553       -.12439E-05    .28014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 9.11901
  Prefactor  = 2.25375e-08
  Prefactor  = 6.70566
  Prefactor  = 1.5899
  norm       = 15.6714
  Prefactor  = 4.36373e-07
  Prefactor  = 50.2034
  Prefactor  = 0.271518
  Prefactor  = 6.60953
  Prefactor  = 0
  norm       = 2.3007
  Prefactor  = 0
  Prefactor  = 2.42889
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.697023
  Prefactor  = 1.66533e-10
  Prefactor  = 5.4623e-08
  norm       = 0
  Normalizat = 0.85529
  Prefactor  = 0.996627
 **********
 **   18 **HESSE 
 **********

 FCN=   7686.436     FROM HESSE     STATUS=OK           398 CALLS     2172 TOTAL
                     EDM=   .86E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    12.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1190        6.0574        .33159E-03   -1.5648    
   3  Prefactor     .22538E-07    38.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.7057        14.805        .38795E-03   -1.5656    
   5  Prefactor     1.5899        2.7984        .84092E-03   -1.5683    
   6  norm          15.671        5.2797        .25264E-03   -1.5629    
   7  Prefactor     .43637E-06    59.935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.203        36.078        .14311E-03   -1.5566    
   9  Prefactor     .27152        6.7810        .68828E-02   -1.5698    
  10  Prefactor     6.6095        3.8460        .39027E-03   -1.5657    
  11  Prefactor      .0000        50.259        .13027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3007        3.1560        .67640E-03   -1.5678    
  13  Prefactor      .0000        1.2563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.4289        23.818        .65821E-03   -1.5677    
  15  Prefactor      .0000        3.9148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        4.3823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .69702        2.5709        .58989E-03   -1.5691    
  18  Prefactor     .16653E-09    8.6179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .54623E-07    7.3910        .73389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        2.1734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .85529        .15467        .44335E-01   -.98049    
  22  Prefactor     .99663        .12545        .46223E-01   -.92842    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63722e-07
Minuit parameter uncertainties:
  1  6.58817e-05
  2  6.05737
  3  0.00185188
  4  14.8053
  5  2.79843
  6  5.27973
  7  0.0102283
  8  36.078
  9  2.71378
  10  3.84598
  11  1.23576e-05
  12  3.15602
  13  9.8465e-07
  14  15.2121
  15  1.93656e-06
  16  5.63892e-06
  17  2.57091
  18  7.45783e-05
  19  0.00127046
  20  2.98815e-06
  21  0.154749
  22  0.125491
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  1.236e-05  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.966e-01  1.255e-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:  8.553e-01  1.547e-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: 5.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/963334/likelihoodResults_689299201_689558401_4FGL_J2209.8-5028_daily_bin1736.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) = 7686.445059
delta logL = -0.00951953983076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7686.23757016
delta logL = 0.197969296239

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54178E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.5481       1.0000          .0000       10.000    
     3 'Normalizat'    .82693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0107       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=   7686.238     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      237 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55489E-01    1.1724        .76500E-03** at limit **
   2  Index         5.5413        2.4612        .13031        .18008E-03
   3  Normalizat    .82686        .21645E-01    .43961E-01    .21592E-04
   4  Prefactor     1.0107        .18125E-01    .43232E-01    .40670E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.055489
  Index      = 5.54129
  Normalizat = 0.826863
  Prefactor  = 1.01069
 **********
 **   18 **HESSE 
 **********

 FCN=   7686.238     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55489E-01    8.0365        .33804E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.5413        7.6787        .80863E-02    .10847    
   3  Normalizat    .82686        .12589        .26704E-03   -.99080    
   4  Prefactor     1.0107        .10389        .20316E-03   -.92374    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.99181e-06
Minuit parameter uncertainties:
  1  1.33557
  2  9.69919
  3  0.12593
  4  0.10391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963334': 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) = 7686.23756085
delta logL = 0.197978607403

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  5.549e-02  1.336e+00  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  5.541e+00  9.699e+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:  1.011e+00  1.039e-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:  8.269e-01  1.259e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/963334/cmap_HighResolution_689299201_689558401_4FGL_J2209.8-5028_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-03', job_status='DONE', photon_flux_upper_limit='5.68e-08', time_completed='2022-11-08 00:53:23.869951', job_id='963334', GAL2='1.01', fit_tolerance='1e-08', EG2='0.83', EG='0.86', time_epoch_completed='1667897603.87', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.98e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1736' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:53:23 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 963334: <4FGL_J2209.8-5028_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:16 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:17 2022
Terminated at Tue Nov  8 00:53:24 2022
Results reported at Tue Nov  8 00:53:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1736 332.474 -50.4702 689299201 689558401 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 :                                   655.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            788 sec.

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

