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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1356
RA = 142.12, Dec = -4.2539
tmin = 590803201, tmax = 591062401
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='237962', job_status='RUN', time_executed='2021-08-31 12:14:19.905040', time_epoch_executed='1630437259.91' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/237962

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/237962/ft1_4FGL_J0928.4-0415_daily_bin1356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/237962/ft2_4FGL_J0928.4-0415_daily_bin1356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/237962/ft1_4FGL_J0928.4-0415_daily_bin1356.fits outfile=/scratch/kocevski/237962/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1356.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=590803201.0 tmax=591062401.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 5.65
user 5.23
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/237962/ft2_4FGL_J0928.4-0415_daily_bin1356.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/237962/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1356.fits evtable="EVENTS" outfile="/scratch/kocevski/237962/ft1_filtered_4FGL_J0928.4-0415_daily_bin1356.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/237962/ft1_filtered_4FGL_J0928.4-0415_daily_bin1356.fits" evtable="EVENTS" scfile=/scratch/kocevski/237962/ft2_4FGL_J0928.4-0415_daily_bin1356.fits sctable="SC_DATA" outfile=/scratch/kocevski/237962/ltcube_590803201_591062401_4FGL_J0928.4-0415_daily_bin1356.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/237962/ft2_4FGL_J0928.4-0415_daily_bin1356.fits
.....................!
real 11.75
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/237962/ft1_filtered_4FGL_J0928.4-0415_daily_bin1356.fits evtable="EVENTS" scfile=/scratch/kocevski/237962/ft2_4FGL_J0928.4-0415_daily_bin1356.fits sctable="SC_DATA" expcube=/scratch/kocevski/237962/ltcube_590803201_591062401_4FGL_J0928.4-0415_daily_bin1356.fits outfile=/scratch/kocevski/237962/expmap_590803201_591062401_4FGL_J0928.4-0415_daily_bin1356.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/237962/ltcube_590803201_591062401_4FGL_J0928.4-0415_daily_bin1356.fits
.....................!
real 190.87
user 185.46
sys 4.67

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/237962/ft1_filtered_4FGL_J0928.4-0415_daily_bin1356.fits scfile=/scratch/kocevski/237962/ft2_4FGL_J0928.4-0415_daily_bin1356.fits outfile=/scratch/kocevski/237962/cmap_590803201_591062401_4FGL_J0928.4-0415_daily_bin1356.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/237962/ft1_filtered_4FGL_J0928.4-0415_daily_bin1356.fits scfile=/scratch/kocevski/237962/ft2_4FGL_J0928.4-0415_daily_bin1356.fits outfile=/scratch/kocevski/237962/cmap_HighResolution_590803201_591062401_4FGL_J0928.4-0415_daily_bin1356.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=142.12 yref=-4.2539 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/237962/ft1_filtered_4FGL_J0928.4-0415_daily_bin1356.fits evtable="EVENTS" scfile=/scratch/kocevski/237962/ft2_4FGL_J0928.4-0415_daily_bin1356.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/237962/Model_4FGL_J0928.4-0415_daily_bin1356.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/237962/ft1_filtered_4FGL_J0928.4-0415_daily_bin1356.fits.....................!
real 67.41
user 65.90
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7044       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6676       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1167       1.0000         .10000E-03   10000.    
     4 'norm      '    .16154E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.832       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.732       1.0000         .10000E-03   10000.    
    11 'Prefactor '    58.232       1.0000         .10000E-03   10000.    
    12 'norm      '    3.1278       1.0000         .10000E-03   10000.    
    13 'norm      '    1.1269       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6005       1.0000         .10000E-03   10000.    
    15 'norm      '    2.7801       1.0000         .10000E-03   10000.    
    16 'norm      '    13.099       1.0000         .10000E-03   10000.    
    17 'Prefactor '    72.756       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3226       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .78259       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=   5940.619     FROM MIGRAD    STATUS=CONVERGED    418 CALLS     2053 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7043        1.7595       -.58478E-07    .38921E-04
   2  Prefactor     5.6667        10.577       -.26755E-07   -.26095E-04
   3  Prefactor     7.1159        7.3276        .12508E-05   -.69273E-03
   4  norm          .10000E-03    2.2902        .15511E-07** at limit **
   5  norm          .10000E-03    4.2365        .19910E-07** at limit **
   6  Prefactor     42.832        25.655        .65102E-07    .35239E-04
   7  Prefactor     .10000E-03    1.4207        .15188E-07** at limit **
   8  Prefactor     .10000E-03    20.142       -.80103E-08** at limit **
   9  Prefactor     .10000E-03    42.894        .14808E-06** at limit **
  10  Prefactor     14.727        37.056       -.37129E-05   -.10314E-03
  11  Prefactor     58.235        36.563        .88453E-06    .93643E-04
  12  norm          3.1256        7.3581       -.44752E-06   -.18728E-03
  13  norm          1.1272        3.1776        .43671E-06   -.16524E-03
  14  norm          1.6000        .84933        .15416E-07   -.66714E-04
  15  norm          2.7797        2.3774        .19572E-07   -.80574E-04
  16  norm          13.097        19.060       -.43961E-06   -.50507E-04
  17  Prefactor     72.749        52.701       -.24460E-05   -.16528E-03
  18  Prefactor     .10000E-03    30.886       -.48398E-07** at limit **
  19  Normalizat    1.3226        .21795        .42176E-06   -.26454E-04
  20  Prefactor     .78266        .15287       -.22541E-06    .19904E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70431
  Prefactor  = 5.66673
  Prefactor  = 7.11587
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 42.832
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.727
  Prefactor  = 58.2354
  norm       = 3.1256
  norm       = 1.12715
  norm       = 1.60004
  norm       = 2.77972
  norm       = 13.0972
  Prefactor  = 72.7492
  Prefactor  = 0.0001
  Normalizat = 1.32257
  Prefactor  = 0.782658
 **********
 **   18 **HESSE 
 **********

 FCN=   5940.619     FROM HESSE     STATUS=OK           297 CALLS     2350 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7043        1.7703        .10081E-03   -1.5447    
   2  Prefactor     5.6667        10.565        .16873E-03   -1.5232    
   3  Prefactor     7.1159        8.5802        .75184E-03   -1.5174    
   4  norm          .10000E-03    12.939        .22295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.2675        .15485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     42.832        25.805        .61255E-04   -1.4398    
   7  Prefactor     .10000E-03    1.4276        .89695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    43.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.727        38.007        .10435E-03   -1.4940    
  11  Prefactor     58.235        36.841        .52573E-04   -1.4180    
  12  norm          3.1256        7.4580        .22924E-03   -1.5354    
  13  norm          1.1272        3.1339        .22286E-03   -1.5496    
  14  norm          1.6000        .84287        .48482E-04   -1.5455    
  15  norm          2.7797        2.3648        .10476E-03   -1.5375    
  16  norm          13.097        19.083        .11067E-03   -1.4984    
  17  Prefactor     72.749        54.632        .47067E-04   -1.4000    
  18  Prefactor     .10000E-03    30.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3226        .25527        .26452E-03   -.82895    
  20  Prefactor     .78266        .18034        .24132E-03   -1.0037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18395e-10
