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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1310
RA = 142.12, Dec = -4.2539
tmin = 578880001, tmax = 579139201
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='237896', job_status='RUN', time_executed='2021-08-31 12:11:12.647404', time_epoch_executed='1630437072.65' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1310'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/237896

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/237896/ft1_4FGL_J0928.4-0415_daily_bin1310.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/237896/ft2_4FGL_J0928.4-0415_daily_bin1310.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/237896/ft1_4FGL_J0928.4-0415_daily_bin1310.fits outfile=/scratch/kocevski/237896/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1310.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=578880001.0 tmax=579139201.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.53
user 3.30
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/237896/ft1_filtered_4FGL_J0928.4-0415_daily_bin1310.fits" evtable="EVENTS" scfile=/scratch/kocevski/237896/ft2_4FGL_J0928.4-0415_daily_bin1310.fits sctable="SC_DATA" outfile=/scratch/kocevski/237896/ltcube_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.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/237896/ft2_4FGL_J0928.4-0415_daily_bin1310.fits
.....................!
real 11.94
user 11.59
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/237896/ft1_filtered_4FGL_J0928.4-0415_daily_bin1310.fits evtable="EVENTS" scfile=/scratch/kocevski/237896/ft2_4FGL_J0928.4-0415_daily_bin1310.fits sctable="SC_DATA" expcube=/scratch/kocevski/237896/ltcube_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.fits outfile=/scratch/kocevski/237896/expmap_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.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/237896/ltcube_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.fits
.....................!
real 190.62
user 185.68
sys 4.53

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/237896/ft1_filtered_4FGL_J0928.4-0415_daily_bin1310.fits scfile=/scratch/kocevski/237896/ft2_4FGL_J0928.4-0415_daily_bin1310.fits outfile=/scratch/kocevski/237896/cmap_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/237896/ft1_filtered_4FGL_J0928.4-0415_daily_bin1310.fits scfile=/scratch/kocevski/237896/ft2_4FGL_J0928.4-0415_daily_bin1310.fits outfile=/scratch/kocevski/237896/cmap_HighResolution_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.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.58
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/237896/ft1_filtered_4FGL_J0928.4-0415_daily_bin1310.fits', '/scratch/kocevski/237896/ft2_4FGL_J0928.4-0415_daily_bin1310.fits', expMap='/scratch/kocevski/237896/expmap_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.fits', expCube='/scratch/kocevski/237896/ltcube_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/237896/Model_4FGL_J0928.4-0415_daily_bin1310.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/237896/ft1_filtered_4FGL_J0928.4-0415_daily_bin1310.fits
Spacecraft file(s): /scratch/kocevski/237896/ft2_4FGL_J0928.4-0415_daily_bin1310.fits
Exposure map: /scratch/kocevski/237896/expmap_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.fits
Exposure cube: /scratch/kocevski/237896/ltcube_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/237896/Model_4FGL_J0928.4-0415_daily_bin1310.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) = 5529.88635616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7178       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8105       1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.453       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.321       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.741       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.5084       1.0000         .10000E-03   10000.    
    13 'norm      '    .39822       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1377       1.0000         .10000E-03   10000.    
    16 'norm      '    8.8315       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.751       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.330       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1589       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .68389       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=   5529.884     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     2024 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .83979        .12583E-07** at limit **
   2  Prefactor     .10000E-03    5.2709        .27924E-07** at limit **
   3  Prefactor     .10000E-03    2.2712        .18829E-07** at limit **
   4  norm          .10000E-03    1.5296        .15880E-07** at limit **
   5  norm          1.7165        5.2071        .54914E-07   -.22935E-03
   6  Prefactor     .10000E-03    12.386        .67198E-06** at limit **
   7  Prefactor     1.8102        3.4761       -.27150E-06   -.29807E-03
   8  Prefactor     37.446        32.583       -.56876E-05   -.28430E-03
   9  Prefactor     26.321        16.202        .62717E-07   -.19393E-04
  10  Prefactor     31.742        27.158        .71060E-06    .58188E-04
  11  Prefactor     .10000E-03    12.507       -.77040E-06** at limit **
  12  norm          3.5077        3.9425        .16492E-05   -.27702E-02
  13  norm          .39796        2.6785        .70314E-06   -.42386E-03
  14  norm          .10000E-03    .27986        .55039E-07** at limit **
  15  norm          1.1379        1.5082       -.32656E-07   -.16265E-03
  16  norm          8.8316        9.7078       -.22672E-06   -.91243E-05
  17  Prefactor     24.743        32.213       -.80220E-05   -.26062E-03
  18  Prefactor     12.332        26.369        .32147E-05    .58235E-04
  19  Normalizat    1.1589        .18160        .56260E-06   -.70682E-04
  20  Prefactor     .68391        .13017       -.10620E-06   -.56663E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.71646
  Prefactor  = 0.0001
  Prefactor  = 1.81018
  Prefactor  = 37.4456
  Prefactor  = 26.321
  Prefactor  = 31.7418
  Prefactor  = 0.0001
  norm       = 3.50775
  norm       = 0.397963
  norm       = 0.0001
  norm       = 1.13787
  norm       = 8.83164
  Prefactor  = 24.7433
  Prefactor  = 12.3321
  Normalizat = 1.15887
  Prefactor  = 0.683915
 **********
 **   18 **HESSE 
 **********

 FCN=   5529.884     FROM HESSE     STATUS=OK           293 CALLS     2317 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .84820        .66543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.2864        .16673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2754        .10944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5464        .89779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7165        5.2026        .28405E-03   -1.5446    
   6  Prefactor     .10000E-03    12.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8102        3.4735        .18358E-03   -1.5439    
   8  Prefactor     37.446        33.094        .65490E-04   -1.4483    
   9  Prefactor     26.321        16.182        .78083E-04   -1.4681    
  10  Prefactor     31.742        27.245        .71121E-04   -1.4581    
  11  Prefactor     .10000E-03    12.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.5077        6.0045        .10792E-02   -1.5333    
  13  norm          .39796        2.6528        .23710E-03   -1.5582    
  14  norm          .10000E-03    .47339        .75067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1379        1.4695        .10152E-03   -1.5495    
  16  norm          8.8316        9.7111        .13488E-03   -1.5114    
  17  Prefactor     24.743        32.844        .80517E-04   -1.4713    
  18  Prefactor     12.332        26.395        .11408E-03   -1.5005    
  19  Normalizat    1.1589        .21177        .23363E-03   -.87883    
  20  Prefactor     .68391        .15247        .21726E-03   -1.0416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.9736e-09
