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


Performing analysis on: 4FGL_J0928.1-2035_daily_bin595
RA = 142.048, Dec = -20.5973
tmin = 393552001, tmax = 393811201
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='227363', job_status='RUN', time_executed='2021-08-31 11:45:23.207759', time_epoch_executed='1630435523.21' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='595'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/227363

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/227363/ft1_4FGL_J0928.1-2035_daily_bin595.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/227363/ft1_4FGL_J0928.1-2035_daily_bin595.fits outfile=/scratch/kocevski/227363/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin595.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=393552001.0 tmax=393811201.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.47
user 3.27
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.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/227363/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin595.fits evtable="EVENTS" outfile="/scratch/kocevski/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.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/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.fits" evtable="EVENTS" scfile=/scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits sctable="SC_DATA" outfile=/scratch/kocevski/227363/ltcube_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.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/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits
.....................!
real 12.09
user 11.73
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.fits evtable="EVENTS" scfile=/scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits sctable="SC_DATA" expcube=/scratch/kocevski/227363/ltcube_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.fits outfile=/scratch/kocevski/227363/expmap_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.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/227363/ltcube_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.fits
.....................!
real 192.05
user 186.14
sys 4.42

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/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.fits scfile=/scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits outfile=/scratch/kocevski/227363/cmap_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.fits scfile=/scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits outfile=/scratch/kocevski/227363/cmap_HighResolution_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.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.57
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.fits evtable="EVENTS" scfile=/scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/227363/Model_4FGL_J0928.1-2035_daily_bin595.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/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.fits.....................!
real 78.36
user 77.00
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.fits', '/scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits', expMap='/scratch/kocevski/227363/expmap_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.fits', expCube='/scratch/kocevski/227363/ltcube_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/227363/Model_4FGL_J0928.1-2035_daily_bin595.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/227363/ft1_filtered_4FGL_J0928.1-2035_daily_bin595.fits
Spacecraft file(s): /scratch/kocevski/227363/ft2_4FGL_J0928.1-2035_daily_bin595.fits
Exposure map: /scratch/kocevski/227363/expmap_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.fits
Exposure cube: /scratch/kocevski/227363/ltcube_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/227363/Model_4FGL_J0928.1-2035_daily_bin595.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) = 7399.83532492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.437       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3071       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10539E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.205       1.0000         .10000E-03   10000.    
     5 'Prefactor '    62.825       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8088       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.438       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.7184       1.0000         .10000E-03   10000.    
    11 'norm      '    10.068       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2667       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2536       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .90232       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=   7399.832     FROM MIGRAD    STATUS=CONVERGED    269 CALLS     1365 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.436        6.9409        .82263E-07   -.30169E-04
   2  Prefactor     1.2923        36.610        .24881E-05   -.62016E-04
   3  Prefactor     .10000E-03    21.599        .34951E-06** at limit **
   4  Prefactor     32.191        34.253       -.85608E-06   -.24304E-03
   5  Prefactor     62.822        43.545        .25036E-06   -.23412E-04
   6  Prefactor     4.7943        39.343       -.27542E-05   -.13036E-03
   7  Prefactor     30.431        43.445       -.48323E-05   -.82074E-04
   8  Prefactor     .10000E-03    7.7683       -.60896E-07** at limit **
   9  norm          .10000E-03    10.461        .37518E-06** at limit **
  10  norm          7.7147        11.047        .40784E-05   -.31774E-03
  11  norm          10.068        9.5805        .73188E-07   -.13976E-04
  12  norm          .10000E-03    15.868        .31390E-07** at limit **
  13  norm          1.2667        1.2913        .15489E-06   -.96088E-04
  14  Normalizat    1.2540        .22104        .13788E-06   -.69253E-04
  15  Prefactor     .90214        .10160       -.67999E-06    .21127E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.436
  Prefactor  = 1.29235
  Prefactor  = 0.0001
  Prefactor  = 32.1906
  Prefactor  = 62.8223
  Prefactor  = 4.79426
  Prefactor  = 30.4305
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.71468
  norm       = 10.0683
  norm       = 0.0001
  norm       = 1.26674
  Normalizat = 1.25396
  Prefactor  = 0.902139
 **********
 **   18 **HESSE 
 **********

 FCN=   7399.832     FROM HESSE     STATUS=OK           184 CALLS     1549 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.436        6.9447        .12402E-03   -1.5062    
   2  Prefactor     1.2923        37.545        .38595E-03   -1.5481    
   3  Prefactor     .10000E-03    21.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     32.191        34.800        .70607E-04   -1.4573    
   5  Prefactor     62.822        43.558        .50626E-04   -1.4121    
   6  Prefactor     4.7943        40.788        .18346E-03   -1.5270    
   7  Prefactor     30.431        43.471        .72623E-04   -1.4604    
   8  Prefactor     .10000E-03    7.7890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    10.861        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.7147        11.157        .72170E-03   -1.5152    
  11  norm          10.068        9.5798        .12628E-03   -1.5073    
  12  norm          .10000E-03    16.296        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2667        1.2712        .94181E-04   -1.5483    
  14  Normalizat    1.2540        .25543        .32693E-03   -.84951    
  15  Prefactor     .90214        .11730        .18243E-03   -.96066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70897e-10
