aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 125 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7469
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2005.9-2309_daily_bin1715
RA = 301.476, Dec = -23.1531
tmin = 683856001, tmax = 684115201
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='218070', job_status='RUN', time_executed='2022-09-16 22:28:19.333381', time_epoch_executed='1663392499.33' WHERE source_name='4FGL J2005.9-2309' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218070

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218070/ft1_4FGL_J2005.9-2309_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218070/ft1_4FGL_J2005.9-2309_daily_bin1715.fits outfile=/scratch/kocevski/218070/ft1_filteredMKT_4FGL_J2005.9-2309_daily_bin1715.fits ra=301.476 dec=-23.1531 rad=12.0 tmin=683856001.0 tmax=684115201.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.49
user 3.24
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.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/218070/ft1_filteredMKT_4FGL_J2005.9-2309_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.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.33
sys 0.16

Number of photons that the gtmktime cut: 714

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/218070/ltcube_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.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/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits
.....................!
real 12.67
user 12.27
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/218070/ltcube_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.fits outfile=/scratch/kocevski/218070/expmap_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.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/218070/ltcube_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.fits
.....................!
real 191.90
user 186.53
sys 4.85

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J2005.9-2309 @ 301.476 -23.1531

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.fits scfile=/scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits outfile=/scratch/kocevski/218070/cmap_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.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=301.476 yref=-23.1531 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.fits scfile=/scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits outfile=/scratch/kocevski/218070/cmap_HighResolution_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.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=301.476 yref=-23.1531 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218070/Model_4FGL_J2005.9-2309_daily_bin1715.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/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.fits.....................!
real 74.00
user 72.45
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.fits', '/scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits', expMap='/scratch/kocevski/218070/expmap_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.fits', expCube='/scratch/kocevski/218070/ltcube_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/218070/Model_4FGL_J2005.9-2309_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2005.9-2309'

4FGL J2005.9-2309
   Spectrum: LogParabola
401         norm:  6.544e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.399e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  9.770e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  5.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/218070/ft1_filtered_4FGL_J2005.9-2309_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/218070/ft2_4FGL_J2005.9-2309_daily_bin1715.fits
Exposure map: /scratch/kocevski/218070/expmap_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.fits
Exposure cube: /scratch/kocevski/218070/ltcube_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/218070/Model_4FGL_J2005.9-2309_daily_bin1715.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) = 7872.18791806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13294E-01   1.0000          .0000       .10000E+07
     2 'norm      '    5.9539       1.0000          .0000       .10000E+07
     3 'Prefactor '    .90514       1.0000          .0000       .10000E+07
     4 'Prefactor '    .74251E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.247       1.0000          .0000       .10000E+07
     6 'Prefactor '    26.160       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.5907       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.973       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40917E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.1314       1.0000          .0000       .10000E+07
    11 'norm      '    5.7558       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24668       1.0000          .0000       .10000E+07
    13 'norm      '    .27639E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .41709       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.4128       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30581E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .28850E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .88211       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0377       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7872.173     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1430 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33862E-08    10.212        .20735E-06** at limit **
   2  norm          5.8623        9.3629        .38175E-07    .27168E-02
   3  Prefactor     .91383        2.9295       -.27323E-07   -.39769E-01
   4  Prefactor     .39786E-04    377.14        .20890E-05** at limit **
   5  Prefactor     14.226        2.0798        .23613E-07   -.70768E-02
   6  Prefactor     26.340        26.343       -.22405E-06   -.57738E-01
   7  Prefactor     9.6113        7.6439        .25482E-07    .45853E-02
   8  Prefactor     21.944        2.6166        .29579E-07   -.11323E-01
   9  Prefactor     .39413E-08    2.7286        .17021E-08** at limit **
  10  norm          1.1337        3.5169        .23535E-07   -.12167E-01
  11  norm          5.7526        8.6466       -.23587E-07    .55877E-01
  12  Prefactor     .26116E-05    44.453        .30508E-07** at limit **
  13  norm          .12379E-07    25.321       -.77836E-07** at limit **
  14  Prefactor     .35860E-06    81.107       -.66248E-06** at limit **
  15  Prefactor     3.4602        7.3918        .11636E-07    .56078E-02
  16  Prefactor     .49960E-09    1.5982       -.27817E-07** at limit **
  17  norm          .77716E-09    7.0036        .12437E-06** at limit **
  18  Normalizat    .88164        .34547       -.89821E-06    .13929E-03
  19  Prefactor     1.0379        .10962        .76837E-06    .62104E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38618e-09
  norm       = 5.86229
  Prefactor  = 0.913833
  Prefactor  = 3.97863e-05
  Prefactor  = 14.2258
  Prefactor  = 26.3404
  Prefactor  = 9.61129
  Prefactor  = 21.9444
  Prefactor  = 3.94129e-09
  norm       = 1.13371
  norm       = 5.7526
  Prefactor  = 2.61163e-06
  norm       = 1.2379e-08
  Prefactor  = 3.58602e-07
  Prefactor  = 3.46022
  Prefactor  = 4.996e-10
  norm       = 7.77156e-10
  Normalizat = 0.881644
  Prefactor  = 1.03794
 **********
 **   18 **HESSE 
 **********

 FCN=   7872.173     FROM HESSE     STATUS=OK           310 CALLS     1740 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33862E-08    10.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.8623        9.4303        .41129E-03   -1.5660    
   3  Prefactor     .91383        3.0485        .45406E-03   -1.5689    
   4  Prefactor     .39786E-04    14.150        .14680E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.226        26.367        .26510E-03   -1.5633    
   6  Prefactor     26.340        44.012        .19555E-03   -1.5605    
   7  Prefactor     9.6113        7.8616        .32335E-03   -1.5646    
   8  Prefactor     21.944        28.897        .21339E-03   -1.5614    
   9  Prefactor     .39413E-08    2.6834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1337        38.312        .10975E-02   -1.5687    
  11  norm          5.7526        12.807        .41841E-03   -1.5660    
  12  Prefactor     .26116E-05    59.165        .10998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .12379E-07    25.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .35860E-06    93.739        .87533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4602        7.4573        .54735E-03   -1.5671    
  16  Prefactor     .49960E-09    1.6002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .77716E-09    7.0004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .88164        .30763        .11443       -.97108    
  19  Prefactor     1.0379        .96101E-01    .40691E-01   -.91475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33815e-07
