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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1768
RA = 332.474, Dec = -50.4702
tmin = 697593601, tmax = 697852801
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='283238', job_status='RUN', time_executed='2023-02-12 01:41:22.341047', time_epoch_executed='1676194882.34' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/283238

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/283238/ft1_4FGL_J2209.8-5028_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/283238/ft2_4FGL_J2209.8-5028_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/283238/ft1_4FGL_J2209.8-5028_daily_bin1768.fits outfile=/scratch/kocevski/283238/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1768.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=697593601.0 tmax=697852801.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.80
user 3.45
sys 0.24

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

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

Number of photons that the gtmktime cut: 577

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/283238/ft1_filtered_4FGL_J2209.8-5028_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/283238/ft2_4FGL_J2209.8-5028_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/283238/ltcube_697593601_697852801_4FGL_J2209.8-5028_daily_bin1768.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/283238/ft2_4FGL_J2209.8-5028_daily_bin1768.fits
.....................!
real 16.23
user 15.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/283238/ft1_filtered_4FGL_J2209.8-5028_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283238/ft2_4FGL_J2209.8-5028_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/283238/ltcube_697593601_697852801_4FGL_J2209.8-5028_daily_bin1768.fits outfile=/scratch/kocevski/283238/expmap_697593601_697852801_4FGL_J2209.8-5028_daily_bin1768.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/283238/ltcube_697593601_697852801_4FGL_J2209.8-5028_daily_bin1768.fits
.....................!
real 192.39
user 186.65
sys 4.86

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/283238/ft1_filtered_4FGL_J2209.8-5028_daily_bin1768.fits scfile=/scratch/kocevski/283238/ft2_4FGL_J2209.8-5028_daily_bin1768.fits outfile=/scratch/kocevski/283238/cmap_697593601_697852801_4FGL_J2209.8-5028_daily_bin1768.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/283238/ft1_filtered_4FGL_J2209.8-5028_daily_bin1768.fits scfile=/scratch/kocevski/283238/ft2_4FGL_J2209.8-5028_daily_bin1768.fits outfile=/scratch/kocevski/283238/cmap_HighResolution_697593601_697852801_4FGL_J2209.8-5028_daily_bin1768.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.59
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/283238/ft1_filtered_4FGL_J2209.8-5028_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283238/ft2_4FGL_J2209.8-5028_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/283238/Model_4FGL_J2209.8-5028_daily_bin1768.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/283238/ft1_filtered_4FGL_J2209.8-5028_daily_bin1768.fits.....................!
real 47.31
user 45.87
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24650E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.0309       1.0000          .0000       .10000E+07
     3 'Prefactor '    15.696       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13885E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .74973E-04   1.0000          .0000       .10000E+07
     6 'norm      '    7.5672       1.0000          .0000       .10000E+07
     7 'Prefactor '    15.200       1.0000          .0000       .10000E+07
     8 'Prefactor '    53.134       1.0000          .0000       .10000E+07
     9 'Prefactor '    .67699E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.2562       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62393E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .92678E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9816       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.069       1.0000          .0000       .10000E+07
    15 'Prefactor '    .44547       1.0000          .0000       .10000E+07
    16 'Prefactor '    23.795       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36620E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    72.440       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32491E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .19751E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    .90902       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94218       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=   6280.871     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1773 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.2393        .28036E-06** at limit **
   2  Prefactor     8.0041        8.3977        .78611E-08   -.11376E-01
   3  Prefactor     15.763        2.2575       -.90148E-08   -.50625E-02
   4  Prefactor     .16653E-09    12.495        .11475E-05** at limit **
   5  Prefactor     .78826E-08    4.7145       -.51773E-06** at limit **
   6  norm          7.5726        4.3215        .38671E-08   -.85389E-03
   7  Prefactor     15.200        3.1389        .15382E-06    .71202E-01
   8  Prefactor     54.438        32.807       -.92347E-06    .15107E-01
   9  Prefactor     .22204E-09    4.9078       -.13670E-06** at limit **
  10  Prefactor     8.2462        4.0593       -.50848E-07   -.41521E-03
  11  Prefactor     .13362E-06    70.468        .27232E-05** at limit **
  12  norm          .11102E-09    2.7132       -.58927E-06** at limit **
  13  Prefactor     3.9978        4.0155        .65134E-06    .68102E-03
  14  Prefactor     12.178        11.240        .80993E-06   -.10390E-01
  15  Prefactor     .43655        7.0968       -.10051E-05   -.40626E-03
  16  Prefactor     24.234        25.185        .55602E-06   -.18186E-01
  17  Prefactor     .77983E-05    5.5803       -.82750E-06** at limit **
  18  Prefactor     72.158        3.6040        .10829E-06   -.34151E-02
  19  Prefactor     .49960E-09    3.1060       -.11494E-06** at limit **
  20  norm           .0000        3.0511        .64999E-07** at limit **
  21  Normalizat    .90837        .21784       -.76445E-05   -.35310E-04
  22  Prefactor     .94248        .16844        .94830E-06   -.93485E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 8.00411
  Prefactor  = 15.763
  Prefactor  = 1.66533e-10
  Prefactor  = 7.88258e-09
  norm       = 7.57263
  Prefactor  = 15.2004
  Prefactor  = 54.4382
  Prefactor  = 2.22045e-10
  Prefactor  = 8.24616
  Prefactor  = 1.33615e-07
  norm       = 1.11022e-10
  Prefactor  = 3.99775
  Prefactor  = 12.1776
  Prefactor  = 0.436549
  Prefactor  = 24.2343
  Prefactor  = 7.79832e-06
  Prefactor  = 72.1576
  Prefactor  = 4.996e-10
  norm       = 0
  Normalizat = 0.908366
  Prefactor  = 0.942483
 **********
 **   18 **HESSE 
 **********

 FCN=   6280.871     FROM HESSE     STATUS=OK           394 CALLS     2167 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.2357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.0041        8.5082        .35356E-03   -1.5651    
   3  Prefactor     15.763        25.625        .25254E-03   -1.5629    
   4  Prefactor     .16653E-09    12.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .78826E-08    4.7154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.5726        4.4322        .36432E-03   -1.5653    
   7  Prefactor     15.200        13.765        .25664E-03   -1.5630    
   8  Prefactor     54.438        35.474        .13720E-03   -1.5560    
   9  Prefactor     .22204E-09    4.9064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.2462        4.0624        .34867E-03   -1.5651    
  11  Prefactor     .13362E-06    71.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11102E-09    2.7147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9978        4.0459        .50522E-03   -1.5668    
  14  Prefactor     12.178        37.388        .27683E-03   -1.5638    
  15  Prefactor     .43655        6.9897        .84397E-03   -1.5695    
  16  Prefactor     24.234        25.901        .20505E-03   -1.5610    
  17  Prefactor     .77983E-05    3.3054        .86314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     72.158        39.280        .11750E-03   -1.5538    
  19  Prefactor     .49960E-09    3.1135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        3.0494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90837        .18715        .45017E-01   -.96167    
  22  Prefactor     .94248        .14343        .45540E-01   -.94672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64146e-06
