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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1710
RA = 155.996, Dec = -32.6034
tmin = 682560001, tmax = 682819201
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='93109', job_status='RUN', time_executed='2022-09-16 15:22:55.771780', time_epoch_executed='1663366975.77' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93109

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93109/ft1_4FGL_J1023.9-3236_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93109/ft1_4FGL_J1023.9-3236_daily_bin1710.fits outfile=/scratch/kocevski/93109/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1710.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=682560001.0 tmax=682819201.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.76
user 3.50
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.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/93109/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.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.52
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 1134

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/93109/ltcube_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.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/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits
.....................!
real 16.35
user 15.89
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/93109/ltcube_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.fits outfile=/scratch/kocevski/93109/expmap_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.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/93109/ltcube_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.fits
.....................!
real 194.26
user 187.75
sys 4.31

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

Setting source of interest to:
4FGL J1023.9-3236 @ 155.996 -32.6034

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.fits scfile=/scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits outfile=/scratch/kocevski/93109/cmap_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.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=155.996 yref=-32.6034 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/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.fits scfile=/scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits outfile=/scratch/kocevski/93109/cmap_HighResolution_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.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=155.996 yref=-32.6034 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93109/Model_4FGL_J1023.9-3236_daily_bin1710.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/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.fits.....................!
real 120.33
user 118.61
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.fits', '/scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits', expMap='/scratch/kocevski/93109/expmap_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.fits', expCube='/scratch/kocevski/93109/ltcube_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/93109/Model_4FGL_J1023.9-3236_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1023.9-3236'

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  3.622e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
346        alpha:  2.419e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
347         beta:  1.106e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  6.383e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/93109/ft1_filtered_4FGL_J1023.9-3236_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/93109/ft2_4FGL_J1023.9-3236_daily_bin1710.fits
Exposure map: /scratch/kocevski/93109/expmap_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.fits
Exposure cube: /scratch/kocevski/93109/ltcube_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/93109/Model_4FGL_J1023.9-3236_daily_bin1710.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) = 11800.9317036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74152E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.2399       1.0000          .0000       .10000E+07
     3 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .28311E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24271E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82474E-05   1.0000          .0000       .10000E+07
     7 'norm      '    3.9107       1.0000          .0000       .10000E+07
     8 'norm      '    .54885E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .33257E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.3278       1.0000          .0000       .10000E+07
    11 'norm      '    7.3371       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11086E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .76133       1.0000          .0000       .10000E+07
    14 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3332       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7489       1.0000          .0000       .10000E+07
    17 'Normalizat'    .95331       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98758       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11800.03     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1017 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17208E-08    8.6173        .17146E-06** at limit **
   2  norm          2.2483        2.5581       -.42615E-07    .61001E-02
   3  norm           .0000        .20518       -.29169E-08** at limit **
   4  norm           .0000        1.3697       -.80617E-07** at limit **
   5  Prefactor     .11102E-09    13.026       -.13643E-06** at limit **
   6  Prefactor     .10436E-07    1.9656        .36725E-08** at limit **
   7  norm          3.8804        5.6918       -.76776E-07    .84263E-02
   8  norm          .16653E-08    6.0223       -.17592E-06** at limit **
   9  norm          .52236E-07    .97287        .56235E-07** at limit **
  10  Prefactor     5.3350        2.1838        .32841E-07   -.13702E-01
  11  norm          7.3342        3.0988        .77012E-07   -.28387E-02
  12  Prefactor     .27756E-09    4.2327       -.15844E-07** at limit **
  13  Prefactor     .75664        1.5258        .64821E-07    .12184E-01
  14  Prefactor     .16043E-07    2.0664        .59377E-07** at limit **
  15  Prefactor     3.3385        3.0934       -.40156E-07    .41564E-03
  16  Prefactor     7.7692        4.4270        .63053E-07    .28892E-01
  17  Normalizat    .95346        .19608        .29868E-05   -.86165E-04
  18  Prefactor     .98755        .85055E-01    .63621E-06   -.18054E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72085e-09
  norm       = 2.24832
  norm       = 0
  norm       = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 1.04361e-08
  norm       = 3.88042
  norm       = 1.66533e-09
  norm       = 5.2236e-08
  Prefactor  = 5.33503
  norm       = 7.33423
  Prefactor  = 2.77556e-10
  Prefactor  = 0.756644
  Prefactor  = 1.60427e-08
  Prefactor  = 3.33846
  Prefactor  = 7.76924
  Normalizat = 0.953456
  Prefactor  = 0.987553
 **********
 **   18 **HESSE 
 **********

 FCN=   11800.03     FROM HESSE     STATUS=OK           280 CALLS     1297 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17208E-08    8.5088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2483        6.6845        .68646E-03   -1.5678    
   3  norm           .0000        .20500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.3727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    13.024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10436E-07    2.2975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8804        5.9397        .50993E-03   -1.5669    
   8  norm          .16653E-08    5.9996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .52236E-07    2.4186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.3350        6.9148        .43518E-03   -1.5662    
  11  norm          7.3342        3.3038        .37005E-03   -1.5654    
  12  Prefactor     .27756E-09    4.2469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .75664        2.9787        .55863E-03   -1.5691    
  14  Prefactor     .16043E-07    2.4793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3385        3.0946        .55415E-03   -1.5671    
  16  Prefactor     7.7692        5.9733        .35999E-03   -1.5652    
  17  Normalizat    .95346        .17303        .81102E-01   -.94606    
  18  Prefactor     .98755        .74378E-01    .35351E-01   -.93146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65588e-08
