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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1716
RA = 155.996, Dec = -32.6034
tmin = 684115201, tmax = 684374401
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='93124', job_status='RUN', time_executed='2022-09-16 15:22:49.823339', time_epoch_executed='1663366969.82' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93124

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93124/ft1_4FGL_J1023.9-3236_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93124/ft1_4FGL_J1023.9-3236_daily_bin1716.fits outfile=/scratch/kocevski/93124/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1716.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.08
user 3.86
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.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/93124/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.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.50
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 840

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/93124/ltcube_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.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/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits
.....................!
real 13.45
user 13.08
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/93124/ltcube_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.fits outfile=/scratch/kocevski/93124/expmap_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.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/93124/ltcube_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.fits
.....................!
real 191.00
user 185.63
sys 4.98

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.fits scfile=/scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits outfile=/scratch/kocevski/93124/cmap_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.fits scfile=/scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits outfile=/scratch/kocevski/93124/cmap_HighResolution_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93124/Model_4FGL_J1023.9-3236_daily_bin1716.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/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.fits....................!
real 95.72
user 94.21
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.fits', '/scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits', expMap='/scratch/kocevski/93124/expmap_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.fits', expCube='/scratch/kocevski/93124/ltcube_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/93124/Model_4FGL_J1023.9-3236_daily_bin1716.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/93124/ft1_filtered_4FGL_J1023.9-3236_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/93124/ft2_4FGL_J1023.9-3236_daily_bin1716.fits
Exposure map: /scratch/kocevski/93124/expmap_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.fits
Exposure cube: /scratch/kocevski/93124/ltcube_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/93124/Model_4FGL_J1023.9-3236_daily_bin1716.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) = 8769.13971539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35417E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .15925E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.7788       1.0000          .0000       .10000E+07
     4 'norm      '    9.9363       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12406E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .58468E-04   1.0000          .0000       .10000E+07
     7 'norm      '    18.427       1.0000          .0000       .10000E+07
     8 'norm      '    3.9988       1.0000          .0000       .10000E+07
     9 'norm      '    2.6712       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.484       1.0000          .0000       .10000E+07
    11 'norm      '    .36859E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    9.2461       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20186E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    15 'Prefactor '    .65337E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .41521E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2792       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .99104       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=   8768.648     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     1006 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22521E-06    2.8816        .26458E-05** at limit **
   2  norm          .17297E-06    9.2738       -.33175E-05** at limit **
   3  norm          1.7780        1.5249       -.37023E-06    .15314E-02
   4  norm          9.9412        8.1723       -.27097E-05   -.18661E-01
   5  Prefactor     .42510E-06    5.7926        .40857E-05** at limit **
   6  Prefactor     .83267E-08    2.4521        .18498E-05** at limit **
   7  norm          18.308        2.0130       -.33575E-06   -.39935E-02
   8  norm          4.0020        3.6937       -.28505E-06    .11182E-01
   9  norm          2.6629        6.3297       -.14562E-05    .21782E-02
  10  Prefactor     37.217        11.932        .20152E-05   -.11080    
  11  norm          .14433E-08    1.9039        .13668E-06** at limit **
  12  Prefactor     9.1603        1.1902        .84281E-10    .31039E-02
  13  Prefactor     .66513E-06    5.9036       -.56681E-05** at limit **
  14  Prefactor     2.9817        10.479       -.43879E-05   -.17070E-01
  15  Prefactor     .14266E-07    2.5104        .22585E-05** at limit **
  16  Prefactor     .17825E-05    4.8909       -.18417E-05** at limit **
  17  Normalizat    1.2787        .27224        .18344E-04   -.94235E-04
  18  Prefactor     .99115        .10950       -.41138E-05   -.52411E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.25209e-07
  norm       = 1.72973e-07
  norm       = 1.77798
  norm       = 9.94118
  Prefactor  = 4.25104e-07
  Prefactor  = 8.32667e-09
  norm       = 18.3077
  norm       = 4.00201
  norm       = 2.66286
  Prefactor  = 37.2166
  norm       = 1.44329e-09
  Prefactor  = 9.16034
  Prefactor  = 6.65135e-07
  Prefactor  = 2.98167
  Prefactor  = 1.42664e-08
  Prefactor  = 1.78246e-06
  Normalizat = 1.27871
  Prefactor  = 0.991153
 **********
 **   18 **HESSE 
 **********

 FCN=   8768.648     FROM HESSE     STATUS=OK           280 CALLS     1286 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22521E-06    12.537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .17297E-06    14.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7780        1.5327        .78449E-03   -1.5681    
   4  norm          9.9412        8.2564        .31764E-03   -1.5645    
   5  Prefactor     .42510E-06    11.352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83267E-08    4.9083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.308        12.767        .23305E-03   -1.5622    
   8  norm          4.0020        3.6882        .50410E-03   -1.5668    
   9  norm          2.6629        6.8819        .62329E-03   -1.5675    
  10  Prefactor     37.217        19.114        .16558E-03   -1.5586    
  11  norm          .14433E-08    1.8887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.1603        14.503        .32935E-03   -1.5647    
  13  Prefactor     .66513E-06    7.3742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9817        10.729        .57986E-03   -1.5673    
  15  Prefactor     .14266E-07    5.0815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17825E-05    9.1789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2787        .23644        .83284E-01   -.84204    
  18  Prefactor     .99115        .92814E-01    .46155E-01   -.93025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71338e-07
