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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin1607
RA = 67.173, Dec = -37.9403
tmin = 655862401, tmax = 656121601
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='189683', job_status='RUN', time_executed='2021-12-07 14:55:54.839548', time_epoch_executed='1638917754.84' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='1607'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/189683

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/189683/ft1_4FGL_J0428.6-3756_daily_bin1607.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/189683/ft2_4FGL_J0428.6-3756_daily_bin1607.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/189683/ft1_4FGL_J0428.6-3756_daily_bin1607.fits outfile=/scratch/kocevski/189683/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1607.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=655862401.0 tmax=656121601.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.70
user 4.40
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/189683/ft2_4FGL_J0428.6-3756_daily_bin1607.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/189683/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1607.fits evtable="EVENTS" outfile="/scratch/kocevski/189683/ft1_filtered_4FGL_J0428.6-3756_daily_bin1607.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.55
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/189683/ft1_filtered_4FGL_J0428.6-3756_daily_bin1607.fits" evtable="EVENTS" scfile=/scratch/kocevski/189683/ft2_4FGL_J0428.6-3756_daily_bin1607.fits sctable="SC_DATA" outfile=/scratch/kocevski/189683/ltcube_655862401_656121601_4FGL_J0428.6-3756_daily_bin1607.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/189683/ft2_4FGL_J0428.6-3756_daily_bin1607.fits
.....................!
real 16.24
user 15.76
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/189683/ft1_filtered_4FGL_J0428.6-3756_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/189683/ft2_4FGL_J0428.6-3756_daily_bin1607.fits sctable="SC_DATA" expcube=/scratch/kocevski/189683/ltcube_655862401_656121601_4FGL_J0428.6-3756_daily_bin1607.fits outfile=/scratch/kocevski/189683/expmap_655862401_656121601_4FGL_J0428.6-3756_daily_bin1607.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/189683/ltcube_655862401_656121601_4FGL_J0428.6-3756_daily_bin1607.fits
.....................!
real 193.03
user 187.75
sys 4.81

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/189683/ft1_filtered_4FGL_J0428.6-3756_daily_bin1607.fits scfile=/scratch/kocevski/189683/ft2_4FGL_J0428.6-3756_daily_bin1607.fits outfile=/scratch/kocevski/189683/cmap_655862401_656121601_4FGL_J0428.6-3756_daily_bin1607.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/189683/ft1_filtered_4FGL_J0428.6-3756_daily_bin1607.fits scfile=/scratch/kocevski/189683/ft2_4FGL_J0428.6-3756_daily_bin1607.fits outfile=/scratch/kocevski/189683/cmap_HighResolution_655862401_656121601_4FGL_J0428.6-3756_daily_bin1607.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/189683/ft1_filtered_4FGL_J0428.6-3756_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/189683/ft2_4FGL_J0428.6-3756_daily_bin1607.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/189683/Model_4FGL_J0428.6-3756_daily_bin1607.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/189683/ft1_filtered_4FGL_J0428.6-3756_daily_bin1607.fits.....................!
real 149.99
user 148.34
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2274       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6440       1.0000         .10000E-03   10000.    
     4 'Prefactor '    90.821       1.0000         .10000E-03   10000.    
     5 'norm      '    .52071       1.0000         .10000E-03   10000.    
     6 'norm      '    7.1866       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6456       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.170       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.579       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0817       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .44184E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    85.477       1.0000         .10000E-03   10000.    
    13 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.6796       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6924       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.517       1.0000         .10000E-03   10000.    
    17 'norm      '    3.8731       1.0000         .10000E-03   10000.    
    18 'norm      '    .35469E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1466       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.0200       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    5.2487       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .92935       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0361       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=   7164.322     FROM MIGRAD    STATUS=CONVERGED    649 CALLS     3182 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3845        .10113E-06** at limit **
   2  norm          1.2274        .70049       -.12150E-07   -.74333E-04
   3  Prefactor     1.6439        14.406        .12256E-04    .33108E-04
   4  Prefactor     90.691        102.13        .12778E-04   -.21898E-04
   5  norm          .52078        .29329       -.68834E-07   -.62299E-03
   6  norm          7.1864        5.0880       -.18476E-07    .69042E-05
   7  Prefactor     5.6549        23.809        .10241E-05    .42936E-04
   8  Prefactor     10.170        9.3305        .12258E-07    .15786E-04
   9  Prefactor     21.581        11.335       -.78828E-07    .13129E-03
  10  norm          1.0815        .66715        .44475E-07    .14986E-03
  11  Prefactor     .12830E-01    1.6489       -.10653E-05    .10877E-02
  12  norm          85.533        18.567        .13721E-05    .95149E-03
  13  norm          .10000E-03    67.778       -.12491E-05** at limit **
  14  norm          3.6784        1.8811        .68943E-07    .51673E-03
  15  Prefactor     1.7014        4.0535       -.97982E-06    .20439E-03
  16  Prefactor     27.566        21.175        .46989E-06    .16481E-03
  17  norm          3.8730        3.0319        .83193E-07   -.33425E-05
  18  norm          .10005E-03    3.9695       -.26292E-06** at limit **
  19  Prefactor     .10000E-03    25.143       -.28049E-06** at limit **
  20  Prefactor     3.1462        3.3213        .11154E-06    .21523E-05
  21  Prefactor     .10000E-03    13.251        .35687E-07** at limit **
  22  Prefactor     2.0200        2.0758        .78117E-07    .10712E-03
  23  Prefactor     .10000E-03    2.8032        .20129E-06** at limit **
  24  norm          5.2484        2.3855        .95087E-07   -.11565E-04
  25  Normalizat    .92907        .18492        .84877E-06    .24488E-03
  26  Prefactor     1.0365        .18615       -.24620E-05    .15070E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.22738
  Prefactor  = 1.64386
  Prefactor  = 90.6915
  norm       = 0.52078
  norm       = 7.18642
  Prefactor  = 5.65487
  Prefactor  = 10.1702
  Prefactor  = 21.5813
  norm       = 1.08148
  Prefactor  = 0.0128301
  norm       = 85.5327
  norm       = 0.0001
  norm       = 3.67842
  Prefactor  = 1.70136
  Prefactor  = 27.566
  norm       = 3.87302
  norm       = 0.000100046
  Prefactor  = 0.0001
  Prefactor  = 3.14618
  Prefactor  = 0.0001
  Prefactor  = 2.02001
  Prefactor  = 0.0001
  norm       = 5.24841
  Normalizat = 0.929066
  Prefactor  = 1.03653
 **********
 **   18 **HESSE 
 **********

 FCN=   7164.322     FROM HESSE     STATUS=OK           478 CALLS     3660 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4101        .97233E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2274        .70295        .51897E-04   -1.5486    
   3  Prefactor     1.6439        14.472        .16473E-02   -1.5452    
   4  Prefactor     90.691        101.41        .21083E-03   -1.3800    
   5  norm          .52078        .28870        .32397E-04   -1.5564    
   6  norm          7.1864        5.0857        .14963E-03   -1.5172    
   7  Prefactor     5.6549        23.801        .16907E-03   -1.5232    
   8  Prefactor     10.170        9.3192        .12565E-03   -1.5070    
   9  Prefactor     21.581        11.433        .86224E-04   -1.4779    
  10  norm          1.0815        .65671        .46364E-04   -1.5500    
  11  Prefactor     .12830E-01    6.5016        .29882E-01   -1.5685    
  12  norm          85.533        19.184        .21726E-03   -1.3856    
  13  norm          .10000E-03    67.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.6784        1.8582        .73386E-04   -1.5324    
  15  Prefactor     1.7014        3.7584        .18908E-03   -1.5447    
  16  Prefactor     27.566        18.905        .76371E-04   -1.4657    
  17  norm          3.8730        3.0298        .12526E-03   -1.5314    
  18  norm          .10005E-03    25.068        .26390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.1462        3.3128        .15286E-03   -1.5353    
  21  Prefactor     .10000E-03    13.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.0200        2.0521        .11876E-03   -1.5424    
  23  Prefactor     .10000E-03    2.8899        .27617E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          5.2484        2.3819        .83963E-04   -1.5250    
  25  Normalizat    .92907        .21737        .27298E-03   -.95446    
  26  Prefactor     1.0365        .21852        .27882E-03   -.91522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41085e-09