Minuit parameter uncertainties:
  1  0.000371865
  2  9.43029
  3  3.04853
  4  0.0474547
  5  26.3673
  6  44.013
  7  7.86157
  8  28.8975
  9  0.000205337
  10  13.1811
  11  12.8069
  12  0.0248613
  13  0.00113126
  14  0.0115963
  15  7.45735
  16  5.57405e-05
  17  0.000149709
  18  0.308245
  19  0.0961171
Done.

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

Extracting fit parameters...

4FGL J2005.9-2309
   Spectrum: LogParabola
401         norm:  1.134e+00  1.318e+01  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.399e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  9.770e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  5.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
683    Prefactor:  1.038e+00  9.612e-02  0.000e+00  1.000e+01 ( 1.000e+00)
684        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
685        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
682   Normalization:  8.816e-01  3.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 301.476 -23.153
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218070/likelihoodResults_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.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) = 7872.16224358
delta logL = 0.0103034080075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7872.15154616
delta logL = 0.0210008285467

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8675       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7931       1.0000          .0000       5.0000    
     3 'Normalizat'    .88482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7872.152     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      232 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8540        28.585        .60003E-03    .12699E-02
   2  alpha         1.7958        1.7802        .43452       -.35204E-04
   3  Normalizat    .88573        .29477        .11420        .73135E-04
   4  Prefactor     1.0358        .94370E-01    .40805E-01    .14584E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.854
  alpha      = 1.79576
  Normalizat = 0.885728
  Prefactor  = 1.03579
 **********
 **   18 **HESSE 
 **********

 FCN=   7872.152     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8540        15.432        .24001E-04   -1.5674    
   2  alpha         1.7958        1.7878        .53049E-01   -.28556    
   3  Normalizat    .88573        .33667        .50638E-03   -.96963    
   4  Prefactor     1.0358        .10783        .14877E-03   -.91546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7069e-08
Minuit parameter uncertainties:
  1  13.273
  2  2.01734
  3  0.337472
  4  0.107854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218070': 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) = 7872.15154054
delta logL = 0.021006452067

Extracting fit parameters...

4FGL J2005.9-2309
   Spectrum: LogParabola
401         norm:  2.854e+00  1.327e+01  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  1.796e+00  2.017e+00  0.000e+00  5.000e+00 ( 1.000e+00)
403         beta:  9.770e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  5.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
683    Prefactor:  1.036e+00  1.079e-01  0.000e+00  1.000e+01 ( 1.000e+00)
684        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
685        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
682   Normalization:  8.857e-01  3.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 301.476 -23.153

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/218070/cmap_HighResolution_683856001_684115201_4FGL_J2005.9-2309_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-05', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2022-09-16 22:39:27.455189', job_id='218070', GAL2='1.04', fit_tolerance='1e-08', EG2='0.89', EG='0.88', time_epoch_completed='1663393167.46', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.10e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1715' AND source_name='4FGL J2005.9-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 22:39:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 218070: <4FGL_J2005.9-2309_daily_bin1715> in cluster <slac> Done

Job <4FGL_J2005.9-2309_daily_bin1715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 22:25:28 2022
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 22:26:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 22:26:05 2022
Terminated at Fri Sep 16 22:39:28 2022
Results reported at Fri Sep 16 22:39:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2005.9-2309_daily_bin1715 301.476 -23.1531 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2005.9-2309 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   669.14 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             299.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            840 sec.

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

