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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin9
RA = 67.173, Dec = -37.9403
tmin = 241660801, tmax = 241920001
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='471757', job_status='RUN', time_executed='2021-08-20 16:48:16.403797', time_epoch_executed='1629503296.4' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='9'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/471757

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/471757/ft1_4FGL_J0428.6-3756_daily_bin9.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/471757/ft2_4FGL_J0428.6-3756_daily_bin9.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/471757/ft1_4FGL_J0428.6-3756_daily_bin9.fits outfile=/scratch/kocevski/471757/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin9.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=241660801.0 tmax=241920001.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.76
user 1.30
sys 4.43

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/471757/ft2_4FGL_J0428.6-3756_daily_bin9.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/471757/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin9.fits evtable="EVENTS" outfile="/scratch/kocevski/471757/ft1_filtered_4FGL_J0428.6-3756_daily_bin9.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 5.24
user 0.34
sys 4.88

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/471757/ft1_filtered_4FGL_J0428.6-3756_daily_bin9.fits" evtable="EVENTS" scfile=/scratch/kocevski/471757/ft2_4FGL_J0428.6-3756_daily_bin9.fits sctable="SC_DATA" outfile=/scratch/kocevski/471757/ltcube_241660801_241920001_4FGL_J0428.6-3756_daily_bin9.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/471757/ft2_4FGL_J0428.6-3756_daily_bin9.fits
.....................!
real 17.55
user 12.41
sys 5.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/471757/ft1_filtered_4FGL_J0428.6-3756_daily_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/471757/ft2_4FGL_J0428.6-3756_daily_bin9.fits sctable="SC_DATA" expcube=/scratch/kocevski/471757/ltcube_241660801_241920001_4FGL_J0428.6-3756_daily_bin9.fits outfile=/scratch/kocevski/471757/expmap_241660801_241920001_4FGL_J0428.6-3756_daily_bin9.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/471757/ltcube_241660801_241920001_4FGL_J0428.6-3756_daily_bin9.fits
.....................!
real 195.69
user 184.73
sys 10.61

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/471757/ft1_filtered_4FGL_J0428.6-3756_daily_bin9.fits scfile=/scratch/kocevski/471757/ft2_4FGL_J0428.6-3756_daily_bin9.fits outfile=/scratch/kocevski/471757/cmap_241660801_241920001_4FGL_J0428.6-3756_daily_bin9.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 5.27
user 0.38
sys 4.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/471757/ft1_filtered_4FGL_J0428.6-3756_daily_bin9.fits scfile=/scratch/kocevski/471757/ft2_4FGL_J0428.6-3756_daily_bin9.fits outfile=/scratch/kocevski/471757/cmap_HighResolution_241660801_241920001_4FGL_J0428.6-3756_daily_bin9.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 5.23
user 0.39
sys 4.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/471757/ft1_filtered_4FGL_J0428.6-3756_daily_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/471757/ft2_4FGL_J0428.6-3756_daily_bin9.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/471757/Model_4FGL_J0428.6-3756_daily_bin9.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/471757/ft1_filtered_4FGL_J0428.6-3756_daily_bin9.fits.....................!
real 145.91
user 137.91
sys 7.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3186       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1356       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    10.273       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.504       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.196       1.0000         .10000E-03   10000.    
    10 'norm      '    4.8083       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .85492       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    91.995       1.0000         .10000E-03   10000.    
    14 'norm      '    4.2358       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10959E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52410       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3126       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.988       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.051       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10315E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.8854       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0311       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2086       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=   6462.082     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     2663 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3182        4.0362        .14853E-05   -.82300E-05
   2  norm          2.1352        1.0600        .66155E-07    .48623E-04
   3  Prefactor     .10001E-03    4.4998       -.94020E-06** at limit **
   4  Prefactor     .10000E-03    106.98       -.39069E-05** at limit **
   5  norm          .10000E-03    .59033       -.11979E-05** at limit **
   6  norm          10.270        1.2948        .21770E-06   -.31483E-02
   7  Prefactor     22.499        1.4514        .12780E-06   -.57116E-03
   8  Prefactor     .10000E-03    8.6236       -.19147E-06** at limit **
   9  Prefactor     32.192        15.230       -.11514E-05   -.20230E-03
  10  norm          4.8085        1.1213        .15491E-06    .81179E-04
  11  Prefactor     .85498        2.7105        .13119E-05   -.38385E-04
  12  norm          .10000E-03    4.2535       -.62952E-06** at limit **
  13  norm          91.996        1.0208       -.12610E-07   -.50795E-04
  14  norm          4.2373        1.9490        .35854E-06    .12348E-04
  15  Prefactor     .10000E-03    2.6296        .23931E-06** at limit **
  16  Prefactor     .10000E-03    13.606       -.21847E-05** at limit **
  17  norm          .51629        5.4434       -.21941E-05   -.67087E-03
  18  norm          3.3125        3.5015        .29835E-06    .24646E-02
  19  Prefactor     12.805        61.157        .89545E-05    .38834E-03
  20  Prefactor     .10001E-03    4.5894        .15410E-05** at limit **
  21  Prefactor     21.027        6.7053        .98888E-06   -.35033E-02
  22  Prefactor     .10000E-03    6.4001       -.14201E-05** at limit **
  23  Prefactor     .10000E-03    3.8940       -.23046E-07** at limit **
  24  norm          1.8854        2.5177        .11138E-05    .58423E-04
  25  Normalizat    1.0316        .23836        .35053E-06    .17639E-04
  26  Prefactor     1.2081        .24801       -.31351E-06    .16766E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.31825
  norm       = 2.13525
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.2703
  Prefactor  = 22.4989
  Prefactor  = 0.0001
  Prefactor  = 32.192
  norm       = 4.80852
  Prefactor  = 0.854983
  norm       = 0.0001
  norm       = 91.9957
  norm       = 4.23733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.516288
  norm       = 3.3125
  Prefactor  = 12.805
  Prefactor  = 0.000100007
  Prefactor  = 21.0273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.88541
  Normalizat = 1.03165
  Prefactor  = 1.20811
 **********
 **   18 **HESSE 
 **********

 FCN=   6462.082     FROM HESSE     STATUS=OK           538 CALLS     3201 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3182        4.0739        .95836E-02   -1.5478    
   2  norm          2.1352        1.0646        .70521E-03   -1.5416    
   3  Prefactor     .10001E-03    5.6316        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    106.93        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .23337        .13317E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.270        8.0662        .31254E-02   -1.5067    
   7  Prefactor     22.499        25.086        .21109E-02   -1.4759    
   8  Prefactor     .10000E-03    8.5858        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.192        15.259        .17654E-02   -1.4573    
  10  norm          4.8085        1.1207        .45867E-03   -1.5269    
  11  Prefactor     .85498        2.7852        .12643E-01   -1.5523    
  12  norm          .10000E-03    4.2443        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          91.996        124.09        .10474E-02   -1.3787    
  14  norm          4.2373        2.0212        .48946E-02   -1.5296    
  15  Prefactor     .10000E-03    1.6704        .36243E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.571        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .51629        2.9084        .42269E-01   -1.5564    
  18  norm          3.3125        4.9617        .55606E-02   -1.5344    
  19  Prefactor     12.805        65.909        .27787E-02   -1.4992    
  20  Prefactor     .10001E-03    5.4198        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.027        46.639        .21825E-02   -1.4791    
  22  Prefactor     .10000E-03    1.6221        .54134E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.8107        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.8854        2.5416        .75778E-02   -1.5433    
  25  Normalizat    1.0316        .20196        .63954E-01   -.91978    
  26  Prefactor     1.2081        .20610        .63258E-01   -.86082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54764e-07
