/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 28 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 = 7383
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0928.1-2035_daily_bin805
RA = 142.048, Dec = -20.5973
tmin = 447984001, tmax = 448243201
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='227701', job_status='RUN', time_executed='2021-08-31 11:42:42.201404', time_epoch_executed='1630435362.2' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='805'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/227701

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/227701/ft1_4FGL_J0928.1-2035_daily_bin805.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/227701/ft1_4FGL_J0928.1-2035_daily_bin805.fits outfile=/scratch/kocevski/227701/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin805.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=447984001.0 tmax=448243201.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.02
user 3.81
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.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/227701/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin805.fits evtable="EVENTS" outfile="/scratch/kocevski/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.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.48
user 0.32
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.fits" evtable="EVENTS" scfile=/scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits sctable="SC_DATA" outfile=/scratch/kocevski/227701/ltcube_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.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/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits
.....................!
real 11.72
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.fits evtable="EVENTS" scfile=/scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits sctable="SC_DATA" expcube=/scratch/kocevski/227701/ltcube_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.fits outfile=/scratch/kocevski/227701/expmap_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.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/227701/ltcube_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.fits
.....................!
real 191.91
user 187.31
sys 3.89

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/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.fits scfile=/scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits outfile=/scratch/kocevski/227701/cmap_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.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 0.69
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.fits scfile=/scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits outfile=/scratch/kocevski/227701/cmap_HighResolution_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.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 0.60
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.fits evtable="EVENTS" scfile=/scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/227701/Model_4FGL_J0928.1-2035_daily_bin805.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/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.fits.....................!
real 61.07
user 58.44
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.fits', '/scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits', expMap='/scratch/kocevski/227701/expmap_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.fits', expCube='/scratch/kocevski/227701/ltcube_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/227701/Model_4FGL_J0928.1-2035_daily_bin805.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/227701/ft1_filtered_4FGL_J0928.1-2035_daily_bin805.fits
Spacecraft file(s): /scratch/kocevski/227701/ft2_4FGL_J0928.1-2035_daily_bin805.fits
Exposure map: /scratch/kocevski/227701/expmap_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.fits
Exposure cube: /scratch/kocevski/227701/ltcube_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/227701/Model_4FGL_J0928.1-2035_daily_bin805.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) = 5333.08455459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9299       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.877       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.270       1.0000         .10000E-03   10000.    
     5 'Prefactor '    50.086       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .65351       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1434       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=   5333.083     FROM MIGRAD    STATUS=CONVERGED    265 CALLS     1281 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9310        7.7831        .18623E-05   -.70232E-03
   2  Prefactor     11.878        11.606        .16112E-07   -.11386E-04
   3  Prefactor     .10000E-03    16.582        .17942E-05** at limit **
   4  Prefactor     33.273        46.961        .12321E-05    .71067E-04
   5  Prefactor     50.091        49.892        .17085E-05    .99732E-04
   6  Prefactor     .10000E-03    21.436       -.21806E-05** at limit **
   7  Prefactor     .10000E-03    16.143        .12714E-05** at limit **
   8  Prefactor     .10000E-03    7.7240       -.31761E-06** at limit **
   9  norm          .10000E-03    8.6269        .80475E-06** at limit **
  10  norm          .10000E-03    5.7366        .45102E-07** at limit **
  11  norm          .10000E-03    12.724       -.21162E-05** at limit **
  12  norm          .10000E-03    19.590        .93920E-06** at limit **
  13  norm          .10000E-03    .74075        .13813E-07** at limit **
  14  Normalizat    .65342        .25045       -.94005E-06   -.31636E-04
  15  Prefactor     1.1434        .12421       -.22895E-06   -.27802E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.931
  Prefactor  = 11.8779
  Prefactor  = 0.000100001
  Prefactor  = 33.2734
  Prefactor  = 50.0909
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.653417
  Prefactor  = 1.14336
 **********
 **   18 **HESSE 
 **********

 FCN=   5333.083     FROM HESSE     STATUS=OK           174 CALLS     1455 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9310        8.3712        .71193E-03   -1.5145    
   2  Prefactor     11.878        11.605        .11624E-03   -1.5019    
   3  Prefactor     .10000E-03    17.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.273        47.332        .69472E-04   -1.4554    
   5  Prefactor     50.091        50.221        .56665E-04   -1.4291    
   6  Prefactor     .10000E-03    22.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.7560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.8058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.7907        .17077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    13.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    20.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .75921        .12264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .65342        .27542        .41321E-03   -1.0576    
  15  Prefactor     1.1434        .13780        .16074E-03   -.88092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.12781e-10
