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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1091
RA = 142.12, Dec = -4.2539
tmin = 522115201, tmax = 522374401
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='236515', job_status='RUN', time_executed='2021-08-31 12:09:33.688374', time_epoch_executed='1630436973.69' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1091'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236515

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236515/ft1_4FGL_J0928.4-0415_daily_bin1091.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236515/ft2_4FGL_J0928.4-0415_daily_bin1091.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236515/ft1_4FGL_J0928.4-0415_daily_bin1091.fits outfile=/scratch/kocevski/236515/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1091.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=522115201.0 tmax=522374401.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.80
user 3.48
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236515/ft1_filtered_4FGL_J0928.4-0415_daily_bin1091.fits evtable="EVENTS" scfile=/scratch/kocevski/236515/ft2_4FGL_J0928.4-0415_daily_bin1091.fits sctable="SC_DATA" expcube=/scratch/kocevski/236515/ltcube_522115201_522374401_4FGL_J0928.4-0415_daily_bin1091.fits outfile=/scratch/kocevski/236515/expmap_522115201_522374401_4FGL_J0928.4-0415_daily_bin1091.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/236515/ltcube_522115201_522374401_4FGL_J0928.4-0415_daily_bin1091.fits
.....................!
real 190.02
user 185.44
sys 4.09

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/236515/ft1_filtered_4FGL_J0928.4-0415_daily_bin1091.fits scfile=/scratch/kocevski/236515/ft2_4FGL_J0928.4-0415_daily_bin1091.fits outfile=/scratch/kocevski/236515/cmap_522115201_522374401_4FGL_J0928.4-0415_daily_bin1091.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.65
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236515/ft1_filtered_4FGL_J0928.4-0415_daily_bin1091.fits scfile=/scratch/kocevski/236515/ft2_4FGL_J0928.4-0415_daily_bin1091.fits outfile=/scratch/kocevski/236515/cmap_HighResolution_522115201_522374401_4FGL_J0928.4-0415_daily_bin1091.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.60
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236515/ft1_filtered_4FGL_J0928.4-0415_daily_bin1091.fits evtable="EVENTS" scfile=/scratch/kocevski/236515/ft2_4FGL_J0928.4-0415_daily_bin1091.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236515/Model_4FGL_J0928.4-0415_daily_bin1091.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/236515/ft1_filtered_4FGL_J0928.4-0415_daily_bin1091.fits.....................!
real 65.07
user 63.41
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.548       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2658       1.0000         .10000E-03   10000.    
     8 'Prefactor '    60.001       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.521       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    52.826       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.8636       1.0000         .10000E-03   10000.    
    14 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.5478       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.469       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3466       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .83395       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=   5931.757     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2017 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2529       -.88932E-07** at limit **
   2  Prefactor     .10000E-03    6.1792       -.10649E-06** at limit **
   3  Prefactor     .10000E-03    7.8414       -.25314E-07** at limit **
   4  norm          .10000E-03    2.8430       -.11839E-06** at limit **
   5  norm          .10000E-03    2.2315        .42200E-07** at limit **
   6  Prefactor     19.546        29.424        .12854E-05    .58705E-07
   7  Prefactor     6.2654        5.4471        .11923E-05   -.31794E-04
   8  Prefactor     60.020        62.748       -.17540E-05    .21745E-04
   9  Prefactor     39.539        24.212       -.17909E-05    .18644E-04
  10  Prefactor     .10000E-03    11.875       -.56642E-06** at limit **
  11  Prefactor     52.824        32.468        .24755E-06   -.25070E-04
  12  norm          .10000E-03    2.9061        .18361E-06** at limit **
  13  norm          1.8633        3.1024        .12912E-05   -.26476E-04
  14  norm          .10000E-03    .32182        .40450E-06** at limit **
  15  norm          2.5475        1.9919       -.25995E-07   -.33509E-05
  16  norm          .10000E-03    4.1179       -.44483E-07** at limit **
  17  Prefactor     .10000E-03    13.196        .33903E-06** at limit **
  18  Prefactor     20.470        23.054        .70285E-07   -.12374E-04
  19  Normalizat    1.3466        .22570       -.20276E-05   -.17350E-03
  20  Prefactor     .83412        .15464        .14414E-05   -.15020E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 19.5457
  Prefactor  = 6.26541
  Prefactor  = 60.0197
  Prefactor  = 39.5385
  Prefactor  = 0.0001
  Prefactor  = 52.8238
  norm       = 0.0001
  norm       = 1.8633
  norm       = 0.0001
  norm       = 2.54748
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.4697
  Normalizat = 1.34656
  Prefactor  = 0.834123
 **********
 **   18 **HESSE 
 **********

 FCN=   5931.757     FROM HESSE     STATUS=OK           287 CALLS     2304 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2665        .84188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.1980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.0959        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.8721        .12666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.2344        .11235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.546        29.452        .90588E-04   -1.4823    
   7  Prefactor     6.2654        5.4610        .78778E-03   -1.5207    
   8  Prefactor     60.020        62.721        .51797E-04   -1.4157    
   9  Prefactor     39.539        24.490        .63759E-04   -1.4450    
  10  Prefactor     .10000E-03    11.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     52.824        32.469        .55183E-04   -1.4253    
  12  norm          .10000E-03    2.9165        .12810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.8633        3.1448        .86398E-03   -1.5435    
  14  norm          .10000E-03    .51985        .82324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5475        1.9936        .92744E-04   -1.5389    
  16  norm          .10000E-03    4.1241        .15264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.470        23.058        .88528E-04   -1.4803    
  19  Normalizat    1.3466        .26253        .26656E-03   -.82187    
  20  Prefactor     .83412        .18090        .23904E-03   -.98482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66843e-10
