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


Performing analysis on: 4FGL_J0928.1-2035_daily_bin1018
RA = 142.048, Dec = -20.5973
tmin = 503193601, tmax = 503452801
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='228995', job_status='RUN', time_executed='2021-08-31 11:48:11.676637', time_epoch_executed='1630435691.68' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='1018'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/228995

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/228995/ft1_4FGL_J0928.1-2035_daily_bin1018.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/228995/ft2_4FGL_J0928.1-2035_daily_bin1018.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/228995/ft1_4FGL_J0928.1-2035_daily_bin1018.fits outfile=/scratch/kocevski/228995/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin1018.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=503193601.0 tmax=503452801.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.09
user 4.83
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/228995/ft1_filtered_4FGL_J0928.1-2035_daily_bin1018.fits" evtable="EVENTS" scfile=/scratch/kocevski/228995/ft2_4FGL_J0928.1-2035_daily_bin1018.fits sctable="SC_DATA" outfile=/scratch/kocevski/228995/ltcube_503193601_503452801_4FGL_J0928.1-2035_daily_bin1018.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/228995/ft2_4FGL_J0928.1-2035_daily_bin1018.fits
.....................!
real 11.79
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/228995/ft1_filtered_4FGL_J0928.1-2035_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/228995/ft2_4FGL_J0928.1-2035_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/228995/ltcube_503193601_503452801_4FGL_J0928.1-2035_daily_bin1018.fits outfile=/scratch/kocevski/228995/expmap_503193601_503452801_4FGL_J0928.1-2035_daily_bin1018.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/228995/ltcube_503193601_503452801_4FGL_J0928.1-2035_daily_bin1018.fits
.....................!
real 194.80
user 185.72
sys 6.26

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/228995/ft1_filtered_4FGL_J0928.1-2035_daily_bin1018.fits scfile=/scratch/kocevski/228995/ft2_4FGL_J0928.1-2035_daily_bin1018.fits outfile=/scratch/kocevski/228995/cmap_503193601_503452801_4FGL_J0928.1-2035_daily_bin1018.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 1.23
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/228995/ft1_filtered_4FGL_J0928.1-2035_daily_bin1018.fits scfile=/scratch/kocevski/228995/ft2_4FGL_J0928.1-2035_daily_bin1018.fits outfile=/scratch/kocevski/228995/cmap_HighResolution_503193601_503452801_4FGL_J0928.1-2035_daily_bin1018.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 1.07
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/228995/ft1_filtered_4FGL_J0928.1-2035_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/228995/ft2_4FGL_J0928.1-2035_daily_bin1018.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/228995/Model_4FGL_J0928.1-2035_daily_bin1018.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/228995/ft1_filtered_4FGL_J0928.1-2035_daily_bin1018.fits.....................!
real 78.70
user 64.57
sys 1.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1090       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.564       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.633       1.0000         .10000E-03   10000.    
     5 'Prefactor '    83.331       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9244       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.6623       1.0000         .10000E-03   10000.    
    10 'norm      '    8.7618       1.0000         .10000E-03   10000.    
    11 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2021       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .95082       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .93458       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=   5928.322     FROM MIGRAD    STATUS=CONVERGED    289 CALLS     1328 TOTAL
                     EDM=   .83E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1069        7.4373        .23254E-05   -.37562E-05
   2  Prefactor     19.573        14.748        .17026E-05    .53707E-05
   3  Prefactor     .10000E-03    9.5070       -.76295E-06** at limit **
   4  Prefactor     51.709        46.563       -.20283E-05   -.84741E-06
   5  Prefactor     83.375        42.236       -.15734E-06    .67061E-05
   6  Prefactor     9.8224        41.286       -.73902E-07   -.16388E-05
   7  Prefactor     .10000E-03    18.152        .19169E-06** at limit **
   8  Prefactor     .10000E-03    12.231       -.20701E-06** at limit **
   9  norm          4.6558        6.2802        .71238E-06    .99190E-05
  10  norm          8.7716        10.070        .27776E-06   -.10380E-04
  11  norm          .10000E-03    5.2031       -.33502E-07** at limit **
  12  norm          .10000E-03    9.8045        .82977E-06** at limit **
  13  norm          1.2021        1.2724        .47805E-07    .29485E-05
  14  Normalizat    .95019        .22890       -.56950E-06   -.80215E-05
  15  Prefactor     .93486        .10593       -.22827E-06    .26961E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.10695
  Prefactor  = 19.5731
  Prefactor  = 0.0001
  Prefactor  = 51.7094
  Prefactor  = 83.3754
  Prefactor  = 9.82241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.65576
  norm       = 8.77156
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.20206
  Normalizat = 0.950194
  Prefactor  = 0.934861
 **********
 **   18 **HESSE 
 **********

 FCN=   5928.322     FROM HESSE     STATUS=OK           182 CALLS     1510 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1069        7.4418        .99436E-03   -1.5303    
   2  Prefactor     19.573        14.791        .90552E-04   -1.4823    
   3  Prefactor     .10000E-03    9.5208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     51.709        46.698        .55814E-04   -1.4269    
   5  Prefactor     83.375        42.223        .44003E-04   -1.3879    
   6  Prefactor     9.8224        41.466        .12720E-03   -1.5081    
   7  Prefactor     .10000E-03    18.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.6558        6.2772        .18638E-03   -1.5276    
  10  norm          8.7716        10.103        .13542E-03   -1.5116    
  11  norm          .10000E-03    5.2334        .17153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    9.9012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2021        1.2490        .85660E-04   -1.5489    
  14  Normalizat    .95019        .26141        .34363E-03   -.94718    
  15  Prefactor     .93486        .12128        .16980E-03   -.94933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30543e-10
