/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 2 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 = 7354
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0428.6-3756_daily_bin181
RA = 67.173, Dec = -37.9403
tmin = 286243201, tmax = 286502401
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='471985', job_status='RUN', time_executed='2021-08-20 16:47:09.356589', time_epoch_executed='1629503229.36' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='181'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/471985

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/471985/ft1_4FGL_J0428.6-3756_daily_bin181.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/471985/ft2_4FGL_J0428.6-3756_daily_bin181.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/471985/ft1_4FGL_J0428.6-3756_daily_bin181.fits outfile=/scratch/kocevski/471985/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin181.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=286243201.0 tmax=286502401.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 6.67
user 3.26
sys 3.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/471985/ft1_filtered_4FGL_J0428.6-3756_daily_bin181.fits" evtable="EVENTS" scfile=/scratch/kocevski/471985/ft2_4FGL_J0428.6-3756_daily_bin181.fits sctable="SC_DATA" outfile=/scratch/kocevski/471985/ltcube_286243201_286502401_4FGL_J0428.6-3756_daily_bin181.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/471985/ft2_4FGL_J0428.6-3756_daily_bin181.fits
.....................!
real 15.16
user 11.19
sys 3.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/471985/ft1_filtered_4FGL_J0428.6-3756_daily_bin181.fits evtable="EVENTS" scfile=/scratch/kocevski/471985/ft2_4FGL_J0428.6-3756_daily_bin181.fits sctable="SC_DATA" expcube=/scratch/kocevski/471985/ltcube_286243201_286502401_4FGL_J0428.6-3756_daily_bin181.fits outfile=/scratch/kocevski/471985/expmap_286243201_286502401_4FGL_J0428.6-3756_daily_bin181.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/471985/ltcube_286243201_286502401_4FGL_J0428.6-3756_daily_bin181.fits
.....................!
real 194.50
user 185.37
sys 8.44

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/471985/ft1_filtered_4FGL_J0428.6-3756_daily_bin181.fits scfile=/scratch/kocevski/471985/ft2_4FGL_J0428.6-3756_daily_bin181.fits outfile=/scratch/kocevski/471985/cmap_286243201_286502401_4FGL_J0428.6-3756_daily_bin181.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.59
user 0.35
sys 3.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/471985/ft1_filtered_4FGL_J0428.6-3756_daily_bin181.fits scfile=/scratch/kocevski/471985/ft2_4FGL_J0428.6-3756_daily_bin181.fits outfile=/scratch/kocevski/471985/cmap_HighResolution_286243201_286502401_4FGL_J0428.6-3756_daily_bin181.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.66
user 0.37
sys 3.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/471985/ft1_filtered_4FGL_J0428.6-3756_daily_bin181.fits evtable="EVENTS" scfile=/scratch/kocevski/471985/ft2_4FGL_J0428.6-3756_daily_bin181.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/471985/Model_4FGL_J0428.6-3756_daily_bin181.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/471985/ft1_filtered_4FGL_J0428.6-3756_daily_bin181.fits.....................!
real 176.30
user 170.26
sys 5.42

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74252       1.0000         .10000E-03   10000.    
     2 'norm      '    .18245       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    65.027       1.0000         .10000E-03   10000.    
     5 'norm      '    3.6608       1.0000         .10000E-03   10000.    
     6 'norm      '    2.7756       1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.198       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.468       1.0000         .10000E-03   10000.    
    10 'norm      '    5.8040       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9243       1.0000         .10000E-03   10000.    
    12 'norm      '    4.6442       1.0000         .10000E-03   10000.    
    13 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.1147       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.742       1.0000         .10000E-03   10000.    
    18 'norm      '    1.8962       1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.939       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.739       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    25.783       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0180       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .69719       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=   8059.572     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     2571 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74214        2.5417        .62823E-06    .63328E-04
   2  norm          .18303        .64595        .39182E-07    .24153E-04
   3  Prefactor     .10000E-03    3.3969        .51379E-06** at limit **
   4  Prefactor     65.023        1.1809       -.18796E-06    .42036E-02
   5  norm          3.6611        .50237       -.76695E-08    .60987E-03
   6  norm          2.7760        1.0350        .26768E-06   -.10028E-05
   7  Prefactor     19.198        1.0032       -.42931E-07    .32305E-03
   8  Prefactor     .10001E-03    4.3774       -.54414E-05** at limit **
   9  Prefactor     25.484        3.5551       -.19643E-05    .15886E-01
  10  norm          5.8034        .95550        .19499E-06   -.33336E-03
  11  Prefactor     4.9251        2.7862        .13804E-05    .52565E-03
  12  norm          4.6450        1.1555       -.70270E-06    .90868E-03
  13  norm          .10018E-03    100.90       -.53914E-05** at limit **
  14  norm          7.1142        2.1432        .12890E-06    .37683E-04
  15  Prefactor     .10001E-03    5.4365       -.72188E-05** at limit **
  16  Prefactor     .10001E-03    2.5935        .51613E-05** at limit **
  17  norm          12.742        1.0286        .18470E-07    .29109E-03
  18  norm          1.8958        3.9730       -.56681E-05   -.10676E-02
  19  Prefactor     32.939        1.0015       -.28248E-07    .31144E-03
  20  Prefactor     11.741        1.0220        .17807E-06    .67214E-04
  21  Prefactor     .10000E-03    10.922        .82854E-06** at limit **
  22  Prefactor     .10000E-03    1.1377       -.17086E-06** at limit **
  23  Prefactor     .10001E-03    2.7182        .54242E-05** at limit **
  24  norm          25.785        1.1314        .56831E-07    .20981E-02
  25  Normalizat    1.0173        .20131       -.21109E-05    .31094E-04
  26  Prefactor     .69785        .20453        .29769E-05   -.39637E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.742137
  norm       = 0.183033
  Prefactor  = 0.0001
  Prefactor  = 65.0231
  norm       = 3.66108
  norm       = 2.77601
  Prefactor  = 19.1981
  Prefactor  = 0.000100006
  Prefactor  = 25.4839
  norm       = 5.80343
  Prefactor  = 4.92513
  norm       = 4.64499
  norm       = 0.000100179
  norm       = 7.11417
  Prefactor  = 0.000100013
  Prefactor  = 0.000100005
  norm       = 12.7422
  norm       = 1.89584
  Prefactor  = 32.9392
  Prefactor  = 11.7412
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  norm       = 25.785
  Normalizat = 1.01731
  Prefactor  = 0.697849
 **********
 **   18 **HESSE 
 **********

 FCN=   8059.572     FROM HESSE     STATUS=OK           528 CALLS     3099 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74214        2.5676        .12224E-01   -1.5536    
   2  norm          .18303        .64506        .98973E-02   -1.5622    
   3  Prefactor     .10000E-03    3.3971        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     65.023        86.078        .12442E-02   -1.4093    
   5  norm          3.6611        .50478        .50493E-02   -1.5325    
   6  norm          2.7760        4.3220        .61067E-02   -1.5375    
   7  Prefactor     19.198        27.899        .22853E-02   -1.4831    
   8  Prefactor     .10001E-03    4.4918        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.484        13.054        .19844E-02   -1.4698    
  10  norm          5.8034        1.0546        .41677E-02   -1.5226    
  11  Prefactor     4.9251        2.9215        .45312E-02   -1.5264    
  12  norm          4.6450        9.3159        .46689E-02   -1.5277    
  13  norm          .10018E-03    101.92        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.1142        2.3204        .37598E-02   -1.5174    
  15  Prefactor     .10001E-03    1.2764        .55857E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    5.1633        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.742        4.9813        .28054E-02   -1.4994    
  18  norm          1.8958        4.1033        .75523E-02   -1.5433    
  19  Prefactor     32.939        42.758        .17455E-02   -1.4559    
  20  Prefactor     11.741        6.2654        .29230E-02   -1.5023    
  21  Prefactor     .10000E-03    10.928        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.1163        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    4.7765        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          25.785        4.0962        .19723E-02   -1.4692    
  25  Normalizat    1.0173        .17819        .62544E-01   -.92453    
  26  Prefactor     .69785        .17481        .76881E-01   -1.0361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63652e-07
