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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin945
RA = 67.173, Dec = -37.9403
tmin = 484272001, tmax = 484531201
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='478004', job_status='RUN', time_executed='2021-08-20 17:09:14.583879', time_epoch_executed='1629504554.58' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/478004

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/478004/ft1_4FGL_J0428.6-3756_daily_bin945.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/478004/ft1_4FGL_J0428.6-3756_daily_bin945.fits outfile=/scratch/kocevski/478004/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin945.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=484272001.0 tmax=484531201.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.80
user 4.86
sys 0.88

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.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/478004/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin945.fits evtable="EVENTS" outfile="/scratch/kocevski/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.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 1.16
user 0.31
sys 0.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.fits" evtable="EVENTS" scfile=/scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits sctable="SC_DATA" outfile=/scratch/kocevski/478004/ltcube_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.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/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits
.....................!
real 12.71
user 11.61
sys 0.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.fits evtable="EVENTS" scfile=/scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits sctable="SC_DATA" expcube=/scratch/kocevski/478004/ltcube_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.fits outfile=/scratch/kocevski/478004/expmap_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.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/478004/ltcube_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.fits
.....................!
real 192.92
user 186.54
sys 5.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
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/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.fits scfile=/scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits outfile=/scratch/kocevski/478004/cmap_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.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 1.18
user 0.36
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.fits scfile=/scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits outfile=/scratch/kocevski/478004/cmap_HighResolution_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.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 1.24
user 0.38
sys 0.81

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.fits evtable="EVENTS" scfile=/scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/478004/Model_4FGL_J0428.6-3756_daily_bin945.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/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.fits.....................!
real 108.15
user 105.83
sys 2.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.fits', '/scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits', expMap='/scratch/kocevski/478004/expmap_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.fits', expCube='/scratch/kocevski/478004/ltcube_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/478004/Model_4FGL_J0428.6-3756_daily_bin945.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/478004/ft1_filtered_4FGL_J0428.6-3756_daily_bin945.fits
Spacecraft file(s): /scratch/kocevski/478004/ft2_4FGL_J0428.6-3756_daily_bin945.fits
Exposure map: /scratch/kocevski/478004/expmap_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.fits
Exposure cube: /scratch/kocevski/478004/ltcube_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/478004/Model_4FGL_J0428.6-3756_daily_bin945.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) = 4951.68721608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1608       1.0000         .10000E-03   10000.    
     2 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.922       1.0000         .10000E-03   10000.    
     4 'Prefactor '    197.31       1.0000         .10000E-03   10000.    
     5 'norm      '    .85842       1.0000         .10000E-03   10000.    
     6 'norm      '    40.216       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.676       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1111       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.537       1.0000         .10000E-03   10000.    
    10 'norm      '    3.1892       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1968       1.0000         .10000E-03   10000.    
    12 'norm      '    .10213E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1285       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0343       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .98068       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.709       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .93130       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .54648       1.0000         .10000E-03   10000.    
    24 'norm      '    .22658E-02   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .94902       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .78278       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=   4951.644     FROM MIGRAD    STATUS=CONVERGED    645 CALLS     3200 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1606        2.6799        .10426E-07   -.36836E-04
   2  norm          .10000E-03    .31923        .19757E-06** at limit **
   3  Prefactor     15.920        20.061       -.74766E-06   -.11420E-04
   4  Prefactor     197.00        165.61        .63156E-05    .20858E-04
   5  norm          .85859        .39236       -.34579E-07   -.24004E-03
   6  norm          40.218        12.974       -.31471E-07    .24841E-05
   7  Prefactor     22.601        38.947        .22766E-05    .15682E-04
   8  Prefactor     2.1016        31.538        .27329E-05    .63909E-04
   9  Prefactor     12.544        12.704       -.12183E-07    .13969E-04
  10  norm          3.1889        .97276       -.77514E-08    .29641E-04
  11  Prefactor     5.1963        3.1443       -.87507E-07   -.62793E-05
  12  norm          .10000E-03    13.045       -.19115E-06** at limit **
  13  norm          .10000E-03    60.388       -.14089E-05** at limit **
  14  norm          2.1283        1.5297        .23783E-07   -.14594E-04
  15  Prefactor     2.0338        2.6607       -.63312E-07   -.87166E-05
  16  Prefactor     .10000E-03    4.8949        .23917E-08** at limit **
  17  norm          .97920        2.6675       -.43539E-06   -.27760E-03
  18  norm          .10000E-03    1.7349        .12669E-07** at limit **
  19  Prefactor     .10000E-03    16.622       -.73702E-07** at limit **
  20  Prefactor     13.710        7.6192        .60900E-07    .49322E-04
  21  Prefactor     .10000E-03    45.233        .81256E-06** at limit **
  22  Prefactor     .93112        2.9206        .21048E-08    .16631E-04
  23  Prefactor     .56076        3.9307        .18727E-06   -.13863E-03
  24  norm          .10000E-03    1.6363        .12627E-06** at limit **
  25  Normalizat    .94893        .22633        .31189E-05   -.11095E-03
  26  Prefactor     .78304        .21339       -.37904E-05   -.13488E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.16055
  norm       = 0.0001
  Prefactor  = 15.9195
  Prefactor  = 196.998
  norm       = 0.858585
  norm       = 40.2175
  Prefactor  = 22.6005
  Prefactor  = 2.10156
  Prefactor  = 12.544
  norm       = 3.18887
  Prefactor  = 5.1963
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.12831
  Prefactor  = 2.03377
  Prefactor  = 0.0001
  norm       = 0.979197
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7098
  Prefactor  = 0.0001
  Prefactor  = 0.931115
  Prefactor  = 0.56076
  norm       = 0.000100002
  Normalizat = 0.948933
  Prefactor  = 0.78304
 **********
 **   18 **HESSE 
 **********

 FCN=   4951.644     FROM HESSE     STATUS=OK           474 CALLS     3674 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1606        2.6802        .89793E-04   -1.5300    
   2  norm          .10000E-03    .60216        .75713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.920        20.027        .10037E-03   -1.4910    
   4  Prefactor     197.00        168.24        .14381E-03   -1.2892    
   5  norm          .85859        .39054        .27526E-04   -1.5523    
   6  norm          40.218        12.963        .63207E-04   -1.4439    
   7  Prefactor     22.601        39.227        .84115E-04   -1.4757    
   8  Prefactor     2.1016        33.448        .14197E-02   -1.5418    
   9  Prefactor     12.544        12.803        .11313E-03   -1.4999    
  10  norm          3.1889        .98294        .32984E-04   -1.5351    
  11  Prefactor     5.1963        3.1278        .90233E-04   -1.5252    
  12  norm          .10000E-03    13.324        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    60.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1283        1.5402        .67452E-04   -1.5416    
  15  Prefactor     2.0338        2.6384        .11415E-03   -1.5423    
  16  Prefactor     .10000E-03    4.9011        .15204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .97920        2.3563        .18598E-02   -1.5510    
  18  norm          .10000E-03    1.7398        .90462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.710        7.6030        .10818E-03   -1.4967    
  21  Prefactor     .10000E-03    45.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .93112        2.9015        .20134E-03   -1.5515    
  23  Prefactor     .56076        6.1094        .24264E-02   -1.5558    
  24  norm          .10000E-03    10.994        .15890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .94893        .24653        .25125E-03   -.94761    
  26  Prefactor     .78304        .23044        .28451E-03   -1.0036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09628e-08
