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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin568
RA = 142.12, Dec = -4.2539
tmin = 386553601, tmax = 386812801
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='234373', job_status='RUN', time_executed='2021-08-31 12:03:07.364481', time_epoch_executed='1630436587.36' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='568'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/234373

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/234373/ft1_4FGL_J0928.4-0415_daily_bin568.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/234373/ft2_4FGL_J0928.4-0415_daily_bin568.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/234373/ft1_4FGL_J0928.4-0415_daily_bin568.fits outfile=/scratch/kocevski/234373/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin568.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=386553601.0 tmax=386812801.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.70
user 4.46
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/234373/ft1_filtered_4FGL_J0928.4-0415_daily_bin568.fits" evtable="EVENTS" scfile=/scratch/kocevski/234373/ft2_4FGL_J0928.4-0415_daily_bin568.fits sctable="SC_DATA" outfile=/scratch/kocevski/234373/ltcube_386553601_386812801_4FGL_J0928.4-0415_daily_bin568.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/234373/ft2_4FGL_J0928.4-0415_daily_bin568.fits
.....................!
real 11.64
user 11.32
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/234373/ft1_filtered_4FGL_J0928.4-0415_daily_bin568.fits evtable="EVENTS" scfile=/scratch/kocevski/234373/ft2_4FGL_J0928.4-0415_daily_bin568.fits sctable="SC_DATA" expcube=/scratch/kocevski/234373/ltcube_386553601_386812801_4FGL_J0928.4-0415_daily_bin568.fits outfile=/scratch/kocevski/234373/expmap_386553601_386812801_4FGL_J0928.4-0415_daily_bin568.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/234373/ltcube_386553601_386812801_4FGL_J0928.4-0415_daily_bin568.fits
.....................!
real 193.44
user 186.58
sys 6.11

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/234373/ft1_filtered_4FGL_J0928.4-0415_daily_bin568.fits scfile=/scratch/kocevski/234373/ft2_4FGL_J0928.4-0415_daily_bin568.fits outfile=/scratch/kocevski/234373/cmap_386553601_386812801_4FGL_J0928.4-0415_daily_bin568.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/234373/ft1_filtered_4FGL_J0928.4-0415_daily_bin568.fits scfile=/scratch/kocevski/234373/ft2_4FGL_J0928.4-0415_daily_bin568.fits outfile=/scratch/kocevski/234373/cmap_HighResolution_386553601_386812801_4FGL_J0928.4-0415_daily_bin568.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.62
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/234373/ft1_filtered_4FGL_J0928.4-0415_daily_bin568.fits evtable="EVENTS" scfile=/scratch/kocevski/234373/ft2_4FGL_J0928.4-0415_daily_bin568.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234373/Model_4FGL_J0928.4-0415_daily_bin568.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/234373/ft1_filtered_4FGL_J0928.4-0415_daily_bin568.fits.....................!
real 62.84
user 60.21
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1384       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8612       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.3190       1.0000         .10000E-03   10000.    
     4 'norm      '    5.2462       1.0000         .10000E-03   10000.    
     5 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.4940       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.296       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10661E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.215       1.0000         .10000E-03   10000.    
    12 'norm      '    5.4538       1.0000         .10000E-03   10000.    
    13 'norm      '    1.8483       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1150       1.0000         .10000E-03   10000.    
    15 'norm      '    8.1699       1.0000         .10000E-03   10000.    
    16 'norm      '    .10643E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.370       1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.863       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4901       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .40361       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=   5689.366     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2079 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1320        2.2984       -.87838E-07   -.39322E-03
   2  Prefactor     5.8682        9.1641        .23377E-05   -.56645E-03
   3  Prefactor     7.3178        6.8521        .45752E-06    .24750E-03
   4  norm          5.2465        3.9745        .11070E-07   -.20021E-04
   5  norm          .10000E-03    3.7820        .38328E-07** at limit **
   6  Prefactor     .10000E-03    11.102        .35448E-07** at limit **
   7  Prefactor     5.4952        3.8403        .57399E-06   -.75730E-03
   8  Prefactor     31.298        34.191        .33714E-06    .29988E-04
   9  Prefactor     .10016E-03    14.196       -.40929E-06** at limit **
  10  Prefactor     .10000E-03    26.813        .60099E-07** at limit **
  11  Prefactor     13.224        22.275       -.44703E-05   -.37190E-03
  12  norm          5.4569        4.6515        .33973E-06    .16945E-04
  13  norm          1.8481        4.0111        .38284E-06   -.17534E-03
  14  norm          2.1150        .72763        .78672E-08    .77737E-04
  15  norm          8.1689        3.1920        .11125E-07   -.31352E-04
  16  norm          .10000E-03    43.394        .38942E-07** at limit **
  17  Prefactor     46.379        36.438       -.55569E-06   -.85647E-04
  18  Prefactor     34.860        36.390       -.25612E-06   -.51706E-04
  19  Normalizat    1.4906        .19945       -.68292E-06    .81293E-04
  20  Prefactor     .40331        .13890        .30919E-06   -.12877E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.13204
  Prefactor  = 5.86822
  Prefactor  = 7.3178
  norm       = 5.24646
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.49522
  Prefactor  = 31.2976
  Prefactor  = 0.000100155
  Prefactor  = 0.0001
  Prefactor  = 13.2243
  norm       = 5.4569
  norm       = 1.8481
  norm       = 2.115
  norm       = 8.1689
  norm       = 0.0001
  Prefactor  = 46.3787
  Prefactor  = 34.8598
  Normalizat = 1.4906
  Prefactor  = 0.403307
 **********
 **   18 **HESSE 
 **********

 FCN=   5689.366     FROM HESSE     STATUS=OK           305 CALLS     2384 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1320        1.9014        .15493E-02   -1.5495    
   2  Prefactor     5.8682        9.8336        .82940E-03   -1.5223    
   3  Prefactor     7.3178        6.8723        .14826E-03   -1.5167    
   4  norm          5.2465        3.9777        .12519E-03   -1.5250    
   5  norm          .10000E-03    3.8209        .14320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.4952        3.9388        .60416E-03   -1.5239    
   8  Prefactor     31.298        34.276        .71623E-04   -1.4588    
   9  Prefactor     .10016E-03    18.604        .76136E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.224        24.244        .11018E-03   -1.4981    
  12  norm          5.4569        4.6667        .14276E-03   -1.5241    
  13  norm          1.8481        4.0060        .21171E-03   -1.5436    
  14  norm          2.1150        .72677        .36004E-04   -1.5417    
  15  norm          8.1689        3.1858        .79729E-04   -1.5136    
  16  norm          .10000E-03    44.636        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.379        36.542        .58881E-04   -1.4345    
  18  Prefactor     34.860        36.524        .67870E-04   -1.4526    
  19  Normalizat    1.4906        .23085        .22300E-03   -.78043    
  20  Prefactor     .40331        .15866        .28575E-03   -1.1664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5098e-09
