/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 46 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 = 7388
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0428.6-3756_daily_bin8
RA = 67.173, Dec = -37.9403
tmin = 241401601, tmax = 241660801
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='471754', job_status='RUN', time_executed='2021-08-20 16:47:38.190518', time_epoch_executed='1629503258.19' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='8'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/471754

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/471754/ft1_4FGL_J0428.6-3756_daily_bin8.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/471754/ft2_4FGL_J0428.6-3756_daily_bin8.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/471754/ft1_4FGL_J0428.6-3756_daily_bin8.fits outfile=/scratch/kocevski/471754/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin8.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=241401601.0 tmax=241660801.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 1.28
sys 3.08

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/471754/ft2_4FGL_J0428.6-3756_daily_bin8.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/471754/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin8.fits evtable="EVENTS" outfile="/scratch/kocevski/471754/ft1_filtered_4FGL_J0428.6-3756_daily_bin8.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 3.54
user 0.38
sys 3.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/471754/ft1_filtered_4FGL_J0428.6-3756_daily_bin8.fits" evtable="EVENTS" scfile=/scratch/kocevski/471754/ft2_4FGL_J0428.6-3756_daily_bin8.fits sctable="SC_DATA" outfile=/scratch/kocevski/471754/ltcube_241401601_241660801_4FGL_J0428.6-3756_daily_bin8.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/471754/ft2_4FGL_J0428.6-3756_daily_bin8.fits
.....................!
real 19.32
user 15.65
sys 3.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/471754/ft1_filtered_4FGL_J0428.6-3756_daily_bin8.fits evtable="EVENTS" scfile=/scratch/kocevski/471754/ft2_4FGL_J0428.6-3756_daily_bin8.fits sctable="SC_DATA" expcube=/scratch/kocevski/471754/ltcube_241401601_241660801_4FGL_J0428.6-3756_daily_bin8.fits outfile=/scratch/kocevski/471754/expmap_241401601_241660801_4FGL_J0428.6-3756_daily_bin8.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/471754/ltcube_241401601_241660801_4FGL_J0428.6-3756_daily_bin8.fits
.....................!
real 196.10
user 186.36
sys 9.10

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/471754/ft1_filtered_4FGL_J0428.6-3756_daily_bin8.fits scfile=/scratch/kocevski/471754/ft2_4FGL_J0428.6-3756_daily_bin8.fits outfile=/scratch/kocevski/471754/cmap_241401601_241660801_4FGL_J0428.6-3756_daily_bin8.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 3.52
user 0.38
sys 2.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/471754/ft1_filtered_4FGL_J0428.6-3756_daily_bin8.fits scfile=/scratch/kocevski/471754/ft2_4FGL_J0428.6-3756_daily_bin8.fits outfile=/scratch/kocevski/471754/cmap_HighResolution_241401601_241660801_4FGL_J0428.6-3756_daily_bin8.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 3.43
user 0.39
sys 3.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/471754/ft1_filtered_4FGL_J0428.6-3756_daily_bin8.fits evtable="EVENTS" scfile=/scratch/kocevski/471754/ft2_4FGL_J0428.6-3756_daily_bin8.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/471754/Model_4FGL_J0428.6-3756_daily_bin8.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/471754/ft1_filtered_4FGL_J0428.6-3756_daily_bin8.fits.....................!
real 134.01
user 128.27
sys 5.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.1238       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.268       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .42430E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .73992       1.0000         .10000E-03   10000.    
     6 'norm      '    34.358       1.0000         .10000E-03   10000.    
     7 'Prefactor '    63.266       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22077E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1437       1.0000         .10000E-03   10000.    
    10 'norm      '    3.0880       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11026E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.6371       1.0000         .10000E-03   10000.    
    13 'norm      '    63.230       1.0000         .10000E-03   10000.    
    14 'norm      '    6.2912       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .26955E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .34685E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    4.0039       1.0000         .10000E-03   10000.    
    18 'norm      '    12.084       1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.670       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5689       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8034       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.8281       1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.8377       1.0000         .10000E-03   10000.    
    24 'norm      '    .45425       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.2200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .82697       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6093.271     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2336 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1582       -.36827E-08** at limit **
   2  norm          1.1242        .71542        .15288E-07   -.95854E-04
   3  Prefactor     19.136        17.864        .28298E-05   -.85548E-04
   4  Prefactor     .10000E-03    121.20       -.43476E-05** at limit **
   5  norm          .74254        .42605        .36443E-07    .19509E-04
   6  norm          34.099        12.010        .40896E-07   -.51544E-04
   7  Prefactor     65.315        37.245        .42140E-06   -.41698E-03
   8  Prefactor     .10000E-03    6.8012        .21249E-06** at limit **
   9  Prefactor     4.0002        13.634        .46961E-05    .45086E-05
  10  norm          3.0942        .99608       -.12459E-06    .33478E-04
  11  Prefactor     .10000E-03    8.0283        .92361E-06** at limit **
  12  norm          3.7614        9.6591       -.44294E-05    .64248E-04
  13  norm          59.121        139.70        .31115E-04   -.55113E-04
  14  norm          6.2959        2.2770       -.26834E-05    .35956E-03
  15  Prefactor     .10012E-03    85.390        .20744E-04** at limit **
  16  Prefactor     .10000E-03    55.283       -.66387E-05** at limit **
  17  norm          4.0226        3.5311        .54699E-07    .11257E-04
  18  norm          12.091        6.6929       -.21475E-05    .25240E-03
  19  Prefactor     28.288        48.193       -.29187E-05   -.16534E-03
  20  Prefactor     3.4896        6.5620        .16977E-05   -.41954E-04
  21  Prefactor     7.5225        39.494        .24698E-05   -.18854E-03
  22  Prefactor     1.8010        2.8958       -.54645E-06    .14918E-03
  23  Prefactor     6.8887        4.9728       -.10299E-06    .35405E-04
  24  norm          .44929        1.7264        .88113E-07    .22788E-04
  25  Normalizat    1.2191        .25239       -.75034E-05    .12953E-04
  26  Prefactor     .82894        .24969        .50946E-05    .38584E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.12421
  Prefactor  = 19.1363
  Prefactor  = 0.0001
  norm       = 0.742542
  norm       = 34.0992
  Prefactor  = 65.3152
  Prefactor  = 0.0001
  Prefactor  = 4.00016
  norm       = 3.09422
  Prefactor  = 0.0001
  norm       = 3.76144
  norm       = 59.1206
  norm       = 6.2959
  Prefactor  = 0.000100118
  Prefactor  = 0.0001
  norm       = 4.02259
  norm       = 12.0908
  Prefactor  = 28.2877
  Prefactor  = 3.48963
  Prefactor  = 7.52254
  Prefactor  = 1.80104
  Prefactor  = 6.88869
  norm       = 0.449289
  Normalizat = 1.21912
  Prefactor  = 0.828942
 **********
 **   18 **HESSE 
 **********

 FCN=   6093.271     FROM HESSE     STATUS=OK           540 CALLS     2876 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1526        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1242        .71174        .11056E-01   -1.5496    
   3  Prefactor     19.136        17.856        .22811E-02   -1.4833    
   4  Prefactor     .10000E-03    120.71        .97101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .74254        .43337        .78744E-02   -1.5536    
   6  norm          34.099        12.021        .17091E-02   -1.4539    
   7  Prefactor     65.315        48.649        .12613E-02   -1.4090    
   8  Prefactor     .10000E-03    6.7818        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.0002        13.637        .49503E-02   -1.5308    
  10  norm          3.0942        .99454        .57699E-02   -1.5356    
  11  Prefactor     .10000E-03    1.6111        .54235E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.7614        9.9303        .52958E-02   -1.5320    
  13  norm          59.121        139.45        .12616E-02   -1.4169    
  14  norm          6.2959        2.3986        .40009E-02   -1.5206    
  15  Prefactor     .10012E-03    1.5398        .74164E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    54.111        .98328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.0226        3.5393        .50387E-02   -1.5307    
  18  norm          12.091        6.8832        .28810E-02   -1.5012    
  19  Prefactor     28.288        50.774        .17800E-02   -1.4644    
  20  Prefactor     3.4896        6.6076        .53482E-02   -1.5334    
  21  Prefactor     7.5225        80.741        .35886E-02   -1.5159    
  22  Prefactor     1.8010        2.9259        .77178E-02   -1.5440    
  23  Prefactor     6.8887        5.0537        .38359E-02   -1.5183    
  24  norm          .44929        1.7698        .11083E-01   -1.5574    
  25  Normalizat    1.2191        .21181        .58778E-01   -.86014    
  26  Prefactor     .82894        .21027        .71965E-01   -.98670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39213e-07
