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


Performing analysis on: 4FGL_J1957.1-3231_daily_bin1733
RA = 299.286, Dec = -32.5246
tmin = 688521601, tmax = 688780801
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='708311', job_status='RUN', time_executed='2022-10-30 00:36:45.963108', time_epoch_executed='1667115405.96' WHERE source_name='4FGL J1957.1-3231' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708311/ft1_4FGL_J1957.1-3231_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708311/ft1_4FGL_J1957.1-3231_daily_bin1733.fits outfile=/scratch/kocevski/708311/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1733.fits ra=299.286 dec=-32.5246 rad=12.0 tmin=688521601.0 tmax=688780801.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.55
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.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/708311/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1733.fits evtable="EVENTS" outfile="/scratch/kocevski/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.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.53
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 830

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/708311/ltcube_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.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/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits
.....................!
real 12.01
user 11.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/708311/ltcube_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.fits outfile=/scratch/kocevski/708311/expmap_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.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/708311/ltcube_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.fits
.....................!
real 191.24
user 185.14
sys 5.70

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/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.fits scfile=/scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits outfile=/scratch/kocevski/708311/cmap_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.fits scfile=/scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits outfile=/scratch/kocevski/708311/cmap_HighResolution_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/708311/Model_4FGL_J1957.1-3231_daily_bin1733.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/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.fits.....................!
real 80.68
user 79.35
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.fits', '/scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits', expMap='/scratch/kocevski/708311/expmap_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.fits', expCube='/scratch/kocevski/708311/ltcube_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/708311/Model_4FGL_J1957.1-3231_daily_bin1733.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/708311/ft1_filtered_4FGL_J1957.1-3231_daily_bin1733.fits
Spacecraft file(s): /scratch/kocevski/708311/ft2_4FGL_J1957.1-3231_daily_bin1733.fits
Exposure map: /scratch/kocevski/708311/expmap_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.fits
Exposure cube: /scratch/kocevski/708311/ltcube_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/708311/Model_4FGL_J1957.1-3231_daily_bin1733.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) = 8944.50583678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     2 'norm      '    .83267E-09   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4418       1.0000          .0000       .10000E+07
     4 'Prefactor '    .74674E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     6 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .95329       1.0000          .0000       .10000E+07
     8 'norm      '    2.0838       1.0000          .0000       .10000E+07
     9 'Prefactor '    51.778       1.0000          .0000       .10000E+07
    10 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    11 'norm      '    .84932E-07   1.0000          .0000       .10000E+07
    12 'norm      '    13.432       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29160E-06   1.0000          .0000       .10000E+07
    14 'norm      '     .0000       1.0000          .0000       .10000E+07
    15 'Prefactor '    .97988E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1873       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0494       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=   8944.463     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1449 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.9204       -.45378E-06** at limit **
   2  norm           .0000        2.2864        .68046E-07** at limit **
   3  Prefactor     5.4422        6.6805       -.27764E-06   -.25983E-03
   4  Prefactor     .49433E-06    8.8728       -.37501E-05** at limit **
   5  Prefactor     .23870E-07    15.148        .24154E-05** at limit **
   6  norm          .24702E-07    4.3705        .98777E-06** at limit **
   7  Prefactor     .95375        3.5143       -.34442E-05   -.31093E-01
   8  norm          2.0837        1.0500       -.65480E-07    .51838E-02
   9  Prefactor     51.775        1.2595       -.76470E-07    .76830E-02
  10  norm          .55511E-10    3.5872       -.27470E-06** at limit **
  11  norm          .34106E-06    7.7850        .18448E-05** at limit **
  12  norm          13.432        2.2012       -.37871E-06   -.60610E-02
  13  Prefactor     .44409E-09    61.849        .49478E-05** at limit **
  14  norm          .65836E-07    8.2008        .36329E-06** at limit **
  15  Prefactor     .53291E-07    4.1997       -.23725E-05** at limit **
  16  Normalizat    1.1874        .32297       -.94337E-05   -.21529E-03
  17  Prefactor     1.0493        .10117        .10695E-05   -.54307E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 5.44219
  Prefactor  = 4.94327e-07
  Prefactor  = 2.38698e-08
  norm       = 2.47025e-08
  Prefactor  = 0.953748
  norm       = 2.08367
  Prefactor  = 51.7755
  norm       = 5.55112e-11
  norm       = 3.41061e-07
  norm       = 13.432
  Prefactor  = 4.44089e-10
  norm       = 6.58362e-08
  Prefactor  = 5.32907e-08
  Normalizat = 1.18737
  Prefactor  = 1.04934
 **********
 **   18 **HESSE 
 **********

 FCN=   8944.463     FROM HESSE     STATUS=OK           249 CALLS     1698 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.9197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.2847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4422        6.6963        .43051E-03   -1.5661    
   4  Prefactor     .49433E-06    12.726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .23870E-07    15.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .24702E-07    6.9942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .95375        7.2399        .42143E-03   -1.5688    
   8  norm          2.0837        1.0525        .71502E-04   -1.5679    
   9  Prefactor     51.775        39.416        .13898E-03   -1.5564    
  10  norm          .55511E-10    3.5895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .34106E-06    10.980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.432        13.300        .27305E-03   -1.5635    
  13  Prefactor     .44409E-09    61.963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .65836E-07    8.7259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .53291E-07    7.2784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1874        .28552        .10694       -.86994    
  17  Prefactor     1.0493        .87845E-01    .39947E-01   -.91102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63251e-07
