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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1371
RA = 149.331, Dec = -13.8141
tmin = 594691201, tmax = 594950401
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='593205', job_status='RUN', time_executed='2021-09-01 06:40:08.274888', time_epoch_executed='1630503608.27' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1371'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593205

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593205/ft1_4FGL_J0957.3-1348_daily_bin1371.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593205/ft1_4FGL_J0957.3-1348_daily_bin1371.fits outfile=/scratch/kocevski/593205/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1371.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=594691201.0 tmax=594950401.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.97
user 2.77
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.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/593205/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1371.fits evtable="EVENTS" outfile="/scratch/kocevski/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.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 1.05
user 0.34
sys 0.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.fits" evtable="EVENTS" scfile=/scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits sctable="SC_DATA" outfile=/scratch/kocevski/593205/ltcube_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.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/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits
.....................!
real 12.87
user 12.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.fits evtable="EVENTS" scfile=/scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits sctable="SC_DATA" expcube=/scratch/kocevski/593205/ltcube_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.fits outfile=/scratch/kocevski/593205/expmap_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.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/593205/ltcube_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.fits
.....................!
real 191.54
user 185.62
sys 4.85

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/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.fits scfile=/scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits outfile=/scratch/kocevski/593205/cmap_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.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.62
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.fits scfile=/scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits outfile=/scratch/kocevski/593205/cmap_HighResolution_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.fits evtable="EVENTS" scfile=/scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593205/Model_4FGL_J0957.3-1348_daily_bin1371.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/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.fits.....................!
real 71.18
user 69.53
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.fits', '/scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits', expMap='/scratch/kocevski/593205/expmap_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.fits', expCube='/scratch/kocevski/593205/ltcube_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/593205/Model_4FGL_J0957.3-1348_daily_bin1371.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/593205/ft1_filtered_4FGL_J0957.3-1348_daily_bin1371.fits
Spacecraft file(s): /scratch/kocevski/593205/ft2_4FGL_J0957.3-1348_daily_bin1371.fits
Exposure map: /scratch/kocevski/593205/expmap_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.fits
Exposure cube: /scratch/kocevski/593205/ltcube_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/593205/Model_4FGL_J0957.3-1348_daily_bin1371.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) = 7175.28313429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39768       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.577       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.773       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5373       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5294       1.0000         .10000E-03   10000.    
    10 'norm      '    5.2346       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9074       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6393       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.3189       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .70971       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=   7175.226     FROM MIGRAD    STATUS=CONVERGED    278 CALLS     1235 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16508        21.599       -.87586E-06    .61406E-04
   2  Prefactor     .10000E-03    35.970       -.14309E-06** at limit **
   3  Prefactor     21.564        25.602        .30412E-05   -.56941E-05
   4  Prefactor     26.776        22.471       -.10953E-04    .74480E-06
   5  Prefactor     .10000E-03    9.6341        .47139E-07** at limit **
   6  norm          1.5361        4.6808        .13445E-06   -.87132E-03
   7  norm          .10000E-03    1.2109       -.51709E-07** at limit **
   8  norm          .10000E-03    .74364       -.88254E-09** at limit **
   9  norm          3.5138        9.6285       -.17742E-06   -.19165E-03
  10  norm          5.2339        1.9028        .29842E-08   -.27802E-03
  11  Prefactor     1.8748        137.21        .17904E-04   -.37057E-04
  12  Prefactor     3.6388        4.7285       -.35821E-06   -.41675E-03
  13  Normalizat    1.3192        .17850       -.55458E-06   -.14782E-04
  14  Prefactor     .70962        .11107        .17052E-06   -.86203E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.165076
  Prefactor  = 0.0001
  Prefactor  = 21.5638
  Prefactor  = 26.7764
  Prefactor  = 0.0001
  norm       = 1.53614
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.51376
  norm       = 5.23393
  Prefactor  = 1.87477
  Prefactor  = 3.63877
  Normalizat = 1.31923
  Prefactor  = 0.709621
 **********
 **   18 **HESSE 
 **********

 FCN=   7175.226     FROM HESSE     STATUS=OK           176 CALLS     1411 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16508        26.654        .11514       -1.5627    
   2  Prefactor     .10000E-03    36.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.564        25.652        .86229E-04   -1.4779    
   4  Prefactor     26.776        22.022        .77423E-04   -1.4673    
   5  Prefactor     .10000E-03    9.7224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5361        4.6575        .30569E-03   -1.5460    
   7  norm          .10000E-03    1.2202        .91007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .76198        .14259E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5138        9.6192        .21517E-03   -1.5333    
  10  norm          5.2339        1.9047        .66358E-04   -1.5250    
  11  Prefactor     1.8748        135.61        .30105E-03   -1.5434    
  12  Prefactor     3.6388        4.7322        .20416E-03   -1.5326    
  13  Normalizat    1.3192        .20920        .24736E-03   -.82994    
  14  Prefactor     .70962        .12988        .20979E-03   -1.0315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65303e-09
Minuit parameter uncertainties:
  1  4.19586
  2  1.52868e-06
  3  25.6653
  4  22.0282
  5  5.06501e-05
  6  4.65863
  7  1.63934e-07
  8  2.27251e-08
  9  9.6234
  10  1.90475
  11  31.9646
  12  4.73271
  13  0.209338
  14  0.129935
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  3.514e+00  9.623e+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

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  7.096e-01  1.299e-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.319e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/593205/likelihoodResults_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.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) = 7175.09479074
delta logL = 0.130934372002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7175.08964921
delta logL = 0.136075894773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1859       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9426       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71288       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7175.090     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      215 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1900        11.051         .0000        .85796E-02
   2  alpha         2.9426        1.5351         .0000        .27834E-03
   3  Normalizat    1.3052        .17269         .0000       -.14030E-04
   4  Prefactor     .71285        .11057         .0000        .12433E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.19004
  alpha      = 2.9426
  Normalizat = 1.30518
  Prefactor  = 0.71285
 **********
 **   18 **HESSE 
 **********

 FCN=   7175.090     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1900        8.1305        .98491E-03   -1.5299    
   2  alpha         2.9426        1.1728        .83995E-02    .17798    
   3  Normalizat    1.3052        .20289        .24847E-03   -.83412    
   4  Prefactor     .71285        .12932        .20932E-03   -1.0303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93854e-10
Minuit parameter uncertainties:
  1  8.13265
  2  1.22247
  3  0.203014
  4  0.129376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593205': 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) = 7175.089649
delta logL = 0.136076109476

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  4.190e+00  8.133e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.943e+00  1.222e+00  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:  7.128e-01  1.294e-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.305e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/593205/cmap_HighResolution_594691201_594950401_4FGL_J0957.3-1348_daily_bin1371.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.85e-05', job_status='DONE', photon_flux_upper_limit='8.65e-08', time_completed='2021-09-01 06:49:26.875199', job_id='593205', GAL2='0.71', fit_tolerance='1e-08', EG2='1.31', EG='1.32', time_epoch_completed='1630504166.88', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='1.36e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1371' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:49:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 593205: <4FGL_J0957.3-1348_daily_bin1371> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin1371> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 06:36:23 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:36:26 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:26 2021
Terminated at Wed Sep  1 06:49:27 2021
Results reported at Wed Sep  1 06:49:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1371 149.331 -13.8141 594691201 594950401 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 :                                   526.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             213.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            784 sec.

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