Minuit parameter uncertainties:
  1  1.83321e-06
  2  0.711744
  3  17.8611
  4  0.000186506
  5  0.433376
  6  12.0221
  7  48.679
  8  1.78127e-05
  9  13.6476
  10  0.994543
  11  9.94514e-06
  12  9.93469
  13  140.233
  14  2.39867
  15  0.000850932
  16  0.000121491
  17  3.53952
  18  6.88363
  19  50.8519
  20  6.60899
  21  49.375
  22  2.9261
  23  5.05402
  24  1.77004
  25  0.211962
  26  0.210474
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  3.094e+00  9.945e-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:  8.289e-01  2.105e-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:  1.219e+00  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 56.73
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.70e-07 +/- 5.47e-08
Energy Flux (Fixed Index): 9.77e-05 +/- 3.14e-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) = 6093.14004229
delta logL = 0.130771371843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6093.13149289
delta logL = 0.139320774084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0800       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8605       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82000       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=   6093.131     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0808        .98864        .57778E-02    .60624E-05
   2  alpha         1.8601        .27168        .17837        .57949E-05
   3  Normalizat    1.2393        .20000        .58427E-01    .55192E-05
   4  Prefactor     .81990        .20530        .72377E-01    .18351E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.08075
  alpha      = 1.86009
  Normalizat = 1.23929
  Prefactor  = 0.819903
 **********
 **   18 **HESSE 
 **********

 FCN=   6093.131     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .13E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0808        .89544        .37880E-04   -1.5357    
   2  alpha         1.8601        .25790        .75107E-02   -.25885    
   3  Normalizat    1.2393        .23891        .25839E-03   -.85397    
   4  Prefactor     .81990        .24413        .32028E-03   -.98999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2573e-14
