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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1410
RA = 149.331, Dec = -13.8141
tmin = 604800001, tmax = 605059201
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='593268', job_status='RUN', time_executed='2021-09-01 06:39:11.920002', time_epoch_executed='1630503551.92' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593268

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593268/ft1_4FGL_J0957.3-1348_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593268/ft1_4FGL_J0957.3-1348_daily_bin1410.fits outfile=/scratch/kocevski/593268/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1410.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=604800001.0 tmax=605059201.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 5.04
user 4.78
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.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/593268/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1410.fits evtable="EVENTS" outfile="/scratch/kocevski/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/593268/ltcube_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.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/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits
.....................!
real 11.63
user 11.27
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/593268/ltcube_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.fits outfile=/scratch/kocevski/593268/expmap_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.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/593268/ltcube_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.fits
.....................!
real 189.15
user 184.84
sys 3.99

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

Setting source of interest to:
4FGL J0957.3-1348 @ 149.331 -13.8141

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.fits scfile=/scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits outfile=/scratch/kocevski/593268/cmap_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.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=149.331 yref=-13.8141 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.fits scfile=/scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits outfile=/scratch/kocevski/593268/cmap_HighResolution_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.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=149.331 yref=-13.8141 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593268/Model_4FGL_J0957.3-1348_daily_bin1410.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/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.fits.....................!
real 70.05
user 68.88
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.fits', '/scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits', expMap='/scratch/kocevski/593268/expmap_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.fits', expCube='/scratch/kocevski/593268/ltcube_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/593268/Model_4FGL_J0957.3-1348_daily_bin1410.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0957.3-1348'

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  4.147e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.553e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  5.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/593268/ft1_filtered_4FGL_J0957.3-1348_daily_bin1410.fits
Spacecraft file(s): /scratch/kocevski/593268/ft2_4FGL_J0957.3-1348_daily_bin1410.fits
Exposure map: /scratch/kocevski/593268/expmap_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.fits
Exposure cube: /scratch/kocevski/593268/ltcube_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/593268/Model_4FGL_J0957.3-1348_daily_bin1410.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) = 7313.05087147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.820       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3528       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .49913       1.0000         .10000E-03   10000.    
     7 'norm      '    7.5769       1.0000         .10000E-03   10000.    
     8 'norm      '    .52971       1.0000         .10000E-03   10000.    
     9 'norm      '    .17256E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .82761       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.2933       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3895       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.0042       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .88858       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7313.005     FROM MIGRAD    STATUS=CONVERGED    269 CALLS     1236 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.786        29.175       -.38061E-06   -.18216E-03
   2  Prefactor     .10000E-03    50.706        .28222E-06** at limit **
   3  Prefactor     .10000E-03    9.3952        .39988E-07** at limit **
   4  Prefactor     9.3531        11.642       -.24971E-06   -.16311E-04
   5  Prefactor     .10000E-03    12.330       -.10931E-06** at limit **
   6  norm          .49963        3.4511        .21216E-05   -.27732E-03
   7  norm          7.5764        4.3842        .52789E-08   -.10592E-03
   8  norm          .52976        1.0165        .49019E-06    .10738E-02
   9  norm          .10000E-03    3.7675       -.12735E-06** at limit **
  10  norm          .82718        1.0621        .26451E-06    .60698E-05
  11  Prefactor     5.2895        26.830        .45007E-06   -.15262E-04
  12  Prefactor     4.3895        5.6905        .26221E-06   -.85846E-04
  13  Normalizat    1.0043        .16774       -.76322E-06   -.38825E-04
  14  Prefactor     .88852        .11048        .60363E-08   -.88401E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.35314
  Prefactor  = 0.0001
  norm       = 0.49963
  norm       = 7.57636
  norm       = 0.529759
  norm       = 0.000100003
  norm       = 0.827177
  Prefactor  = 5.28951
  Prefactor  = 4.38951
  Normalizat = 1.00431
  Prefactor  = 0.888519
 **********
 **   18 **HESSE 
 **********

 FCN=   7313.005     FROM HESSE     STATUS=OK           172 CALLS     1408 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.786        29.213        .73369E-04   -1.4616    
   2  Prefactor     .10000E-03    50.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.4076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3531        11.627        .13104E-03   -1.5096    
   5  Prefactor     .10000E-03    12.816        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .49963        3.1154        .29587E-03   -1.5567    
   7  norm          7.5764        4.3752        .13065E-03   -1.5157    
   8  norm          .52976        .88016        .13126E-02   -1.5562    
   9  norm          .10000E-03    26.616        .31945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .82718        1.0003        .94738E-03   -1.5526    
  11  Prefactor     5.2895        26.864        .17469E-03   -1.5248    
  12  Prefactor     4.3895        5.6866        .19223E-03   -1.5289    
  13  Normalizat    1.0043        .19588        .26518E-03   -.92886    
  14  Prefactor     .88852        .13020        .18597E-03   -.96543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27207e-10
