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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin620
RA = 142.12, Dec = -4.2539
tmin = 400032001, tmax = 400291201
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='234568', job_status='RUN', time_executed='2021-08-31 12:03:46.713593', time_epoch_executed='1630436626.71' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/234568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/234568/ft1_4FGL_J0928.4-0415_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/234568/ft2_4FGL_J0928.4-0415_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/234568/ft1_4FGL_J0928.4-0415_daily_bin620.fits outfile=/scratch/kocevski/234568/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin620.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=400032001.0 tmax=400291201.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.45
user 4.16
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/234568/ft1_filtered_4FGL_J0928.4-0415_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/234568/ft2_4FGL_J0928.4-0415_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/234568/ltcube_400032001_400291201_4FGL_J0928.4-0415_daily_bin620.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/234568/ft2_4FGL_J0928.4-0415_daily_bin620.fits
.....................!
real 11.80
user 11.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/234568/ft1_filtered_4FGL_J0928.4-0415_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/234568/ft2_4FGL_J0928.4-0415_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/234568/ltcube_400032001_400291201_4FGL_J0928.4-0415_daily_bin620.fits outfile=/scratch/kocevski/234568/expmap_400032001_400291201_4FGL_J0928.4-0415_daily_bin620.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/234568/ltcube_400032001_400291201_4FGL_J0928.4-0415_daily_bin620.fits
.....................!
real 192.00
user 186.96
sys 4.73

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/234568/ft1_filtered_4FGL_J0928.4-0415_daily_bin620.fits scfile=/scratch/kocevski/234568/ft2_4FGL_J0928.4-0415_daily_bin620.fits outfile=/scratch/kocevski/234568/cmap_400032001_400291201_4FGL_J0928.4-0415_daily_bin620.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.73
user 0.39
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/234568/ft1_filtered_4FGL_J0928.4-0415_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/234568/ft2_4FGL_J0928.4-0415_daily_bin620.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234568/Model_4FGL_J0928.4-0415_daily_bin620.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/234568/ft1_filtered_4FGL_J0928.4-0415_daily_bin620.fits.....................!
real 67.42
user 64.91
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9061       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.2907       1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.9469       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5668       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.831       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9329       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.196       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.666       1.0000         .10000E-03   10000.    
    13 'norm      '    19.335       1.0000         .10000E-03   10000.    
    14 'norm      '    .98119       1.0000         .10000E-03   10000.    
    15 'norm      '    .54516       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4941       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.066       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .73633       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1096       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=   6596.233     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     2028 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9061        1.9379       -.14851E-07    .66444E-04
   2  Prefactor     .10000E-03    2.8066       -.91300E-08** at limit **
   3  Prefactor     .10000E-03    3.8846       -.17828E-07** at limit **
   4  norm          1.2909        2.7536       -.70020E-06   -.95059E-03
   5  norm          .10000E-03    1.8854        .38522E-09** at limit **
   6  Prefactor     8.9462        16.111       -.28703E-06   -.25195E-04
   7  Prefactor     3.5664        4.0512        .67128E-07   -.46182E-03
   8  Prefactor     20.830        23.690       -.20544E-05    .48366E-05
   9  Prefactor     4.9323        14.912       -.92409E-06   -.71006E-04
  10  Prefactor     16.191        27.805       -.82919E-05   -.43508E-05
  11  Prefactor     .10000E-03    15.228        .99009E-07** at limit **
  12  norm          13.665        8.5866       -.42269E-06   -.70627E-04
  13  norm          19.335        5.7725       -.83464E-06    .33044E-04
  14  norm          .98122        .52125       -.35043E-07   -.34304E-03
  15  norm          .54623        1.2225       -.21698E-06   -.13968E-02
  16  norm          1.4977        49.598        .44144E-05   -.13080E-03
  17  Prefactor     22.068        34.974        .23881E-05   -.19938E-05
  18  Prefactor     .10000E-03    28.354       -.10291E-06** at limit **
  19  Normalizat    .73637        .19532        .15469E-05   -.20784E-04
  20  Prefactor     1.1095        .14556        .15529E-06    .40244E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.90611
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.29091
  norm       = 0.0001
  Prefactor  = 8.94618
  Prefactor  = 3.56635
  Prefactor  = 20.8296
  Prefactor  = 4.93231
  Prefactor  = 16.1908
  Prefactor  = 0.0001
  norm       = 13.6649
  norm       = 19.3348
  norm       = 0.981219
  norm       = 0.546233
  norm       = 1.49771
  Prefactor  = 22.0676
  Prefactor  = 0.0001
  Normalizat = 0.736371
  Prefactor  = 1.10951
 **********
 **   18 **HESSE 
 **********

 FCN=   6596.233     FROM HESSE     STATUS=OK           301 CALLS     2329 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9061        1.9375        .89892E-04   -1.5367    
   2  Prefactor     .10000E-03    2.8100        .13288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.9219        .15628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.2909        2.8091        .19479E-03   -1.5481    
   5  norm          .10000E-03    1.8919        .10888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.9462        16.158        .13400E-03   -1.5110    
   7  Prefactor     3.5664        4.0449        .16295E-03   -1.5330    
   8  Prefactor     20.830        23.636        .87757E-04   -1.4795    
   9  Prefactor     4.9323        14.904        .18109E-03   -1.5264    
  10  Prefactor     16.191        27.472        .99523E-04   -1.4903    
  11  Prefactor     .10000E-03    15.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.665        8.5536        .10835E-03   -1.4968    
  13  norm          19.335        5.7165        .91086E-04   -1.4828    
  14  norm          .98122        .51332        .41000E-04   -1.5510    
  15  norm          .54623        .96207        .13269E-02   -1.5560    
  16  norm          1.4977        48.142        .35058E-03   -1.5463    
  17  Prefactor     22.068        34.840        .85268E-04   -1.4768    
  18  Prefactor     .10000E-03    28.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .73637        .22824        .30563E-03   -1.0247    
  20  Prefactor     1.1095        .17126        .19818E-03   -.89163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31342e-09