Minuit parameter uncertainties:
  1  2.89505e-05
  2  8.50817
  3  25.6248
  4  8.82676e-05
  5  0.000385723
  6  4.4322
  7  13.765
  8  35.4744
  9  6.92874e-05
  10  4.06236
  11  0.00619256
  12  3.75561e-05
  13  4.04591
  14  37.3884
  15  3.49363
  16  25.9012
  17  0.0101541
  18  39.2806
  19  8.10131e-05
  20  1.54771e-06
  21  0.187286
  22  0.143489
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.336e-07  6.193e-03  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.425e-01  1.435e-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.084e-01  1.873e-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: 6.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/283238/likelihoodResults_697593601_697852801_4FGL_J2209.8-5028_daily_bin1768.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) = 6280.87743586
delta logL = -0.00669770205695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6280.85213137
delta logL = 0.0186067937821

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81923       1.0000          .0000       .10000E+07
     2 'Index     '    3.9115       1.0000          .0000       10.000    
     3 'Normalizat'    .89927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94653       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6280.852     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      402 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82616        1181.5        .10302E-03   -.38958E-02
   2  Index         3.9084        5.4405        .40505E-02   -.54030E-04
   3  Normalizat    .89927        .20333        .26759E-03   -.11446E-03
   4  Prefactor     .94650        .15599        .21300E-03    .10605E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.826165
  Index      = 3.90842
  Normalizat = 0.899266
  Prefactor  = 0.946502
 **********
 **   18 **HESSE 
 **********

 FCN=   6280.852     FROM HESSE     STATUS=OK            23 CALLS      425 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82616        19.557        .41210E-05   -1.5690    
   2  Index         3.9084        3.4505        .16202E-03   -.22009    
   3  Normalizat    .89927        .20790        .10704E-04   -.96486    
   4  Prefactor     .94650        .16725        .85199E-05   -.94535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40485e-10
Minuit parameter uncertainties:
  1  8.03931
  2  3.83258
  3  0.20809
  4  0.167341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/283238': 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) = 6280.85213093
delta logL = 0.0186072319193

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  8.262e-01  8.039e+00  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  3.908e+00  3.833e+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:  9.465e-01  1.673e-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.993e-01  2.081e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/283238/cmap_HighResolution_697593601_697852801_4FGL_J2209.8-5028_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-03', job_status='DONE', photon_flux_upper_limit='6.28e-08', time_completed='2023-02-12 01:51:59.974910', job_id='283238', GAL2='0.95', fit_tolerance='1e-08', EG2='0.90', EG='0.91', time_epoch_completed='1676195519.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.86e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1768' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:52:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 283238: <4FGL_J2209.8-5028_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1768> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Feb 12 01:40:16 2023
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:40:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:40:47 2023
Terminated at Sun Feb 12 01:52:00 2023
Results reported at Sun Feb 12 01:52:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1768 332.474 -50.4702 697593601 697852801 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 :                                   638.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            704 sec.

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

