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


Performing analysis on: 4FGL_J0928.1-2035_daily_bin1075
RA = 142.048, Dec = -20.5973
tmin = 517968001, tmax = 518227201
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='229080', job_status='RUN', time_executed='2021-08-31 11:48:24.242458', time_epoch_executed='1630435704.24' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='1075'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229080

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229080/ft1_4FGL_J0928.1-2035_daily_bin1075.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229080/ft1_4FGL_J0928.1-2035_daily_bin1075.fits outfile=/scratch/kocevski/229080/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin1075.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=517968001.0 tmax=518227201.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.90
user 3.56
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229080/ft1_filtered_4FGL_J0928.1-2035_daily_bin1075.fits" evtable="EVENTS" scfile=/scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits sctable="SC_DATA" outfile=/scratch/kocevski/229080/ltcube_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.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/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits
.....................!
real 12.73
user 12.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229080/ft1_filtered_4FGL_J0928.1-2035_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits sctable="SC_DATA" expcube=/scratch/kocevski/229080/ltcube_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.fits outfile=/scratch/kocevski/229080/expmap_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.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/229080/ltcube_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.fits
.....................!
real 192.39
user 185.04
sys 4.66

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0928.1-2035 @ 142.048 -20.5973

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/229080/ft1_filtered_4FGL_J0928.1-2035_daily_bin1075.fits scfile=/scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits outfile=/scratch/kocevski/229080/cmap_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.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.048 yref=-20.5973 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 1.04
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229080/ft1_filtered_4FGL_J0928.1-2035_daily_bin1075.fits scfile=/scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits outfile=/scratch/kocevski/229080/cmap_HighResolution_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.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.048 yref=-20.5973 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 1.06
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/229080/ft1_filtered_4FGL_J0928.1-2035_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229080/Model_4FGL_J0928.1-2035_daily_bin1075.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/229080/ft1_filtered_4FGL_J0928.1-2035_daily_bin1075.fits.....................!
real 109.18
user 92.32
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229080/ft1_filtered_4FGL_J0928.1-2035_daily_bin1075.fits', '/scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits', expMap='/scratch/kocevski/229080/expmap_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.fits', expCube='/scratch/kocevski/229080/ltcube_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229080/Model_4FGL_J0928.1-2035_daily_bin1075.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0928.1-2035'

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  8.822e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/229080/ft1_filtered_4FGL_J0928.1-2035_daily_bin1075.fits
Spacecraft file(s): /scratch/kocevski/229080/ft2_4FGL_J0928.1-2035_daily_bin1075.fits
Exposure map: /scratch/kocevski/229080/expmap_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.fits
Exposure cube: /scratch/kocevski/229080/ltcube_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229080/Model_4FGL_J0928.1-2035_daily_bin1075.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) = 8941.61911785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2320       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.056       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.593       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4744       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.992       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.0630       1.0000         .10000E-03   10000.    
    10 'norm      '    .17138E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .61980       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .76528       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0928       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8941.609     FROM MIGRAD    STATUS=CONVERGED    288 CALLS     1354 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2350        4.8039       -.39647E-05   -.56514E-03
   2  Prefactor     .10000E-03    2.8868        .21572E-07** at limit **
   3  Prefactor     17.063        16.181        .26957E-05   -.56859E-04
   4  Prefactor     21.562        34.925       -.21410E-04    .64947E-05
   5  Prefactor     8.4165        26.276        .66881E-05   -.28418E-04
   6  Prefactor     .10000E-03    25.801       -.20046E-06** at limit **
   7  Prefactor     25.969        30.046       -.47685E-05   -.93196E-04
   8  Prefactor     .10000E-03    4.4751       -.29150E-07** at limit **
   9  norm          3.0628        3.5105       -.41108E-06   -.29229E-03
  10  norm          .10000E-03    5.1564        .66678E-06** at limit **
  11  norm          .10000E-03    3.7953        .58558E-09** at limit **
  12  norm          .10000E-03    2.1442        .28732E-08** at limit **
  13  norm          .62053        .95076       -.47910E-06   -.27406E-02
  14  Normalizat    .76514        .18552        .52982E-05   -.12262E-03
  15  Prefactor     1.0928        .93257E-01   -.55045E-06    .23491E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.23502
  Prefactor  = 0.0001
  Prefactor  = 17.0627
  Prefactor  = 21.5625
  Prefactor  = 8.41648
  Prefactor  = 0.0001
  Prefactor  = 25.969
  Prefactor  = 0.0001
  norm       = 3.06278
  norm       = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.620532
  Normalizat = 0.765141
  Prefactor  = 1.09284
 **********
 **   18 **HESSE 
 **********

 FCN=   8941.609     FROM HESSE     STATUS=OK           184 CALLS     1538 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2350        4.8724        .19587E-03   -1.5296    
   2  Prefactor     .10000E-03    2.8903        .15690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.063        16.146        .96978E-04   -1.4882    
   4  Prefactor     21.562        34.655        .86196E-04   -1.4779    
   5  Prefactor     8.4165        26.138        .13771E-03   -1.5128    
   6  Prefactor     .10000E-03    25.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.969        28.557        .78576E-04   -1.4688    
   8  Prefactor     .10000E-03    4.4874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0628        3.5062        .18359E-03   -1.5358    
  10  norm          .10000E-03    27.251        .38675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.8209        .17990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.1471        .13522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .62053        .85094        .10908E-02   -1.5550    
  14  Normalizat    .76514        .20513        .36143E-03   -1.0138    
  15  Prefactor     1.0928        .10632        .15940E-03   -.89696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34786e-09
