/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 213 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0928.1-2035_daily_bin495
RA = 142.048, Dec = -20.5973
tmin = 367632001, tmax = 367891201
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='226076', job_status='RUN', time_executed='2021-08-31 11:41:02.927203', time_epoch_executed='1630435262.93' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/226076

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/226076/ft1_4FGL_J0928.1-2035_daily_bin495.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/226076/ft1_4FGL_J0928.1-2035_daily_bin495.fits outfile=/scratch/kocevski/226076/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin495.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=367632001.0 tmax=367891201.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.23
user 4.87
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.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/226076/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin495.fits evtable="EVENTS" outfile="/scratch/kocevski/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.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.66
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.fits" evtable="EVENTS" scfile=/scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits sctable="SC_DATA" outfile=/scratch/kocevski/226076/ltcube_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.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/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits
.....................!
real 12.38
user 11.66
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.fits evtable="EVENTS" scfile=/scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits sctable="SC_DATA" expcube=/scratch/kocevski/226076/ltcube_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.fits outfile=/scratch/kocevski/226076/expmap_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.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/226076/ltcube_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.fits
.....................!
real 192.86
user 185.67
sys 4.79

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

Setting source of interest to:
4FGL J0928.1-2035 @ 142.048 -20.5973

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.fits scfile=/scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits outfile=/scratch/kocevski/226076/cmap_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.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=142.048 yref=-20.5973 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.83
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.fits scfile=/scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits outfile=/scratch/kocevski/226076/cmap_HighResolution_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.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=142.048 yref=-20.5973 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.69
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.fits evtable="EVENTS" scfile=/scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/226076/Model_4FGL_J0928.1-2035_daily_bin495.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/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.fits.....................!
real 97.15
user 94.95
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.fits', '/scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits', expMap='/scratch/kocevski/226076/expmap_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.fits', expCube='/scratch/kocevski/226076/ltcube_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/226076/Model_4FGL_J0928.1-2035_daily_bin495.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0928.1-2035'

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  8.822e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/226076/ft1_filtered_4FGL_J0928.1-2035_daily_bin495.fits
Spacecraft file(s): /scratch/kocevski/226076/ft2_4FGL_J0928.1-2035_daily_bin495.fits
Exposure map: /scratch/kocevski/226076/expmap_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.fits
Exposure cube: /scratch/kocevski/226076/ltcube_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/226076/Model_4FGL_J0928.1-2035_daily_bin495.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) = 9482.72153222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.708       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.678       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.578       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5072       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.6017       1.0000         .10000E-03   10000.    
    10 'norm      '    8.6226       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .28605       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .67443       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9482.651     FROM MIGRAD    STATUS=CONVERGED    260 CALLS     1155 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.708        5.6419       -.31135E-06   -.26359E-04
   2  Prefactor     12.677        9.6176       -.62731E-06   -.32815E-04
   3  Prefactor     .10000E-03    3.0562        .12661E-06** at limit **
   4  Prefactor     41.586        30.099        .10817E-04    .33602E-04
   5  Prefactor     2.4948        45.681       -.60823E-04   -.25220E-04
   6  Prefactor     .10000E-03    4.3743       -.73429E-06** at limit **
   7  Prefactor     .10000E-03    7.4533       -.13182E-05** at limit **
   8  Prefactor     .10000E-03    3.4133        .10192E-05** at limit **
   9  norm          5.6024        4.2299        .50839E-06    .99562E-04
  10  norm          8.6235        5.0590       -.17116E-06    .27039E-04
  11  norm          .10000E-03    2.4746        .22717E-07** at limit **
  12  norm          .10000E-03    4.2478       -.80523E-06** at limit **
  13  norm          .28611        .84100       -.92799E-06   -.92839E-03
  14  Normalizat    .67450        .16881       -.10316E-05    .46680E-03
  15  Prefactor     1.0352        .83520E-01    .14487E-05    .47563E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7079
  Prefactor  = 12.6775
  Prefactor  = 0.0001
  Prefactor  = 41.5858
  Prefactor  = 2.49481
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.60238
  norm       = 8.62355
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.286109
  Normalizat = 0.674495
  Prefactor  = 1.03517
 **********
 **   18 **HESSE 
 **********

 FCN=   9482.651     FROM HESSE     STATUS=OK           184 CALLS     1339 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.708        5.6401        .97984E-04   -1.4890    
   2  Prefactor     12.677        9.6190        .11250E-03   -1.4996    
   3  Prefactor     .10000E-03    3.0652        .16626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.586        29.974        .62168E-04   -1.4417    
   5  Prefactor     2.4948        46.618        .25806E-03   -1.5392    
   6  Prefactor     .10000E-03    4.3750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.4568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.4199        .17565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.6024        4.2254        .16780E-03   -1.5235    
  10  norm          8.6235        5.0619        .13651E-03   -1.5121    
  11  norm          .10000E-03    2.4798        .14960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.3507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .28611        1.0689        .14114E-02   -1.5601    
  14  Normalizat    .67450        .18566        .36593E-03   -1.0491    
  15  Prefactor     1.0352        .93641E-01    .15616E-03   -.91566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.46682e-10
