/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 22 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1957.1-3231_daily_bin1463
RA = 299.286, Dec = -32.5246
tmin = 618537601, tmax = 618796801
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='409253', job_status='RUN', time_executed='2021-09-23 23:52:50.288649', time_epoch_executed='1632466370.29' WHERE source_name='4FGL J1957.1-3231' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409253

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409253/ft1_4FGL_J1957.1-3231_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409253/ft1_4FGL_J1957.1-3231_daily_bin1463.fits outfile=/scratch/kocevski/409253/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1463.fits ra=299.286 dec=-32.5246 rad=12.0 tmin=618537601.0 tmax=618796801.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.74
user 3.52
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.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/409253/ft1_filteredMKT_4FGL_J1957.1-3231_daily_bin1463.fits evtable="EVENTS" outfile="/scratch/kocevski/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/409253/ltcube_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.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/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits
.....................!
real 11.69
user 11.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/409253/ltcube_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.fits outfile=/scratch/kocevski/409253/expmap_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.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/409253/ltcube_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.fits
.....................!
real 189.70
user 185.09
sys 4.31

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/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.fits scfile=/scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits outfile=/scratch/kocevski/409253/cmap_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.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/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.fits scfile=/scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits outfile=/scratch/kocevski/409253/cmap_HighResolution_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.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.56
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409253/Model_4FGL_J1957.1-3231_daily_bin1463.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/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.fits.....................!
real 88.77
user 87.42
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.fits', '/scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits', expMap='/scratch/kocevski/409253/expmap_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.fits', expCube='/scratch/kocevski/409253/ltcube_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/409253/Model_4FGL_J1957.1-3231_daily_bin1463.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  1.000e-04  1.000e+04 ( 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/409253/ft1_filtered_4FGL_J1957.1-3231_daily_bin1463.fits
Spacecraft file(s): /scratch/kocevski/409253/ft2_4FGL_J1957.1-3231_daily_bin1463.fits
Exposure map: /scratch/kocevski/409253/expmap_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.fits
Exposure cube: /scratch/kocevski/409253/ltcube_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/409253/Model_4FGL_J1957.1-3231_daily_bin1463.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) = 9832.92390079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19349E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.6057       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0896       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.619       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4796       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12669E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6439       1.0000         .10000E-03   10000.    
     9 'norm      '    10.933       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    22.142       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .51480       1.0000         .10000E-03   10000.    
    15 'Prefactor '    95.542       1.0000         .10000E-03   10000.    
    16 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.569       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4856       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .83132       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.

 FCN=   9832.921     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1868 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    13.548       -.34697E-05** at limit **
   2  norm          2.6067        1.9966       -.11492E-06    .18122E-03
   3  Prefactor     7.0903        5.4569        .30610E-05    .29411E-03
   4  Prefactor     19.479        108.60       -.30415E-03    .67991E-04
   5  Prefactor     8.4773        10.667       -.22579E-06    .40892E-04
   6  Prefactor     .10000E-03    29.147       -.20775E-05** at limit **
   7  norm          .10000E-03    12.945        .53919E-05** at limit **
   8  Prefactor     2.6435        4.9093       -.74150E-05   -.53471E-03
   9  norm          10.934        1.8743       -.25504E-06    .12418E-02
  10  Prefactor     .10000E-03    18.456        .58562E-05** at limit **
  11  norm          .10000E-03    4.6762       -.47913E-06** at limit **
  12  norm          22.139        15.155       -.32249E-05    .95489E-04
  13  Prefactor     .10000E-03    13.848       -.39719E-05** at limit **
  14  norm          .51638        6.3449       -.75506E-05    .48807E-03
  15  Prefactor     95.590        69.158        .45901E-04    .26949E-03
  16  norm          .10000E-03    8.1981        .88398E-07** at limit **
  17  Prefactor     18.570        10.062       -.55080E-05    .51675E-03
  18  Normalizat    1.4855        .28253        .13062E-04    .79404E-03
  19  Prefactor     .83131        .78185E-01    .33711E-05    .13288E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100013
  norm       = 2.60669
  Prefactor  = 7.09029
  Prefactor  = 19.479
  Prefactor  = 8.47732
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.64352
  norm       = 10.9336
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 22.1387
  Prefactor  = 0.0001
  norm       = 0.51638
  Prefactor  = 95.5904
  norm       = 0.0001
  Prefactor  = 18.5695
  Normalizat = 1.48555
  Prefactor  = 0.831315
 **********
 **   18 **HESSE 
 **********

 FCN=   9832.921     FROM HESSE     STATUS=OK           264 CALLS     2132 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    14.160        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.6067        1.9976        .11941E-03   -1.5385    
   3  Prefactor     7.0903        5.4551        .15066E-03   -1.5175    
   4  Prefactor     19.479        109.34        .90424E-04   -1.4825    
   5  Prefactor     8.4773        10.663        .13766E-03   -1.5126    
   6  Prefactor     .10000E-03    29.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    12.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.6435        4.9089        .25074E-03   -1.5383    
   9  norm          10.934        1.8780        .53239E-04   -1.5047    
  10  Prefactor     .10000E-03    18.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.7111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          22.139        15.168        .85123E-04   -1.4767    
  13  Prefactor     .10000E-03    13.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .51638        56.362        .47062E-02   -1.5564    
  15  Prefactor     95.590        69.375        .20560E-03   -1.3749    
  16  norm          .10000E-03    8.2046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.570        10.088        .92945E-04   -1.4846    
  18  Normalizat    1.4855        .33018        .43207E-03   -.78185    
  19  Prefactor     .83131        .91757E-01    .16365E-03   -.98584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3218e-09
