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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1708
RA = 332.474, Dec = -50.4702
tmin = 682041601, tmax = 682300801
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='240587', job_status='RUN', time_executed='2022-09-16 23:44:40.316252', time_epoch_executed='1663397080.32' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240587

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240587/ft1_4FGL_J2209.8-5028_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240587/ft2_4FGL_J2209.8-5028_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240587/ft1_4FGL_J2209.8-5028_daily_bin1708.fits outfile=/scratch/kocevski/240587/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1708.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.05
user 3.81
sys 0.19

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

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

Number of photons that the gtmktime cut: 551

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/240587/ft1_filtered_4FGL_J2209.8-5028_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/240587/ft2_4FGL_J2209.8-5028_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/240587/ltcube_682041601_682300801_4FGL_J2209.8-5028_daily_bin1708.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/240587/ft2_4FGL_J2209.8-5028_daily_bin1708.fits
.....................!
real 16.80
user 16.31
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240587/ft1_filtered_4FGL_J2209.8-5028_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/240587/ft2_4FGL_J2209.8-5028_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/240587/ltcube_682041601_682300801_4FGL_J2209.8-5028_daily_bin1708.fits outfile=/scratch/kocevski/240587/expmap_682041601_682300801_4FGL_J2209.8-5028_daily_bin1708.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/240587/ltcube_682041601_682300801_4FGL_J2209.8-5028_daily_bin1708.fits
.....................!
real 191.50
user 186.50
sys 4.45

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/240587/ft1_filtered_4FGL_J2209.8-5028_daily_bin1708.fits scfile=/scratch/kocevski/240587/ft2_4FGL_J2209.8-5028_daily_bin1708.fits outfile=/scratch/kocevski/240587/cmap_682041601_682300801_4FGL_J2209.8-5028_daily_bin1708.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240587/ft1_filtered_4FGL_J2209.8-5028_daily_bin1708.fits scfile=/scratch/kocevski/240587/ft2_4FGL_J2209.8-5028_daily_bin1708.fits outfile=/scratch/kocevski/240587/cmap_HighResolution_682041601_682300801_4FGL_J2209.8-5028_daily_bin1708.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/240587/ft1_filtered_4FGL_J2209.8-5028_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/240587/ft2_4FGL_J2209.8-5028_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/240587/Model_4FGL_J2209.8-5028_daily_bin1708.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/240587/ft1_filtered_4FGL_J2209.8-5028_daily_bin1708.fits.....................!
real 47.26
user 45.79
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.290       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6852       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.230       1.0000          .0000       .10000E+07
     4 'Prefactor '    .29200E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7877       1.0000          .0000       .10000E+07
     6 'norm      '    .14876E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    19.966       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.780       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3303       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.4957       1.0000          .0000       .10000E+07
    11 'Prefactor '    .46540E-02   1.0000          .0000       .10000E+07
    12 'norm      '    4.7221       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41078E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    48.688       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20271E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.3239       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84095       1.0000          .0000       .10000E+07
    18 'Prefactor '    .22283E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .33094E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .26475       1.0000          .0000       .10000E+07
    21 'Normalizat'    .86007       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0290       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=   6028.483     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1367 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.280        11.601       -.19613E-06   -.11942    
   2  Prefactor     4.6232        9.0658        .30929E-08   -.76836E-03
   3  Prefactor     33.419        3.7560       -.41760E-07    .50547E-02
   4  Prefactor     .72164E-09    5.7909        .42021E-06** at limit **
   5  Prefactor     3.7858        2.7830        .13075E-07    .32312E-03
   6  norm           .0000        2.0891        .13062E-08** at limit **
   7  Prefactor     19.950        1.7074        .10589E-07    .30923E-01
   8  Prefactor     23.701        33.545       -.77420E-06    .47585E-01
   9  Prefactor     1.3045        4.1708       -.41959E-07   -.38685E-03
  10  Prefactor     7.4821        4.2686        .13579E-06    .24395E-02
  11  Prefactor     .78826E-08    26.038       -.28224E-06** at limit **
  12  norm          4.6745        6.7145       -.65659E-08   -.11431E-03
  13  Prefactor      .0000        3.6016        .89478E-07** at limit **
  14  Prefactor     47.708        26.246        .77603E-07    .13183    
  15  Prefactor      .0000        10.860       -.84246E-06** at limit **
  16  Prefactor     7.3556        6.8634       -.29583E-06    .11204E-01
  17  Prefactor     .85797        3.2491        .68986E-07    .40000E-01
  18  Prefactor     .55511E-10    17.096        .31507E-06** at limit **
  19  Prefactor     .36206E-05    61.477        .24684E-06** at limit **
  20  norm          .30611        1.6434       -.16087E-06   -.82735E-02
  21  Normalizat    .85903        .20466       -.47063E-05   -.29028E-04
  22  Prefactor     1.0293        .16228        .40544E-05    .23372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2803
  Prefactor  = 4.6232
  Prefactor  = 33.4186
  Prefactor  = 7.21645e-10
  Prefactor  = 3.78577
  norm       = 0
  Prefactor  = 19.9502
  Prefactor  = 23.701
  Prefactor  = 1.30449
  Prefactor  = 7.48205
  Prefactor  = 7.88258e-09
  norm       = 4.6745
  Prefactor  = 0
  Prefactor  = 47.708
  Prefactor  = 0
  Prefactor  = 7.3556
  Prefactor  = 0.85797
  Prefactor  = 5.55112e-11
  Prefactor  = 3.6206e-06
  norm       = 0.306112
  Normalizat = 0.859025
  Prefactor  = 1.02926
 **********
 **   18 **HESSE 
 **********

 FCN=   6028.483     FROM HESSE     STATUS=OK           398 CALLS     1765 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.280        15.813        .24059E-03   -1.5625    
   2  Prefactor     4.6232        9.3381        .46468E-03   -1.5665    
   3  Prefactor     33.419        25.320        .17350E-03   -1.5592    
   4  Prefactor     .72164E-09    5.7941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7858        2.7899        .51844E-03   -1.5669    
   6  norm           .0000        2.0835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.950        12.723        .22387E-03   -1.5619    
   8  Prefactor     23.701        37.015        .21433E-03   -1.5611    
   9  Prefactor     1.3045        4.2588        .95182E-03   -1.5685    
  10  Prefactor     7.4821        4.2785        .36607E-03   -1.5653    
  11  Prefactor     .78826E-08    26.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.6745        6.7478        .46282E-03   -1.5665    
  13  Prefactor      .0000        3.5777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.708        39.547        .14332E-03   -1.5570    
  15  Prefactor      .0000        10.787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.3556        30.650        .37038E-03   -1.5654    
  17  Prefactor     .85797        8.3257        .49931E-03   -1.5689    
  18  Prefactor     .55511E-10    17.080        .16891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .36206E-05    14.899        .91481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .30611        7.0145        .76448E-02   -1.5697    
  21  Normalizat    .85903        .18942        .44389E-01   -.97915    
  22  Prefactor     1.0293        .14339        .41336E-01   -.91761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06013e-06
