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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin560
RA = 142.12, Dec = -4.2539
tmin = 384480001, tmax = 384739201
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='234364', job_status='RUN', time_executed='2021-08-31 12:05:00.513099', time_epoch_executed='1630436700.51' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='560'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/234364

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/234364/ft1_4FGL_J0928.4-0415_daily_bin560.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/234364/ft2_4FGL_J0928.4-0415_daily_bin560.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/234364/ft1_4FGL_J0928.4-0415_daily_bin560.fits outfile=/scratch/kocevski/234364/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin560.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=384480001.0 tmax=384739201.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.06
user 3.71
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/234364/ft2_4FGL_J0928.4-0415_daily_bin560.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/234364/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin560.fits evtable="EVENTS" outfile="/scratch/kocevski/234364/ft1_filtered_4FGL_J0928.4-0415_daily_bin560.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/234364/ft1_filtered_4FGL_J0928.4-0415_daily_bin560.fits" evtable="EVENTS" scfile=/scratch/kocevski/234364/ft2_4FGL_J0928.4-0415_daily_bin560.fits sctable="SC_DATA" outfile=/scratch/kocevski/234364/ltcube_384480001_384739201_4FGL_J0928.4-0415_daily_bin560.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/234364/ft2_4FGL_J0928.4-0415_daily_bin560.fits
.....................!
real 12.48
user 12.11
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/234364/ft1_filtered_4FGL_J0928.4-0415_daily_bin560.fits evtable="EVENTS" scfile=/scratch/kocevski/234364/ft2_4FGL_J0928.4-0415_daily_bin560.fits sctable="SC_DATA" expcube=/scratch/kocevski/234364/ltcube_384480001_384739201_4FGL_J0928.4-0415_daily_bin560.fits outfile=/scratch/kocevski/234364/expmap_384480001_384739201_4FGL_J0928.4-0415_daily_bin560.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/234364/ltcube_384480001_384739201_4FGL_J0928.4-0415_daily_bin560.fits
.....................!
real 190.68
user 185.71
sys 4.61

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/234364/ft1_filtered_4FGL_J0928.4-0415_daily_bin560.fits scfile=/scratch/kocevski/234364/ft2_4FGL_J0928.4-0415_daily_bin560.fits outfile=/scratch/kocevski/234364/cmap_384480001_384739201_4FGL_J0928.4-0415_daily_bin560.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 2.78
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/234364/ft1_filtered_4FGL_J0928.4-0415_daily_bin560.fits scfile=/scratch/kocevski/234364/ft2_4FGL_J0928.4-0415_daily_bin560.fits outfile=/scratch/kocevski/234364/cmap_HighResolution_384480001_384739201_4FGL_J0928.4-0415_daily_bin560.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 1.64
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/234364/ft1_filtered_4FGL_J0928.4-0415_daily_bin560.fits evtable="EVENTS" scfile=/scratch/kocevski/234364/ft2_4FGL_J0928.4-0415_daily_bin560.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234364/Model_4FGL_J0928.4-0415_daily_bin560.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/234364/ft1_filtered_4FGL_J0928.4-0415_daily_bin560.fits.....................!
real 64.95
user 59.57
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1721       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8741       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    20.492       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6774       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.653       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9312       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.080       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .46036E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0136       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .13779E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    68.737       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .93981       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0354       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=   5594.585     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     2091 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1723        2.8461       -.74103E-07   -.18967E-04
   2  Prefactor     2.8743        11.373       -.13935E-05   -.15807E-03
   3  Prefactor     .10000E-03    2.7319        .92505E-08** at limit **
   4  norm          .10000E-03    1.5735        .16396E-07** at limit **
   5  norm          20.493        8.8953       -.12911E-06    .29522E-04
   6  Prefactor     .10000E-03    8.4778       -.88457E-08** at limit **
   7  Prefactor     1.6759        4.3075        .12029E-05   -.54806E-03
   8  Prefactor     22.641        27.100        .37864E-05    .19133E-04
   9  Prefactor     9.9410        18.537       -.21368E-04   -.49756E-04
  10  Prefactor     18.060        30.783        .16701E-08    .43632E-04
  11  Prefactor     .10000E-03    18.198        .21980E-05** at limit **
  12  norm          .10000E-03    2.4851       -.17387E-07** at limit **
  13  norm          .10000E-03    2.2567       -.31539E-06** at limit **
  14  norm          1.0136        .73896        .23091E-06    .59643E-03
  15  norm          .10000E-03    .70387       -.19456E-07** at limit **
  16  norm          .10486E-03    14.899       -.36631E-05** at limit **
  17  Prefactor     .10000E-03    18.866       -.20492E-05** at limit **
  18  Prefactor     68.741        52.874        .23368E-05    .30629E-04
  19  Normalizat    .93977        .21795        .39305E-05    .14904E-03
  20  Prefactor     1.0354        .15260       -.25191E-06    .46953E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.17231
  Prefactor  = 2.87432
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 20.4934
  Prefactor  = 0.0001
  Prefactor  = 1.67588
  Prefactor  = 22.6413
  Prefactor  = 9.94098
  Prefactor  = 18.0601
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 1.01358
  norm       = 0.0001
  norm       = 0.000104865
  Prefactor  = 0.0001
  Prefactor  = 68.7407
  Normalizat = 0.939766
  Prefactor  = 1.03542
 **********
 **   18 **HESSE 
 **********

 FCN=   5594.585     FROM HESSE     STATUS=OK           301 CALLS     2392 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1723        2.8388        .11440E-03   -1.5352    
   2  Prefactor     2.8743        11.370        .23975E-03   -1.5369    
   3  Prefactor     .10000E-03    2.7404        .12073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5838        .91594E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          20.493        8.9055        .88480E-04   -1.4802    
   6  Prefactor     .10000E-03    8.5436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6759        4.2564        .23045E-03   -1.5449    
   8  Prefactor     22.641        27.095        .84158E-04   -1.4756    
   9  Prefactor     9.9410        18.473        .12715E-03   -1.5077    
  10  Prefactor     18.060        30.758        .94195E-04   -1.4858    
  11  Prefactor     .10000E-03    18.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.4916        .11514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    25.808        .21553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0136        .71871        .50897E-04   -1.5507    
  15  norm          .10000E-03    .71492        .61261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10486E-03    19.998        .83340E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     68.741        53.123        .48414E-04   -1.4048    
  19  Normalizat    .93977        .25581        .29040E-03   -.95077    
  20  Prefactor     1.0354        .17973        .20823E-03   -.91558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13349e-09