Minuit parameter uncertainties:
  1  6.94526
  2  13.9405
  3  7.60025e-05
  4  34.8218
  5  43.5798
  6  27.993
  7  43.5159
  8  2.81552e-07
  9  8.29879e-06
  10  11.1599
  11  9.58121
  12  8.24107e-05
  13  1.2712
  14  0.255685
  15  0.117335
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  3.219e+01  3.482e+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:  9.021e-01  1.173e-01  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:  1.254e+00  2.557e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.29
Ra Dec: 142.048 -20.597
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 3.82e-08 +/- 4.13e-08
Energy Flux (Fixed Index): 1.17e-05 +/- 1.26e-05

TS (Fixed Index): 1.29
Ra Dec: 142.048 -20.597
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/227363/likelihoodResults_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.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) = 7399.68549549
delta logL = 0.146211309083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7399.67923615
delta logL = 0.152470656343

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.189       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0309       1.0000          .0000       10.000    
     3 'Normalizat'    1.2246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91039       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=   7399.679     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      293 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.177        40.412        .85032E-04   -.74107E-03
   2  Index         3.0320        1.3326        .88390E-02   -.30834E-03
   3  Normalizat    1.2246        .25052        .33027E-03   -.14793E-02
   4  Prefactor     .91048        .11792        .18168E-03   -.27013E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1766
  Index      = 3.03202
  Normalizat = 1.22464
  Prefactor  = 0.910475
 **********
 **   18 **HESSE 
 **********

 FCN=   7399.679     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.177        33.480        .17006E-04   -1.4766    
   2  Index         3.0320        1.1060        .35356E-03   -.40454    
   3  Normalizat    1.2246        .24932        .66054E-04   -.85845    
   4  Prefactor     .91048        .11758        .36336E-04   -.95776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98396e-09
Minuit parameter uncertainties:
  1  33.5088
  2  1.11696
  3  0.249567
  4  0.117608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/227363': 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) = 7399.67923332
delta logL = 0.152473487506

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  2.218e+01  3.351e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  3.032e+00  1.117e+00  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:  9.105e-01  1.176e-01  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:  1.225e+00  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.63
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 3.03 +/- 1.12
Photon Flux (Free Index): 6.33e-08 +/- 7.04e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.17e-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/227363/cmap_HighResolution_393552001_393811201_4FGL_J0928.1-2035_daily_bin595.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='3.82e-08', energy_flux2='1.24e-05', photon_flux_error='4.13e-08', dlogl='1.52e-01', energy_flux='1.17e-05', photon_flux2='6.33e-08', job_status='DONE', time_completed='2021-08-31 11:54:34.942561', photon_index_error2='1.12', photon_index2='3.03', ts='1.29', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.17e-05', EG='1.25', time_epoch_completed='1630436074.94', return_code='0', job_id='227363', GAL2='0.91', EG2='1.22', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='7.04e-08', ts2='1.63', photon_index='2.45' WHERE bin_id='595' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:54:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 227363: <4FGL_J0928.1-2035_daily_bin595> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin595> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:41:23 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:41:24 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:41:24 2021
Terminated at Tue Aug 31 11:54:35 2021
Results reported at Tue Aug 31 11:54:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin595 142.048 -20.5973 393552001 393811201 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 :                                   548.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            792 sec.

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

