/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 1 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7545
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0928.4-0415_daily_bin630
RA = 142.12, Dec = -4.2539
tmin = 402624001, tmax = 402883201
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='234587', job_status='RUN', time_executed='2021-08-31 12:01:51.766189', time_epoch_executed='1630436511.77' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/234587

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/234587/ft1_4FGL_J0928.4-0415_daily_bin630.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/234587/ft2_4FGL_J0928.4-0415_daily_bin630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/234587/ft1_4FGL_J0928.4-0415_daily_bin630.fits outfile=/scratch/kocevski/234587/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin630.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=402624001.0 tmax=402883201.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.76
user 3.39
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/234587/ft2_4FGL_J0928.4-0415_daily_bin630.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/234587/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin630.fits evtable="EVENTS" outfile="/scratch/kocevski/234587/ft1_filtered_4FGL_J0928.4-0415_daily_bin630.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.53
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/234587/ft1_filtered_4FGL_J0928.4-0415_daily_bin630.fits" evtable="EVENTS" scfile=/scratch/kocevski/234587/ft2_4FGL_J0928.4-0415_daily_bin630.fits sctable="SC_DATA" outfile=/scratch/kocevski/234587/ltcube_402624001_402883201_4FGL_J0928.4-0415_daily_bin630.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/234587/ft2_4FGL_J0928.4-0415_daily_bin630.fits
.....................!
real 11.92
user 11.57
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/234587/ft1_filtered_4FGL_J0928.4-0415_daily_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/234587/ft2_4FGL_J0928.4-0415_daily_bin630.fits sctable="SC_DATA" expcube=/scratch/kocevski/234587/ltcube_402624001_402883201_4FGL_J0928.4-0415_daily_bin630.fits outfile=/scratch/kocevski/234587/expmap_402624001_402883201_4FGL_J0928.4-0415_daily_bin630.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/234587/ltcube_402624001_402883201_4FGL_J0928.4-0415_daily_bin630.fits
.....................!
real 191.57
user 185.69
sys 5.09

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/234587/ft1_filtered_4FGL_J0928.4-0415_daily_bin630.fits scfile=/scratch/kocevski/234587/ft2_4FGL_J0928.4-0415_daily_bin630.fits outfile=/scratch/kocevski/234587/cmap_402624001_402883201_4FGL_J0928.4-0415_daily_bin630.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.61
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/234587/ft1_filtered_4FGL_J0928.4-0415_daily_bin630.fits scfile=/scratch/kocevski/234587/ft2_4FGL_J0928.4-0415_daily_bin630.fits outfile=/scratch/kocevski/234587/cmap_HighResolution_402624001_402883201_4FGL_J0928.4-0415_daily_bin630.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.55
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/234587/ft1_filtered_4FGL_J0928.4-0415_daily_bin630.fits evtable="EVENTS" scfile=/scratch/kocevski/234587/ft2_4FGL_J0928.4-0415_daily_bin630.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234587/Model_4FGL_J0928.4-0415_daily_bin630.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/234587/ft1_filtered_4FGL_J0928.4-0415_daily_bin630.fits.....................!
real 59.57
user 58.21
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .88108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .24617E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.9061       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10811E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.990       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.0726       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3177       1.0000         .10000E-03   10000.    
    15 'norm      '    3.0025       1.0000         .10000E-03   10000.    
    16 'norm      '    12.580       1.0000         .10000E-03   10000.    
    17 'Prefactor '    48.140       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.589       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .62958       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2408       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=   5742.783     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2071 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1992       -.50339E-07** at limit **
   2  Prefactor     .88137        10.830       -.41254E-05    .41180E-04
   3  Prefactor     .10007E-03    5.3166        .74067E-06** at limit **
   4  norm          .10000E-03    2.5027       -.24827E-06** at limit **
   5  norm          6.9063        6.2623        .93978E-06   -.50728E-04
   6  Prefactor     .10000E-03    23.695       -.42380E-05** at limit **
   7  Prefactor     .10000E-03    2.7664       -.25810E-06** at limit **
   8  Prefactor     .10000E-03    17.578       -.45772E-05** at limit **
   9  Prefactor     53.988        21.469       -.21125E-05    .74252E-04
  10  Prefactor     .10000E-03    35.722        .67501E-05** at limit **
  11  Prefactor     .10000E-03    13.797       -.16357E-05** at limit **
  12  norm          7.0722        7.5112       -.12716E-05   -.97335E-04
  13  norm          .10000E-03    1.0821       -.34564E-07** at limit **
  14  norm          1.3178        .62195       -.11913E-07    .67127E-03
  15  norm          3.0023        2.3029        .10052E-06   -.83925E-05
  16  norm          12.579        18.204       -.16468E-05   -.90169E-05
  17  Prefactor     48.158        63.928        .30092E-04    .16615E-03
  18  Prefactor     10.523        60.356       -.16353E-03   -.51272E-05
  19  Normalizat    .62934        .21315        .12510E-04    .12646E-03
  20  Prefactor     1.2410        .16028       -.87995E-06    .57254E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.881374
  Prefactor  = 0.000100074
  norm       = 0.0001
  norm       = 6.90633
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.9876
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.07221
  norm       = 0.0001
  norm       = 1.31784
  norm       = 3.00229
  norm       = 12.579
  Prefactor  = 48.1585
  Prefactor  = 10.5226
  Normalizat = 0.629342
  Prefactor  = 1.24098
 **********
 **   18 **HESSE 
 **********

 FCN=   5742.783     FROM HESSE     STATUS=OK           293 CALLS     2364 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2086        .80976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88137        43.823        .47464E-02   -1.5520    
   3  Prefactor     .10007E-03    15.757        .33597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.5599        .11699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.9063        6.2575        .15267E-03   -1.5182    
   6  Prefactor     .10000E-03    23.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.8698        .24589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     53.988        21.471        .54588E-04   -1.4237    
  10  Prefactor     .10000E-03    35.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.0722        7.5054        .15084E-03   -1.5176    
  13  norm          .10000E-03    1.0841        .76977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3178        .61625        .39209E-04   -1.5478    
  15  norm          3.0023        2.3016        .96884E-04   -1.5361    
  16  norm          12.579        18.193        .11294E-03   -1.4998    
  17  Prefactor     48.158        63.774        .57794E-04   -1.4319    
  18  Prefactor     10.523        60.670        .12313E-03   -1.5059    
  19  Normalizat    .62934        .23678        .34293E-03   -1.0675    
  20  Prefactor     1.2410        .18124        .19554E-03   -.85079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65211e-09
