/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 0 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 = 7477
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0957.3-1348_daily_bin392
RA = 149.331, Dec = -13.8141
tmin = 340934401, tmax = 341193601
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='589006', job_status='RUN', time_executed='2021-09-01 06:25:56.512300', time_epoch_executed='1630502756.51' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589006

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589006/ft1_4FGL_J0957.3-1348_daily_bin392.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589006/ft2_4FGL_J0957.3-1348_daily_bin392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589006/ft1_4FGL_J0957.3-1348_daily_bin392.fits outfile=/scratch/kocevski/589006/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin392.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=340934401.0 tmax=341193601.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.35
user 3.12
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589006/ft1_filtered_4FGL_J0957.3-1348_daily_bin392.fits" evtable="EVENTS" scfile=/scratch/kocevski/589006/ft2_4FGL_J0957.3-1348_daily_bin392.fits sctable="SC_DATA" outfile=/scratch/kocevski/589006/ltcube_340934401_341193601_4FGL_J0957.3-1348_daily_bin392.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/589006/ft2_4FGL_J0957.3-1348_daily_bin392.fits
.....................!
real 11.75
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589006/ft1_filtered_4FGL_J0957.3-1348_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/589006/ft2_4FGL_J0957.3-1348_daily_bin392.fits sctable="SC_DATA" expcube=/scratch/kocevski/589006/ltcube_340934401_341193601_4FGL_J0957.3-1348_daily_bin392.fits outfile=/scratch/kocevski/589006/expmap_340934401_341193601_4FGL_J0957.3-1348_daily_bin392.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/589006/ltcube_340934401_341193601_4FGL_J0957.3-1348_daily_bin392.fits
.....................!
real 190.12
user 185.40
sys 4.11

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/589006/ft1_filtered_4FGL_J0957.3-1348_daily_bin392.fits scfile=/scratch/kocevski/589006/ft2_4FGL_J0957.3-1348_daily_bin392.fits outfile=/scratch/kocevski/589006/cmap_340934401_341193601_4FGL_J0957.3-1348_daily_bin392.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589006/ft1_filtered_4FGL_J0957.3-1348_daily_bin392.fits scfile=/scratch/kocevski/589006/ft2_4FGL_J0957.3-1348_daily_bin392.fits outfile=/scratch/kocevski/589006/cmap_HighResolution_340934401_341193601_4FGL_J0957.3-1348_daily_bin392.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.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/589006/ft1_filtered_4FGL_J0957.3-1348_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/589006/ft2_4FGL_J0957.3-1348_daily_bin392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/589006/Model_4FGL_J0957.3-1348_daily_bin392.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/589006/ft1_filtered_4FGL_J0957.3-1348_daily_bin392.fits.....................!
real 67.90
user 66.59
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    46.606       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7894       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.5218       1.0000         .10000E-03   10000.    
     9 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.3723       1.0000         .10000E-03   10000.    
    11 'Prefactor '    75.114       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.494       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .73493       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0764       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=   6686.181     FROM MIGRAD    STATUS=CONVERGED    244 CALLS     1176 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.379       -.63668E-05** at limit **
   2  Prefactor     46.607        41.406        .16650E-05    .78510E-06
   3  Prefactor     .10000E-03    9.1532       -.56230E-05** at limit **
   4  Prefactor     .10000E-03    7.2283        .13643E-05** at limit **
   5  Prefactor     9.7896        10.351        .18409E-06   -.30380E-04
   6  norm          .10000E-03    3.7831       -.22695E-07** at limit **
   7  norm          .10000E-03    1.9015        .23733E-07** at limit **
   8  norm          2.5217        1.5545        .71351E-08    .65730E-04
   9  norm          .10000E-03    11.731        .10300E-04** at limit **
  10  norm          3.3723        1.4388        .26876E-07   -.12860E-03
  11  Prefactor     75.118        43.124        .37349E-05   -.86772E-05
  12  Prefactor     28.495        9.9066       -.81279E-08   -.15713E-04
  13  Normalizat    .73483        .19191       -.13846E-05   -.89415E-04
  14  Prefactor     1.0764        .12578        .26927E-06   -.20681E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 46.6069
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.7896
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.52172
  norm       = 0.0001
  norm       = 3.37231
  Prefactor  = 75.1181
  Prefactor  = 28.4945
  Normalizat = 0.734829
  Prefactor  = 1.07645
 **********
 **   18 **HESSE 
 **********

 FCN=   6686.181     FROM HESSE     STATUS=OK           158 CALLS     1334 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     46.607        41.476        .58733E-04   -1.4342    
   3  Prefactor     .10000E-03    9.1685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.2317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.7896        10.350        .12808E-03   -1.5082    
   6  norm          .10000E-03    3.9052        .31054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.9317        .11007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.5217        1.5580        .77788E-04   -1.5390    
   9  norm          .10000E-03    11.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.3723        1.4382        .61551E-04   -1.5341    
  11  Prefactor     75.118        43.271        .46328E-04   -1.3972    
  12  Prefactor     28.495        9.9117        .75053E-04   -1.4640    
  13  Normalizat    .73483        .22221        .32619E-03   -1.0253    
  14  Prefactor     1.0764        .14619        .18207E-03   -.90223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27652e-11
