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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1714
RA = 155.996, Dec = -32.6034
tmin = 683596801, tmax = 683856001
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='93118', job_status='RUN', time_executed='2022-09-16 15:23:57.376537', time_epoch_executed='1663367037.38' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93118

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93118/ft1_4FGL_J1023.9-3236_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93118/ft2_4FGL_J1023.9-3236_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93118/ft1_4FGL_J1023.9-3236_daily_bin1714.fits outfile=/scratch/kocevski/93118/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1714.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=683596801.0 tmax=683856001.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.56
user 3.34
sys 0.20

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

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

Number of photons that the gtmktime cut: 1060

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93118/ft1_filtered_4FGL_J1023.9-3236_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/93118/ft2_4FGL_J1023.9-3236_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/93118/ltcube_683596801_683856001_4FGL_J1023.9-3236_daily_bin1714.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/93118/ft2_4FGL_J1023.9-3236_daily_bin1714.fits
.....................!
real 14.59
user 14.22
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93118/ft1_filtered_4FGL_J1023.9-3236_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/93118/ft2_4FGL_J1023.9-3236_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/93118/ltcube_683596801_683856001_4FGL_J1023.9-3236_daily_bin1714.fits outfile=/scratch/kocevski/93118/expmap_683596801_683856001_4FGL_J1023.9-3236_daily_bin1714.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/93118/ltcube_683596801_683856001_4FGL_J1023.9-3236_daily_bin1714.fits
.....................!
real 193.24
user 187.99
sys 4.63

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/93118/ft1_filtered_4FGL_J1023.9-3236_daily_bin1714.fits scfile=/scratch/kocevski/93118/ft2_4FGL_J1023.9-3236_daily_bin1714.fits outfile=/scratch/kocevski/93118/cmap_683596801_683856001_4FGL_J1023.9-3236_daily_bin1714.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.61
user 0.40
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/93118/ft1_filtered_4FGL_J1023.9-3236_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/93118/ft2_4FGL_J1023.9-3236_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93118/Model_4FGL_J1023.9-3236_daily_bin1714.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/93118/ft1_filtered_4FGL_J1023.9-3236_daily_bin1714.fits....................!
real 110.82
user 109.35
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12499E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .32148E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .47529E-06   1.0000          .0000       .10000E+07
     4 'norm      '    16.265       1.0000          .0000       .10000E+07
     5 'Prefactor '    .72176E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.084       1.0000          .0000       .10000E+07
     7 'norm      '    .42285E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .85220E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .32027E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.0191       1.0000          .0000       .10000E+07
    11 'norm      '    9.8901       1.0000          .0000       .10000E+07
    12 'Prefactor '    .44633E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.8263       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11010E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19303E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.0824       1.0000          .0000       .10000E+07
    17 'Normalizat'    .97612       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0307       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=   11148.47     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1012 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27756E-09    2.3867       -.99630E-06** at limit **
   2  norm          .47684E-07    3.5818        .58404E-06** at limit **
   3  norm           .0000        .36572        .11016E-06** at limit **
   4  norm          16.253        2.8957        .34973E-06   -.29999E-01
   5  Prefactor     .31630E-06    4.0629        .87970E-06** at limit **
   6  Prefactor     19.089        1.9047       -.21688E-06    .54342E-01
   7  norm          .45830E-06    3.2818       -.61170E-06** at limit **
   8  norm          .16653E-09    2.2430       -.11551E-06** at limit **
   9  norm          .31125E-06    1.2299       -.80522E-06** at limit **
  10  Prefactor     8.9849        1.2482        .14629E-06   -.21627E-01
  11  norm          9.8553        3.8964       -.31473E-07    .10669E-02
  12  Prefactor     .78382E-07    3.5665       -.21219E-05** at limit **
  13  Prefactor     2.8493        3.2371        .90537E-06    .16612E-02
  14  Prefactor     .13878E-08    30.911       -.59408E-05** at limit **
  15  Prefactor      .0000        1.6300       -.89094E-06** at limit **
  16  Prefactor     5.0993        4.8982        .60212E-06   -.45869E-04
  17  Normalizat    .97660        .20531        .76057E-05    .39863E-04
  18  Prefactor     1.0306        .88782E-01   -.24847E-05    .82145E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77556e-10
  norm       = 4.76841e-08
  norm       = 0
  norm       = 16.2526
  Prefactor  = 3.16303e-07
  Prefactor  = 19.0886
  norm       = 4.583e-07
  norm       = 1.66533e-10
  norm       = 3.11251e-07
  Prefactor  = 8.9849
  norm       = 9.85531
  Prefactor  = 7.83817e-08
  Prefactor  = 2.84929
  Prefactor  = 1.38778e-09
  Prefactor  = 0
  Prefactor  = 5.09927
  Normalizat = 0.976601
  Prefactor  = 1.0306
 **********
 **   18 **HESSE 
 **********

 FCN=   11148.47     FROM HESSE     STATUS=OK           286 CALLS     1298 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27756E-09    2.3880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .47684E-07    3.9596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .36381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.253        10.541        .24807E-03   -1.5627    
   5  Prefactor     .31630E-06    6.5153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.089        11.758        .22899E-03   -1.5621    
   7  norm          .45830E-06    6.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .16653E-09    2.2537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .31125E-06    2.3240        .99788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.9849        16.838        .33350E-03   -1.5648    
  11  norm          9.8553        4.4731        .31839E-03   -1.5645    
  12  Prefactor     .78382E-07    4.0647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8493        3.3149        .60469E-03   -1.5674    
  14  Prefactor     .13878E-08    29.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.6389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.0993        4.9097        .44576E-03   -1.5663    
  17  Normalizat    .97660        .18335        .85573E-01   -.93818    
  18  Prefactor     1.0306        .78093E-01    .41207E-01   -.91716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95856e-07
