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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1395
RA = 142.12, Dec = -4.2539
tmin = 600912001, tmax = 601171201
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='238019', job_status='RUN', time_executed='2021-08-31 12:13:31.513249', time_epoch_executed='1630437211.51' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1395'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238019

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238019/ft1_4FGL_J0928.4-0415_daily_bin1395.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238019/ft1_4FGL_J0928.4-0415_daily_bin1395.fits outfile=/scratch/kocevski/238019/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1395.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=600912001.0 tmax=601171201.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.60
user 3.35
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.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/238019/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1395.fits evtable="EVENTS" outfile="/scratch/kocevski/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.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.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.fits" evtable="EVENTS" scfile=/scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits sctable="SC_DATA" outfile=/scratch/kocevski/238019/ltcube_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.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/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits
.....................!
real 14.09
user 13.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.fits evtable="EVENTS" scfile=/scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits sctable="SC_DATA" expcube=/scratch/kocevski/238019/ltcube_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.fits outfile=/scratch/kocevski/238019/expmap_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.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/238019/ltcube_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.fits
.....................!
real 192.31
user 186.66
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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J0928.4-0415 @ 142.12 -4.2539

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.fits scfile=/scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits outfile=/scratch/kocevski/238019/cmap_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.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.12 yref=-4.2539 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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.fits scfile=/scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits outfile=/scratch/kocevski/238019/cmap_HighResolution_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.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.12 yref=-4.2539 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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.fits evtable="EVENTS" scfile=/scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238019/Model_4FGL_J0928.4-0415_daily_bin1395.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/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.fits.....................!
real 69.83
user 68.30
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.fits', '/scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits', expMap='/scratch/kocevski/238019/expmap_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.fits', expCube='/scratch/kocevski/238019/ltcube_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/238019/Model_4FGL_J0928.4-0415_daily_bin1395.xml', optimizer='MINUIT')

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

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  5.926e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.566e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/238019/ft1_filtered_4FGL_J0928.4-0415_daily_bin1395.fits
Spacecraft file(s): /scratch/kocevski/238019/ft2_4FGL_J0928.4-0415_daily_bin1395.fits
Exposure map: /scratch/kocevski/238019/expmap_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.fits
Exposure cube: /scratch/kocevski/238019/ltcube_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/238019/Model_4FGL_J0928.4-0415_daily_bin1395.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) = 6715.04820866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4199       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3648       1.0000         .10000E-03   10000.    
     4 'norm      '    2.1239       1.0000         .10000E-03   10000.    
     5 'norm      '    8.5366       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.685       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.1207       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.876       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4894       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.918       1.0000         .10000E-03   10000.    
    12 'norm      '    4.7897       1.0000         .10000E-03   10000.    
    13 'norm      '    1.1321       1.0000         .10000E-03   10000.    
    14 'norm      '    .65160       1.0000         .10000E-03   10000.    
    15 'norm      '    1.0868       1.0000         .10000E-03   10000.    
    16 'norm      '    11.135       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1213       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.9038       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91787       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80164       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6715.005     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1786 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4199        1.6308       -.49836E-08   -.50656E-04
   2  Prefactor     .10000E-03    4.3287        .14182E-06** at limit **
   3  Prefactor     2.3649        4.3960        .59366E-06   -.36717E-04
   4  norm          2.1238        2.9078        .19739E-06   -.29234E-04
   5  norm          8.5362        7.4367        .11888E-06   -.26181E-04
   6  Prefactor     26.683        16.642       -.12387E-06   -.61118E-04
   7  Prefactor     4.1206        2.9967        .58294E-07   -.63284E-04
   8  Prefactor     23.875        28.052       -.92155E-07   -.23814E-04
   9  Prefactor     .10000E-03    7.4121        .20808E-06** at limit **
  10  Prefactor     4.4894        10.277        .43133E-05   -.12149E-03
  11  Prefactor     13.918        25.987       -.14496E-06   -.14125E-04
  12  norm          4.7898        6.5537        .22640E-06   -.71291E-04
  13  norm          1.1321        2.2662        .11726E-05    .79239E-03
  14  norm          .65163        .45290        .89002E-08   -.73033E-04
  15  norm          1.0867        1.7188        .14751E-06   -.10729E-03
  16  norm          11.135        10.797        .33337E-08   -.31145E-04
  17  Prefactor     6.0980        28.936       -.10789E-05   -.13620E-03
  18  Prefactor     6.8969        39.020       -.16840E-05   -.51723E-04
  19  Normalizat    .91795        .16872        .65040E-06   -.18342E-03
  20  Prefactor     .80158        .12447       -.13526E-05   -.15930E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.41989
  Prefactor  = 0.0001
  Prefactor  = 2.36486
  norm       = 2.12378
  norm       = 8.53622
  Prefactor  = 26.6832
  Prefactor  = 4.12059
  Prefactor  = 23.8747
  Prefactor  = 0.0001
  Prefactor  = 4.48935
  Prefactor  = 13.9178
  norm       = 4.78979
  norm       = 1.13214
  norm       = 0.651632
  norm       = 1.08674
  norm       = 11.1346
  Prefactor  = 6.09802
  Prefactor  = 6.89692
  Normalizat = 0.917953
  Prefactor  = 0.801583
 **********
 **   18 **HESSE 
 **********

 FCN=   6715.005     FROM HESSE     STATUS=OK           313 CALLS     2099 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4199        1.6324        .83679E-04   -1.5397    
   2  Prefactor     .10000E-03    4.3578        .16649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3649        4.3767        .22583E-03   -1.5400    
   4  norm          2.1238        2.8886        .15630E-03   -1.5416    
   5  norm          8.5362        7.4282        .13720E-03   -1.5124    
   6  Prefactor     26.683        16.649        .77550E-04   -1.4674    
   7  Prefactor     4.1206        2.9943        .11633E-03   -1.5302    
   8  Prefactor     23.875        28.042        .81978E-04   -1.4730    
   9  Prefactor     .10000E-03    7.4553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.4894        9.9202        .95013E-03   -1.5284    
  11  Prefactor     13.918        25.854        .10736E-03   -1.4962    
  12  norm          4.7898        6.5052        .18383E-03   -1.5270    
  13  norm          1.1321        2.0268        .18067E-02   -1.5495    
  14  norm          .65163        .43643        .43829E-03   -1.5547    
  15  norm          1.0867        1.4785        .12696E-02   -1.5499    
  16  norm          11.135        10.791        .12006E-03   -1.5040    
  17  Prefactor     6.0980        29.043        .16227E-03   -1.5214    
  18  Prefactor     6.8969        38.800        .15269E-03   -1.5183    
  19  Normalizat    .91795        .19523        .24916E-03   -.95832    
  20  Prefactor     .80158        .14378        .20284E-03   -.99670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4705e-09