Minuit parameter uncertainties:
  1  9.83258e-06
  2  41.5019
  3  3.30509e-06
  4  7.54028e-07
  5  10.3521
  6  1.70712e-06
  7  5.16018e-07
  8  1.55799
  9  6.69383e-05
  10  1.43819
  11  43.2889
  12  9.9123
  13  0.222479
  14  0.146244
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.000e-04  6.694e-05  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:  1.076e+00  1.462e-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:  7.348e-01  2.225e-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: 7.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/589006/likelihoodResults_340934401_341193601_4FGL_J0957.3-1348_daily_bin392.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) = 6686.18132413
delta logL = -0.000402619660235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6686.18092275
delta logL = -1.24749476527e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15052E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0632       1.0000          .0000       5.0000    
     3 'Normalizat'    .73425       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0768       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.

 FCN=   6686.181     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      241 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.4496        .57197E-01** at limit **
   2  alpha         3.0777        2.6434        .42556       -.13382E-05
   3  Normalizat    .73483        .34546E-02    .73695E-01    .11267E-04
   4  Prefactor     1.0764        .23061E-02    .38542E-01   -.40262E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 3.07769
  Normalizat = 0.734829
  Prefactor  = 1.07645
 **********
 **   18 **HESSE 
 **********

 FCN=   6686.181     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2208.7        .34249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.0777        2.6699        .17022        .23319    
   3  Normalizat    .73483        .38727E-01    .32619E-03   -1.0253    
   4  Prefactor     1.0764        .25819E-01    .18207E-03   -.90223    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5468e-06
Minuit parameter uncertainties:
  1  0.00108862
  2  2225.13
  3  0.0387286
  4  0.0258189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589006': 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): 102
logL (Free Index) = 6686.18091845
delta logL = 3.05542653223e-06

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.000e-04  1.089e-03  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  3.078e+00  2.225e+03  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:  1.076e+00  2.582e-02  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:  7.348e-01  3.873e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/589006/cmap_HighResolution_340934401_341193601_4FGL_J0957.3-1348_daily_bin392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.36e-05', job_status='DONE', photon_flux_upper_limit='7.17e-08', time_completed='2021-09-01 06:34:29.324877', job_id='589006', GAL2='1.08', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1630503269.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.06e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='392' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:34:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 589006: <4FGL_J0957.3-1348_daily_bin392> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin392> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  1 06:25:42 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:25:44 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:25:44 2021
Terminated at Wed Sep  1 06:34:30 2021
Results reported at Wed Sep  1 06:34:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin392 149.331 -13.8141 340934401 341193601 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 :                                   502.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   526 sec.
    Turnaround time :                            528 sec.

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

