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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin822
RA = 142.12, Dec = -4.2539
tmin = 452390401, tmax = 452649601
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='236056', job_status='RUN', time_executed='2021-08-31 12:10:07.851364', time_epoch_executed='1630437007.85' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='822'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236056

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236056/ft1_4FGL_J0928.4-0415_daily_bin822.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236056/ft2_4FGL_J0928.4-0415_daily_bin822.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236056/ft1_4FGL_J0928.4-0415_daily_bin822.fits outfile=/scratch/kocevski/236056/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin822.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=452390401.0 tmax=452649601.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.37
user 3.14
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236056/ft1_filtered_4FGL_J0928.4-0415_daily_bin822.fits" evtable="EVENTS" scfile=/scratch/kocevski/236056/ft2_4FGL_J0928.4-0415_daily_bin822.fits sctable="SC_DATA" outfile=/scratch/kocevski/236056/ltcube_452390401_452649601_4FGL_J0928.4-0415_daily_bin822.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/236056/ft2_4FGL_J0928.4-0415_daily_bin822.fits
.....................!
real 12.78
user 12.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236056/ft1_filtered_4FGL_J0928.4-0415_daily_bin822.fits evtable="EVENTS" scfile=/scratch/kocevski/236056/ft2_4FGL_J0928.4-0415_daily_bin822.fits sctable="SC_DATA" expcube=/scratch/kocevski/236056/ltcube_452390401_452649601_4FGL_J0928.4-0415_daily_bin822.fits outfile=/scratch/kocevski/236056/expmap_452390401_452649601_4FGL_J0928.4-0415_daily_bin822.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/236056/ltcube_452390401_452649601_4FGL_J0928.4-0415_daily_bin822.fits
.....................!
real 191.09
user 185.41
sys 5.02

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/236056/ft1_filtered_4FGL_J0928.4-0415_daily_bin822.fits scfile=/scratch/kocevski/236056/ft2_4FGL_J0928.4-0415_daily_bin822.fits outfile=/scratch/kocevski/236056/cmap_452390401_452649601_4FGL_J0928.4-0415_daily_bin822.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236056/ft1_filtered_4FGL_J0928.4-0415_daily_bin822.fits scfile=/scratch/kocevski/236056/ft2_4FGL_J0928.4-0415_daily_bin822.fits outfile=/scratch/kocevski/236056/cmap_HighResolution_452390401_452649601_4FGL_J0928.4-0415_daily_bin822.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.55
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236056/ft1_filtered_4FGL_J0928.4-0415_daily_bin822.fits evtable="EVENTS" scfile=/scratch/kocevski/236056/ft2_4FGL_J0928.4-0415_daily_bin822.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236056/Model_4FGL_J0928.4-0415_daily_bin822.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/236056/ft1_filtered_4FGL_J0928.4-0415_daily_bin822.fits.....................!
real 51.72
user 49.16
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63232E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.407       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.977       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .51975E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    44.236       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8956       1.0000         .10000E-03   10000.    
    10 'Prefactor '    63.595       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .45596E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.4193       1.0000         .10000E-03   10000.    
    13 'norm      '    .14910E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .69150       1.0000         .10000E-03   10000.    
    15 'norm      '    .93136       1.0000         .10000E-03   10000.    
    16 'norm      '    .42571       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10901E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10541E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0415       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93897       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=   4639.516     FROM MIGRAD    STATUS=CONVERGED    753 CALLS     2409 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    14.693        .17820E-02** at limit **
   2  Prefactor     10.412        14.605        .12420E-03   -.26911E-04
   3  Prefactor     .10000E-03    3.9714        .13221E-02** at limit **
   4  norm          .10000E-03    1.5917        .83607E-03** at limit **
   5  norm          11.975        6.8041        .11575E-03   -.77591E-05
   6  Prefactor     .10000E-03    8.0912        .18142E-02** at limit **
   7  Prefactor     .10003E-03    13.527        .19014E-02** at limit **
   8  Prefactor     44.233        46.390        .60278E-04   -.48433E-04
   9  Prefactor     1.9042        24.522        .30215E-03    .90376E-04
  10  Prefactor     63.727        44.012        .25160E-03    .13397E-03
  11  Prefactor     .10001E-03    91.355        .42405E-03** at limit **
  12  norm          7.4323        7.0519        .14724E-03   -.17210E-03
  13  norm          .10000E-03    7.0117        .24821E-02** at limit **
  14  norm          .69122        .62842        .50307E-03   -.46540E-03
  15  norm          .92936        2.4196        .16456E-03    .23413E-03
  16  norm          .30047        257.11        .52284E-02   -.78200E-04
  17  Prefactor     .10000E-03    27.846        .18142E-02** at limit **
  18  Prefactor     .10000E-03    29.718        .18142E-02** at limit **
  19  Normalizat    1.0416        .26047        .26465E-03    .21175E-03
  20  Prefactor     .93915        .19437        .21124E-03   -.87403E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100019
  Prefactor  = 10.4121
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 11.9754
  Prefactor  = 0.0001
  Prefactor  = 0.000100025
  Prefactor  = 44.2332
  Prefactor  = 1.90421
  Prefactor  = 63.7273
  Prefactor  = 0.000100007
  norm       = 7.43226
  norm       = 0.0001
  norm       = 0.69122
  norm       = 0.929355
  norm       = 0.300474
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04158
  Prefactor  = 0.939148
 **********
 **   18 **HESSE 
 **********

 FCN=   4639.516     FROM HESSE     STATUS=OK           277 CALLS     2686 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    14.936        .35640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.412        14.600        .49680E-05   -1.5062    
   3  Prefactor     .10000E-03    3.9718        .26442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5918        .16721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.975        6.8035        .46301E-05   -1.5016    
   6  Prefactor     .10000E-03    8.0916        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10003E-03    13.613        .38028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     44.233        46.383        .12056E-04   -1.4377    
   9  Prefactor     1.9042        24.494        .12086E-04   -1.5432    
  10  Prefactor     63.727        44.009        .10064E-04   -1.4110    
  11  Prefactor     .10001E-03    91.359        .84809E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4323        7.0498        .58897E-05   -1.5163    
  13  norm          .10000E-03    7.0382        .49642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .69122        .62800        .20123E-04   -1.5542    
  15  norm          .92936        2.4193        .65825E-05   -1.5515    
  16  norm          .30047        265.83        .20914E-02   -1.5598    
  17  Prefactor     .10000E-03    27.849        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    29.723        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0416        .26048        .52930E-04   -.91650    
  20  Prefactor     .93915        .19447        .84495E-05   -.94786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95928e-09
