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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1750
RA = 332.474, Dec = -50.4702
tmin = 692928001, tmax = 693187201
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='27213', job_status='RUN', time_executed='2022-12-20 01:51:31.583863', time_epoch_executed='1671529891.58' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27213

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27213/ft1_4FGL_J2209.8-5028_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27213/ft2_4FGL_J2209.8-5028_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27213/ft1_4FGL_J2209.8-5028_daily_bin1750.fits outfile=/scratch/kocevski/27213/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1750.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=692928001.0 tmax=693187201.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.53
user 3.29
sys 0.21

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

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

Number of photons that the gtmktime cut: 551

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/27213/ft1_filtered_4FGL_J2209.8-5028_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/27213/ft2_4FGL_J2209.8-5028_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/27213/ltcube_692928001_693187201_4FGL_J2209.8-5028_daily_bin1750.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/27213/ft2_4FGL_J2209.8-5028_daily_bin1750.fits
.....................!
real 11.69
user 11.36
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27213/ft1_filtered_4FGL_J2209.8-5028_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/27213/ft2_4FGL_J2209.8-5028_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/27213/ltcube_692928001_693187201_4FGL_J2209.8-5028_daily_bin1750.fits outfile=/scratch/kocevski/27213/expmap_692928001_693187201_4FGL_J2209.8-5028_daily_bin1750.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/27213/ltcube_692928001_693187201_4FGL_J2209.8-5028_daily_bin1750.fits
.....................!
real 190.60
user 184.90
sys 5.37

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/27213/ft1_filtered_4FGL_J2209.8-5028_daily_bin1750.fits scfile=/scratch/kocevski/27213/ft2_4FGL_J2209.8-5028_daily_bin1750.fits outfile=/scratch/kocevski/27213/cmap_692928001_693187201_4FGL_J2209.8-5028_daily_bin1750.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27213/ft1_filtered_4FGL_J2209.8-5028_daily_bin1750.fits scfile=/scratch/kocevski/27213/ft2_4FGL_J2209.8-5028_daily_bin1750.fits outfile=/scratch/kocevski/27213/cmap_HighResolution_692928001_693187201_4FGL_J2209.8-5028_daily_bin1750.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/27213/ft1_filtered_4FGL_J2209.8-5028_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/27213/ft2_4FGL_J2209.8-5028_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/27213/Model_4FGL_J2209.8-5028_daily_bin1750.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/27213/ft1_filtered_4FGL_J2209.8-5028_daily_bin1750.fits.....................!
real 46.48
user 45.13
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31657E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.2492       1.0000          .0000       .10000E+07
     3 'Prefactor '    .66053E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .54268E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .80431       1.0000          .0000       .10000E+07
     6 'norm      '    .20278E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.560       1.0000          .0000       .10000E+07
     8 'Prefactor '    53.147       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12470       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.147       1.0000          .0000       .10000E+07
    11 'Prefactor '    .52567E-01   1.0000          .0000       .10000E+07
    12 'norm      '    4.0609       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47479E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .44071E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.4913       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.8989       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.8182       1.0000          .0000       .10000E+07
    18 'Prefactor '    17.326       1.0000          .0000       .10000E+07
    19 'Prefactor '    .26779E-06   1.0000          .0000       .10000E+07
    20 'norm      '    .46279E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .90206       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95557       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=   5983.820     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1379 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21538E-07    12.781        .14505E-06** at limit **
   2  Prefactor     9.2647        7.9073        .60528E-07   -.87728E-02
   3  Prefactor     .41288E-05    9.5618       -.72552E-07** at limit **
   4  Prefactor     .39378E-05    11.273       -.13743E-06** at limit **
   5  Prefactor     .81187        4.0532       -.64252E-07    .17260E-02
   6  norm          .55511E-10    1.4165        .22400E-07** at limit **
   7  Prefactor     24.923        5.1473       -.82067E-08   -.67802E-01
   8  Prefactor     49.947        33.893        .75840E-07    .28749E-01
   9  Prefactor     .34083        32.324       -.47081E-06   -.71921E-02
  10  Prefactor     10.156        4.8809       -.35650E-07   -.97290E-02
  11  Prefactor     .66591E-05    90.560        .22802E-06** at limit **
  12  norm          4.0290        5.0594        .23514E-07    .10495E-02
  13  Prefactor      .0000        4.6236        .12575E-07** at limit **
  14  Prefactor     .10345E-05    40.094        .12724E-06** at limit **
  15  Prefactor     2.5123        3.9497        .29905E-08   -.11329E-02
  16  Prefactor     1.5352        3.4346       -.13110E-07    .13495E-01
  17  Prefactor     6.8048        6.0650        .52471E-07    .33790E-02
  18  Prefactor     17.369        1.1251        .21913E-08   -.38770E-03
  19  Prefactor      .0000        6.9153       -.12149E-06** at limit **
  20  norm          .27756E-09    2.1023       -.91406E-07** at limit **
  21  Normalizat    .90373        .20322       -.14261E-05   -.32325E-03
  22  Prefactor     .95496        .16417        .72183E-06   -.25204E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.15383e-08
  Prefactor  = 9.26471
  Prefactor  = 4.12875e-06
  Prefactor  = 3.93779e-06
  Prefactor  = 0.811866
  norm       = 5.55112e-11
  Prefactor  = 24.9229
  Prefactor  = 49.9469
  Prefactor  = 0.340835
  Prefactor  = 10.1556
  Prefactor  = 6.65906e-06
  norm       = 4.02903
  Prefactor  = 0
  Prefactor  = 1.03451e-06
  Prefactor  = 2.51229
  Prefactor  = 1.5352
  Prefactor  = 6.80484
  Prefactor  = 17.369
  Prefactor  = 0
  norm       = 2.77556e-10
  Normalizat = 0.903727
  Prefactor  = 0.954956
 **********
 **   18 **HESSE 
 **********

 FCN=   5983.820     FROM HESSE     STATUS=OK           392 CALLS     1771 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21538E-07    13.101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.2647        7.9152        .32930E-03   -1.5647    
   3  Prefactor     .41288E-05    17.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .39378E-05    19.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .81187        4.0697        .52614E-03   -1.5690    
   6  norm          .55511E-10    1.4157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.923        16.283        .20183E-03   -1.5608    
   8  Prefactor     49.947        34.701        .13718E-03   -1.5567    
   9  Prefactor     .34083        4.1924        .90528E-02   -1.5696    
  10  Prefactor     10.156        4.8967        .31431E-03   -1.5644    
  11  Prefactor     .66591E-05    103.59        .15440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.0290        5.0666        .50010E-03   -1.5668    
  13  Prefactor      .0000        4.5401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10345E-05    41.742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.5123        4.0148        .64731E-03   -1.5676    
  16  Prefactor     1.5352        92.787        .75451E-03   -1.5683    
  17  Prefactor     6.8048        6.0667        .38401E-03   -1.5656    
  18  Prefactor     17.369        22.675        .24035E-03   -1.5625    
  19  Prefactor      .0000        6.9153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .27756E-09    2.1047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90373        .18306        .44928E-01   -.96329    
  22  Prefactor     .95496        .14240        .45709E-01   -.94246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71025e-07