Minuit parameter uncertainties:
  1  29.2272
  2  7.56519e-05
  3  1.31083e-06
  4  11.6301
  5  2.03685e-05
  6  2.49519
  7  4.37539
  8  0.880178
  9  0.000542951
  10  1.00031
  11  23.8575
  12  5.68725
  13  0.196021
  14  0.130243
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.000e-04  5.430e-04  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.553e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  5.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  8.885e-01  1.302e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.004e+00  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 149.331 -13.814
Photon Flux Upper Limit: 5.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/593268/likelihoodResults_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7313.0051562
delta logL = -0.000177398968844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7313.00497998
delta logL = -1.17483705253e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2771       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88872       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7313.005     FROM MIGRAD    STATUS=FAILED        92 CALLS      248 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10280E-03    6518.3        .32464E-02** at limit **
   2  alpha         1.8513        3.4046        .16544        .30098E-06
   3  Normalizat    1.0043        .42979E-01    .26518E-03   -.35132E-03
   4  Prefactor     .88852        .28728E-01    .18597E-03   -.40498E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7313.005     FROM SIMPLEX   STATUS=UNCHANGED    155 CALLS      403 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10280E-03    6518.3        .13561E-02** at limit **
   2  alpha         1.8513        3.4046        .18770E-05    .30098E-06
   3  Normalizat    1.0043        .42979E-01    .66263E-07   -.35132E-03
   4  Prefactor     .88852        .28728E-01    .34385E-07   -.40498E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7313.005     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      441 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    42.208        .12986E-03** at limit **
   2  alpha         1.8356        4.0821        .66176E-02    .58410E-08
   3  Normalizat    1.0043        .19296        .53036E-04   -.20793E-04
   4  Prefactor     .88852        .12881        .37195E-04    .29221E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.83562
  Normalizat = 1.00431
  Prefactor  = 0.88852
 **********
 **   18 **HESSE 
 **********

 FCN=   7313.005     FROM HESSE     STATUS=OK            23 CALLS      464 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    42.207        .25971E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8356        3.7915        .13235E-02   -.26898    
   3  Normalizat    1.0043        .19299        .10607E-04   -.92886    
   4  Prefactor     .88852        .12882        .74389E-05   -.96543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.60618e-12
Minuit parameter uncertainties:
  1  8.11368e-05
  2  360.678
  3  0.193123
  4  0.128869
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593268': 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) = 7313.00497813
delta logL = 6.67290805723e-07

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.000e-04  8.114e-05  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  1.836e+00  3.607e+02  0.000e+00  5.000e+00 ( 1.000e+00)
239         beta:  1.553e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  5.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  8.885e-01  1.289e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.004e+00  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 149.331 -13.814

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/593268/cmap_HighResolution_604800001_605059201_4FGL_J0957.3-1348_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-05', job_status='DONE', photon_flux_upper_limit='5.93e-08', time_completed='2021-09-01 06:49:08.884456', job_id='593268', GAL2='0.89', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630504148.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='6.67e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1410' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:49:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 593268: <4FGL_J0957.3-1348_daily_bin1410> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin1410> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 06:36:29 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:36:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 06:36:30 2021
Terminated at Wed Sep  1 06:49:09 2021
Results reported at Wed Sep  1 06:49:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1410 149.331 -13.8141 604800001 605059201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0957.3-1348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   543.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             238.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            760 sec.

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