Minuit parameter uncertainties:
  1  7.49366e-08
  2  0.702955
  3  9.75793
  4  101.602
  5  0.288705
  6  5.08602
  7  23.2183
  8  9.32056
  9  11.4339
  10  0.656716
  11  0.575445
  12  19.1855
  13  1.9563e-05
  14  1.8582
  15  3.75894
  16  18.9093
  17  3.02991
  18  0.0021597
  19  3.20207e-05
  20  3.31296
  21  9.30385e-06
  22  2.05214
  23  1.336e-05
  24  2.38197
  25  0.217578
  26  0.218703
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  1.081e+00  6.567e-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:  1.037e+00  2.187e-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.291e-01  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.11
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 5.95e-08 +/- 3.61e-08
Energy Flux (Fixed Index): 3.41e-05 +/- 2.07e-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) = 7164.0390513
delta logL = 0.282970556211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7164.02714582
delta logL = 0.294876036524

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97788       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3712       1.0000          .0000       5.0000    
     3 'Normalizat'    .90247       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0528       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=   7164.027     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      233 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97850        6.9922        .89934E-02    .59251E-03
   2  alpha         2.3703        3.6847        .31002        .43015E-04
   3  Normalizat    .90248        .64214E-01    .44933E-01    .17058E-04
   4  Prefactor     1.0528        .59916E-01    .62592E-01    .17362E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.978502
  alpha      = 2.37033
  Normalizat = 0.902477
  Prefactor  = 1.0528
 **********
 **   18 **HESSE 
 **********

 FCN=   7164.027     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97850        .58611        .40335E-04   -1.5510    
   2  alpha         2.3703        .51630        .11346E-01   -.51890E-01
   3  Normalizat    .90248        .20369        .27625E-03   -.96373    
   4  Prefactor     1.0528        .21651        .27682E-03   -.90990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.434e-09