Minuit parameter uncertainties:
  1  4.07477
  2  1.06457
  3  0.0004278
  4  0.000351036
  5  1.07594e-06
  6  8.0671
  7  25.0981
  8  1.13256e-05
  9  15.261
  10  1.12075
  11  2.78561
  12  1.40427e-05
  13  124.446
  14  2.02121
  15  1.40567e-08
  16  3.87744e-05
  17  2.45073
  18  4.96236
  19  58.2033
  20  0.000389513
  21  46.7197
  22  9.21769e-06
  23  1.08713e-05
  24  2.54175
  25  0.20211
  26  0.206233
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.809e+00  1.121e+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:  1.208e+00  2.062e-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.032e+00  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 95.23
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.65e-07 +/- 6.16e-08
Energy Flux (Fixed Index): 1.52e-04 +/- 3.54e-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) = 6462.01951816
delta logL = 0.062238190535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6462.01698217
delta logL = 0.0647741804023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8471       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9262       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2010       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=   6462.017     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      198 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8475        1.1128        .45679E-03   -.13169E-02
   2  alpha         1.9261        .20275        .13611        .29564E-04
   3  Normalizat    1.0447        .19268        .63646E-01    .21528E-04
   4  Prefactor     1.2011        .20274        .63448E-01    .13660E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.84755
  alpha      = 1.92614
  Normalizat = 1.04472
  Prefactor  = 1.20107
 **********
 **   18 **HESSE 
 **********

 FCN=   6462.017     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8475        1.0248        .18272E-04   -1.5268    
   2  alpha         1.9261        .19127        .58653E-02   -.23161    
   3  Normalizat    1.0447        .23243        .28152E-03   -.91547    
   4  Prefactor     1.2011        .24465        .28063E-03   -.86298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14605e-11
Minuit parameter uncertainties:
  1  1.02478
  2  0.191466
  3  0.232655
  4  0.244883
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/471757': 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) = 6462.01698196
delta logL = 0.0647743934287

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.848e+00  1.025e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.926e+00  1.915e-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.201e+00  2.449e-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  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 97.02
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.93 +/- 0.19
Photon Flux (Free Index): 2.49e-07 +/- 6.82e-08
Energy Flux (Free Index): 1.62e-04 +/- 4.58e-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/471757/cmap_HighResolution_241660801_241920001_4FGL_J0428.6-3756_daily_bin9.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.65e-07', energy_flux2='1.62e-04', photon_flux_error='6.16e-08', dlogl='6.48e-02', energy_flux='1.52e-04', photon_flux2='2.49e-07', job_status='DONE', time_completed='2021-08-20 17:01:17.055007', photon_index_error2='0.19', photon_index2='1.93', ts='95.23', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='4.58e-05', EG='1.03', time_epoch_completed='1629504077.06', return_code='0', job_id='471757', GAL2='1.20', EG2='1.04', return_code2='0', energy_flux_error='3.54e-05', photon_flux_error2='6.82e-08', ts2='97.02', photon_index='1.99' WHERE bin_id='9' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:01:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0131>
Subject: Job 471757: <4FGL_J0428.6-3756_daily_bin9> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin9> 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) <bullet0131>, 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 17:01:18 2021
Results reported at Fri Aug 20 17:01:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin9 67.173 -37.9403 241660801 241920001 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 :                                   853.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            938 sec.

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

