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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1708
RA = 155.996, Dec = -32.6034
tmin = 682041601, tmax = 682300801
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='93105', job_status='RUN', time_executed='2022-09-16 15:21:40.054866', time_epoch_executed='1663366900.05' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93105/ft1_4FGL_J1023.9-3236_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93105/ft2_4FGL_J1023.9-3236_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93105/ft1_4FGL_J1023.9-3236_daily_bin1708.fits outfile=/scratch/kocevski/93105/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1708.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=682041601.0 tmax=682300801.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.00
user 3.74
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93105/ft2_4FGL_J1023.9-3236_daily_bin1708.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/93105/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/93105/ft1_filtered_4FGL_J1023.9-3236_daily_bin1708.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.34
sys 0.16

Number of photons that the gtmktime cut: 922

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93105/ft1_filtered_4FGL_J1023.9-3236_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/93105/ft2_4FGL_J1023.9-3236_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/93105/ltcube_682041601_682300801_4FGL_J1023.9-3236_daily_bin1708.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/93105/ft2_4FGL_J1023.9-3236_daily_bin1708.fits
.....................!
real 14.91
user 14.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93105/ft1_filtered_4FGL_J1023.9-3236_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/93105/ft2_4FGL_J1023.9-3236_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/93105/ltcube_682041601_682300801_4FGL_J1023.9-3236_daily_bin1708.fits outfile=/scratch/kocevski/93105/expmap_682041601_682300801_4FGL_J1023.9-3236_daily_bin1708.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/93105/ltcube_682041601_682300801_4FGL_J1023.9-3236_daily_bin1708.fits
.....................!
real 192.67
user 186.77
sys 5.49

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/93105/ft1_filtered_4FGL_J1023.9-3236_daily_bin1708.fits scfile=/scratch/kocevski/93105/ft2_4FGL_J1023.9-3236_daily_bin1708.fits outfile=/scratch/kocevski/93105/cmap_682041601_682300801_4FGL_J1023.9-3236_daily_bin1708.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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93105/ft1_filtered_4FGL_J1023.9-3236_daily_bin1708.fits scfile=/scratch/kocevski/93105/ft2_4FGL_J1023.9-3236_daily_bin1708.fits outfile=/scratch/kocevski/93105/cmap_HighResolution_682041601_682300801_4FGL_J1023.9-3236_daily_bin1708.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93105/ft1_filtered_4FGL_J1023.9-3236_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/93105/ft2_4FGL_J1023.9-3236_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93105/Model_4FGL_J1023.9-3236_daily_bin1708.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/93105/ft1_filtered_4FGL_J1023.9-3236_daily_bin1708.fits.....................!
real 100.25
user 98.81
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12214E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .67879E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .44215E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .82351E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27234E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.3886       1.0000          .0000       .10000E+07
     7 'norm      '    1.0947       1.0000          .0000       .10000E+07
     8 'norm      '    3.6613       1.0000          .0000       .10000E+07
     9 'norm      '    3.5887       1.0000          .0000       .10000E+07
    10 'Prefactor '    28.212       1.0000          .0000       .10000E+07
    11 'norm      '    8.4953       1.0000          .0000       .10000E+07
    12 'Prefactor '    .54594E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.8667       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.069       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6332       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.0488       1.0000          .0000       .10000E+07
    17 'Normalizat'    .82358       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0251       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=   9630.843     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1321 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20872E-07    6.2886        .11725E-06** at limit **
   2  norm          .38858E-09    3.2405       -.64441E-06** at limit **
   3  norm           .0000        5.1539        .30672E-06** at limit **
   4  norm          .12293E-05    35.800        .34731E-05** at limit **
   5  Prefactor     .99548E-06    6.6416        .37812E-06** at limit **
   6  Prefactor     3.4593        2.5444       -.29971E-06   -.81775E-02
   7  norm          1.1058        6.7937        .71680E-06    .60289E-02
   8  norm          3.6537        4.1608       -.97232E-07   -.33816E-03
   9  norm          3.6653        4.9062       -.94455E-07   -.10025E-01
  10  Prefactor     28.093        18.546       -.83896E-06    .86781E-01
  11  norm          8.5204        4.4883        .27451E-06   -.49217E-02
  12  Prefactor     .12434E-05    5.7035        .63860E-06** at limit **
  13  Prefactor     4.8517        4.1651       -.26957E-07   -.99680E-03
  14  Prefactor     10.057        1.5434        .11756E-06   -.52965E-02
  15  Prefactor     1.6231        4.1818       -.63733E-06   -.34737E-03
  16  Prefactor     6.1499        5.0266       -.15254E-06    .66435E-02
  17  Normalizat    .82371        .22071       -.20226E-04   -.62190E-05
  18  Prefactor     1.0249        .94640E-01    .12530E-04    .30013E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.08722e-08
  norm       = 3.88578e-10
  norm       = 0
  norm       = 1.22929e-06
  Prefactor  = 9.95481e-07
  Prefactor  = 3.45927
  norm       = 1.10584
  norm       = 3.65367
  norm       = 3.66534
  Prefactor  = 28.0927
  norm       = 8.5204
  Prefactor  = 1.24339e-06
  Prefactor  = 4.8517
  Prefactor  = 10.057
  Prefactor  = 1.62313
  Prefactor  = 6.14986
  Normalizat = 0.823712
  Prefactor  = 1.0249
 **********
 **   18 **HESSE 
 **********

 FCN=   9630.843     FROM HESSE     STATUS=OK           298 CALLS     1619 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20872E-07    6.3287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .38858E-09    3.2552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .76791        .32057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .12293E-05    3.6635        .10167E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .99548E-06    8.9490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4593        9.0657        .54939E-03   -1.5671    
   7  norm          1.1058        12.171        .11396E-02   -1.5687    
   8  norm          3.6537        4.1670        .52766E-03   -1.5670    
   9  norm          3.6653        6.0283        .53318E-03   -1.5670    
  10  Prefactor     28.093        22.548        .18830E-03   -1.5602    
  11  norm          8.5204        4.6733        .34369E-03   -1.5650    
  12  Prefactor     .12434E-05    8.5387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.8517        4.3485        .45574E-03   -1.5664    
  14  Prefactor     10.057        10.147        .31553E-03   -1.5645    
  15  Prefactor     1.6231        4.2020        .82696E-03   -1.5682    
  16  Prefactor     6.1499        6.6423        .40800E-03   -1.5658    
  17  Normalizat    .82371        .20192        .88823E-01   -.99195    
  18  Prefactor     1.0249        .83354E-01    .41668E-01   -.91904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67164e-07