Minuit parameter uncertainties:
  1  1.63242
  2  5.22701e-06
  3  4.37725
  4  2.88875
  5  7.42898
  6  16.6517
  7  2.99438
  8  28.0576
  9  8.86475e-06
  10  9.92387
  11  25.8748
  12  6.50617
  13  2.02694
  14  0.436435
  15  1.47853
  16  10.7931
  17  26.6371
  18  32.7493
  19  0.195382
  20  0.143848
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  2.387e+01  2.806e+01  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.566e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.016e-01  1.438e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  9.180e-01  1.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 7.20e-06 +/- 8.46e-06

TS (Fixed Index): 1.07
Ra Dec: 142.120 -4.254
Photon Flux Upper Limit: 9.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238019/likelihoodResults_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.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) = 6714.7763077
delta logL = 0.228216861714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6714.77594386
delta logL = 0.228580704914

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.574       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0817       1.0000          .0000       10.000    
     3 'Normalizat'    .92810       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79495       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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=   6714.776     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      291 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.606        35.418        .68153E-04   -.32528E-04
   2  Index         2.0825        .63976        .98090E-02    .10169E-04
   3  Normalizat    .92808        .18426        .24793E-03    .74056E-04
   4  Prefactor     .79494        .14147        .20353E-03   -.10317E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.6061
  Index      = 2.08246
  Normalizat = 0.928077
  Prefactor  = 0.794941
 **********
 **   18 **HESSE 
 **********

 FCN=   6714.776     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.606        35.283        .27261E-05   -1.4531    
   2  Index         2.0825        .63743        .39236E-03   -.62304    
   3  Normalizat    .92808        .18444        .99171E-05   -.95480    
   4  Prefactor     .79494        .14160        .81414E-05   -.99915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01124e-10
Minuit parameter uncertainties:
  1  35.3044
  2  0.640078
  3  0.184566
  4  0.141663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238019': 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) = 6714.77594267
delta logL = 0.22858188776

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  3.461e+01  3.530e+01  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.082e+00  6.401e-01  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  7.949e-01  1.417e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  9.281e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 2.08 +/- 0.64
Photon Flux (Free Index): 2.10e-08 +/- 2.50e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/238019/cmap_HighResolution_600912001_601171201_4FGL_J0928.4-0415_daily_bin1395.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.55e-03', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.20e-05', photon_flux_error='3.12e-08', dlogl='2.29e-01', energy_flux='7.20e-06', photon_flux2='2.10e-08', job_status='DONE', time_completed='2021-08-31 12:24:34.778400', photon_index_error2='0.64', photon_index2='2.08', ts='1.07', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='9.66e-08', energy_flux_error2='1.55e-05', EG='0.92', time_epoch_completed='1630437874.78', return_code='0', job_id='238019', GAL2='0.79', EG2='0.93', return_code2='0', energy_flux_error='8.46e-06', photon_flux_error2='2.50e-08', ts2='1.53', photon_index='2.57' WHERE bin_id='1395' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:24:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 238019: <4FGL_J0928.4-0415_daily_bin1395> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1395> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:10:52 2021
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:10:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 12:10:56 2021
Terminated at Tue Aug 31 12:24:35 2021
Results reported at Tue Aug 31 12:24:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1395 142.12 -4.2539 600912001 601171201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0928.4-0415 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   573.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            823 sec.

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