Minuit parameter uncertainties:
  1  15.8132
  2  9.33815
  3  25.3199
  4  0.000129197
  5  2.78994
  6  6.39868e-06
  7  12.7233
  8  37.0157
  9  4.25878
  10  4.2785
  11  0.000907885
  12  6.74781
  13  9.3795e-07
  14  39.5473
  15  3.08792e-05
  16  30.0303
  17  5.34535
  18  6.11739e-05
  19  0.0146894
  20  2.93069
  21  0.18957
  22  0.143439
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  7.883e-09  9.079e-04  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.029e+00  1.434e-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.590e-01  1.896e-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.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/240587/likelihoodResults_682041601_682300801_4FGL_J2209.8-5028_daily_bin1708.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) = 6028.5010311
delta logL = -0.0182736494553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6028.48275746
delta logL = -2.82761902781e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11557E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0563       1.0000          .0000       10.000    
     3 'Normalizat'    .85902       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0293       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=   6028.483     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      200 TOTAL
                     EDM=   .93E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        35.651        .14177E-05** at limit **
   2  Index         2.0654        5.2784       -.71596E-04     .0000    
   3  Normalizat    .85903        .19824       -.51552E-05    .27820E-05
   4  Prefactor     1.0293        .16141        .27194E-05    .22968E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.06544
  Normalizat = 0.859026
  Prefactor  = 1.02926
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6028.483     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .93E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        35.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .46262        1.8294       -.71596E-04   -.62724    
   3  Normalizat    .85903        1.1961       -.51552E-05   -.97915    
   4  Prefactor     1.0293        1.2201        .27194E-05   -.91761    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.2632e-15
Minuit parameter uncertainties:
  1  4.75131e-06
  2  1.60116
  3  1.23624
  4  1.25548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240587': 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): 101
logL (Free Index) = 6028.48275745
delta logL = 1.56433088705e-10

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  4.751e-06  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  2.065e+00  1.601e+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.029e+00  1.255e+00  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.590e-01  1.236e+00  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/240587/cmap_HighResolution_682041601_682300801_4FGL_J2209.8-5028_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.72e-08', time_completed='2022-09-16 23:53:55.544319', job_id='240587', GAL2='1.03', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1663397635.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.56e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1708' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:53:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 240587: <4FGL_J2209.8-5028_daily_bin1708> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1708> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 23:40:32 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:41:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:41:37 2022
Terminated at Fri Sep 16 23:53:56 2022
Results reported at Fri Sep 16 23:53:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1708 332.474 -50.4702 682041601 682300801 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 :                                   557.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            804 sec.

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