Minuit parameter uncertainties:
  1  1.9375
  2  9.86681e-07
  3  2.3275e-06
  4  2.80934
  5  8.22642e-08
  6  16.1654
  7  4.04523
  8  23.6468
  9  14.9149
  10  27.4932
  11  1.34864e-05
  12  8.55439
  13  5.71668
  14  0.513324
  15  0.962093
  16  16.9971
  17  34.8716
  18  5.02127e-05
  19  0.228536
  20  0.171343
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  2.083e+01  2.365e+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.110e+00  1.713e-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:  7.364e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.60
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 2.32e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 6.28e-06 +/- 7.13e-06

TS (Fixed Index): 1.60
Ra Dec: 142.120 -4.254
Photon Flux Upper Limit: 9.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/234568/likelihoodResults_400032001_400291201_4FGL_J0928.4-0415_daily_bin620.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) = 6594.91735579
delta logL = 1.31562540783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6594.91355907
delta logL = 1.31942212687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.902       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4245       1.0000          .0000       10.000    
     3 'Normalizat'    .75469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1012       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=   6594.914     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      204 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.902        20.526        .22445E-02    .22793E-02
   2  Index         1.4245        .40439        .24183       -.62584E-04
   3  Normalizat    .75456        .18328        .68282E-01    .25874E-04
   4  Prefactor     1.1013        .14391        .37540E-01    .51249E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9018
  Index      = 1.4245
  Normalizat = 0.754562
  Prefactor  = 1.10128
 **********
 **   18 **HESSE 
 **********

 FCN=   6594.914     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.902        27.823        .89781E-04   -1.4815    
   2  Index         1.4245        .64010        .91448E-02   -.79677    
   3  Normalizat    .75456        .21512        .30213E-03   -1.0178    
   4  Prefactor     1.1013        .16924        .19876E-03   -.89426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99756e-08
Minuit parameter uncertainties:
  1  27.8414
  2  0.643732
  3  0.215364
  4  0.169325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/234568': 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) = 6594.91355879
delta logL = 1.31942240852

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.990e+01  2.784e+01  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  1.425e+00  6.437e-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.101e+00  1.693e-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:  7.546e-01  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.24
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 1.42 +/- 0.64
Photon Flux (Free Index): 7.78e-09 +/- 1.10e-08
Energy Flux (Free Index): 3.17e-05 +/- 4.93e-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/234568/cmap_HighResolution_400032001_400291201_4FGL_J0928.4-0415_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.36e-03', comment='SUCCESS', photon_flux='2.32e-08', energy_flux2='3.17e-05', photon_flux_error='2.63e-08', dlogl='1.32e+00', energy_flux='6.28e-06', photon_flux2='7.78e-09', job_status='DONE', time_completed='2021-08-31 12:13:44.618391', photon_index_error2='0.64', photon_index2='1.42', ts='1.60', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='9.42e-08', energy_flux_error2='4.93e-05', EG='0.74', time_epoch_completed='1630437224.62', return_code='0', job_id='234568', GAL2='1.10', EG2='0.75', return_code2='0', energy_flux_error='7.13e-06', photon_flux_error2='1.10e-08', ts2='4.24', photon_index='2.57' WHERE bin_id='620' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:13:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 234568: <4FGL_J0928.4-0415_daily_bin620> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin620 142.12 -4.2539 400032001 400291201 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 :                                   594.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            748 sec.

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