Minuit parameter uncertainties:
  1  8.21738e-07
  2  1.46541e-05
  3  6.69631
  4  0.00501644
  5  0.00121402
  6  0.000831619
  7  5.25551
  8  1.05248
  9  39.4158
  10  3.12548e-05
  11  0.00387047
  12  13.3005
  13  0.000336178
  14  0.00151592
  15  0.00124587
  16  0.285892
  17  0.0878566
Done.

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

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  9.537e-01  5.256e+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

GAL_V02
   Spectrum: PowerLaw
752    Prefactor:  1.049e+00  8.786e-02  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.187e+00  2.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 299.286 -32.525
Photon Flux Upper Limit: 1.64e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/708311/likelihoodResults_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.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) = 8944.39107395
delta logL = 0.0716390936341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8944.38486822
delta logL = 0.077844824862

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7645       1.0000          .0000       .10000E+07
     2 'Index     '    2.0248       1.0000          .0000       10.000    
     3 'Normalizat'    1.1946       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0457       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8944.385     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      289 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7636        6.9696        .24476E-04   -.14399E-03
   2  Index         2.0248        .99133        .17098E-01    .48832E-05
   3  Normalizat    1.1946        .32192        .47278E-03    .12567E-03
   4  Prefactor     1.0457        .10076        .15484E-03    .27817E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76357
  Index      = 2.02478
  Normalizat = 1.1946
  Prefactor  = 1.04567
 **********
 **   18 **HESSE 
 **********

 FCN=   8944.385     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7636        6.9194        .97903E-06   -1.5675    
   2  Index         2.0248        .98510        .68391E-03   -.63732    
   3  Normalizat    1.1946        .32203        .18911E-04   -.86770    
   4  Prefactor     1.0457        .10079        .30969E-04   -.91222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98181e-11
Minuit parameter uncertainties:
  1  6.91945
  2  0.995245
  3  0.322569
  4  0.100804
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708311': 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) = 8944.38486821
delta logL = 0.0778448364126

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  2.764e+00  6.919e+00  0.000e+00  1.000e+06 ( 1.000e-12)
459        Index:  2.025e+00  9.952e-01  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:  1.046e+00  1.008e-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.195e+00  3.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 299.286 -32.525

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/708311/cmap_HighResolution_688521601_688780801_4FGL_J1957.1-3231_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.64e-07', time_completed='2022-10-30 00:48:25.118335', job_id='708311', GAL2='1.05', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1667116105.12', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='7.78e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1733' AND source_name='4FGL J1957.1-3231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:48:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 708311: <4FGL_J1957.1-3231_daily_bin1733> in cluster <slac> Done

Job <4FGL_J1957.1-3231_daily_bin1733> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct 30 00:35:17 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:35:18 2022
Terminated at Sun Oct 30 00:48:25 2022
Results reported at Sun Oct 30 00:48:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1957.1-3231_daily_bin1733 299.286 -32.5246 688521601 688780801 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 :                                   701.22 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             325.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            788 sec.

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