Minuit parameter uncertainties:
  1  0.00336058
  2  0.00321438
  3  1.53273
  4  8.2564
  5  0.00439361
  6  0.000404884
  7  12.7668
  8  3.68815
  9  6.8819
  10  19.1141
  11  0.00010404
  12  14.5035
  13  0.00442944
  14  10.7295
  15  0.000538851
  16  0.00808983
  17  0.23664
  18  0.0928285
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  2.663e+00  6.882e+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

GAL_V02
   Spectrum: PowerLaw
620    Prefactor:  9.912e-01  9.283e-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:  1.279e+00  2.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 155.996 -32.603
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.24e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/93124/likelihoodResults_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.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) = 8768.60528949
delta logL = 0.042531241359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8768.60191757
delta logL = 0.0459031648898

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8768.602     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1706        6.7735        .22753E-04    .53263E-03
   2  alpha         1.9912        1.2232        .40844E-01   -.69624E-05
   3  Normalizat    1.2839        .26106        .36810E-03   -.13034E-04
   4  Prefactor     .98950        .10847        .17050E-03   -.15416E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.17057
  alpha      = 1.99124
  Normalizat = 1.28386
  Prefactor  = 0.989504
 **********
 **   18 **HESSE 
 **********

 FCN=   8768.602     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1706        6.8301        .91012E-06   -1.5672    
   2  alpha         1.9912        1.2338        .16338E-02   -.20494    
   3  Normalizat    1.2839        .26123        .14724E-04   -.84049    
   4  Prefactor     .98950        .10854        .34101E-04   -.93080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.92264e-12
Minuit parameter uncertainties:
  1  6.83007
  2  1.29314
  3  0.261501
  4  0.10856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93124': 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) = 8768.60191697
delta logL = 0.0459037657656

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  3.171e+00  6.830e+00  0.000e+00  1.000e+06 ( 1.000e-12)
346        alpha:  1.991e+00  1.293e+00  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.895e-01  1.086e-01  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:  1.284e+00  2.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/93124/cmap_HighResolution_684115201_684374401_4FGL_J1023.9-3236_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-05', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2022-09-16 15:33:42.613887', job_id='93124', GAL2='0.99', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1663367622.61', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.59e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1716' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:33:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 93124: <4FGL_J1023.9-3236_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1023.9-3236_daily_bin1716> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:20:20 2022
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:20:51 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:51 2022
Terminated at Fri Sep 16 15:33:43 2022
Results reported at Fri Sep 16 15:33:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1716 155.996 -32.6034 684115201 684374401 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 :                                   655.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            803 sec.

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

