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


Performing analysis on: 4FGL_J0928.1-2035_daily_bin239
RA = 142.048, Dec = -20.5973
tmin = 301276801, tmax = 301536001
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='227347', job_status='RUN', time_executed='2021-08-31 11:44:13.204819', time_epoch_executed='1630435453.2' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='239'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/227347

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/227347/ft1_4FGL_J0928.1-2035_daily_bin239.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/227347/ft2_4FGL_J0928.1-2035_daily_bin239.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/227347/ft1_4FGL_J0928.1-2035_daily_bin239.fits outfile=/scratch/kocevski/227347/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin239.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=301276801.0 tmax=301536001.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 4.63
user 4.33
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/227347/ft1_filtered_4FGL_J0928.1-2035_daily_bin239.fits" evtable="EVENTS" scfile=/scratch/kocevski/227347/ft2_4FGL_J0928.1-2035_daily_bin239.fits sctable="SC_DATA" outfile=/scratch/kocevski/227347/ltcube_301276801_301536001_4FGL_J0928.1-2035_daily_bin239.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/227347/ft2_4FGL_J0928.1-2035_daily_bin239.fits
.....................!
real 13.04
user 11.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/227347/ft1_filtered_4FGL_J0928.1-2035_daily_bin239.fits evtable="EVENTS" scfile=/scratch/kocevski/227347/ft2_4FGL_J0928.1-2035_daily_bin239.fits sctable="SC_DATA" expcube=/scratch/kocevski/227347/ltcube_301276801_301536001_4FGL_J0928.1-2035_daily_bin239.fits outfile=/scratch/kocevski/227347/expmap_301276801_301536001_4FGL_J0928.1-2035_daily_bin239.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/227347/ltcube_301276801_301536001_4FGL_J0928.1-2035_daily_bin239.fits
.....................!
real 194.00
user 186.07
sys 5.46

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/227347/ft1_filtered_4FGL_J0928.1-2035_daily_bin239.fits scfile=/scratch/kocevski/227347/ft2_4FGL_J0928.1-2035_daily_bin239.fits outfile=/scratch/kocevski/227347/cmap_301276801_301536001_4FGL_J0928.1-2035_daily_bin239.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.68
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/227347/ft1_filtered_4FGL_J0928.1-2035_daily_bin239.fits scfile=/scratch/kocevski/227347/ft2_4FGL_J0928.1-2035_daily_bin239.fits outfile=/scratch/kocevski/227347/cmap_HighResolution_301276801_301536001_4FGL_J0928.1-2035_daily_bin239.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.73
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/227347/ft1_filtered_4FGL_J0928.1-2035_daily_bin239.fits evtable="EVENTS" scfile=/scratch/kocevski/227347/ft2_4FGL_J0928.1-2035_daily_bin239.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/227347/Model_4FGL_J0928.1-2035_daily_bin239.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/227347/ft1_filtered_4FGL_J0928.1-2035_daily_bin239.fits.....................!
real 71.15
user 68.96
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2711       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8848       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    65.153       1.0000         .10000E-03   10000.    
     5 'Prefactor '    50.389       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.649       1.0000         .10000E-03   10000.    
     9 'norm      '    8.3215       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10220E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .33421       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2635       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92097       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=   6070.691     FROM MIGRAD    STATUS=CONVERGED    286 CALLS     1432 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2708        7.2091        .61009E-05   -.10797E-03
   2  Prefactor     4.8301        20.318        .56501E-05   -.48292E-04
   3  Prefactor     .10000E-03    4.8779       -.16150E-07** at limit **
   4  Prefactor     65.150        53.287       -.27179E-05   -.10299E-04
   5  Prefactor     50.380        44.183       -.30015E-05    .15352E-05
   6  Prefactor     .10000E-03    292.12       -.15895E-04** at limit **
   7  Prefactor     .10000E-03    9.9484       -.19474E-06** at limit **
   8  Prefactor     21.651        17.331        .10514E-04   -.27039E-05
   9  norm          8.3209        7.8482       -.30317E-05   -.72730E-04
  10  norm          .10000E-03    2.2759        .20933E-08** at limit **
  11  norm          .10000E-03    3.7278        .64895E-07** at limit **
  12  norm          .10000E-03    15.994       -.22998E-06** at limit **
  13  norm          .33495        1.3222       -.30540E-06   -.77462E-03
  14  Normalizat    1.2633        .24563       -.24019E-05    .11057E-03
  15  Prefactor     .92113        .11123       -.89810E-07    .62623E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.27083
  Prefactor  = 4.83014
  Prefactor  = 0.0001
  Prefactor  = 65.1498
  Prefactor  = 50.3805
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 21.6508
  norm       = 8.32094
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.334955
  Normalizat = 1.26329
  Prefactor  = 0.92113
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.691     FROM HESSE     STATUS=OK           184 CALLS     1616 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2708        7.1583        .13940E-03   -1.5133    
   2  Prefactor     4.8301        20.170        .18199E-03   -1.5268    
   3  Prefactor     .10000E-03    4.8813        .16806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     65.150        53.442        .49719E-04   -1.4092    
   5  Prefactor     50.380        44.225        .56495E-04   -1.4287    
   6  Prefactor     .10000E-03    300.19        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.9499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.651        17.316        .86085E-04   -1.4777    
   9  norm          8.3209        7.8630        .13897E-03   -1.5131    
  10  norm          .10000E-03    2.2799        .11479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.7305        .14692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    16.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .33495        2.2922        .16311E-02   -1.5592    
  14  Normalizat    1.2633        .27635        .33361E-03   -.84669    
  15  Prefactor     .92113        .12739        .18280E-03   -.95407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2732e-10
