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 206 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1706
RA = 332.474, Dec = -50.4702
tmin = 681523201, tmax = 681782401
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='506497', job_status='RUN', time_executed='2022-08-10 02:20:16.657090', time_epoch_executed='1660123216.66' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506497

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506497/ft1_4FGL_J2209.8-5028_daily_bin1706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506497/ft1_4FGL_J2209.8-5028_daily_bin1706.fits outfile=/scratch/kocevski/506497/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1706.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=681523201.0 tmax=681782401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.63
user 2.41
sys 0.20

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

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

Number of photons that the gtmktime cut: 114

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/506497/ft1_filtered_4FGL_J2209.8-5028_daily_bin1706.fits" evtable="EVENTS" scfile=/scratch/kocevski/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits sctable="SC_DATA" outfile=/scratch/kocevski/506497/ltcube_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.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/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits
.....................!
real 15.82
user 15.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506497/ft1_filtered_4FGL_J2209.8-5028_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits sctable="SC_DATA" expcube=/scratch/kocevski/506497/ltcube_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.fits outfile=/scratch/kocevski/506497/expmap_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.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/506497/ltcube_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.fits
.....................!
real 194.79
user 187.75
sys 4.98

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/506497/ft1_filtered_4FGL_J2209.8-5028_daily_bin1706.fits scfile=/scratch/kocevski/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits outfile=/scratch/kocevski/506497/cmap_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506497/ft1_filtered_4FGL_J2209.8-5028_daily_bin1706.fits scfile=/scratch/kocevski/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits outfile=/scratch/kocevski/506497/cmap_HighResolution_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/506497/ft1_filtered_4FGL_J2209.8-5028_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/506497/Model_4FGL_J2209.8-5028_daily_bin1706.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/506497/ft1_filtered_4FGL_J2209.8-5028_daily_bin1706.fits.......................!
real 21.81
user 20.19
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/506497/ft1_filtered_4FGL_J2209.8-5028_daily_bin1706.fits', '/scratch/kocevski/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits', expMap='/scratch/kocevski/506497/expmap_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.fits', expCube='/scratch/kocevski/506497/ltcube_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/506497/Model_4FGL_J2209.8-5028_daily_bin1706.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  1.000e-04  1.000e+04 ( 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/506497/ft1_filtered_4FGL_J2209.8-5028_daily_bin1706.fits
Spacecraft file(s): /scratch/kocevski/506497/ft2_4FGL_J2209.8-5028_daily_bin1706.fits
Exposure map: /scratch/kocevski/506497/expmap_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.fits
Exposure cube: /scratch/kocevski/506497/ltcube_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/506497/Model_4FGL_J2209.8-5028_daily_bin1706.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) = 1335.07973106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.346       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    212.57       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.688       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    26.249       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    243.22       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.787       1.0000         .10000E-03   10000.    
    15 'Prefactor '    52.544       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.654       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.048       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.655       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .77712E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.4850       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1335.030     FROM MIGRAD    STATUS=CONVERGED    964 CALLS     3672 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.357        90.580        .70454E-04    .35903E-05
   2  Prefactor     .10000E-03    93.997        .18142E-02** at limit **
   3  Prefactor     .10000E-03    10.634        .11640E-02** at limit **
   4  Prefactor     212.56        171.35        .13866E-03   -.92526E-05
   5  Prefactor     16.683        104.11        .98044E-04    .10291E-04
   6  Prefactor     .10000E-03    10.774        .11696E-02** at limit **
   7  norm          26.248        24.777        .78191E-04   -.35368E-04
   8  Prefactor     .10000E-03    31.509        .18142E-02** at limit **
   9  Prefactor     .10000E-03    65.789        .18142E-02** at limit **
  10  Prefactor     .10000E-03    14.428        .13552E-02** at limit **
  11  Prefactor     25.659        16.868        .79081E-04   -.69579E-04
  12  Prefactor     243.20        347.14        .12983E-03   -.63047E-05
  13  norm          .10000E-03    8.7524        .10559E-02** at limit **
  14  Prefactor     21.786        17.765        .85812E-04   -.20303E-04
  15  Prefactor     52.553        154.78        .55330E-04   -.78900E-05
  16  Prefactor     12.652        18.771        .11261E-03   -.34906E-04
  17  Prefactor     .10000E-03    39.734        .18142E-02** at limit **
  18  Prefactor     20.046        26.029        .89454E-04    .27960E-04
  19  Prefactor     .10000E-03    99.920        .18142E-02** at limit **
  20  Prefactor     24.652        32.733        .80675E-04   -.42276E-05
  21  Prefactor     .10000E-03    40.008        .18142E-02** at limit **
  22  Prefactor     .10000E-03    47.191        .18142E-02** at limit **
  23  norm          .10000E-03    7.0911        .95036E-03** at limit **
  24  Normalizat    .77713E-01    .99215        .86913E-02   -.11231E-04
  25  Prefactor     1.4850        .44335        .20019E-03   -.56675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.3569
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 212.559
  Prefactor  = 16.6825
  Prefactor  = 0.0001
  norm       = 26.248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.6585
  Prefactor  = 243.197
  norm       = 0.0001
  Prefactor  = 21.7857
  Prefactor  = 52.5526
  Prefactor  = 12.6525
  Prefactor  = 0.0001
  Prefactor  = 20.0458
  Prefactor  = 0.0001
  Prefactor  = 24.6523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.077713
  Prefactor  = 1.48499
 **********
 **   18 **HESSE 
 **********

 FCN=   1335.030     FROM HESSE     STATUS=OK           403 CALLS     4075 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.357        90.472        .28182E-05   -1.4570    
   2  Prefactor     .10000E-03    93.997        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.634        .23280E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     212.56        171.35        .27732E-04   -1.2782    
   5  Prefactor     16.683        104.00        .39218E-05   -1.4891    
   6  Prefactor     .10000E-03    10.774        .23391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          26.248        24.777        .15638E-04   -1.4683    
   8  Prefactor     .10000E-03    31.509        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    65.790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.428        .27103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.659        16.829        .31633E-05   -1.4694    
  12  Prefactor     243.20        347.12        .25966E-04   -1.2576    
  13  norm          .10000E-03    8.7524        .21118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.786        17.735        .34325E-05   -1.4774    
  15  Prefactor     52.553        154.64        .11066E-04   -1.4257    
  16  Prefactor     12.652        18.728        .45043E-05   -1.4996    
  17  Prefactor     .10000E-03    39.734        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.046        25.989        .35782E-05   -1.4812    
  19  Prefactor     .10000E-03    99.920        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.652        32.714        .32270E-05   -1.4715    
  21  Prefactor     .10000E-03    40.008        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    47.197        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    7.0911        .19007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .77713E-01    .84390        .34765E-03   -1.4060    
  25  Prefactor     1.4850        .41162        .40039E-04   -.77961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52205e-11
