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


Performing analysis on: 4FGL_J2005.9-2309_daily_bin1743
RA = 301.476, Dec = -23.1531
tmin = 691113601, tmax = 691372801
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='462619', job_status='RUN', time_executed='2022-11-29 01:08:52.643403', time_epoch_executed='1669712932.64' WHERE source_name='4FGL J2005.9-2309' and cadence='daily' and bin_id='1743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462619/ft1_4FGL_J2005.9-2309_daily_bin1743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462619/ft1_4FGL_J2005.9-2309_daily_bin1743.fits outfile=/scratch/kocevski/462619/ft1_filteredMKT_4FGL_J2005.9-2309_daily_bin1743.fits ra=301.476 dec=-23.1531 rad=12.0 tmin=691113601.0 tmax=691372801.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.27
user 2.08
sys 0.17

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

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

Number of photons that the gtmktime cut: 1099

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462619/ft1_filtered_4FGL_J2005.9-2309_daily_bin1743.fits" evtable="EVENTS" scfile=/scratch/kocevski/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits sctable="SC_DATA" outfile=/scratch/kocevski/462619/ltcube_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.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/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits
.....................!
real 11.36
user 11.03
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462619/ft1_filtered_4FGL_J2005.9-2309_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits sctable="SC_DATA" expcube=/scratch/kocevski/462619/ltcube_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.fits outfile=/scratch/kocevski/462619/expmap_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.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/462619/ltcube_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.fits
.....................!
real 156.08
user 151.30
sys 4.51

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/462619/ft1_filtered_4FGL_J2005.9-2309_daily_bin1743.fits scfile=/scratch/kocevski/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits outfile=/scratch/kocevski/462619/cmap_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.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.49
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462619/ft1_filtered_4FGL_J2005.9-2309_daily_bin1743.fits scfile=/scratch/kocevski/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits outfile=/scratch/kocevski/462619/cmap_HighResolution_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.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.49
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462619/ft1_filtered_4FGL_J2005.9-2309_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462619/Model_4FGL_J2005.9-2309_daily_bin1743.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/462619/ft1_filtered_4FGL_J2005.9-2309_daily_bin1743.fits.....................!
real 81.34
user 80.09
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/462619/ft1_filtered_4FGL_J2005.9-2309_daily_bin1743.fits', '/scratch/kocevski/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits', expMap='/scratch/kocevski/462619/expmap_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.fits', expCube='/scratch/kocevski/462619/ltcube_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/462619/Model_4FGL_J2005.9-2309_daily_bin1743.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/462619/ft1_filtered_4FGL_J2005.9-2309_daily_bin1743.fits
Spacecraft file(s): /scratch/kocevski/462619/ft2_4FGL_J2005.9-2309_daily_bin1743.fits
Exposure map: /scratch/kocevski/462619/expmap_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.fits
Exposure cube: /scratch/kocevski/462619/ltcube_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/462619/Model_4FGL_J2005.9-2309_daily_bin1743.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) = 11532.0973132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6209       1.0000          .0000       .10000E+07
     2 'norm      '    2.2839       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.8968       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11980E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.4251       1.0000          .0000       .10000E+07
     6 'Prefactor '    .40821E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.6278       1.0000          .0000       .10000E+07
     8 'Prefactor '    .46622E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1995       1.0000          .0000       .10000E+07
    10 'norm      '    2.8925       1.0000          .0000       .10000E+07
    11 'norm      '    .29586E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    24.627       1.0000          .0000       .10000E+07
    13 'norm      '    .36069E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .29708       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38040E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .48400E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .58222E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6782       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96093       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=   11532.10     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1362 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6637        8.2852       -.29072E-07    .23611E-02
   2  norm          2.2827        2.9501       -.11213E-06   -.56685E-03
   3  Prefactor     4.9114        5.1890       -.28505E-06   -.11275E-02
   4  Prefactor     .61390E-06    5.0656        .24400E-06** at limit **
   5  Prefactor     4.3840        13.871       -.73160E-06    .56352E-01
   6  Prefactor     .36693E-06    6.7536        .41803E-07** at limit **
   7  Prefactor     4.6241        5.2952        .46452E-07    .13744E-03
   8  Prefactor     .71521E-06    5.6665        .24504E-06** at limit **
   9  Prefactor     2.1988        1.3808       -.83349E-07   -.16835E-02
  10  norm          2.9703        10.046        .57607E-06   -.73954E-02
  11  norm          .57732E-08    4.2662        .14576E-06** at limit **
  12  Prefactor     24.555        8.5829       -.19348E-06    .11743    
  13  norm          .26623E-06    5.4498       -.52517E-06** at limit **
  14  Prefactor     .49608E-05    21.410        .63447E-06** at limit **
  15  Prefactor     .46735E-06    5.6991        .46583E-06** at limit **
  16  Prefactor     .16653E-09    1.6758       -.78949E-06** at limit **
  17  norm          .11018E-05    15.408       -.58744E-06** at limit **
  18  Normalizat    1.6787        .29001       -.30177E-05    .13342E-04
  19  Prefactor     .96076        .94001E-01    .20969E-05    .59876E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.66371
  norm       = 2.28274
  Prefactor  = 4.91139
  Prefactor  = 6.13898e-07
  Prefactor  = 4.38402
  Prefactor  = 3.66929e-07
  Prefactor  = 4.62413
  Prefactor  = 7.15206e-07
  Prefactor  = 2.19877
  norm       = 2.9703
  norm       = 5.77316e-09
  Prefactor  = 24.5552
  norm       = 2.66231e-07
  Prefactor  = 4.96075e-06
  Prefactor  = 4.67348e-07
  Prefactor  = 1.66533e-10
  norm       = 1.10179e-06
  Normalizat = 1.6787
  Prefactor  = 0.960765
 **********
 **   18 **HESSE 
 **********

 FCN=   11532.10     FROM HESSE     STATUS=OK           304 CALLS     1666 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6637        8.2903        .34116E-03   -1.5649    
   2  norm          2.2827        2.9582        .67905E-03   -1.5678    
   3  Prefactor     4.9114        5.1883        .45430E-03   -1.5664    
   4  Prefactor     .61390E-06    13.771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.3840        78.181        .47849E-03   -1.5666    
   6  Prefactor     .36693E-06    11.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6241        5.2952        .46762E-03   -1.5665    
   8  Prefactor     .71521E-06    13.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1988        1.3771        .69351E-03   -1.5678    
  10  norm          2.9703        10.072        .59726E-03   -1.5673    
  11  norm          .57732E-08    12.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.555        71.340        .20155E-03   -1.5609    
  13  norm          .26623E-06    5.8996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .49608E-05    46.730        .10254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .46735E-06    6.5297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16653E-09    1.6668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .11018E-05    16.567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.6787        .24358        .92462E-01   -.72873    
  19  Prefactor     .96076        .78815E-01    .45777E-01   -.94049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3584e-06