Minuit parameter uncertainties:
  1  0.00106206
  2  7.9152
  3  0.0171843
  4  0.0173251
  5  3.63541
  6  1.55392e-05
  7  16.283
  8  34.7009
  9  2.39074
  10  4.89671
  11  0.052529
  12  5.06656
  13  1.70607e-05
  14  0.0131428
  15  4.01479
  16  23.8706
  17  6.06668
  18  22.6747
  19  1.87079e-05
  20  5.06249e-05
  21  0.183191
  22  0.142461
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  6.659e-06  5.253e-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.550e-01  1.425e-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.832e-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: 7.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/27213/likelihoodResults_692928001_693187201_4FGL_J2209.8-5028_daily_bin1750.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): 0
logL (Free Index) = 5983.82503012
delta logL = -0.00462137969589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5983.82041399
delta logL = -5.25213090441e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46734E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6013       1.0000          .0000       10.000    
     3 'Normalizat'    .90330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95508       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=   5983.820     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      254 TOTAL
                     EDM=   .34E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-07    .38544        .42118E-03** at limit **
   2  Index         3.4804        6.7399        .50000        .25011E-09
   3  Normalizat    .90373        .25854E-03    .44944E-01    .15226E-03
   4  Prefactor     .95496        .21278E-03    .45703E-01    .18548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-08
  Index      = 3.48042
  Normalizat = 0.903729
  Prefactor  = 0.954955
 **********
 **   18 **HESSE 
 **********

 FCN=   5983.820     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      285 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-07    26.733        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4804        6.1983        .50000       -.30880    
   3  Normalizat    .90373        .21169E-02    .26073E-03   -.96329    
   4  Prefactor     .95496        .17425E-02    .20818E-03   -.94246    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.34716e-11
Minuit parameter uncertainties:
  1  0.00106237
  2  4462.37
  3  0.00211685
  4  0.00174248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27213': 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) = 5983.82040871
delta logL = 3.20442268276e-08

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.055e-08  1.062e-03  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  3.480e+00  4.462e+03  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.550e-01  1.742e-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  2.117e-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/27213/cmap_HighResolution_692928001_693187201_4FGL_J2209.8-5028_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.80e-03', job_status='DONE', photon_flux_upper_limit='7.52e-08', time_completed='2022-12-20 02:00:56.534044', job_id='27213', GAL2='0.95', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1671530456.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.20e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1750' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:00:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 27213: <4FGL_J2209.8-5028_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 20 01:50:15 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:50:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:50:16 2022
Terminated at Tue Dec 20 02:00:57 2022
Results reported at Tue Dec 20 02:00:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1750 332.474 -50.4702 692928001 693187201 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 :                                   567.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             316.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            642 sec.

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