Minuit parameter uncertainties:
  1  1.90149
  2  9.83633
  3  6.87303
  4  3.97789
  5  9.19857e-07
  6  3.27189e-06
  7  3.93902
  8  34.2974
  9  0.00340135
  10  7.16555e-06
  11  24.2624
  12  4.66702
  13  4.00655
  14  0.726775
  15  3.18587
  16  3.55511e-05
  17  36.5593
  18  36.5471
  19  0.231016
  20  0.158835
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  3.130e+01  3.430e+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:  4.033e-01  1.588e-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.491e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.58
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 3.81e-08
Energy Flux (Fixed Index): 9.43e-06 +/- 1.03e-05

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

Saving results to:
/scratch/kocevski/234373/likelihoodResults_386553601_386812801_4FGL_J0928.4-0415_daily_bin568.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) = 5689.35327253
delta logL = 0.0123725078683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5689.34821764
delta logL = 0.0174273921466

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.782       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7471       1.0000          .0000       10.000    
     3 'Normalizat'    1.4838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .40672       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=   5689.348     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      262 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.780        38.969        .76007E-04    .94501E-04
   2  Index         2.7470        1.0345        .85658E-02    .31409E-04
   3  Normalizat    1.4841        .22412        .22340E-03   -.24216E-03
   4  Prefactor     .40649        .15617        .28470E-03   -.18165E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.7799
  Index      = 2.747
  Normalizat = 1.48411
  Prefactor  = 0.406495
 **********
 **   18 **HESSE 
 **********

 FCN=   5689.348     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.780        36.909        .15201E-04   -1.4653    
   2  Index         2.7470        .97954        .34263E-03   -.46744    
   3  Normalizat    1.4841        .22410        .44680E-04   -.78226    
   4  Prefactor     .40649        .15615        .11388E-04   -1.1648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05508e-10
Minuit parameter uncertainties:
  1  36.939
  2  0.987581
  3  0.224249
  4  0.156317
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/234373': 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) = 5689.34821651
delta logL = 0.017428520975

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  2.778e+01  3.694e+01  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.747e+00  9.876e-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:  4.065e-01  1.563e-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.484e+00  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 2.75 +/- 0.99
Photon Flux (Free Index): 3.99e-08 +/- 4.88e-08
Energy Flux (Free Index): 9.26e-06 +/- 9.85e-06

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/234373/cmap_HighResolution_386553601_386812801_4FGL_J0928.4-0415_daily_bin568.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='9.26e-06', photon_flux_error='3.81e-08', dlogl='1.74e-02', energy_flux='9.43e-06', photon_flux2='3.99e-08', job_status='DONE', time_completed='2021-08-31 12:12:29.982857', photon_index_error2='0.99', photon_index2='2.75', ts='1.58', fit_tolerance='1e-08', GAL='0.40', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='9.85e-06', EG='1.49', time_epoch_completed='1630437149.98', return_code='0', job_id='234373', GAL2='0.41', EG2='1.48', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='4.88e-08', ts2='1.61', photon_index='2.57' WHERE bin_id='568' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:12:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 234373: <4FGL_J0928.4-0415_daily_bin568> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin568> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 12:01:02 2021
Job was executed on host(s) <bullet0008>, 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:12:30 2021
Results reported at Tue Aug 31 12:12:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin568 142.12 -4.2539 386553601 386812801 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 :                                   554.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            688 sec.

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

