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


Performing analysis on: 4FGL_J1957.1-3231_daily_bin1760
RA = 299.286, Dec = -32.5246
tmin = 695520001, tmax = 695779201
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='748481', job_status='RUN', time_executed='2023-01-19 01:39:15.279946', time_epoch_executed='1674121155.28' WHERE source_name='4FGL J1957.1-3231' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/748481

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/748481/ft1_4FGL_J1957.1-3231_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/748481/ft1_4FGL_J1957.1-3231_daily_bin1760.fits outfile=/scratch/kocevski/748481/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1760.fits ra=299.286 dec=-32.5246 rad=12.0 tmin=695520001.0 tmax=695779201.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.44
user 2.21
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.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/748481/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.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.33
sys 0.16

Number of photons that the gtmktime cut: 27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/748481/ltcube_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.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/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits
.....................!
real 16.89
user 16.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/748481/ltcube_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.fits outfile=/scratch/kocevski/748481/expmap_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.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/748481/ltcube_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.fits
.....................!
real 193.83
user 188.46
sys 4.91

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 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1957.1-3231 @ 299.286 -32.5246

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.fits scfile=/scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits outfile=/scratch/kocevski/748481/cmap_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.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=299.286 yref=-32.5246 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.fits scfile=/scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits outfile=/scratch/kocevski/748481/cmap_HighResolution_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.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=299.286 yref=-32.5246 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.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/748481/Model_4FGL_J1957.1-3231_daily_bin1760.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/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.fits...........................!
real 17.15
user 15.14
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.fits', '/scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits', expMap='/scratch/kocevski/748481/expmap_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.fits', expCube='/scratch/kocevski/748481/ltcube_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/748481/Model_4FGL_J1957.1-3231_daily_bin1760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1957.1-3231'

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  1.079e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  2.579e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
460        Scale:  7.441e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/748481/ft1_filtered_4FGL_J1957.1-3231_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/748481/ft2_4FGL_J1957.1-3231_daily_bin1760.fits
Exposure map: /scratch/kocevski/748481/expmap_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.fits
Exposure cube: /scratch/kocevski/748481/ltcube_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/748481/Model_4FGL_J1957.1-3231_daily_bin1760.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) = 337.371012787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26399       1.0000          .0000       .10000E+07
     2 'norm      '    .59292       1.0000          .0000       .10000E+07
     3 'Prefactor '    950.22       1.0000          .0000       .10000E+07
     4 'Prefactor '    809.86       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22114E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .67048       1.0000          .0000       .10000E+07
     7 'Prefactor '    211.00       1.0000          .0000       .10000E+07
     8 'norm      '    .61062E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    .55958E-02   1.0000          .0000       .10000E+07
    10 'norm      '    61.678       1.0000          .0000       .10000E+07
    11 'norm      '    .27383E-01   1.0000          .0000       .10000E+07
    12 'norm      '    158.83       1.0000          .0000       .10000E+07
    13 'Prefactor '    .76878       1.0000          .0000       .10000E+07
    14 'norm      '    .94892E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6136       1.0000          .0000       .10000E+07
    16 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    17 'Prefactor '    .45644       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   337.2616     FROM MIGRAD    STATUS=CONVERGED    219 CALLS     1417 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10913E-06    2841.6        .80933E-06** at limit **
   2  norm          6.2217        464.65        .66961E-07    .20115E-01
   3  Prefactor     971.72        244.53       -.10200E-06    .13839    
   4  Prefactor     827.58        207.15       -.95606E-07    .69069E-01
   5  Prefactor      .0000        314.10       -.12420E-07** at limit **
   6  norm          .55511E-10    320.33        .47912E-08** at limit **
   7  Prefactor     153.87        587.64        .68521E-06    .49729E-01
   8  norm           .0000        6.0634       -.13379E-08** at limit **
   9  Prefactor     .45077E-04    1182.7        .16308E-07** at limit **
  10  norm          61.988        67.061       -.32200E-07   -.10626E-02
  11  norm           .0000        38.735       -.32315E-09** at limit **
  12  norm          147.77        149.42       -.24368E-06   -.36454E-02
  13  Prefactor     .77967E-03    3908.1       -.44606E-05** at limit **
  14  norm           .0000        52.797        .27302E-08** at limit **
  15  Prefactor     1.7420        144.69        .11896E-05    .16371E-04
  16  Normalizat    .10000E-01    .65228       -.91647E-05** at limit **
  17  Prefactor     .46445        .21530       -.65505E-06   -.17449E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09135e-07
  norm       = 6.2217
  Prefactor  = 971.715
  Prefactor  = 827.583
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 153.869
  norm       = 0
  Prefactor  = 4.50772e-05
  norm       = 61.9877
  norm       = 0
  norm       = 147.768
  Prefactor  = 0.000779674
  norm       = 0
  Prefactor  = 1.74203
  Normalizat = 0.01
  Prefactor  = 0.464452
 **********
 **   18 **HESSE 
 **********

 FCN=   337.2616     FROM HESSE     STATUS=OK           247 CALLS     1664 TOTAL
                     EDM=   .94E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10913E-06    2861.6        .10732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.2217        60858.        .69865E-03   -1.5658    
   3  Prefactor     971.72        692.99        .32456E-04   -1.5084    
   4  Prefactor     827.58        839.01        .35154E-04   -1.5133    
   5  Prefactor      .0000        314.10        .16901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    320.47        .63138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     153.87        795.22        .68850E-04   -1.5460    
   8  norm           .0000        6.1526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .45077E-04    1193.7        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          61.988        67.697        .12734E-03   -1.5550    
  11  norm           .0000        38.724        .16592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          147.77        153.65        .79354E-04   -1.5465    
  13  Prefactor     .77967E-03    3981.2        .55291E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        53.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7420        149.19        .83335E-03   -1.5682    
  16  Normalizat    .10000E-01    .64557        .21486       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .46445        .22719        .39059E-01   -1.1364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40263e-05
