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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1537
RA = 142.12, Dec = -4.2539
tmin = 637718401, tmax = 637977601
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='238230', job_status='RUN', time_executed='2021-08-31 12:11:29.135211', time_epoch_executed='1630437089.14' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1537'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238230

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238230/ft1_4FGL_J0928.4-0415_daily_bin1537.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238230/ft2_4FGL_J0928.4-0415_daily_bin1537.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238230/ft1_4FGL_J0928.4-0415_daily_bin1537.fits outfile=/scratch/kocevski/238230/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1537.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=637718401.0 tmax=637977601.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.91
user 3.68
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/238230/ft2_4FGL_J0928.4-0415_daily_bin1537.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/238230/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1537.fits evtable="EVENTS" outfile="/scratch/kocevski/238230/ft1_filtered_4FGL_J0928.4-0415_daily_bin1537.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/238230/ft1_filtered_4FGL_J0928.4-0415_daily_bin1537.fits" evtable="EVENTS" scfile=/scratch/kocevski/238230/ft2_4FGL_J0928.4-0415_daily_bin1537.fits sctable="SC_DATA" outfile=/scratch/kocevski/238230/ltcube_637718401_637977601_4FGL_J0928.4-0415_daily_bin1537.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/238230/ft2_4FGL_J0928.4-0415_daily_bin1537.fits
.....................!
real 11.77
user 11.40
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238230/ft1_filtered_4FGL_J0928.4-0415_daily_bin1537.fits evtable="EVENTS" scfile=/scratch/kocevski/238230/ft2_4FGL_J0928.4-0415_daily_bin1537.fits sctable="SC_DATA" expcube=/scratch/kocevski/238230/ltcube_637718401_637977601_4FGL_J0928.4-0415_daily_bin1537.fits outfile=/scratch/kocevski/238230/expmap_637718401_637977601_4FGL_J0928.4-0415_daily_bin1537.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/238230/ltcube_637718401_637977601_4FGL_J0928.4-0415_daily_bin1537.fits
.....................!
real 190.55
user 185.78
sys 4.41

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/238230/ft1_filtered_4FGL_J0928.4-0415_daily_bin1537.fits scfile=/scratch/kocevski/238230/ft2_4FGL_J0928.4-0415_daily_bin1537.fits outfile=/scratch/kocevski/238230/cmap_637718401_637977601_4FGL_J0928.4-0415_daily_bin1537.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.69
user 0.39
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238230/ft1_filtered_4FGL_J0928.4-0415_daily_bin1537.fits evtable="EVENTS" scfile=/scratch/kocevski/238230/ft2_4FGL_J0928.4-0415_daily_bin1537.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238230/Model_4FGL_J0928.4-0415_daily_bin1537.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/238230/ft1_filtered_4FGL_J0928.4-0415_daily_bin1537.fits.....................!
real 66.46
user 64.99
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7685       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1768       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11279E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.0994       1.0000         .10000E-03   10000.    
     5 'norm      '    .69384       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11994E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7401       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1989       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.797       1.0000         .10000E-03   10000.    
    12 'norm      '    4.9972       1.0000         .10000E-03   10000.    
    13 'norm      '    3.2798       1.0000         .10000E-03   10000.    
    14 'norm      '    .80603       1.0000         .10000E-03   10000.    
    15 'norm      '    1.1766       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .77619       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0289       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=   6648.681     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     2088 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7686        2.6146        .70899E-07   -.43910E-04
   2  Prefactor     5.1770        5.3485       -.38863E-06   -.23702E-04
   3  Prefactor     .10000E-03    2.2632        .33972E-06** at limit **
   4  norm          3.0989        3.2373        .36567E-07   -.15404E-03
   5  norm          .69462        2.2561        .44196E-06    .55732E-04
   6  Prefactor     .10000E-03    6.0775        .54037E-07** at limit **
   7  Prefactor     .10000E-03    2.1291       -.39969E-06** at limit **
   8  Prefactor     .10000E-03    53.338        .14184E-06** at limit **
   9  Prefactor     1.7348        15.745        .18456E-04    .23108E-04
  10  Prefactor     7.1997        20.585        .20891E-05    .11667E-06
  11  Prefactor     14.764        34.172        .25949E-06   -.32511E-03
  12  norm          5.0042        8.1084        .23827E-05   -.46290E-03
  13  norm          3.2798        2.7682        .45479E-07   -.15980E-04
  14  norm          .80617        .58464       -.27613E-07   -.51876E-03
  15  norm          1.1766        1.5717        .14418E-06    .12338E-03
  16  norm          .10000E-03    7.0819        .11745E-06** at limit **
  17  Prefactor     .10000E-03    16.986        .17827E-06** at limit **
  18  Prefactor     .10000E-03    14.696        .30839E-07** at limit **
  19  Normalizat    .77612        .17163       -.44521E-05   -.18907E-03
  20  Prefactor     1.0289        .13004        .10208E-05   -.21054E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.76862
  Prefactor  = 5.17698
  Prefactor  = 0.0001
  norm       = 3.09889
  norm       = 0.694623
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.73479
  Prefactor  = 7.19974
  Prefactor  = 14.7645
  norm       = 5.00421
  norm       = 3.27983
  norm       = 0.80617
  norm       = 1.17661
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.776118
  Prefactor  = 1.02889
 **********
 **   18 **HESSE 
 **********

 FCN=   6648.681     FROM HESSE     STATUS=OK           299 CALLS     2387 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7686        2.6137        .86100E-04   -1.5228    
   2  Prefactor     5.1770        5.3498        .88342E-03   -1.5253    
   3  Prefactor     .10000E-03    4.4486        .23865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.0989        3.2244        .14344E-03   -1.5356    
   5  norm          .69462        2.1916        .21362E-03   -1.5541    
   6  Prefactor     .10000E-03    6.1008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0569        .22867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    54.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7348        15.805        .15902E-02   -1.5445    
  10  Prefactor     7.1997        20.566        .74750E-03   -1.5171    
  11  Prefactor     14.764        34.427        .10412E-03   -1.4939    
  12  norm          5.0042        8.1104        .89947E-03   -1.5261    
  13  norm          3.2798        2.7671        .12046E-03   -1.5346    
  14  norm          .80617        .56366        .49886E-03   -1.5528    
  15  norm          1.1766        1.5416        .11357E-03   -1.5491    
  16  norm          .10000E-03    7.1514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .77612        .19907        .27520E-03   -1.0096    
  20  Prefactor     1.0289        .15425        .19054E-03   -.91773    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82768e-10