Minuit parameter uncertainties:
  1  7.15907
  2  19.7519
  3  8.48544e-06
  4  53.4813
  5  44.2535
  6  0.00138253
  7  1.18165e-05
  8  17.3198
  9  7.86399
  10  3.26032e-06
  11  5.595e-06
  12  4.26077e-06
  13  1.7523
  14  0.276671
  15  0.127427
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  6.515e+01  5.348e+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.211e-01  1.274e-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.263e+00  2.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.85
Ra Dec: 142.048 -20.597
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 7.73e-08 +/- 6.34e-08
Energy Flux (Fixed Index): 2.37e-05 +/- 1.94e-05

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

Saving results to:
/scratch/kocevski/227347/likelihoodResults_301276801_301536001_4FGL_J0928.1-2035_daily_bin239.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) = 6070.67666224
delta logL = 0.0144485812389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6070.67396694
delta logL = 0.0171438855305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    68.664       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3313       1.0000          .0000       10.000    
     3 'Normalizat'    1.2725       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91867       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=   6070.674     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      277 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.672        59.326        .48440E-04    .20653E-04
   2  Index         2.3314        .66498        .91572E-02    .16932E-03
   3  Normalizat    1.2720        .26918        .33266E-03    .35030E-04
   4  Prefactor     .91887        .12643        .18300E-03   -.66238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.6722
  Index      = 2.33137
  Normalizat = 1.27198
  Prefactor  = 0.918868
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.674     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.672        58.740        .96880E-05   -1.4049    
   2  Index         2.3314        .65783        .18314E-02   -.56300    
   3  Normalizat    1.2720        .26927        .13306E-04   -.84407    
   4  Prefactor     .91887        .12647        .36599E-04   -.95485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32012e-11
Minuit parameter uncertainties:
  1  58.7894
  2  0.660509
  3  0.26957
  4  0.126514
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/227347': 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) = 6070.67396514
delta logL = 0.0171456798535

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  6.867e+01  5.879e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.331e+00  6.605e-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.189e-01  1.265e-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.272e+00  2.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 2.33 +/- 0.66
Photon Flux (Free Index): 6.87e-08 +/- 7.45e-08
Energy Flux (Free Index): 2.48e-05 +/- 2.19e-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/227347/cmap_HighResolution_301276801_301536001_4FGL_J0928.1-2035_daily_bin239.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-02', comment='SUCCESS', photon_flux='7.73e-08', energy_flux2='2.48e-05', photon_flux_error='6.34e-08', dlogl='1.71e-02', energy_flux='2.37e-05', photon_flux2='6.87e-08', job_status='DONE', time_completed='2021-08-31 11:53:02.395048', photon_index_error2='0.66', photon_index2='2.33', ts='2.85', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='2.14e-07', energy_flux_error2='2.19e-05', EG='1.26', time_epoch_completed='1630435982.4', return_code='0', job_id='227347', GAL2='0.92', EG2='1.27', return_code2='0', energy_flux_error='1.94e-05', photon_flux_error2='7.45e-08', ts2='2.87', photon_index='2.45' WHERE bin_id='239' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:53:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 227347: <4FGL_J0928.1-2035_daily_bin239> in cluster <slac> Done

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

Your job looked like:

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

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