Minuit parameter uncertainties:
  1  0.895447
  2  0.258394
  3  0.239125
  4  0.244453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/471754': 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) = 6093.13149105
delta logL = 0.139322609907

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  3.081e+00  8.954e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.860e+00  2.584e-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:  8.199e-01  2.445e-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:  1.239e+00  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 56.92
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.86 +/- 0.26
Photon Flux (Free Index): 1.48e-07 +/- 5.94e-08
Energy Flux (Free Index): 1.10e-04 +/- 4.17e-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/471754/cmap_HighResolution_241401601_241660801_4FGL_J0428.6-3756_daily_bin8.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.70e-07', energy_flux2='1.10e-04', photon_flux_error='5.47e-08', dlogl='1.39e-01', energy_flux='9.77e-05', photon_flux2='1.48e-07', job_status='DONE', time_completed='2021-08-20 16:59:42.055849', photon_index_error2='0.26', photon_index2='1.86', ts='56.73', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='4.17e-05', EG='1.22', time_epoch_completed='1629503982.06', return_code='0', job_id='471754', GAL2='0.82', EG2='1.24', return_code2='0', energy_flux_error='3.14e-05', photon_flux_error2='5.94e-08', ts2='56.92', photon_index='1.99' WHERE bin_id='8' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 16:59:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 471754: <4FGL_J0428.6-3756_daily_bin8> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin8> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 20 16:45:40 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 16:45:42 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:45:42 2021
Terminated at Fri Aug 20 16:59:45 2021
Results reported at Fri Aug 20 16:59:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin8 67.173 -37.9403 241401601 241660801 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 :                                   769.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            845 sec.

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