Minuit parameter uncertainties:
  1  8.29033
  2  2.95821
  3  5.18835
  4  0.0058151
  5  37.0275
  6  0.00416039
  7  5.29523
  8  0.00625076
  9  1.37706
  10  10.0717
  11  0.000539806
  12  71.3426
  13  0.00250658
  14  0.0304511
  15  0.00349376
  16  3.39702e-05
  17  0.00854472
  18  0.243757
  19  0.0788241
Done.

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

Extracting fit parameters...

4FGL J2005.9-2309
   Spectrum: LogParabola
401         norm:  2.970e+00  1.007e+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:  9.608e-01  7.882e-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:  1.679e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/462619/likelihoodResults_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.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) = 11532.0958315
delta logL = 0.00124954036255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11532.0958203
delta logL = 0.00126079928486

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9703       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5015       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96099       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11532.10     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      239 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9732        10.387        .23555E-04   -.50098E-03
   2  alpha         2.5031        1.9068        .70864E-01    .18064E-06
   3  Normalizat    1.6773        .29052        .40957E-03   -.11142E-03
   4  Prefactor     .96099        .93223E-01    .16646E-03   -.46945E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.97324
  alpha      = 2.50311
  Normalizat = 1.67728
  Prefactor  = 0.96099
 **********
 **   18 **HESSE 
 **********

 FCN=   11532.10     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9732        9.9667        .94222E-06   -1.5673    
   2  alpha         2.5031        1.8555        .28345E-02    .12426E-02
   3  Normalizat    1.6773        .29073        .16383E-04   -.72911    
   4  Prefactor     .96099        .93223E-01    .33292E-04   -.94041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64973e-11
Minuit parameter uncertainties:
  1  9.96674
  2  2.09088
  3  0.291025
  4  0.0932388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462619': 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) = 11532.0958199
delta logL = 0.00126117007676

Extracting fit parameters...

4FGL J2005.9-2309
   Spectrum: LogParabola
401         norm:  2.973e+00  9.967e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.503e+00  2.091e+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:  9.610e-01  9.324e-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:  1.677e+00  2.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/462619/cmap_HighResolution_691113601_691372801_4FGL_J2005.9-2309_daily_bin1743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-05', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-11-29 01:19:41.529896', job_id='462619', GAL2='0.96', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1669713581.53', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.26e-03', ts2='0.10', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1743' AND source_name='4FGL J2005.9-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov 29 01:19:41 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 462619: <4FGL_J2005.9-2309_daily_bin1743> in cluster <slac> Done

Job <4FGL_J2005.9-2309_daily_bin1743> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov 29 01:05:24 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:07:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:07:13 2022
Terminated at Tue Nov 29 01:19:42 2022
Results reported at Tue Nov 29 01:19:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2005.9-2309_daily_bin1743 301.476 -23.1531 691113601 691372801 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 :                                   648.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             333.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            858 sec.

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

