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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin674
RA = 67.173, Dec = -37.9403
tmin = 414028801, tmax = 414288001
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='475030', job_status='RUN', time_executed='2021-08-20 17:00:10.859897', time_epoch_executed='1629504010.86' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475030

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475030/ft1_4FGL_J0428.6-3756_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475030/ft1_4FGL_J0428.6-3756_daily_bin674.fits outfile=/scratch/kocevski/475030/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin674.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=414028801.0 tmax=414288001.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.41
user 3.66
sys 0.70

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.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/475030/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin674.fits evtable="EVENTS" outfile="/scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.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.90
user 0.25
sys 0.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/475030/ltcube_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.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/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits
.....................!
real 9.29
user 8.45
sys 0.78

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/475030/ltcube_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.fits outfile=/scratch/kocevski/475030/expmap_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.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/475030/ltcube_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.fits
.....................!
real 139.88
user 136.00
sys 3.58

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 177 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0428.6-3756 @ 67.173 -37.9403

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.fits scfile=/scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits outfile=/scratch/kocevski/475030/cmap_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.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=67.173 yref=-37.9403 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.92
user 0.29
sys 0.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.fits scfile=/scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits outfile=/scratch/kocevski/475030/cmap_HighResolution_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.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=67.173 yref=-37.9403 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.88
user 0.28
sys 0.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/475030/Model_4FGL_J0428.6-3756_daily_bin674.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.fits.....................!
real 99.41
user 96.83
sys 1.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.fits', '/scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits', expMap='/scratch/kocevski/475030/expmap_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.fits', expCube='/scratch/kocevski/475030/ltcube_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/475030/Model_4FGL_J0428.6-3756_daily_bin674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0428.6-3756'

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.206e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.995e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  8.169e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/475030/ft1_filtered_4FGL_J0428.6-3756_daily_bin674.fits
Spacecraft file(s): /scratch/kocevski/475030/ft2_4FGL_J0428.6-3756_daily_bin674.fits
Exposure map: /scratch/kocevski/475030/expmap_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.fits
Exposure cube: /scratch/kocevski/475030/ltcube_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/475030/Model_4FGL_J0428.6-3756_daily_bin674.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) = 6269.00529025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .78762       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.603       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .32299       1.0000         .10000E-03   10000.    
     6 'norm      '    7.9765       1.0000         .10000E-03   10000.    
     7 'Prefactor '    44.967       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0444       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.147       1.0000         .10000E-03   10000.    
    10 'norm      '    3.8785       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0569       1.0000         .10000E-03   10000.    
    12 'norm      '    4.4892       1.0000         .10000E-03   10000.    
    13 'norm      '    130.70       1.0000         .10000E-03   10000.    
    14 'norm      '    1.9735       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10883E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.646       1.0000         .10000E-03   10000.    
    17 'norm      '    5.9351       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3600       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    3.0318       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .85012       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .71340       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6269.000     FROM MIGRAD    STATUS=CONVERGED    619 CALLS     3186 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4107       -.26920E-07** at limit **
   2  norm          .78752        .66516       -.61929E-08   -.20232E-03
   3  Prefactor     17.603        12.304       -.31993E-07    .89990E-05
   4  Prefactor     .10000E-03    34.422       -.60524E-06** at limit **
   5  norm          .32293        .24240        .10920E-07    .18974E-04
   6  norm          7.9763        5.6961        .99825E-07    .10033E-03
   7  Prefactor     44.952        36.402       -.23413E-05   -.30789E-03
   8  Prefactor     8.0448        8.3457        .30737E-07    .17027E-04
   9  Prefactor     16.147        10.492        .47963E-07    .21514E-04
  10  norm          3.8783        .83374       -.46786E-08    .19369E-03
  11  Prefactor     1.0574        2.0802        .15129E-06   -.83579E-04
  12  norm          4.4900        4.9095        .10501E-05   -.59387E-03
  13  norm          130.72        147.36        .15791E-05    .36874E-04
  14  norm          1.9740        1.0976       -.44374E-07    .29189E-03
  15  Prefactor     .10000E-03    .99587       -.28364E-06** at limit **
  16  Prefactor     22.648        17.843       -.12911E-05   -.86987E-05
  17  norm          5.9347        3.1418       -.73779E-07   -.17889E-03
  18  norm          1.3615        5.3293        .22053E-05   -.74930E-04
  19  Prefactor     .10000E-03    40.638       -.28872E-06** at limit **
  20  Prefactor     .10000E-03    1.3364        .32735E-07** at limit **
  21  Prefactor     .10000E-03    11.383       -.13881E-06** at limit **
  22  Prefactor     .10000E-03    1.1931        .33415E-07** at limit **
  23  Prefactor     .10000E-03    2.3975        .89583E-07** at limit **
  24  norm          3.0314        1.6923        .12092E-07   -.70238E-04
  25  Normalizat    .85029        .15698        .81121E-06   -.49044E-04
  26  Prefactor     .71322        .15559       -.87166E-06    .60709E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.78752
  Prefactor  = 17.6034
  Prefactor  = 0.0001
  norm       = 0.322926
  norm       = 7.97626
  Prefactor  = 44.9524
  Prefactor  = 8.04485
  Prefactor  = 16.1475
  norm       = 3.87831
  Prefactor  = 1.05739
  norm       = 4.49001
  norm       = 130.715
  norm       = 1.97396
  Prefactor  = 0.0001
  Prefactor  = 22.6478
  norm       = 5.93466
  norm       = 1.36154
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.03143
  Normalizat = 0.850294
  Prefactor  = 0.713216
 **********
 **   18 **HESSE 
 **********

 FCN=   6269.000     FROM HESSE     STATUS=OK           470 CALLS     3656 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4483        .18361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .78752        .64163        .57485E-03   -1.5530    
   3  Prefactor     17.603        12.299        .95460E-04   -1.4869    
   4  Prefactor     .10000E-03    34.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .32293        .23332        .31783E-03   -1.5594    
   6  norm          7.9763        5.6933        .14197E-03   -1.5143    
   7  Prefactor     44.952        38.472        .59789E-04   -1.4366    
   8  Prefactor     8.0448        8.3374        .14136E-03   -1.5141    
   9  Prefactor     16.147        10.599        .99671E-04   -1.4904    
  10  norm          3.8783        .84142        .29316E-04   -1.5314    
  11  Prefactor     1.0574        2.0057        .14605E-03   -1.5502    
  12  norm          4.4900        4.9406        .88725E-03   -1.5284    
  13  norm          130.72        148.15        .17610E-03   -1.3416    
  14  norm          1.9740        1.0895        .59025E-04   -1.5427    
  15  Prefactor     .10000E-03    1.4371        .14788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.648        17.230        .84171E-04   -1.4756    
  17  norm          5.9347        3.1540        .96825E-04   -1.5221    
  18  norm          1.3615        5.2253        .25940E-03   -1.5475    
  19  Prefactor     .10000E-03    40.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.3451        .89354E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.1101        .16695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.4984        .23857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.0314        1.6877        .73671E-04   -1.5360    
  25  Normalizat    .85029        .17882        .22895E-03   -.98229    
  26  Prefactor     .71322        .17695        .26155E-03   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76611e-10