Minuit parameter uncertainties:
  1  8.37248
  2  11.6073
  3  0.000285034
  4  47.3852
  5  50.2638
  6  0.000441073
  7  0.000229568
  8  3.95392e-05
  9  8.19193e-05
  10  8.58392e-06
  11  0.000327176
  12  0.000188592
  13  1.51283e-06
  14  0.276003
  15  0.137842
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  3.327e+01  4.739e+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.143e+00  1.378e-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:  6.534e-01  2.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.64
Ra Dec: 142.048 -20.597
Photon Flux Upper Limit: 1.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.29e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/227701/likelihoodResults_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.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) = 5332.34835012
delta logL = 0.734611929378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5332.34088301
delta logL = 0.74207903343

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2273       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3031       1.0000          .0000       10.000    
     3 'Normalizat'    .57165       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1701       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.

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

 FCN=   5332.341     FROM MIGRAD    STATUS=FAILED        82 CALLS      336 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2259        132.51        .11474E-03   -.39141E-02
   2  Index         4.3040        7.1260        .51811E-02   -.89444E-03
   3  Normalizat    .57166        .25489        .43975E-03   -.58055E-03
   4  Prefactor     1.1701        .12730        .15904E-03   -.12068E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5332.341     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      422 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2259        132.51        .41344E-03   -.39141E-02
   2  Index         4.3040        7.1260        .24535E-02   -.89444E-03
   3  Normalizat    .57166        .25489        .21207E-03   -.58055E-03
   4  Prefactor     1.1701        .12730        .32940E-04   -.12068E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5332.341     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      453 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2243        20.845        .45895E-05   -.13624E-03
   2  Index         4.3042        2.4142        .20724E-03   -.24027E-04
   3  Normalizat    .57166        .28184        .17590E-04   -.34901E-05
   4  Prefactor     1.1701        .13927        .31807E-04   -.63621E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.22425
  Index      = 4.30424
  Normalizat = 0.571656
  Prefactor  = 1.17009
 **********
 **   18 **HESSE 
 **********

 FCN=   5332.341     FROM HESSE     STATUS=OK            23 CALLS      476 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2243        18.323        .91790E-06   -1.5297    
   2  Index         4.3042        2.2765        .82897E-05   -.13961    
   3  Normalizat    .57166        .28198        .35180E-05   -1.0920    
   4  Prefactor     1.1701        .13930        .63615E-05   -.87257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99856e-12
Minuit parameter uncertainties:
  1  17.6047
  2  2.36542
  3  0.282694
  4  0.139346
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/227701': 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) = 5332.34088177
delta logL = 0.742080275278

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  4.224e+00  1.760e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  4.304e+00  2.365e+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.170e+00  1.393e-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:  5.717e-01  2.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.30
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 4.30 +/- 2.37
Photon Flux (Free Index): 1.07e-07 +/- 9.00e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.29e-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/227701/cmap_HighResolution_447984001_448243201_4FGL_J0928.1-2035_daily_bin805.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', energy_flux2='1.54e-05', dlogl='7.42e-01', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-08-31 11:50:51.344899', photon_index_error2='2.37', photon_index2='4.30', ts='0.64', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.29e-05', EG='0.65', time_epoch_completed='1630435851.34', return_code='0', job_id='227701', GAL2='1.17', EG2='0.57', return_code2='0', photon_flux_error2='9.00e-08', ts2='2.30', photon_index='2.45' WHERE bin_id='805' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:50:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 227701: <4FGL_J0928.1-2035_daily_bin805> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin805> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:41:48 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:41:49 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:41:49 2021
Terminated at Tue Aug 31 11:50:52 2021
Results reported at Tue Aug 31 11:50:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin805 142.048 -20.5973 447984001 448243201 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 :                                   481.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   542 sec.
    Turnaround time :                            544 sec.

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