Minuit parameter uncertainties:
  1  2.83896
  2  11.3784
  3  4.23711e-06
  4  7.28275e-06
  5  8.90611
  6  2.4452e-06
  7  4.25715
  8  27.1096
  9  18.4833
  10  30.7845
  11  1.65044e-05
  12  2.92933e-06
  13  0.000298366
  14  0.718714
  15  1.89055e-06
  16  0.0197334
  17  3.67416e-05
  18  53.1598
  19  0.256141
  20  0.179831
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  2.264e+01  2.711e+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:  1.035e+00  1.798e-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.398e-01  2.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.08
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 3.01e-08
Energy Flux (Fixed Index): 6.82e-06 +/- 8.17e-06

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

Saving results to:
/scratch/kocevski/234364/likelihoodResults_384480001_384739201_4FGL_J0928.4-0415_daily_bin560.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) = 5594.13109278
delta logL = 0.453449379185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5593.96640502
delta logL = 0.618137139983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.774       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8051       1.0000          .0000       10.000    
     3 'Normalizat'    .95528       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0233       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=   5593.966     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      256 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.767        37.242        .62022E-04   -.12244E-04
   2  Index         1.8051        .54189        .86808E-02    .10561E-04
   3  Normalizat    .95520        .23455        .28816E-03    .19750E-03
   4  Prefactor     1.0233        .17673        .20910E-03    .23830E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.767
  Index      = 1.80512
  Normalizat = 0.955205
  Prefactor  = 1.02331
 **********
 **   18 **HESSE 
 **********

 FCN=   5593.966     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.767        37.335        .12404E-04   -1.4415    
   2  Index         1.8051        .54335        .34723E-03   -.69317    
   3  Normalizat    .95520        .23474        .11526E-04   -.94547    
   4  Prefactor     1.0233        .17688        .41819E-04   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48446e-11
Minuit parameter uncertainties:
  1  37.356
  2  0.545176
  3  0.234993
  4  0.176977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/234364': 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) = 5593.96640494
delta logL = 0.618137215638

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  4.177e+01  3.736e+01  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  1.805e+00  5.452e-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:  1.023e+00  1.770e-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.552e-01  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.33
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 1.81 +/- 0.55
Photon Flux (Free Index): 1.95e-08 +/- 2.01e-08
Energy Flux (Free Index): 2.30e-05 +/- 3.26e-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/234364/cmap_HighResolution_384480001_384739201_4FGL_J0928.4-0415_daily_bin560.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.24e-03', comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='2.30e-05', photon_flux_error='3.01e-08', dlogl='6.18e-01', energy_flux='6.82e-06', photon_flux2='1.95e-08', job_status='DONE', time_completed='2021-08-31 12:14:06.187319', photon_index_error2='0.55', photon_index2='1.81', ts='1.08', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='3.26e-05', EG='0.94', time_epoch_completed='1630437246.19', return_code='0', job_id='234364', GAL2='1.02', EG2='0.96', return_code2='0', energy_flux_error='8.17e-06', photon_flux_error2='2.01e-08', ts2='2.33', photon_index='2.57' WHERE bin_id='560' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:14:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 234364: <4FGL_J0928.4-0415_daily_bin560> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin560> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 12:01:01 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:01:03 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:01:03 2021
Terminated at Tue Aug 31 12:14:06 2021
Results reported at Tue Aug 31 12:14:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin560 142.12 -4.2539 384480001 384739201 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 :                                   536.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             233.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            785 sec.

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

