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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1125
RA = 142.12, Dec = -4.2539
tmin = 530928001, tmax = 531187201
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='236568', job_status='RUN', time_executed='2021-08-31 12:09:09.771358', time_epoch_executed='1630436949.77' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236568/ft1_4FGL_J0928.4-0415_daily_bin1125.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236568/ft2_4FGL_J0928.4-0415_daily_bin1125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236568/ft1_4FGL_J0928.4-0415_daily_bin1125.fits outfile=/scratch/kocevski/236568/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1125.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=530928001.0 tmax=531187201.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.71
user 3.40
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236568/ft1_filtered_4FGL_J0928.4-0415_daily_bin1125.fits" evtable="EVENTS" scfile=/scratch/kocevski/236568/ft2_4FGL_J0928.4-0415_daily_bin1125.fits sctable="SC_DATA" outfile=/scratch/kocevski/236568/ltcube_530928001_531187201_4FGL_J0928.4-0415_daily_bin1125.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/236568/ft2_4FGL_J0928.4-0415_daily_bin1125.fits
.....................!
real 13.26
user 12.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236568/ft1_filtered_4FGL_J0928.4-0415_daily_bin1125.fits evtable="EVENTS" scfile=/scratch/kocevski/236568/ft2_4FGL_J0928.4-0415_daily_bin1125.fits sctable="SC_DATA" expcube=/scratch/kocevski/236568/ltcube_530928001_531187201_4FGL_J0928.4-0415_daily_bin1125.fits outfile=/scratch/kocevski/236568/expmap_530928001_531187201_4FGL_J0928.4-0415_daily_bin1125.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/236568/ltcube_530928001_531187201_4FGL_J0928.4-0415_daily_bin1125.fits
.....................!
real 192.80
user 185.85
sys 5.35

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/236568/ft1_filtered_4FGL_J0928.4-0415_daily_bin1125.fits scfile=/scratch/kocevski/236568/ft2_4FGL_J0928.4-0415_daily_bin1125.fits outfile=/scratch/kocevski/236568/cmap_530928001_531187201_4FGL_J0928.4-0415_daily_bin1125.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236568/ft1_filtered_4FGL_J0928.4-0415_daily_bin1125.fits scfile=/scratch/kocevski/236568/ft2_4FGL_J0928.4-0415_daily_bin1125.fits outfile=/scratch/kocevski/236568/cmap_HighResolution_530928001_531187201_4FGL_J0928.4-0415_daily_bin1125.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.78
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236568/ft1_filtered_4FGL_J0928.4-0415_daily_bin1125.fits evtable="EVENTS" scfile=/scratch/kocevski/236568/ft2_4FGL_J0928.4-0415_daily_bin1125.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236568/Model_4FGL_J0928.4-0415_daily_bin1125.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/236568/ft1_filtered_4FGL_J0928.4-0415_daily_bin1125.fits.....................!
real 65.12
user 63.19
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .97733       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.7840       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21430       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.441       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.491       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .26635E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.930       1.0000         .10000E-03   10000.    
    12 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.0483       1.0000         .10000E-03   10000.    
    14 'norm      '    .82024       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7517       1.0000         .10000E-03   10000.    
    16 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4434       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0135       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98219       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=   5811.278     FROM MIGRAD    STATUS=FAILED       783 CALLS     2767 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2109        .81552E-03** at limit **
   2  Prefactor     .97490        52.307        .50062E-02    .11926E-02
   3  Prefactor     .10000E-03    4.1895        .15178E-02** at limit **
   4  norm          .10000E-03    3.2373        .26344E-03** at limit **
   5  norm          6.7884        7.1877        .77024E-03   -.29933E-03
   6  Prefactor     .96048E-01    25.520        .84219E-01    .29345E-03
   7  Prefactor     11.441        5.1955        .54925E-03   -.38307E-03
   8  Prefactor     .10000E-03    56.568        .18142E-02** at limit **
   9  Prefactor     13.491        15.964        .10905E-03    .89134E-04
  10  Prefactor     .10015E-03    44.648        .12279    ** at limit **
  11  Prefactor     18.928        35.758        .92055E-04   -.18468E-03
  12  norm          .10002E-03    20.388        .34668E-02** at limit **
  13  norm          2.0481        2.5613        .13321E-03    .49245E-04
  14  norm          .81975        .69652        .55725E-03   -.16195E-03
  15  norm          1.7515        1.5846        .87856E-04   -.41796E-04
  16  norm          .10000E-03    7.1666        .18142E-02** at limit **
  17  Prefactor     .10000E-03    44.033        .18142E-02** at limit **
  18  Prefactor     2.4382        41.485        .26172E-03   -.41222E-04
  19  Normalizat    1.0138        .25527        .27279E-03    .28701E-03
  20  Prefactor     .98211        .18348        .20940E-03    .16869E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5811.278     FROM SIMPLEX   STATUS=UNCHANGED   1075 CALLS     3842 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2109        .13041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .97490        52.307        .65205E-06   -1.5510    
   3  Prefactor     .10000E-03    4.1895        .33729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.2373        .23363E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.7884        7.1877        .44739E-06   -1.5187    
   6  Prefactor     .96048E-01    25.520        .21409E-05   -1.5646    
   7  Prefactor     11.441        5.1955        .48557E-06   -1.5031    
   8  Prefactor     .10000E-03    56.568        .79982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.491        15.964        .44853E-06   -1.4973    
  10  Prefactor     .10015E-03    44.648        .34750E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.928        35.758        .44201E-06   -1.4838    
  12  norm          .10002E-03    20.388        .11337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0481        2.5613        .46054E-06   -1.5422    
  14  norm          .81975        .69652        .46368E-06   -1.5527    
  15  norm          1.7515        1.5846        .46104E-06   -1.5443    
  16  norm          .10000E-03    7.1666        .34838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    44.033        .91246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4382        41.485        .50139E-06   -1.5396    
  19  Normalizat    1.0138        .25527        .27985E-06   -.92570    
  20  Prefactor     .98211        .18348        .27988E-06   -.93328    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5811.278     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     4143 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2110        .16310E-03** at limit **
   2  Prefactor     .97506        52.304        .10012E-02    .15783E-04
   3  Prefactor     .10000E-03    4.1904        .30357E-03** at limit **
   4  norm          .10000E-03    3.2374        .52688E-04** at limit **
   5  norm          6.7885        7.1833        .30810E-04    .15616E-03
   6  Prefactor     .96000E-01    22.695        .90287E-01    .27087E-03
   7  Prefactor     11.441        5.1941        .21970E-04    .97801E-04
   8  Prefactor     .10000E-03    56.578        .36285E-03** at limit **
   9  Prefactor     13.491        15.961        .43621E-05    .11468E-04
  10  Prefactor     .10015E-03    43.610        .12464    ** at limit **
  11  Prefactor     18.929        35.691        .18411E-04    .12597E-04
  12  norm          .10000E-03    20.510        .69336E-03** at limit **
  13  norm          2.0481        2.5612        .53282E-05    .68278E-05
  14  norm          .81976        .69582        .22290E-04    .12955E-03
  15  norm          1.7515        1.5845        .35143E-05    .13587E-04
  16  norm          .10000E-03    7.1671        .36285E-03** at limit **
  17  Prefactor     .10000E-03    44.048        .36285E-03** at limit **
  18  Prefactor     2.4384        41.475        .10469E-04    .84703E-05
  19  Normalizat    1.0138        .25524        .54559E-04    .46718E-04
  20  Prefactor     .98211        .18325        .41879E-04    .51904E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.975059
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.78852
  Prefactor  = 0.0959999
  Prefactor  = 11.4411
  Prefactor  = 0.0001
  Prefactor  = 13.4907
  Prefactor  = 0.000100145
  Prefactor  = 18.9291
  norm       = 0.0001
  norm       = 2.04808
  norm       = 0.819756
  norm       = 1.75151
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.43837
  Normalizat = 1.01379
  Prefactor  = 0.982115
 **********
 **   18 **HESSE 
 **********

 FCN=   5811.278     FROM HESSE     STATUS=OK           293 CALLS     4436 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2110        .32621E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .97506        52.181        .40050E-04   -1.5510    
   3  Prefactor     .10000E-03    4.1904        .60713E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.2373        .10538E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.7885        7.1836        .61619E-05   -1.5187    
   6  Prefactor     .96000E-01    23.797        .87763E-01   -1.5646    
   7  Prefactor     11.441        5.1944        .87879E-06   -1.5031    
   8  Prefactor     .10000E-03    56.579        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.491        15.957        .87241E-06   -1.4973    
  10  Prefactor     .10015E-03    43.991        .12394       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.929        35.685        .36822E-05   -1.4838    
  12  norm          .10000E-03    20.515        .13867E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0481        2.5613        .10656E-05   -1.5422    
  14  norm          .81976        .69574        .89160E-06   -1.5527    
  15  norm          1.7515        1.5848        .70285E-06   -1.5443    
  16  norm          .10000E-03    7.1672        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    44.049        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4384        41.425        .20938E-05   -1.5396    
  19  Normalizat    1.0138        .25537        .10912E-04   -.92570    
  20  Prefactor     .98211        .18319        .83758E-05   -.93328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54358e-10