Minuit parameter uncertainties:
  1  90.8595
  2  4.98793e-05
  3  2.4016e-05
  4  171.751
  5  83.523
  6  3.85723e-06
  7  24.7871
  8  3.84712e-05
  9  0.000303337
  10  3.87524e-05
  11  16.8324
  12  350.125
  13  4.06544e-06
  14  17.7392
  15  155.839
  16  18.7367
  17  4.72008e-05
  18  26.0032
  19  0.000270467
  20  32.7377
  21  6.7487e-05
  22  1.67233e-05
  23  6.94427e-07
  24  0.486858
  25  0.412547
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.432e+02  3.501e+02  1.000e-04  1.000e+04 ( 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.485e+00  4.125e-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:  7.771e-02  4.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/506497/likelihoodResults_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.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) = 1334.99247935
delta logL = 0.0371017678285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1334.99201641
delta logL = 0.0375647079888

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    159.57       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6839       1.0000          .0000       10.000    
     3 'Normalizat'    .64956E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4926       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1334.992     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      298 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     159.45        433.65        .15961E-03   -.51641E-06
   2  Index         2.6840        1.3928        .44943E-02    .11598E-03
   3  Normalizat    .64649E-01    1.1282        .90138E-02   -.88162E-04
   4  Prefactor     1.4932        .44253        .19967E-03   -.64682E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 159.453
  Index      = 2.68401
  Normalizat = 0.0646492
  Prefactor  = 1.49324
 **********
 **   18 **HESSE 
 **********

 FCN=   1334.992     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     159.45        388.13        .63843E-05   -1.3176    
   2  Index         2.6840        1.2438        .89885E-03   -.48160    
   3  Normalizat    .64649E-01    .94929        .36055E-03   -1.4227    
   4  Prefactor     1.4932        .40498        .39935E-04   -.77729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39226e-09
Minuit parameter uncertainties:
  1  394.621
  2  1.26078
  3  0.464444
  4  0.405859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506497': 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): 0
logL (Free Index) = 1334.99201364
delta logL = 0.0375674838335

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.595e+02  3.946e+02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.684e+00  1.261e+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.493e+00  4.059e-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:  6.465e-02  4.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.75
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/506497/cmap_HighResolution_681523201_681782401_4FGL_J2209.8-5028_daily_bin1706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-02', job_status='DONE', photon_flux_upper_limit='3.98e-07', time_completed='2022-08-10 02:27:19.528559', job_id='506497', GAL2='1.49', fit_tolerance='1e-08', EG2='0.06', EG='0.08', time_epoch_completed='1660123639.53', return_code2='0', ts='0.75', comment='SUCCESS', return_code='0', GAL='1.48', dlogl='3.76e-02', ts2='0.85', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1706' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 10 02:27:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 506497: <4FGL_J2209.8-5028_daily_bin1706> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1706> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Aug 10 02:10:51 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 10 02:16:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 10 02:16:40 2022
Terminated at Wed Aug 10 02:27:20 2022
Results reported at Wed Aug 10 02:27:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1706 332.474 -50.4702 681523201 681782401 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 :                                   422.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             227.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            989 sec.

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