Minuit parameter uncertainties:
  1  0.000241676
  2  6.68451
  3  7.15565e-08
  4  2.62039e-06
  5  7.91854e-05
  6  0.000309404
  7  5.93966
  8  0.000200854
  9  0.000711065
  10  6.91479
  11  3.30379
  12  6.85027e-05
  13  2.97868
  14  0.000398637
  15  3.09464
  16  5.97326
  17  0.173134
  18  0.0743853
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  5.224e-08  7.111e-04  0.000e+00  1.000e+06 ( 1.000e-12)
346        alpha:  2.419e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
347         beta:  1.106e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  6.383e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
620    Prefactor:  9.876e-01  7.439e-02  0.000e+00  1.000e+01 ( 1.000e+00)
621        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
622        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
619   Normalization:  9.535e-01  1.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 155.996 -32.603
Photon Flux Upper Limit: 5.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/93109/likelihoodResults_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.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) = 11800.0459225
delta logL = -0.0123810974565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11800.0335437
delta logL = -2.34737672145e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11800.03     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      242 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27756E-09    .17103        .42118E-03** at limit **
   2  alpha         1.1328        2.7336        .48214       -.42443E-09
   3  Normalizat    .95345        .19003E-02    .81102E-01   -.14078E-04
   4  Prefactor     .98755        .84434E-03    .35351E-01    .30503E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77556e-10
  alpha      = 1.13275
  Normalizat = 0.953454
  Prefactor  = 0.987554
 **********
 **   18 **HESSE 
 **********

 FCN=   11800.03     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      273 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27756E-09    .87920        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.1328        3.8116        .50000       -.57866    
   3  Normalizat    .95345        .43013E-02    .35900E-03   -.94607    
   4  Prefactor     .98755        .19152E-02    .15621E-03   -.93146    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.95727e-11
Minuit parameter uncertainties:
  1  3.17413e-05
  2  40668.4
  3  0.0043013
  4  0.00191519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93109': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11800.0335414
delta logL = 1.0570147424e-08

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  2.776e-10  3.174e-05  0.000e+00  1.000e+06 ( 1.000e-12)
346        alpha:  1.133e+00  4.067e+04  0.000e+00  5.000e+00 ( 1.000e+00)
347         beta:  1.106e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
348           Eb:  6.383e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
620    Prefactor:  9.876e-01  1.915e-03  0.000e+00  1.000e+01 ( 1.000e+00)
621        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
622        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
619   Normalization:  9.535e-01  4.301e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 155.996 -32.603

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/93109/cmap_HighResolution_682560001_682819201_4FGL_J1023.9-3236_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-05', job_status='DONE', photon_flux_upper_limit='5.07e-08', time_completed='2022-09-16 15:35:13.507768', job_id='93109', GAL2='0.99', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1663367713.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.06e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1710' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:35:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 93109: <4FGL_J1023.9-3236_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1023.9-3236_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:20:19 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:20:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:20:49 2022
Terminated at Fri Sep 16 15:35:14 2022
Results reported at Fri Sep 16 15:35:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1710 155.996 -32.6034 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1023.9-3236 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   737.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            895 sec.

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