Minuit parameter uncertainties:
  1  0.0353568
  2  1243.51
  3  693.044
  4  839.133
  5  1.09631e-05
  6  0.000270769
  7  699.745
  8  3.0413e-06
  9  0.46402
  10  67.6977
  11  4.00968e-08
  12  153.658
  13  3.52599
  14  8.5099e-06
  15  32.2433
  16  6.97855e-06
  17  0.227638
Done.

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

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  1.539e+02  6.997e+02  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  2.579e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
460        Scale:  7.441e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
752    Prefactor:  4.645e-01  2.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
753        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
754        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
751   Normalization:  1.000e-02  6.979e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 299.286 -32.525
Photon Flux Upper Limit: 1.87e-05 ph cm-2 s-1
Energy Flux Upper Limit: 1.46e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/748481/likelihoodResults_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.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) = 336.35460115
delta logL = 0.906961889676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 336.31644059
delta logL = 0.945122449239

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.779       1.0000          .0000       .10000E+07
     2 'Index     '    5.0827       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42045       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   336.3164     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      276 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.779        853.70        .21944E-03    .36147E-03
   2  Index         5.0828        7.5204        .41675E-01    .76851E-05
   3  Normalizat    .10000E-01    .22776        .14621    ** at limit **
   4  Prefactor     .42045        .14302        .38546E-01    .61511E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7787
  Index      = 5.0828
  Normalizat = 0.01
  Prefactor  = 0.420447
 **********
 **   18 **HESSE 
 **********

 FCN=   336.3164     FROM HESSE     STATUS=OK            29 CALLS      305 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.779        105.78        .73051E-05   -1.5617    
   2  Index         5.0828        2.4767        .18254E-03    .16560E-01
   3  Normalizat    .10000E-01    .32182        .63348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42045        .16487        .14463E-03   -1.1578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74232e-11
Minuit parameter uncertainties:
  1  93.7695
  2  2.59118
  3  1.37544e-07
  4  0.16506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/748481': 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) = 336.316440576
delta logL = 0.945122463245

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  2.078e+01  9.377e+01  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  5.083e+00  2.591e+00  0.000e+00  1.000e+01 (-1.000e+00)
460        Scale:  7.441e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
752    Prefactor:  4.204e-01  1.651e-01  0.000e+00  1.000e+01 ( 1.000e+00)
753        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
754        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
751   Normalization:  1.000e-02  1.375e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.98
Ra Dec: 299.286 -32.525
Photon Index (Free Index): 5.08 +/- 2.59
Photon Flux (Free Index): 1.38e-05 +/- 1.26e-05
Energy Flux (Free Index): 1.82e-03 +/- 1.65e-03

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/748481/cmap_HighResolution_695520001_695779201_4FGL_J1957.1-3231_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e+00', comment='SUCCESS', energy_flux2='1.82e-03', dlogl='9.45e-01', photon_flux2='1.38e-05', job_status='DONE', time_completed='2023-01-19 01:45:05.898082', photon_index_error2='2.59', photon_index2='5.08', ts='0.07', fit_tolerance='1e-08', GAL='0.46', photon_index_error='0.00', photon_flux_upper_limit='1.87e-05', energy_flux_error2='1.65e-03', EG='0.01', time_epoch_completed='1674121505.9', return_code='0', job_id='748481', GAL2='0.42', EG2='0.01', return_code2='0', photon_flux_error2='1.26e-05', ts2='1.98', photon_index='2.58' WHERE bin_id='1760' AND source_name='4FGL J1957.1-3231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:45:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 748481: <4FGL_J1957.1-3231_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1957.1-3231_daily_bin1760> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jan 19 01:35:23 2023
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 01:35:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 01:35:47 2023
Terminated at Thu Jan 19 01:45:06 2023
Results reported at Thu Jan 19 01:45:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1957.1-3231_daily_bin1760 299.286 -32.5246 695520001 695779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1957.1-3231 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   349.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            583 sec.

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

