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


Performing analysis on: 4FGL_J1023.9-3236_daily_bin1762
RA = 155.996, Dec = -32.6034
tmin = 696038401, tmax = 696297601
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='106553', job_status='RUN', time_executed='2023-01-25 00:49:02.791302', time_epoch_executed='1674636542.79' WHERE source_name='4FGL J1023.9-3236' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106553

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106553/ft1_4FGL_J1023.9-3236_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106553/ft2_4FGL_J1023.9-3236_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106553/ft1_4FGL_J1023.9-3236_daily_bin1762.fits outfile=/scratch/kocevski/106553/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1762.fits ra=155.996 dec=-32.6034 rad=12.0 tmin=696038401.0 tmax=696297601.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.72
user 3.47
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106553/ft2_4FGL_J1023.9-3236_daily_bin1762.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/106553/ft1_filteredMKT_4FGL_J1023.9-3236_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/106553/ft1_filtered_4FGL_J1023.9-3236_daily_bin1762.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.57
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 1067

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106553/ft1_filtered_4FGL_J1023.9-3236_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/106553/ft2_4FGL_J1023.9-3236_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/106553/ltcube_696038401_696297601_4FGL_J1023.9-3236_daily_bin1762.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/106553/ft2_4FGL_J1023.9-3236_daily_bin1762.fits
.....................!
real 14.77
user 14.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106553/ft1_filtered_4FGL_J1023.9-3236_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106553/ft2_4FGL_J1023.9-3236_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/106553/ltcube_696038401_696297601_4FGL_J1023.9-3236_daily_bin1762.fits outfile=/scratch/kocevski/106553/expmap_696038401_696297601_4FGL_J1023.9-3236_daily_bin1762.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/106553/ltcube_696038401_696297601_4FGL_J1023.9-3236_daily_bin1762.fits
.....................!
real 194.26
user 187.44
sys 4.92

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/106553/ft1_filtered_4FGL_J1023.9-3236_daily_bin1762.fits scfile=/scratch/kocevski/106553/ft2_4FGL_J1023.9-3236_daily_bin1762.fits outfile=/scratch/kocevski/106553/cmap_696038401_696297601_4FGL_J1023.9-3236_daily_bin1762.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.62
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106553/ft1_filtered_4FGL_J1023.9-3236_daily_bin1762.fits scfile=/scratch/kocevski/106553/ft2_4FGL_J1023.9-3236_daily_bin1762.fits outfile=/scratch/kocevski/106553/cmap_HighResolution_696038401_696297601_4FGL_J1023.9-3236_daily_bin1762.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/106553/ft1_filtered_4FGL_J1023.9-3236_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106553/ft2_4FGL_J1023.9-3236_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/106553/Model_4FGL_J1023.9-3236_daily_bin1762.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/106553/ft1_filtered_4FGL_J1023.9-3236_daily_bin1762.fits.....................!
real 114.16
user 111.46
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6130       1.0000          .0000       .10000E+07
     2 'norm      '    .23895E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.0352       1.0000          .0000       .10000E+07
     4 'norm      '    5.0474       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.584       1.0000          .0000       .10000E+07
     6 'Prefactor '    .45136E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .36189       1.0000          .0000       .10000E+07
     8 'norm      '    .20403E-03   1.0000          .0000       .10000E+07
     9 'norm      '    7.6849       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.300       1.0000          .0000       .10000E+07
    11 'norm      '    1.2547       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1440       1.0000          .0000       .10000E+07
    13 'Prefactor '    .53873E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26755E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10976E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0267       1.0000          .0000       .10000E+07
    17 'Normalizat'    .98070       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96663       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=   11073.20     FROM MIGRAD    STATUS=CONVERGED     91 CALLS     1010 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5892        4.5625        .87970E-06    .13101E-02
   2  norm          .55511E-10    2.0014       -.40559E-06** at limit **
   3  norm          1.0347        .95822       -.14946E-06    .77501E-04
   4  norm          5.0471        1.0343        .79548E-09    .99584E-02
   5  Prefactor     16.000        15.635       -.20501E-06   -.16095E-02
   6  Prefactor     .55511E-10    3.2719       -.38449E-06** at limit **
   7  norm          .27051        4.3977        .26225E-06    .10292E-02
   8  norm           .0000        1.3157       -.21935E-06** at limit **
   9  norm          7.7067        1.5336        .94952E-07    .48610E-01
  10  Prefactor     12.308        10.827       -.11359E-05    .51636E-02
  11  norm          1.2549        1.6896       -.96310E-07   -.35451E-04
  12  Prefactor     2.1525        1.2534        .11029E-06    .16710E-02
  13  Prefactor      .0000        1.3749        .35475E-06** at limit **
  14  Prefactor     .11102E-09    2.7789        .90387E-07** at limit **
  15  Prefactor     .55511E-10    1.9288       -.72968E-07** at limit **
  16  Prefactor     4.0295        1.1163       -.34308E-07    .42850E-02
  17  Normalizat    .98017        .20632       -.29709E-05    .40454E-05
  18  Prefactor     .96673        .89634E-01    .63524E-05    .14194E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58925
  norm       = 5.55112e-11
  norm       = 1.03469
  norm       = 5.04707
  Prefactor  = 15.9996
  Prefactor  = 5.55112e-11
  norm       = 0.27051
  norm       = 0
  norm       = 7.70667
  Prefactor  = 12.308
  norm       = 1.25493
  Prefactor  = 2.15252
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 4.02953
  Normalizat = 0.980166
  Prefactor  = 0.966732
 **********
 **   18 **HESSE 
 **********

 FCN=   11073.20     FROM HESSE     STATUS=OK           286 CALLS     1296 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5892        4.5986        .83354E-03   -1.5683    
   2  norm          .55511E-10    2.0077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0347        .97356        .12389E-02   -1.5688    
   4  norm          5.0471        7.1457        .44733E-03   -1.5663    
   5  Prefactor     16.000        16.118        .25345E-03   -1.5628    
   6  Prefactor     .55511E-10    3.2762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27051        3.9451        .94041E-02   -1.5698    
   8  norm           .0000        1.3152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.7067        6.1005        .36150E-03   -1.5652    
  10  Prefactor     12.308        10.980        .28537E-03   -1.5638    
  11  norm          1.2549        1.7378        .99691E-03   -1.5686    
  12  Prefactor     2.1525        12.605        .70355E-03   -1.5679    
  13  Prefactor      .0000        1.3721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-09    2.7936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    1.9146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0295        7.0557        .50229E-03   -1.5668    
  17  Normalizat    .98017        .18025        .80252E-01   -.93698    
  18  Prefactor     .96673        .76118E-01    .45849E-01   -.93847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84068e-08