Minuit parameter uncertainties:
  1  0.00106709
  2  14.6046
  3  4.54605e-06
  4  1.07699e-06
  5  6.80396
  6  7.7174e-06
  7  0.00117744
  8  46.4206
  9  13.6654
  10  44.031
  11  0.00164721
  12  7.05059
  13  1.28461e-05
  14  0.62801
  15  2.41951
  16  17.952
  17  0.000120293
  18  6.10713e-05
  19  0.260795
  20  0.19461
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  4.423e+01  4.642e+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:  9.391e-01  1.946e-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.042e+00  2.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 4.92e-08 +/- 5.16e-08
Energy Flux (Fixed Index): 1.33e-05 +/- 1.40e-05

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

Saving results to:
/scratch/kocevski/236056/likelihoodResults_452390401_452649601_4FGL_J0928.4-0415_daily_bin822.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) = 4639.45686338
delta logL = 0.0587533246808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4639.4543019
delta logL = 0.0613147949089

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.792       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2436       1.0000          .0000       10.000    
     3 'Normalizat'    1.0583       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93074       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=   4639.454     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      259 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.014        1944.3        .14068E-02    .16437E-04
   2  Index         2.2481        5.4577        .24553        .65859E-04
   3  Normalizat    1.0581        .11743        .59433E-01   -.76041E-04
   4  Prefactor     .93069        .67937E-01    .45396E-01   -.10726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.0143
  Index      = 2.24812
  Normalizat = 1.05806
  Prefactor  = 0.930689
 **********
 **   18 **HESSE 
 **********

 FCN=   4639.454     FROM HESSE     STATUS=OK            29 CALLS      288 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.014        55.081        .56272E-04   -1.4278    
   2  Index         2.2481        .87085        .94270E-02   -.58281    
   3  Normalizat    1.0581        .25441        .26284E-03   -.91110    
   4  Prefactor     .93069        .19183        .21206E-03   -.95077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70199e-10
Minuit parameter uncertainties:
  1  55.1362
  2  0.877297
  3  0.254704
  4  0.191973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236056': 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) = 4639.45427834
delta logL = 0.0613383592736

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  5.101e+01  5.514e+01  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.248e+00  8.773e-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:  9.307e-01  1.920e-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.058e+00  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 2.25 +/- 0.88
Photon Flux (Free Index): 3.76e-08 +/- 5.36e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.88e-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/236056/cmap_HighResolution_452390401_452649601_4FGL_J0928.4-0415_daily_bin822.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', comment='SUCCESS', photon_flux='4.92e-08', energy_flux2='1.55e-05', photon_flux_error='5.16e-08', dlogl='6.13e-02', energy_flux='1.33e-05', photon_flux2='3.76e-08', job_status='DONE', time_completed='2021-08-31 12:18:51.154393', photon_index_error2='0.88', photon_index2='2.25', ts='1.34', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.63e-07', energy_flux_error2='1.88e-05', EG='1.04', time_epoch_completed='1630437531.15', return_code='0', job_id='236056', GAL2='0.93', EG2='1.06', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='5.36e-08', ts2='1.45', photon_index='2.57' WHERE bin_id='822' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:18:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 236056: <4FGL_J0928.4-0415_daily_bin822> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin822 142.12 -4.2539 452390401 452649601 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 :                                   518.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