Minuit parameter uncertainties:
  1  3.44009e-07
  2  14.2784
  3  2.49009e-06
  4  3.51623e-06
  5  7.18451
  6  3.02259
  7  5.1946
  8  3.3045e-05
  9  15.9616
  10  0.00505857
  11  35.7247
  12  0.000192321
  13  2.56139
  14  0.695751
  15  1.58482
  16  2.97255e-06
  17  3.21735e-05
  18  20.1166
  19  0.255677
  20  0.18331
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  3.304e-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:  9.821e-01  1.833e-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:  1.014e+00  2.557e-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: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/236568/likelihoodResults_530928001_531187201_4FGL_J0928.4-0415_daily_bin1125.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) = 5811.27790097
delta logL = -8.41400142235e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5811.27781708
delta logL = -2.58834916167e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5811.278     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      241 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    69.994        .90712E-02** at limit **
   2  Index         3.0796        5.9823        .50000       -.12600E-05
   3  Normalizat    1.0138        .45952E-02    .44490E-01    .45182E-04
   4  Prefactor     .98211        .34951E-02    .46043E-01    .34658E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 3.07965
  Normalizat = 1.01379
  Prefactor  = 0.982115
 **********
 **   18 **HESSE 
 **********

 FCN=   5811.278     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6162.3        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0796        5.9400        .50000       -.39420    
   3  Normalizat    1.0138        .28007E-01    .27279E-03   -.92570    
   4  Prefactor     .98211        .21303E-01    .20940E-03   -.93328    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31318e-07
Minuit parameter uncertainties:
  1  0.00241975
  2  1274.5
  3  0.0280069
  4  0.0213028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236568': 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) = 5811.27781654
delta logL = 2.81406755676e-07

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  2.420e-03  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  3.080e+00  1.275e+03  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:  9.821e-01  2.130e-02  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:  1.014e+00  2.801e-02  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/236568/cmap_HighResolution_530928001_531187201_4FGL_J0928.4-0415_daily_bin1125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.89e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-08-31 12:20:17.193057', job_id='236568', GAL2='0.98', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1630437617.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.81e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1125' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:20:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 236568: <4FGL_J0928.4-0415_daily_bin1125> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1125> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:06:37 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:06:38 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:06:38 2021
Terminated at Tue Aug 31 12:20:18 2021
Results reported at Tue Aug 31 12:20:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1125 142.12 -4.2539 530928001 531187201 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 :                                   661.48 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             284.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