Minuit parameter uncertainties:
  1  4.87282
  2  2.79746e-06
  3  16.1502
  4  34.687
  5  26.1733
  6  5.69061e-05
  7  28.5719
  8  1.85908e-05
  9  3.50644
  10  0.000470483
  11  5.09354e-06
  12  2.47264e-06
  13  0.850954
  14  0.205341
  15  0.106343
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  2.156e+01  3.469e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.093e+00  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  7.651e-01  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 142.048 -20.597
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/229080/likelihoodResults_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.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) = 8940.94494156
delta logL = 0.664120167939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8940.89435224
delta logL = 0.714709489044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4716       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0221       1.0000          .0000       10.000    
     3 'Normalizat'    .70236       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1130       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8940.894     FROM MIGRAD    STATUS=FAILED       102 CALLS      315 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4522        129.18        .74171E-03   -.31498E-03
   2  Index         4.0248        6.9857        .65357E-02    .78144E-03
   3  Normalizat    .70224        .16764        .37601E-03   -.71174E-04
   4  Prefactor     1.1131        .86465E-01    .15808E-03   -.21187E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8940.894     FROM SIMPLEX   STATUS=UNCHANGED     92 CALLS      407 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4522        129.18        .26411E-03   -.31498E-03
   2  Index         4.0248        6.9857        .13135E-02    .78144E-03
   3  Normalizat    .70224        .16764        .38229E-03   -.71174E-04
   4  Prefactor     1.1131        .86465E-01    .13590E-03   -.21187E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8940.894     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      439 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4522        37.284        .29668E-04   -.15941E-03
   2  Index         4.0248        3.0035        .13071E-02   -.20734E-04
   3  Normalizat    .70224        .20871        .15040E-04   -.24188E-04
   4  Prefactor     1.1131        .10605        .31616E-04   -.91621E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.45217
  Index      = 4.0248
  Normalizat = 0.702243
  Prefactor  = 1.11306
 **********
 **   18 **HESSE 
 **********

 FCN=   8940.894     FROM HESSE     STATUS=OK            23 CALLS      462 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4522        15.850        .11867E-05   -1.5286    
   2  Index         4.0248        1.9332        .52286E-04   -.19630    
   3  Normalizat    .70224        .20870        .30081E-05   -1.0380    
   4  Prefactor     1.1131        .10566        .63233E-05   -.89050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68622e-11
Minuit parameter uncertainties:
  1  15.8654
  2  1.98708
  3  0.208935
  4  0.105678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229080': 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) = 8940.89435108
delta logL = 0.714710647886

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  4.452e+00  1.587e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  4.025e+00  1.987e+00  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.113e+00  1.057e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  7.022e-01  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.06
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 4.02 +/- 1.99
Photon Flux (Free Index): 6.87e-08 +/- 5.57e-08
Energy Flux (Free Index): 1.02e-05 +/- 8.79e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/229080/cmap_HighResolution_517968001_518227201_4FGL_J0928.1-2035_daily_bin1075.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.63e-03', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='7.15e-01', photon_flux2='6.87e-08', job_status='DONE', time_completed='2021-08-31 11:59:22.281890', photon_index_error2='1.99', photon_index2='4.02', ts='0.47', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='8.79e-06', EG='0.77', time_epoch_completed='1630436362.28', return_code='0', job_id='229080', GAL2='1.11', EG2='0.70', return_code2='0', photon_flux_error2='5.57e-08', ts2='2.06', photon_index='2.45' WHERE bin_id='1075' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:59:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 229080: <4FGL_J0928.1-2035_daily_bin1075> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin1075> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:45:44 2021
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:45:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:45:45 2021
Terminated at Tue Aug 31 11:59:23 2021
Results reported at Tue Aug 31 11:59:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin1075 142.048 -20.5973 517968001 518227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0928.1-2035 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   622.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             301.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            819 sec.

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