Minuit parameter uncertainties:
  1  0.586112
  2  0.520048
  3  0.203863
  4  0.216685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/189683': 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) = 7164.02714443
delta logL = 0.294877427559

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  9.785e-01  5.861e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.370e+00  5.200e-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:  1.053e+00  2.167e-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.025e-01  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.78
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 2.37 +/- 0.52
Photon Flux (Free Index): 8.40e-08 +/- 5.05e-08
Energy Flux (Free Index): 2.84e-05 +/- 1.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/189683/cmap_HighResolution_655862401_656121601_4FGL_J0428.6-3756_daily_bin1607.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.95e-08', energy_flux2='2.84e-05', photon_flux_error='3.61e-08', dlogl='2.95e-01', energy_flux='3.41e-05', photon_flux2='8.40e-08', job_status='DONE', time_completed='2021-12-07 15:09:54.380845', photon_index_error2='0.52', photon_index2='2.37', ts='6.11', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.93', time_epoch_completed='1638918594.38', return_code='0', job_id='189683', GAL2='1.05', EG2='0.90', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='5.05e-08', ts2='6.78', photon_index='1.99' WHERE bin_id='1607' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 15:09:54 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 189683: <4FGL_J0428.6-3756_daily_bin1607> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin1607> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec  7 14:55:21 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 14:55:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 14:55:48 2021
Terminated at Tue Dec  7 15:09:55 2021
Results reported at Tue Dec  7 15:09:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1607 67.173 -37.9403 655862401 656121601 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 :                                   829.36 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             352.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            874 sec.

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