Minuit parameter uncertainties:
  1  2.61378
  2  5.35033
  3  3.93725e-05
  4  3.22456
  5  2.19185
  6  1.23638e-05
  7  6.24618e-05
  8  0.000292567
  9  10.4759
  10  20.5858
  11  34.4735
  12  8.11214
  13  2.76723
  14  0.563664
  15  1.54165
  16  1.52733e-05
  17  2.92187e-05
  18  6.92042e-05
  19  0.19926
  20  0.154319
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  2.926e-04  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.029e+00  1.543e-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.761e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/238230/likelihoodResults_637718401_637977601_4FGL_J0928.4-0415_daily_bin1537.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): 102
logL (Free Index) = 6648.68155721
delta logL = -8.81026835486e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6648.68146964
delta logL = -5.2794257499e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10360E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8797       1.0000          .0000       10.000    
     3 'Normalizat'    .77612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0289       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=   6648.681     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      295 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10592E-03    .59893        .10911    ** at limit **
   2  Index         2.7599        6.0299        .50000        .80706E-05
   3  Normalizat    .77612        .80922E-03    .27520E-03    .88818E-05
   4  Prefactor     1.0289        .64113E-03    .19054E-03   -.20883E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105917
  Index      = 2.75989
  Normalizat = 0.776119
  Prefactor  = 1.02889
 **********
 **   18 **HESSE 
 **********

 FCN=   6648.681     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      326 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10592E-03    98.932        .62427E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7599        5.7919        .50000       -.46455    
   3  Normalizat    .77612        .62512E-02    .11008E-04   -1.0096    
   4  Prefactor     1.0289        .49528E-02    .76215E-05   -.91773    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.65267e-10
Minuit parameter uncertainties:
  1  0.0484689
  2  307.464
  3  0.00625125
  4  0.00495284
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238230': 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) = 6648.68146941
delta logL = -3.02787157125e-07

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.059e-04  4.847e-02  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.760e+00  3.075e+02  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.029e+00  4.953e-03  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.761e-01  6.251e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.120 -4.254

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/238230/cmap_HighResolution_637718401_637977601_4FGL_J0928.4-0415_daily_bin1537.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.61e-03', job_status='DONE', photon_flux_upper_limit='7.19e-08', time_completed='2021-08-31 12:21:34.025546', job_id='238230', GAL2='1.03', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1630437694.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-3.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1537' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:21:34 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1537 142.12 -4.2539 637718401 637977601 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 :                                   584.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             378.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            623 sec.

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

