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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin1410
RA = 67.173, Dec = -37.9403
tmin = 604800001, tmax = 605059201
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='481334', job_status='RUN', time_executed='2021-08-20 17:13:13.440673', time_epoch_executed='1629504793.44' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481334

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481334/ft1_4FGL_J0428.6-3756_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481334/ft2_4FGL_J0428.6-3756_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481334/ft1_4FGL_J0428.6-3756_daily_bin1410.fits outfile=/scratch/kocevski/481334/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1410.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=604800001.0 tmax=605059201.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.06
user 4.83
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481334/ft1_filtered_4FGL_J0428.6-3756_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/481334/ft2_4FGL_J0428.6-3756_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/481334/ltcube_604800001_605059201_4FGL_J0428.6-3756_daily_bin1410.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/481334/ft2_4FGL_J0428.6-3756_daily_bin1410.fits
.....................!
real 11.56
user 11.18
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481334/ft1_filtered_4FGL_J0428.6-3756_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/481334/ft2_4FGL_J0428.6-3756_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/481334/ltcube_604800001_605059201_4FGL_J0428.6-3756_daily_bin1410.fits outfile=/scratch/kocevski/481334/expmap_604800001_605059201_4FGL_J0428.6-3756_daily_bin1410.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/481334/ltcube_604800001_605059201_4FGL_J0428.6-3756_daily_bin1410.fits
.....................!
real 190.07
user 185.61
sys 4.12

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/481334/ft1_filtered_4FGL_J0428.6-3756_daily_bin1410.fits scfile=/scratch/kocevski/481334/ft2_4FGL_J0428.6-3756_daily_bin1410.fits outfile=/scratch/kocevski/481334/cmap_604800001_605059201_4FGL_J0428.6-3756_daily_bin1410.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481334/ft1_filtered_4FGL_J0428.6-3756_daily_bin1410.fits scfile=/scratch/kocevski/481334/ft2_4FGL_J0428.6-3756_daily_bin1410.fits outfile=/scratch/kocevski/481334/cmap_HighResolution_604800001_605059201_4FGL_J0428.6-3756_daily_bin1410.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/481334/ft1_filtered_4FGL_J0428.6-3756_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/481334/ft2_4FGL_J0428.6-3756_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/481334/Model_4FGL_J0428.6-3756_daily_bin1410.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/481334/ft1_filtered_4FGL_J0428.6-3756_daily_bin1410.fits.....................!
real 118.51
user 117.23
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    3.0454       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.458       1.0000         .10000E-03   10000.    
     4 'Prefactor '    338.68       1.0000         .10000E-03   10000.    
     5 'norm      '    .12898E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    7.7450       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .32040E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.630       1.0000         .10000E-03   10000.    
    10 'norm      '    .85869       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8149       1.0000         .10000E-03   10000.    
    12 'norm      '    24.606       1.0000         .10000E-03   10000.    
    13 'norm      '    151.83       1.0000         .10000E-03   10000.    
    14 'norm      '    3.5282       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2927       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .60432E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10719E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11541E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12987E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.7628       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.7066       1.0000         .10000E-03   10000.    
    24 'norm      '    6.3016       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4397       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81541       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=   5362.933     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     2175 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0553       -.32475E-06** at limit **
   2  norm          3.0467        1.2595        .17938E-07    .60510E-05
   3  Prefactor     41.510        24.053        .78833E-06   -.54841E-05
   4  Prefactor     346.26        254.12       -.50651E-05   -.31954E-03
   5  norm          .14465E-01    1.7162        .11825E-05   -.12715E-04
   6  norm          7.7478        7.1729       -.11588E-06   -.71027E-05
   7  Prefactor     .10000E-03    15.535       -.36092E-05** at limit **
   8  Prefactor     .10000E-03    28.290        .65447E-05** at limit **
   9  Prefactor     13.657        14.193        .46019E-05   -.77486E-04
  10  norm          .85766        .71790       -.67694E-06    .65318E-04
  11  Prefactor     3.8035        3.0464        .43930E-06   -.39490E-05
  12  norm          25.096        16.394        .13733E-06    .11715E-04
  13  norm          152.23        13.486       -.39977E-06    .41205E-02
  14  norm          3.5249        2.4516        .83772E-06   -.19161E-04
  15  Prefactor     4.2510        4.4026       -.21453E-05    .76965E-04
  16  Prefactor     .10000E-03    5.0650       -.21989E-06** at limit **
  17  norm          .10000E-03    1.3062        .20359E-06** at limit **
  18  norm          .10000E-03    2.1680       -.10129E-06** at limit **
  19  Prefactor     .10000E-03    19.891        .23338E-05** at limit **
  20  Prefactor     .10000E-03    1.5816       -.23256E-06** at limit **
  21  Prefactor     .10000E-03    13.741       -.71819E-07** at limit **
  22  Prefactor     3.7678        2.9461       -.19996E-07    .14629E-04
  23  Prefactor     2.7093        4.9724        .13240E-05   -.86937E-05
  24  norm          6.3084        3.3462       -.43838E-06    .48871E-04
  25  Normalizat    1.4387        .28771       -.33318E-05    .18842E-04
  26  Prefactor     .81528        .27447        .16726E-05    .93441E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.04668
  Prefactor  = 41.5096
  Prefactor  = 346.261
  norm       = 0.0144654
  norm       = 7.74779
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6572
  norm       = 0.857661
  Prefactor  = 3.80352
  norm       = 25.0957
  norm       = 152.231
  norm       = 3.52492
  Prefactor  = 4.25102
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.76783
  Prefactor  = 2.70931
  norm       = 6.30843
  Normalizat = 1.43873
  Prefactor  = 0.815281
 **********
 **   18 **HESSE 
 **********

 FCN=   5362.933     FROM HESSE     STATUS=OK           516 CALLS     2691 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0556        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.0467        1.2578        .58124E-02   -1.5359    
   3  Prefactor     41.510        24.145        .15381E-02   -1.4419    
   4  Prefactor     346.26        252.86        .55282E-03   -1.1965    
   5  norm          .14465E-01    .33066        .13187E-01   -1.5684    
   6  norm          7.7478        7.1763        .36022E-02   -1.5151    
   7  Prefactor     .10000E-03    15.539        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    28.060        .98780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.657        13.958        .27123E-02   -1.4969    
  10  norm          .85766        .70286        .10776E-01   -1.5523    
  11  Prefactor     3.8035        3.0597        .51663E-02   -1.5318    
  12  norm          25.096        16.472        .20189E-02   -1.4706    
  13  norm          152.23        196.77        .81780E-03   -1.3234    
  14  norm          3.5249        2.4431        .53803E-02   -1.5332    
  15  Prefactor     4.2510        4.3977        .48612E-02   -1.5296    
  16  Prefactor     .10000E-03    5.0577        .10530E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.3025        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.1428        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    19.878        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.5801        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    13.741        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.7678        2.9465        .52032E-02   -1.5320    
  23  Prefactor     2.7093        5.0122        .61898E-02   -1.5379    
  24  norm          6.3084        3.3642        .39976E-02   -1.5206    
  25  Normalizat    1.4387        .23710        .57900E-01   -.79515    
  26  Prefactor     .81528        .22935        .75499E-01   -.99167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47169e-07