Minuit parameter uncertainties:
  1  5.70086e-07
  2  3.4613e-06
  3  8.50398e-07
  4  2.17826e-07
  5  5.20402
  6  8.50873e-05
  7  3.4739
  8  33.1106
  9  16.1844
  10  27.2555
  11  4.3295e-05
  12  6.00556
  13  2.05484
  14  2.87846e-06
  15  1.46959
  16  9.71287
  17  32.8678
  18  26.4204
  19  0.211922
  20  0.152563
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  3.745e+01  3.311e+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:  6.839e-01  1.526e-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:  1.159e+00  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.21
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 3.68e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 9.98e-06

TS (Fixed Index): 2.21
Ra Dec: 142.120 -4.254
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/237896/likelihoodResults_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.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) = 5529.04169013
delta logL = 0.842305463842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5528.93320826
delta logL = 0.950787338347

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.184       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8796       1.0000          .0000       10.000    
     3 'Normalizat'    1.1767       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66984       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=   5528.933     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      246 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.161        48.774        .24483E-03    .32829E-04
   2  Index         1.8795        .42076        .70309E-02    .18876E-04
   3  Normalizat    1.1766        .20489        .23198E-03    .45091E-03
   4  Prefactor     .66990        .15082        .21906E-03    .44471E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.1611
  Index      = 1.87952
  Normalizat = 1.17662
  Prefactor  = 0.669899
 **********
 **   18 **HESSE 
 **********

 FCN=   5528.933     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.161        48.837        .97934E-05   -1.4067    
   2  Index         1.8795        .42133        .28124E-03   -.67397    
   3  Normalizat    1.1766        .20504        .46397E-04   -.87328    
   4  Prefactor     .66990        .15093        .43811E-04   -1.0472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12463e-10
Minuit parameter uncertainties:
  1  48.8664
  2  0.422152
  3  0.205176
  4  0.151019
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/237896': 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) = 5528.93320804
delta logL = 0.950787551596

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  6.716e+01  4.887e+01  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  1.880e+00  4.222e-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:  6.699e-01  1.510e-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:  1.177e+00  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 1.88 +/- 0.42
Photon Flux (Free Index): 3.34e-08 +/- 2.80e-08
Energy Flux (Free Index): 3.17e-05 +/- 3.34e-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/237896/cmap_HighResolution_578880001_579139201_4FGL_J0928.4-0415_daily_bin1310.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.88e-03', comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='3.17e-05', photon_flux_error='3.68e-08', dlogl='9.51e-01', energy_flux='1.13e-05', photon_flux2='3.34e-08', job_status='DONE', time_completed='2021-08-31 12:20:17.732801', photon_index_error2='0.42', photon_index2='1.88', ts='2.21', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='3.34e-05', EG='1.16', time_epoch_completed='1630437617.73', return_code='0', job_id='237896', GAL2='0.67', EG2='1.18', return_code2='0', energy_flux_error='9.98e-06', photon_flux_error2='2.80e-08', ts2='4.12', photon_index='2.57' WHERE bin_id='1310' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:20:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 237896: <4FGL_J0928.4-0415_daily_bin1310> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1310> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:10:44 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:10:47 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:47 2021
Terminated at Tue Aug 31 12:20:18 2021
Results reported at Tue Aug 31 12:20:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1310 142.12 -4.2539 578880001 579139201 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 :                                   528.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            574 sec.

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

