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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1728
RA = 155.996, Dec = -32.6034
tmin = 687225601, tmax = 687484801
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='420701', job_status='RUN', time_executed='2022-10-15 08:31:04.467126', time_epoch_executed='1665847864.47' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/420701

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/420701/ft1_4FGL_J1023.9-3236_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/420701/ft2_4FGL_J1023.9-3236_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/420701/ft1_4FGL_J1023.9-3236_daily_bin1728.fits outfile=/scratch/kocevski/420701/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1728.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=687225601.0 tmax=687484801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.74
user 2.51
sys 0.20

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

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

Number of photons that the gtmktime cut: 731

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/420701/ft1_filtered_4FGL_J1023.9-3236_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/420701/ft2_4FGL_J1023.9-3236_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/420701/ltcube_687225601_687484801_4FGL_J1023.9-3236_daily_bin1728.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/420701/ft2_4FGL_J1023.9-3236_daily_bin1728.fits
.....................!
real 12.21
user 11.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/420701/ft1_filtered_4FGL_J1023.9-3236_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/420701/ft2_4FGL_J1023.9-3236_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/420701/ltcube_687225601_687484801_4FGL_J1023.9-3236_daily_bin1728.fits outfile=/scratch/kocevski/420701/expmap_687225601_687484801_4FGL_J1023.9-3236_daily_bin1728.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/420701/ltcube_687225601_687484801_4FGL_J1023.9-3236_daily_bin1728.fits
.....................!
real 191.30
user 185.96
sys 4.97

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/420701/ft1_filtered_4FGL_J1023.9-3236_daily_bin1728.fits scfile=/scratch/kocevski/420701/ft2_4FGL_J1023.9-3236_daily_bin1728.fits outfile=/scratch/kocevski/420701/cmap_687225601_687484801_4FGL_J1023.9-3236_daily_bin1728.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/420701/ft1_filtered_4FGL_J1023.9-3236_daily_bin1728.fits scfile=/scratch/kocevski/420701/ft2_4FGL_J1023.9-3236_daily_bin1728.fits outfile=/scratch/kocevski/420701/cmap_HighResolution_687225601_687484801_4FGL_J1023.9-3236_daily_bin1728.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/420701/ft1_filtered_4FGL_J1023.9-3236_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/420701/ft2_4FGL_J1023.9-3236_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/420701/Model_4FGL_J1023.9-3236_daily_bin1728.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/420701/ft1_filtered_4FGL_J1023.9-3236_daily_bin1728.fits.....................!
real 88.86
user 86.81
sys 1.68

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40745E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .24950E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .17929E-05   1.0000          .0000       .10000E+07
     4 'norm      '    11.293       1.0000          .0000       .10000E+07
     5 'Prefactor '    .70732E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .32621E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .32441E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .31911E-03   1.0000          .0000       .10000E+07
     9 'norm      '    2.3130       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.5630       1.0000          .0000       .10000E+07
    11 'norm      '    2.2327       1.0000          .0000       .10000E+07
    12 'Prefactor '    .33799E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.3476       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15879E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19197       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.7965       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4277       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .91915       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=   7728.836     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      977 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.4221        .48985E-06** at limit **
   2  norm          .55511E-09    3.0377        .25013E-06** at limit **
   3  norm           .0000        .35440       -.40362E-08** at limit **
   4  norm          11.215        1.0487       -.57059E-08   -.29749E-02
   5  Prefactor     .10547E-08    20.916       -.83272E-06** at limit **
   6  Prefactor     .45519E-08    1.8962        .58277E-06** at limit **
   7  norm          .94924E-08    1.7746        .57803E-06** at limit **
   8  norm          .27756E-07    3.9812       -.95796E-06** at limit **
   9  norm          2.3394        1.9745        .85040E-07   -.17034E-02
  10  Prefactor     4.5585        1.1322        .35391E-08   -.14007E-02
  11  norm          2.2269        2.9580        .38837E-07   -.45945E-02
  12  Prefactor     .25535E-08    5.4975       -.41268E-06** at limit **
  13  Prefactor     4.3797        5.3983       -.25081E-06   -.46179E-02
  14  Prefactor     .72164E-08    3.2981       -.72613E-06** at limit **
  15  Prefactor     .37748E-01    1.3536       -.44660E-06** at limit **
  16  Prefactor     1.7460        5.9703        .16867E-05   -.22410E-01
  17  Normalizat    1.4286        .26165       -.82387E-05    .48557E-04
  18  Prefactor     .91907        .10553       -.20692E-05    .54861E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 5.55112e-10
  norm       = 0
  norm       = 11.2154
  Prefactor  = 1.05471e-09
  Prefactor  = 4.55191e-09
  norm       = 9.49241e-09
  norm       = 2.77556e-08
  norm       = 2.33944
  Prefactor  = 4.55852
  norm       = 2.22688
  Prefactor  = 2.55351e-09
  Prefactor  = 4.37968
  Prefactor  = 7.21645e-09
  Prefactor  = 0.0377484
  Prefactor  = 1.74598
  Normalizat = 1.42855
  Prefactor  = 0.919066
 **********
 **   18 **HESSE 
 **********

 FCN=   7728.836     FROM HESSE     STATUS=OK           282 CALLS     1259 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-09    3.1281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .35386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.215        10.795        .29787E-03   -1.5641    
   5  Prefactor     .10547E-08    21.083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45519E-08    3.8469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .94924E-08    3.7939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .27756E-07    4.3827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3394        8.9540        .67430E-03   -1.5677    
  10  Prefactor     4.5585        11.206        .47101E-03   -1.5665    
  11  norm          2.2269        3.0127        .68770E-03   -1.5678    
  12  Prefactor     .25535E-08    5.5535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.3797        5.5497        .48284E-03   -1.5666    
  14  Prefactor     .72164E-08    3.4237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .37748E-01    6.1778        .72157E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7460        27.594        .77981E-03   -1.5682    
  17  Normalizat    1.4286        .23211        .77956E-01   -.79806    
  18  Prefactor     .91907        .91203E-01    .45249E-01   -.95478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41735e-07