Minuit parameter uncertainties:
  1  6.83079e-07
  2  1.25778
  3  24.1508
  4  253.673
  5  0.137843
  6  7.17705
  7  2.37638e-05
  8  0.000116527
  9  13.9614
  10  0.702868
  11  3.05985
  12  16.4749
  13  197.623
  14  2.44317
  15  4.39808
  16  6.25183e-07
  17  3.84428e-07
  18  1.74123e-07
  19  1.34355e-05
  20  4.6636e-07
  21  1.00837e-06
  22  2.94658
  23  5.01299
  24  3.36425
  25  0.237285
  26  0.229621
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  8.577e-01  7.029e-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.153e-01  2.296e-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.439e+00  2.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.43
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 4.72e-08 +/- 3.87e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 2.22e-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) = 5362.93260333
delta logL = 7.00793943906e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5362.9325689
delta logL = 0.000104505269519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85180       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9813       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81488       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=   5362.933     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      202 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85178        15.429        .10811E-01    .47317E-03
   2  alpha         1.9813        2.6458        .42331        .25146E-04
   3  Normalizat    1.4397        .10772        .57886E-01   -.23059E-04
   4  Prefactor     .81488        .87322E-01    .75518E-01    .33110E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.851784
  alpha      = 1.98128
  Normalizat = 1.43971
  Prefactor  = 0.81488
 **********
 **   18 **HESSE 
 **********

 FCN=   5362.933     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85178        .73073        .47174E-04   -1.5523    
   2  alpha         1.9813        .90676        .15564E-01   -.20900    
   3  Normalizat    1.4397        .27082        .25598E-03   -.79487    
   4  Prefactor     .81488        .26831        .33424E-03   -.99182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95299e-10
Minuit parameter uncertainties:
  1  0.730738
  2  0.928934
  3  0.271089
  4  0.26874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481334': 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) = 5362.9325689
delta logL = 0.000104505872514

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  8.518e-01  7.307e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.981e+00  9.289e-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.149e-01  2.687e-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.440e+00  2.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.44
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.98 +/- 0.93
Photon Flux (Free Index): 4.62e-08 +/- 7.33e-08
Energy Flux (Free Index): 2.72e-05 +/- 2.11e-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/481334/cmap_HighResolution_604800001_605059201_4FGL_J0428.6-3756_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.72e-08', energy_flux2='2.72e-05', photon_flux_error='3.87e-08', dlogl='1.05e-04', energy_flux='2.71e-05', photon_flux2='4.62e-08', job_status='DONE', time_completed='2021-08-20 17:23:42.652919', photon_index_error2='0.93', photon_index2='1.98', ts='7.43', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='2.11e-05', EG='1.44', time_epoch_completed='1629505422.65', return_code='0', job_id='481334', GAL2='0.81', EG2='1.44', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='7.33e-08', ts2='7.44', photon_index='1.99' WHERE bin_id='1410' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:23:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 481334: <4FGL_J0428.6-3756_daily_bin1410> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin1410> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Aug 20 17:10:44 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:10:45 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:10:45 2021
Terminated at Fri Aug 20 17:23:43 2021
Results reported at Fri Aug 20 17:23:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1410 67.173 -37.9403 604800001 605059201 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 :                                   622.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            779 sec.

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