Minuit parameter uncertainties:
  1  5.32851e-05
  2  0.000869086
  3  3.07623e-06
  4  10.541
  5  0.00287121
  6  11.758
  7  0.00344916
  8  3.57438e-05
  9  0.00170105
  10  16.8381
  11  4.47313
  12  0.00112902
  13  3.31488
  14  0.000406598
  15  6.45231e-06
  16  4.90974
  17  0.183469
  18  0.0781012
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  3.113e-07  1.701e-03  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.031e+00  7.810e-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.766e-01  1.835e-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: 7.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/93118/likelihoodResults_683596801_683856001_4FGL_J1023.9-3236_daily_bin1714.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) = 11148.5010426
delta logL = -0.0269349281607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11148.2162496
delta logL = 0.257858063151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16148       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .93481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0406       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=   11148.22     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      297 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16163        .27402        .59171E-05** at limit **
   2  alpha         5.0000        4.0214        .50000    ** at limit **
   3  Normalizat    .93487        .21144        .38630E-03   -.31678E-03
   4  Prefactor     1.0406        .90063E-01    .16044E-03   -.44620E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.161628
  alpha      = 5
  Normalizat = 0.934872
  Prefactor  = 1.04062
 **********
 **   18 **HESSE 
 **********

 FCN=   11148.22     FROM HESSE     STATUS=OK            31 CALLS      328 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16163        .27224        .23668E-06   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.0077        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .93487        .21160        .15452E-04   -.95245    
   4  Prefactor     1.0406        .90122E-01    .32087E-04   -.91387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47248e-10
Minuit parameter uncertainties:
  1  0.27224
  2  9.5848e-05
  3  0.211791
  4  0.0901346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93118': 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) = 11148.2162493
delta logL = 0.257858438863

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  1.616e-01  2.722e-01  0.000e+00  1.000e+06 ( 1.000e-12)
346        alpha:  5.000e+00  9.585e-05  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.041e+00  9.013e-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.349e-01  2.118e-01  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/93118/cmap_HighResolution_683596801_683856001_4FGL_J1023.9-3236_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-05', job_status='DONE', photon_flux_upper_limit='7.12e-08', time_completed='2022-09-16 15:35:51.648465', job_id='93118', GAL2='1.04', fit_tolerance='1e-08', EG2='0.93', EG='0.98', time_epoch_completed='1663367751.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.58e-01', ts2='0.55', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1714' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:35:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 93118: <4FGL_J1023.9-3236_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1023.9-3236_daily_bin1714> 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) <bullet0237>, 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:35:52 2022
Results reported at Fri Sep 16 15:35:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1714 155.996 -32.6034 683596801 683856001 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 :                                   716.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            932 sec.

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