Minuit parameter uncertainties:
  1  2.68023
  2  1.32674e-05
  3  20.0358
  4  168.653
  5  0.390546
  6  12.9644
  7  39.2716
  8  16.7789
  9  12.8053
  10  0.982944
  11  3.1279
  12  5.36896e-06
  13  3.92001e-05
  14  1.54027
  15  2.63857
  16  2.98841e-07
  17  2.35655
  18  1.43138e-07
  19  1.83459e-06
  20  7.60353
  21  2.2085e-05
  22  2.90198
  23  3.702
  24  0.000285648
  25  0.246823
  26  0.230721
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  3.189e+00  9.829e-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.830e-01  2.307e-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:  9.489e-01  2.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 65.20
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.75e-07 +/- 5.41e-08
Energy Flux (Fixed Index): 1.01e-04 +/- 3.10e-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) = 4950.35033895
delta logL = 1.29373188216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4950.30586527
delta logL = 1.33820556016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8924       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5634       1.0000          .0000       5.0000    
     3 'Normalizat'    .99813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76405       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=   4950.306     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8921        .90569        .59737E-02   -.33370E-04
   2  alpha         1.5634        .23208        .15582       -.23452E-04
   3  Normalizat    .99812        .18726        .46144E-01    .84947E-05
   4  Prefactor     .76407        .19412        .65289E-01    .13752E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.89209
  alpha      = 1.56335
  Normalizat = 0.998119
  Prefactor  = 0.764069
 **********
 **   18 **HESSE 
 **********

 FCN=   4950.306     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8921        1.0454        .35609E-04   -1.5368    
   2  alpha         1.5634        .27501        .67001E-02   -.38403    
   3  Normalizat    .99812        .21735        .24674E-03   -.93093    
   4  Prefactor     .76407        .22461        .28882E-03   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25281e-10
Minuit parameter uncertainties:
  1  1.04536
  2  0.275656
  3  0.217541
  4  0.224882
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/478004': 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) = 4950.30586523
delta logL = 1.33820560169

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  2.892e+00  1.045e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.563e+00  2.757e-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:  7.641e-01  2.249e-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:  9.981e-01  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 68.15
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.56 +/- 0.28
Photon Flux (Free Index): 1.12e-07 +/- 5.12e-08
Energy Flux (Free Index): 1.64e-04 +/- 7.79e-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/478004/cmap_HighResolution_484272001_484531201_4FGL_J0428.6-3756_daily_bin945.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.75e-07', energy_flux2='1.64e-04', photon_flux_error='5.41e-08', dlogl='1.34e+00', energy_flux='1.01e-04', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-08-20 17:20:37.865511', photon_index_error2='0.28', photon_index2='1.56', ts='65.20', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='7.79e-05', EG='0.95', time_epoch_completed='1629505237.87', return_code='0', job_id='478004', GAL2='0.76', EG2='1.00', return_code2='0', energy_flux_error='3.10e-05', photon_flux_error2='5.12e-08', ts2='68.15', photon_index='1.99' WHERE bin_id='945' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:20:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 478004: <4FGL_J0428.6-3756_daily_bin945> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin945> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 20 17:05:23 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:05:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 17:05:24 2021
Terminated at Fri Aug 20 17:20:38 2021
Results reported at Fri Aug 20 17:20:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin945 67.173 -37.9403 484272001 484531201 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 :                                   690.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            915 sec.

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