Minuit parameter uncertainties:
  1  7.44352
  2  14.794
  3  4.24273e-06
  4  46.7314
  5  42.2378
  6  40.4106
  7  2.2327e-06
  8  1.92758e-05
  9  6.2781
  10  10.1046
  11  1.37899e-06
  12  7.01837e-06
  13  1.24899
  14  0.261757
  15  0.121316
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  5.171e+01  4.673e+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.349e-01  1.213e-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:  9.502e-01  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.19
Ra Dec: 142.048 -20.597
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 6.14e-08 +/- 5.54e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.70e-05

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

Saving results to:
/scratch/kocevski/228995/likelihoodResults_503193601_503452801_4FGL_J0928.1-2035_daily_bin1018.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) = 5928.30671993
delta logL = 0.0152154176085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5928.30050517
delta logL = 0.0214301813676

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.477       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6458       1.0000          .0000       10.000    
     3 'Normalizat'    .93655       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93870       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=   5928.301     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      274 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.475        55.395        .58814E-04    .15727E-03
   2  Index         2.6457        1.0038        .87927E-02    .51023E-04
   3  Normalizat    .93681        .25449        .34581E-03   -.99087E-04
   4  Prefactor     .93857        .12104        .16950E-03   -.24617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.4747
  Index      = 2.64567
  Normalizat = 0.936812
  Prefactor  = 0.938573
 **********
 **   18 **HESSE 
 **********

 FCN=   5928.301     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.475        51.123        .11763E-04   -1.4343    
   2  Index         2.6457        .92485        .35171E-03   -.49027    
   3  Normalizat    .93681        .25377        .13832E-04   -.95178    
   4  Prefactor     .93857        .12087        .33900E-04   -.94806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36941e-10
Minuit parameter uncertainties:
  1  51.1709
  2  0.931766
  3  0.254099
  4  0.120901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/228995': 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) = 5928.3005046
delta logL = 0.0214307509223

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  4.647e+01  5.117e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.646e+00  9.318e-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:  9.386e-01  1.209e-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:  9.368e-01  2.541e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.25
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 2.65 +/- 0.93
Photon Flux (Free Index): 7.28e-08 +/- 8.03e-08
Energy Flux (Free Index): 1.83e-05 +/- 1.58e-05

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/228995/cmap_HighResolution_503193601_503452801_4FGL_J0928.1-2035_daily_bin1018.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', comment='SUCCESS', photon_flux='6.14e-08', energy_flux2='1.83e-05', photon_flux_error='5.54e-08', dlogl='2.14e-02', energy_flux='1.88e-05', photon_flux2='7.28e-08', job_status='DONE', time_completed='2021-08-31 11:57:13.223004', photon_index_error2='0.93', photon_index2='2.65', ts='2.19', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.83e-07', energy_flux_error2='1.58e-05', EG='0.95', time_epoch_completed='1630436233.22', return_code='0', job_id='228995', GAL2='0.94', EG2='0.94', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='8.03e-08', ts2='2.25', photon_index='2.45' WHERE bin_id='1018' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:57:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 228995: <4FGL_J0928.1-2035_daily_bin1018> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin1018> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:45:36 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:45:38 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:45:38 2021
Terminated at Tue Aug 31 11:57:16 2021
Results reported at Tue Aug 31 11:57:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin1018 142.048 -20.5973 503193601 503452801 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 :                                   508.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            700 sec.

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