Minuit parameter uncertainties:
  1  1.03018e-05
  2  8.32817e-05
  3  3.05687e-07
  4  10.795
  5  0.000295466
  6  0.000264477
  7  0.000379271
  8  0.00069741
  9  8.954
  10  11.2061
  11  3.01273
  12  0.000239137
  13  5.54966
  14  0.00031412
  15  0.965822
  16  13.8821
  17  0.232285
  18  0.0912183
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  2.339e+00  8.954e+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.191e-01  9.122e-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.429e+00  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/420701/likelihoodResults_687225601_687484801_4FGL_J1023.9-3236_daily_bin1728.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) = 7728.56787516
delta logL = 0.267651510101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7728.52580169
delta logL = 0.309724985034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30584       1.0000          .0000       .10000E+07
     2 'alpha     '    4.9990       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93510       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=   7728.526     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      286 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30645        14.887        .10132E-02    .34176E-02
   2  alpha         5.0000        3.5123        .46292    ** at limit **
   3  Normalizat    1.3653        .93275E-01    .79427E-01   -.15857E-04
   4  Prefactor     .93520        .35910E-01    .45451E-01    .64838E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.306451
  alpha      = 5
  Normalizat = 1.36529
  Prefactor  = 0.935204
 **********
 **   18 **HESSE 
 **********

 FCN=   7728.526     FROM HESSE     STATUS=OK            33 CALLS      319 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30645        .49385        .58988E-05   -1.5697    
   2  alpha         5.0000        4.2443        .50000        1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3653        .27548        .35156E-03   -.81638    
   4  Prefactor     .93520        .10800        .16856E-03   -.94922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96184e-10
Minuit parameter uncertainties:
  1  0.49385
  2  0.000271954
  3  0.275775
  4  0.108029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/420701': 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) = 7728.52578676
delta logL = 0.309739909599

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  3.065e-01  4.938e-01  0.000e+00  1.000e+06 ( 1.000e-12)
346        alpha:  5.000e+00  2.720e-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.352e-01  1.080e-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.365e+00  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/420701/cmap_HighResolution_687225601_687484801_4FGL_J1023.9-3236_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-05', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2022-10-15 08:41:04.600864', job_id='420701', GAL2='0.94', fit_tolerance='1e-08', EG2='1.37', EG='1.43', time_epoch_completed='1665848464.6', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.10e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1728' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 08:41:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 420701: <4FGL_J1023.9-3236_daily_bin1728> in cluster <slac> Done

Job <4FGL_J1023.9-3236_daily_bin1728> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Oct 15 08:30:15 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 08:30:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 08:30:17 2022
Terminated at Sat Oct 15 08:41:05 2022
Results reported at Sat Oct 15 08:41:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1728 155.996 -32.6034 687225601 687484801 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 :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             384.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            650 sec.

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