Minuit parameter uncertainties:
  1  2.56799
  2  0.645087
  3  2.48835e-05
  4  86.2437
  5  0.504782
  6  4.32253
  7  27.9178
  8  0.000338105
  9  13.0554
  10  1.05462
  11  2.92161
  12  9.3188
  13  0.00856625
  14  2.32039
  15  0.000261273
  16  0.00033435
  17  4.98141
  18  4.10394
  19  42.7981
  20  6.26579
  21  0.000196708
  22  2.80536e-06
  23  0.000480626
  24  4.09627
  25  0.178292
  26  0.17495
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  5.803e+00  1.055e+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

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  6.978e-01  1.749e-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.017e+00  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 162.05
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 3.19e-07 +/- 5.80e-08
Energy Flux (Fixed Index): 1.83e-04 +/- 3.33e-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) = 8059.27830825
delta logL = 0.293438811304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8059.25392288
delta logL = 0.317824180291

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9659       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8697       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68090       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=   8059.254     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9659        1.0834        .41099E-03    .12832E-03
   2  alpha         1.8695        .16566        .12378        .16275E-04
   3  Normalizat    1.0446        .16851        .61918E-01    .13416E-04
   4  Prefactor     .68097        .17322        .77785E-01    .29965E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.96595
  alpha      = 1.86952
  Normalizat = 1.04456
  Prefactor  = 0.680973
 **********
 **   18 **HESSE 
 **********

 FCN=   8059.254     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .31E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9659        .99761        .16440E-04   -1.5219    
   2  alpha         1.8695        .15571        .53588E-03   -.25494    
   3  Normalizat    1.0446        .19779        .27385E-03   -.91552    
   4  Prefactor     .68097        .20296        .34441E-03   -1.0428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14095e-13