Minuit parameter uncertainties:
  1  7.0536e-07
  2  3.5043e-06
  3  2.54051e-05
  4  1.01537e-05
  5  1.0463e-07
  6  29.474
  7  5.46146
  8  62.7899
  9  24.4967
  10  1.89956e-05
  11  32.4795
  12  1.05878e-05
  13  3.14503
  14  1.41835e-06
  15  1.99365
  16  1.04701e-06
  17  1.82086e-05
  18  23.0677
  19  0.262791
  20  0.181027
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  6.002e+01  6.279e+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.341e-01  1.810e-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.347e+00  2.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.67
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 6.68e-08 +/- 6.98e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.89e-05

TS (Fixed Index): 1.67
Ra Dec: 142.120 -4.254
Photon Flux Upper Limit: 1.98e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.55e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/236515/likelihoodResults_522115201_522374401_4FGL_J0928.4-0415_daily_bin1091.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) = 5929.02485122
delta logL = 2.73247994672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5928.97598024
delta logL = 2.78135092546

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67548       1.0000         .10000E-03   10000.    
     2 'Index     '    5.9655       1.0000          .0000       10.000    
     3 'Normalizat'    1.1570       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94002       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.

 FCN=   5928.976     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      296 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67597        4.1649        .60280E-02    .68810E-03
   2  Index         5.9654        2.4144        .80736E-01    .15337E-03
   3  Normalizat    1.1570        .76000E-01    .63979E-01    .25627E-04
   4  Prefactor     .94004        .55474E-01    .45513E-01    .24804E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.675968
  Index      = 5.9654
  Normalizat = 1.15699
  Prefactor  = 0.940044
 **********
 **   18 **HESSE 
 **********

 FCN=   5928.976     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      329 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67597        6.6130        .26948E-04   -1.5544    
   2  Index         5.9654        3.1165        .33957E-02    .19430    
   3  Normalizat    1.1570        .23901        .28301E-03   -.87943    
   4  Prefactor     .94004        .16885        .22671E-03   -.94756    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.77815e-10
Minuit parameter uncertainties:
  1  4.22887
  2  3.37693
  3  0.239239
  4  0.168944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236515': 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): 102
logL (Free Index) = 5928.97597962
delta logL = 2.7813515414

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  6.760e-01  4.229e+00  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  5.965e+00  3.377e+00  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:  9.400e-01  1.689e-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.157e+00  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.02
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 5.97 +/- 3.38
Photon Flux (Free Index): 2.23e-07 +/- 1.03e-07
Energy Flux (Free Index): 2.78e-05 +/- 1.50e-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/236515/cmap_HighResolution_522115201_522374401_4FGL_J0928.4-0415_daily_bin1091.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-02', comment='SUCCESS', photon_flux='6.68e-08', energy_flux2='2.78e-05', photon_flux_error='6.98e-08', dlogl='2.78e+00', energy_flux='1.81e-05', photon_flux2='2.23e-07', job_status='DONE', time_completed='2021-08-31 12:18:46.048604', photon_index_error2='3.38', photon_index2='5.97', ts='1.67', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.98e-07', energy_flux_error2='1.50e-05', EG='1.35', time_epoch_completed='1630437526.05', return_code='0', job_id='236515', GAL2='0.94', EG2='1.16', return_code2='102', energy_flux_error='1.89e-05', photon_flux_error2='1.03e-07', ts2='8.02', photon_index='2.57' WHERE bin_id='1091' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:18:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 236515: <4FGL_J0928.4-0415_daily_bin1091> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1091 142.12 -4.2539 522115201 522374401 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 :                                   546.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            733 sec.

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