Minuit parameter uncertainties:
  1  5.64029
  2  9.62017
  3  3.71088e-05
  4  29.9851
  5  21.5879
  6  8.17945e-07
  7  4.63336e-06
  8  1.22132e-05
  9  4.22563
  10  5.06219
  11  1.38316e-06
  12  1.54159e-06
  13  1.06893
  14  0.185836
  15  0.0936561
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  4.159e+01  2.999e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.035e+00  9.366e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.745e-01  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.71
Ra Dec: 142.048 -20.597
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 4.94e-08 +/- 3.56e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.09e-05

TS (Fixed Index): 3.71
Ra Dec: 142.048 -20.597
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/226076/likelihoodResults_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.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) = 9482.6184405
delta logL = 0.0323156225695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9482.614565
delta logL = 0.0361911221498

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.493       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2295       1.0000          .0000       10.000    
     3 'Normalizat'    .68977       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9482.615     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      265 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.497        33.319        .61497E-04   -.10018E-02
   2  Index         2.2297        .85923        .10696E-01   -.43061E-03
   3  Normalizat    .68932        .18627        .36227E-03    .59512E-03
   4  Prefactor     1.0315        .93154E-01    .15641E-03    .11505E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.4973
  Index      = 2.22969
  Normalizat = 0.689318
  Prefactor  = 1.03152
 **********
 **   18 **HESSE 
 **********

 FCN=   9482.615     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.497        33.615        .12299E-04   -1.4403    
   2  Index         2.2297        .86425        .42782E-03   -.58723    
   3  Normalizat    .68932        .18633        .14491E-04   -1.0432    
   4  Prefactor     1.0315        .93169E-01    .31282E-04   -.91686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53392e-08
Minuit parameter uncertainties:
  1  33.6303
  2  0.870588
  3  0.186497
  4  0.0931834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/226076': 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) = 9482.61456182
delta logL = 0.0361943034568

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  4.250e+01  3.363e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.230e+00  8.706e-01  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.032e+00  9.318e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  6.893e-01  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 2.23 +/- 0.87
Photon Flux (Free Index): 3.72e-08 +/- 5.51e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.31e-05

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/226076/cmap_HighResolution_367632001_367891201_4FGL_J0928.1-2035_daily_bin495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', comment='SUCCESS', photon_flux='4.94e-08', energy_flux2='1.58e-05', photon_flux_error='3.56e-08', dlogl='3.62e-02', energy_flux='1.51e-05', photon_flux2='3.72e-08', job_status='DONE', time_completed='2021-08-31 11:51:32.373790', photon_index_error2='0.87', photon_index2='2.23', ts='3.71', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.31e-05', EG='0.67', time_epoch_completed='1630435892.37', return_code='0', job_id='226076', GAL2='1.03', EG2='0.69', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='5.51e-08', ts2='3.75', photon_index='2.45' WHERE bin_id='495' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:51:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0014>
Subject: Job 226076: <4FGL_J0928.1-2035_daily_bin495> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin495> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:36:34 2021
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:36:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:36:44 2021
Terminated at Tue Aug 31 11:51:33 2021
Results reported at Tue Aug 31 11:51:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin495 142.048 -20.5973 367632001 367891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0928.1-2035 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   607.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            899 sec.

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