Minuit parameter uncertainties:
  1  4.5986
  2  1.70584e-05
  3  0.973559
  4  7.14576
  5  16.1178
  6  2.99977e-05
  7  2.06609
  8  5.72197e-07
  9  6.10055
  10  10.9804
  11  1.73784
  12  10.4179
  13  1.13459e-05
  14  3.70896e-05
  15  2.10268e-05
  16  7.05567
  17  0.180366
  18  0.0761267
Done.

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

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  7.707e+00  6.101e+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.667e-01  7.613e-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.802e-01  1.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.80
Ra Dec: 155.996 -32.603
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 9.69e-06

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

Saving results to:
/scratch/kocevski/106553/likelihoodResults_696038401_696297601_4FGL_J1023.9-3236_daily_bin1762.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) = 11073.1280328
delta logL = 0.0736688753459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11073.119557
delta logL = 0.0821446980135

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4565       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1297       1.0000          .0000       5.0000    
     3 'Normalizat'    .99148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96349       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=   11073.12     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      233 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4567        6.5519        .13779E-04   -.62176E-02
   2  alpha         2.1299        .68052        .22781E-01   -.52238E-04
   3  Normalizat    .99149        .20380        .35340E-03    .43429E-04
   4  Prefactor     .96349        .89408E-01    .15705E-03    .11724E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.45666
  alpha      = 2.12988
  Normalizat = 0.991485
  Prefactor  = 0.963491
 **********
 **   18 **HESSE 
 **********

 FCN=   11073.12     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4567        6.5220        .55117E-06   -1.5650    
   2  alpha         2.1299        .67733        .91124E-03   -.14860    
   3  Normalizat    .99149        .20388        .14136E-04   -.93316    
   4  Prefactor     .96349        .89447E-01    .31410E-04   -.93957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84981e-10
Minuit parameter uncertainties:
  1  6.52196
  2  0.686105
  3  0.204037
  4  0.0894608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106553': 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) = 11073.1195569
delta logL = 0.0821447335184

Extracting fit parameters...

4FGL J1023.9-3236
   Spectrum: LogParabola
345         norm:  8.457e+00  6.522e+00  0.000e+00  1.000e+06 ( 1.000e-12)
346        alpha:  2.130e+00  6.861e-01  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.635e-01  8.946e-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.915e-01  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.96
Ra Dec: 155.996 -32.603
Photon Index (Free Index): 2.13 +/- 0.69
Photon Flux (Free Index): 3.24e-08 +/- 3.12e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.14e-05

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/106553/cmap_HighResolution_696038401_696297601_4FGL_J1023.9-3236_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='1.37e-05', photon_flux_error='3.14e-08', dlogl='8.21e-02', energy_flux='1.22e-05', photon_flux2='3.24e-08', job_status='DONE', time_completed='2023-01-25 01:01:33.280261', photon_index_error2='0.69', photon_index2='2.13', ts='2.80', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.14e-05', EG='0.98', time_epoch_completed='1674637293.28', return_code='0', job_id='106553', GAL2='0.96', EG2='0.99', return_code2='0', energy_flux_error='9.69e-06', photon_flux_error2='3.12e-08', ts2='2.96', photon_index='2.42' WHERE bin_id='1762' AND source_name='4FGL J1023.9-3236' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:01:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 106553: <4FGL_J1023.9-3236_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1023.9-3236_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:45:24 2023
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:48:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:48:43 2023
Terminated at Wed Jan 25 01:01:34 2023
Results reported at Wed Jan 25 01:01:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.9-3236_daily_bin1762 155.996 -32.6034 696038401 696297601 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 :                                   745.60 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             393.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            970 sec.

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