Minuit parameter uncertainties:
  1  1.77037
  2  10.5683
  3  8.58164
  4  0.000135853
  5  3.77473e-06
  6  25.812
  7  8.84116e-07
  8  5.39084e-06
  9  5.47467e-05
  10  38.0692
  11  36.8556
  12  7.46016
  13  3.13438
  14  0.842878
  15  2.36483
  16  19.0923
  17  54.6697
  18  4.21087e-05
  19  0.255513
  20  0.180479
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  5.391e-06  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:  7.827e-01  1.805e-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.323e+00  2.555e-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: 8.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/237962/likelihoodResults_590803201_591062401_4FGL_J0928.4-0415_daily_bin1356.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) = 5940.61894457
delta logL = -0.000236291345573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5940.61871009
delta logL = -1.81175619218e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5940.619     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      278 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    808.36        .18142E-01** at limit **
   2  Index         2.3693        7.6895        .84053E-01   -.97385E-08
   3  Normalizat    1.3226        .35306E-01    .26451E-03    .10001E-03
   4  Prefactor     .78266        .25636E-01    .24132E-03    .11085E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.3693
  Normalizat = 1.32257
  Prefactor  = 0.782657
 **********
 **   18 **HESSE 
 **********

 FCN=   5940.619     FROM HESSE     STATUS=OK            23 CALLS      301 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.636        .34060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3693        5.7101        .33621E-02   -.55405    
   3  Normalizat    1.3226        .24454        .10581E-04   -.82895    
   4  Prefactor     .78266        .17761        .96527E-05   -1.0037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67132e-11
Minuit parameter uncertainties:
  1  0.000259853
  2  648.172
  3  0.244751
  4  0.177742
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/237962': 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) = 5940.61870824
delta logL = 4.35229594586e-08

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  2.599e-04  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.369e+00  6.482e+02  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  7.827e-01  1.777e-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.323e+00  2.448e-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/237962/cmap_HighResolution_590803201_591062401_4FGL_J0928.4-0415_daily_bin1356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', job_status='DONE', photon_flux_upper_limit='8.98e-08', time_completed='2021-08-31 12:26:39.584376', job_id='237962', GAL2='0.78', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1630437999.58', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='4.35e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1356' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:26:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 237962: <4FGL_J0928.4-0415_daily_bin1356> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1356> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:10:49 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:10:51 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:10:51 2021
Terminated at Tue Aug 31 12:26:40 2021
Results reported at Tue Aug 31 12:26:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1356 142.12 -4.2539 590803201 591062401 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 :                                   560.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             220.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            951 sec.

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