Minuit parameter uncertainties:
  1  0.000727014
  2  6.9313e-05
  3  9.16548e-06
  4  0.00424434
  5  0.00596944
  6  9.06573
  7  7.33738
  8  4.16702
  9  6.02829
  10  22.5484
  11  4.67329
  12  0.00651667
  13  4.34846
  14  10.1474
  15  4.20196
  16  6.6423
  17  0.202107
  18  0.0833646
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  3.665e+00  6.028e+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:  1.025e+00  8.336e-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:  8.237e-01  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/93105/likelihoodResults_682041601_682300801_4FGL_J1023.9-3236_daily_bin1708.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) = 9630.84015195
delta logL = 0.0027505907492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9630.83955965
delta logL = 0.00334288912745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8694       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3185       1.0000          .0000       5.0000    
     3 'Normalizat'    .82535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0244       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9630.840     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      256 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8708        6.6458        .10255E-03    .33100E-02
   2  alpha         2.3180        1.2113        .36791E-01    .34782E-05
   3  Normalizat    .82532        .21472        .39305E-03    .15504E-04
   4  Prefactor     1.0244        .94321E-01    .15589E-03    .60383E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.87078
  alpha      = 2.31799
  Normalizat = 0.825318
  Prefactor  = 1.02439
 **********
 **   18 **HESSE 
 **********

 FCN=   9630.840     FROM HESSE     STATUS=OK            27 CALLS      283 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8708        6.3446        .20510E-04   -1.5669    
   2  alpha         2.3180        1.1613        .14717E-02   -.72867E-01
   3  Normalizat    .82532        .21477        .15722E-04   -.99136    
   4  Prefactor     1.0244        .94326E-01    .62357E-05   -.91921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57397e-12
Minuit parameter uncertainties:
  1  6.34456
  2  1.20805
  3  0.214988
  4  0.0943413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93105': 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) = 9630.83955951
delta logL = 0.00334302653573

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  3.871e+00  6.345e+00  0.000e+00  1.000e+06 ( 1.000e-12)
346        alpha:  2.318e+00  1.208e+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:  1.024e+00  9.434e-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:  8.253e-01  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
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/93105/cmap_HighResolution_682041601_682300801_4FGL_J1023.9-3236_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', job_status='DONE', photon_flux_upper_limit='9.11e-08', time_completed='2022-09-16 15:33:27.244551', job_id='93105', GAL2='1.02', fit_tolerance='1e-08', EG2='0.83', EG='0.82', time_epoch_completed='1663367607.24', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.34e-03', ts2='0.56', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1708' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:33:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 93105: <4FGL_J1023.9-3236_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1023.9-3236_daily_bin1708> 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) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:20:48 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:48 2022
Terminated at Fri Sep 16 15:33:28 2022
Results reported at Fri Sep 16 15:33:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1708 155.996 -32.6034 682041601 682300801 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 :                                   709.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             348.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            789 sec.

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