Minuit parameter uncertainties:
  1  2.2626e-06
  2  0.641634
  3  12.301
  4  0.000183238
  5  0.233324
  6  5.69367
  7  38.4935
  8  8.33863
  9  10.6006
  10  0.841424
  11  2.00584
  12  4.94101
  13  148.571
  14  1.08949
  15  1.97653e-05
  16  17.234
  17  3.15411
  18  5.227
  19  0.000127071
  20  2.19495e-07
  21  2.75042e-05
  22  3.22061e-05
  23  2.91423e-07
  24  1.68774
  25  0.178941
  26  0.177092
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  3.878e+00  8.414e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.995e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  8.169e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  7.132e-01  1.771e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  8.503e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 111.31
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.13e-07 +/- 4.63e-08
Energy Flux (Fixed Index): 1.22e-04 +/- 2.66e-05

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) = 6268.4075395
delta logL = 0.592008398019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6268.38179496
delta logL = 0.617752937865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0410       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7968       1.0000          .0000       5.0000    
     3 'Normalizat'    .87725       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6268.382     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      196 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0405        .88104        .50148E-02    .15308E-03
   2  alpha         1.7967        .18678        .12601        .32551E-04
   3  Normalizat    .87723        .14559        .44610E-01    .88982E-05
   4  Prefactor     .69755        .15281        .42369E-01    .60092E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04055
  alpha      = 1.79673
  Normalizat = 0.877231
  Prefactor  = 0.697551
 **********
 **   18 **HESSE 
 **********

 FCN=   6268.382     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0405        .81369        .30943E-04   -1.5306    
   2  alpha         1.7967        .17592        .54575E-03   -.28516    
   3  Normalizat    .87723        .16538        .22619E-03   -.97265    
   4  Prefactor     .69755        .17351        .26441E-03   -1.0362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56165e-12
Minuit parameter uncertainties:
  1  0.813694
  2  0.176076
  3  0.165477
  4  0.173644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475030': 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) = 6268.38179469
delta logL = 0.617753206074

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.041e+00  8.137e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.797e+00  1.761e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  8.169e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  8.090e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  6.976e-01  1.736e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  8.772e-01  1.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 113.86
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.80 +/- 0.18
Photon Flux (Free Index): 1.84e-07 +/- 4.55e-08
Energy Flux (Free Index): 1.56e-04 +/- 4.83e-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/475030/cmap_HighResolution_414028801_414288001_4FGL_J0428.6-3756_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.13e-07', energy_flux2='1.56e-04', photon_flux_error='4.63e-08', dlogl='6.18e-01', energy_flux='1.22e-04', photon_flux2='1.84e-07', job_status='DONE', time_completed='2021-08-20 17:09:46.384497', photon_index_error2='0.18', photon_index2='1.80', ts='111.31', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='4.83e-05', EG='0.85', time_epoch_completed='1629504586.38', return_code='0', job_id='475030', GAL2='0.70', EG2='0.88', return_code2='0', energy_flux_error='2.66e-05', photon_flux_error2='4.55e-08', ts2='113.86', photon_index='1.99' WHERE bin_id='674' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:09:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 475030: <4FGL_J0428.6-3756_daily_bin674> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 20 16:55:59 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 16:56:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 16:56:01 2021
Terminated at Fri Aug 20 17:09:46 2021
Results reported at Fri Aug 20 17:09:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin674 67.173 -37.9403 414028801 414288001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0428.6-3756 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   591.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            827 sec.

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