Minuit parameter uncertainties:
  1  3.2203e-06
  2  12.4387
  3  0.00216572
  4  4.12153e-05
  5  6.25805
  6  0.00027086
  7  4.2595e-05
  8  5.32281e-05
  9  21.4745
  10  0.000241432
  11  6.7356e-06
  12  7.50641
  13  1.44519e-06
  14  0.616256
  15  2.30166
  16  18.201
  17  63.8646
  18  50.6111
  19  0.237167
  20  0.181334
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  5.323e-05  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.241e+00  1.813e-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:  6.293e-01  2.372e-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.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/234587/likelihoodResults_402624001_402883201_4FGL_J0928.4-0415_daily_bin630.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) = 5742.78278472
delta logL = -0.00027064122969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5742.33090513
delta logL = 0.451608954018

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.9681       1.0000          .0000       10.000    
     3 'Normalizat'    .55651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2798       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5742.331     FROM MIGRAD    STATUS=FAILED       144 CALLS      418 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .86571E-03    .11019E-04** at limit **
   2  Index         9.9678        6.0889        .56126E-01    .47471E-03
   3  Normalizat    .55695        .24334        .36418E-03    .77480E-04
   4  Prefactor     1.2797        .18480        .19281E-03    .62030E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5742.331     FROM SIMPLEX   STATUS=UNCHANGED    147 CALLS      565 TOTAL
                     EDM=   .80E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .86571E-03    .35533E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.9678        6.0889        .52882E-02    1.6843    
   3  Normalizat    .55695        .24334        .15808E-05   -1.0984    
   4  Prefactor     1.2797        .18480        .59881E-05   -.83913    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5742.331     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      602 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .85870E-03    .22039E-05** at limit **
   2  Index         9.9678        6.0425        .11225E-01    .20407E-05
   3  Normalizat    .55695        .23955        .14567E-04    .29656E-05
   4  Prefactor     1.2797        .18342        .77123E-05    .23586E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 9.96782
  Normalizat = 0.556947
  Prefactor  = 1.27968
 **********
 **   18 **HESSE 
 **********

 FCN=   5742.331     FROM HESSE     STATUS=OK            25 CALLS      627 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .85907E-03    .44078E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.9678        6.0327        .44901E-03    1.6843    
   3  Normalizat    .55695        .23831        .29135E-05   -1.0984    
   4  Prefactor     1.2797        .18283        .15425E-05   -.83913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35319e-12
Minuit parameter uncertainties:
  1  2.58553e-09
  2  0.603173
  3  0.238754
  4  0.182921
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/234587': 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) = 5742.33089692
delta logL = 0.451617163701

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  2.586e-09  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  9.968e+00  6.032e-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.280e+00  1.829e-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:  5.569e-01  2.388e-01  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/234587/cmap_HighResolution_402624001_402883201_4FGL_J0928.4-0415_daily_bin630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.03e-03', job_status='DONE', photon_flux_upper_limit='7.72e-08', time_completed='2021-08-31 12:11:20.747222', job_id='234587', GAL2='1.28', fit_tolerance='1e-08', EG2='0.56', EG='0.63', time_epoch_completed='1630437080.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='4.52e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='630' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:11:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 234587: <4FGL_J0928.4-0415_daily_bin630> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin630 142.12 -4.2539 402624001 402883201 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 :                                   555.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            603 sec.

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