Minuit parameter uncertainties:
  1  0.000859622
  2  1.99764
  3  5.45543
  4  92.5588
  5  10.6651
  6  0.000157225
  7  4.91188e-05
  8  4.90963
  9  1.87797
  10  2.36551e-05
  11  5.16822e-05
  12  15.1709
  13  3.65103e-05
  14  10.799
  15  69.4338
  16  2.44257e-05
  17  10.0893
  18  0.330661
  19  0.0917741
Done.

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

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  2.644e+00  4.910e+00  1.000e-04  1.000e+04 ( 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:  8.313e-01  9.177e-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.486e+00  3.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/409253/likelihoodResults_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.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) = 9832.86712205
delta logL = 0.0542664287241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9832.85144736
delta logL = 0.0699411212227

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8962       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0666       1.0000          .0000       10.000    
     3 'Normalizat'    1.4705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83381       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=   9832.851     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8938        77.162        .75523E-02    .12466E-02
   2  Index         3.0669        6.5282        .21959        .11203E-03
   3  Normalizat    1.4705        .66406E-01    .97943E-01    .21247E-04
   4  Prefactor     .83380        .19300E-01    .44156E-01    .55266E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89384
  Index      = 3.0669
  Normalizat = 1.47047
  Prefactor  = 0.833805
 **********
 **   18 **HESSE 
 **********

 FCN=   9832.851     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8938        5.5800        .20156E-03   -1.5433    
   2  Index         3.0669        1.7476        .12699E-01   -.39696    
   3  Normalizat    1.4705        .31145        .43388E-03   -.78611    
   4  Prefactor     .83380        .90993E-01    .16341E-03   -.98494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83653e-11
Minuit parameter uncertainties:
  1  5.58153
  2  1.79235
  3  0.311857
  4  0.0910094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409253': 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) = 9832.85144713
delta logL = 0.0699413472721

Extracting fit parameters...

4FGL J1957.1-3231
   Spectrum: PowerLaw
458    Prefactor:  1.894e+00  5.582e+00  1.000e-04  1.000e+04 ( 1.000e-12)
459        Index:  3.067e+00  1.792e+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:  8.338e-01  9.101e-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.470e+00  3.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
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/409253/cmap_HighResolution_618537601_618796801_4FGL_J1957.1-3231_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.56e-07', time_completed='2021-09-24 00:07:16.107303', job_id='409253', GAL2='0.83', fit_tolerance='1e-08', EG2='1.47', EG='1.49', time_epoch_completed='1632467236.11', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='6.99e-02', ts2='0.49', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1463' AND source_name='4FGL J1957.1-3231' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 00:07:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 409253: <4FGL_J1957.1-3231_daily_bin1463> in cluster <slac> Done

Job <4FGL_J1957.1-3231_daily_bin1463> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep 23 23:52:11 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 23:52:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 23:52:15 2021
Terminated at Fri Sep 24 00:07:16 2021
Results reported at Fri Sep 24 00:07:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1957.1-3231_daily_bin1463 299.286 -32.5246 618537601 618796801 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 :                                   848.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            905 sec.

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