Minuit parameter uncertainties:
  1  0.997611
  2  0.155817
  3  0.197928
  4  0.203176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/471985': 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) = 8059.25392182
delta logL = 0.317825244262

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  5.966e+00  9.976e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.870e+00  1.558e-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.810e-01  2.032e-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.045e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 164.00
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.87 +/- 0.16
Photon Flux (Free Index): 2.90e-07 +/- 6.05e-08
Energy Flux (Free Index): 2.11e-04 +/- 5.28e-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/471985/cmap_HighResolution_286243201_286502401_4FGL_J0428.6-3756_daily_bin181.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.19e-07', energy_flux2='2.11e-04', photon_flux_error='5.80e-08', dlogl='3.18e-01', energy_flux='1.83e-04', photon_flux2='2.90e-07', job_status='DONE', time_completed='2021-08-20 17:01:29.290659', photon_index_error2='0.16', photon_index2='1.87', ts='162.05', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='5.28e-05', EG='1.02', time_epoch_completed='1629504089.29', return_code='0', job_id='471985', GAL2='0.68', EG2='1.04', return_code2='0', energy_flux_error='3.33e-05', photon_flux_error2='6.05e-08', ts2='164.00', photon_index='1.99' WHERE bin_id='181' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:01:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 471985: <4FGL_J0428.6-3756_daily_bin181> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin181> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 20 16:46:01 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 16:46:02 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:46:02 2021
Terminated at Fri Aug 20 17:01:30 2021
Results reported at Fri Aug 20 17:01:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin181 67.173 -37.9403 286243201 286502401 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 :                                   906.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            929 sec.

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

