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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin307
RA = 67.173, Dec = -37.9403
tmin = 318902401, tmax = 319161601
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='473285', job_status='RUN', time_executed='2021-08-20 16:50:55.960716', time_epoch_executed='1629503455.96' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/473285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/473285/ft1_4FGL_J0428.6-3756_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/473285/ft2_4FGL_J0428.6-3756_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/473285/ft1_4FGL_J0428.6-3756_daily_bin307.fits outfile=/scratch/kocevski/473285/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin307.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=318902401.0 tmax=319161601.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 3.75
user 3.23
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/473285/ft2_4FGL_J0428.6-3756_daily_bin307.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/473285/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin307.fits evtable="EVENTS" outfile="/scratch/kocevski/473285/ft1_filtered_4FGL_J0428.6-3756_daily_bin307.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.79
user 0.32
sys 0.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/473285/ft1_filtered_4FGL_J0428.6-3756_daily_bin307.fits" evtable="EVENTS" scfile=/scratch/kocevski/473285/ft2_4FGL_J0428.6-3756_daily_bin307.fits sctable="SC_DATA" outfile=/scratch/kocevski/473285/ltcube_318902401_319161601_4FGL_J0428.6-3756_daily_bin307.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/473285/ft2_4FGL_J0428.6-3756_daily_bin307.fits
.....................!
real 12.47
user 11.81
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/473285/ft1_filtered_4FGL_J0428.6-3756_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/473285/ft2_4FGL_J0428.6-3756_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/473285/ltcube_318902401_319161601_4FGL_J0428.6-3756_daily_bin307.fits outfile=/scratch/kocevski/473285/expmap_318902401_319161601_4FGL_J0428.6-3756_daily_bin307.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/473285/ltcube_318902401_319161601_4FGL_J0428.6-3756_daily_bin307.fits
.....................!
real 190.90
user 185.42
sys 5.15

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/473285/ft1_filtered_4FGL_J0428.6-3756_daily_bin307.fits scfile=/scratch/kocevski/473285/ft2_4FGL_J0428.6-3756_daily_bin307.fits outfile=/scratch/kocevski/473285/cmap_318902401_319161601_4FGL_J0428.6-3756_daily_bin307.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.82
user 0.37
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/473285/ft1_filtered_4FGL_J0428.6-3756_daily_bin307.fits scfile=/scratch/kocevski/473285/ft2_4FGL_J0428.6-3756_daily_bin307.fits outfile=/scratch/kocevski/473285/cmap_HighResolution_318902401_319161601_4FGL_J0428.6-3756_daily_bin307.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.84
user 0.36
sys 0.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/473285/ft1_filtered_4FGL_J0428.6-3756_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/473285/ft2_4FGL_J0428.6-3756_daily_bin307.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/473285/Model_4FGL_J0428.6-3756_daily_bin307.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/473285/ft1_filtered_4FGL_J0428.6-3756_daily_bin307.fits.....................!
real 161.61
user 159.73
sys 1.61

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2984       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1546       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8003       1.0000         .10000E-03   10000.    
     4 'Prefactor '    89.132       1.0000         .10000E-03   10000.    
     5 'norm      '    3.3179       1.0000         .10000E-03   10000.    
     6 'norm      '    14.299       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.066       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3348       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.4905       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.821       1.0000         .10000E-03   10000.    
    17 'norm      '    2.8612       1.0000         .10000E-03   10000.    
    18 'norm      '    7.8730       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.449       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1598       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .40863       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .59021E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    42.491       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .95853       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1293       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=   7607.258     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     3557 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2984        2.8436        .20111E-06    .58384E-03
   2  norm          2.1546        .93288       -.23237E-08    .17769E-04
   3  Prefactor     5.8002        10.669        .21569E-06    .16238E-04
   4  Prefactor     89.110        82.230       -.36564E-05   -.25459E-03
   5  norm          3.3180        .56605        .44212E-08   -.65236E-03
   6  norm          14.299        9.2241        .40860E-07   -.63511E-04
   7  Prefactor     .10000E-03    47.716        .13235E-05** at limit **
   8  Prefactor     12.065        12.852       -.16525E-07   -.15041E-03
   9  Prefactor     .10013E-03    4.9853        .11529E-05** at limit **
  10  norm          2.3346        .69787       -.11737E-07   -.16635E-02
  11  Prefactor     .10000E-03    1.3196        .12966E-07** at limit **
  12  norm          .10000E-03    2.4726        .16442E-07** at limit **
  13  norm          .10000E-03    51.728       -.24362E-05** at limit **
  14  norm          6.4909        2.0858        .63038E-08    .88262E-04
  15  Prefactor     .10000E-03    1.5949       -.75442E-07** at limit **
  16  Prefactor     16.815        22.055       -.81307E-06   -.19573E-03
  17  norm          2.8614        3.3266        .31805E-07   -.19659E-03
  18  norm          7.8759        7.5576       -.74358E-07   -.19869E-03
  19  Prefactor     12.453        47.348        .13119E-05    .51434E-04
  20  Prefactor     5.1598        4.5942       -.20028E-06   -.36324E-03
  21  Prefactor     .10000E-03    14.018       -.39016E-07** at limit **
  22  Prefactor     .40841        2.5727        .24197E-05    .22062E-03
  23  Prefactor     .10064E-03    3.6512       -.15307E-05** at limit **
  24  norm          42.491        5.9199       -.51881E-07    .86697E-03
  25  Normalizat    .95840        .19688        .40810E-06   -.42696E-04
  26  Prefactor     1.1294        .19937       -.57227E-06    .17309E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.29844
  norm       = 2.15461
  Prefactor  = 5.80024
  Prefactor  = 89.1096
  norm       = 3.31797
  norm       = 14.2988
  Prefactor  = 0.000100001
  Prefactor  = 12.0645
  Prefactor  = 0.00010013
  norm       = 2.33462
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100005
  norm       = 6.4909
  Prefactor  = 0.0001
  Prefactor  = 16.8151
  norm       = 2.86136
  norm       = 7.87595
  Prefactor  = 12.4525
  Prefactor  = 5.15979
  Prefactor  = 0.0001
  Prefactor  = 0.408415
  Prefactor  = 0.000100636
  norm       = 42.4911
  Normalizat = 0.958396
  Prefactor  = 1.12938
 **********
 **   18 **HESSE 
 **********

 FCN=   7607.258     FROM HESSE     STATUS=OK           462 CALLS     4019 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2984        2.8554        .11637E-03   -1.5293    
   2  norm          2.1546        .93212        .53442E-04   -1.5414    
   3  Prefactor     5.8002        10.658        .16676E-03   -1.5226    
   4  Prefactor     89.110        85.510        .21280E-03   -1.3817    
   5  norm          3.3180        .57003        .24869E-04   -1.5344    
   6  norm          14.299        9.2340        .10592E-03   -1.4952    
   7  Prefactor     .10000E-03    48.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.065        12.759        .11532E-03   -1.5013    
   9  Prefactor     .10013E-03    39.361        .34037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3346        .68080        .36611E-04   -1.5402    
  11  Prefactor     .10000E-03    1.3446        .97725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.4764        .13393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    52.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.4909        2.0284        .67092E-04   -1.5198    
  15  Prefactor     .10000E-03    2.6608        .20173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.815        22.080        .97654E-04   -1.4888    
  17  norm          2.8614        3.3283        .16543E-03   -1.5370    
  18  norm          7.8759        7.4691        .14290E-03   -1.5147    
  19  Prefactor     12.453        47.385        .11353E-03   -1.5002    
  20  Prefactor     5.1598        4.6115        .17081E-03   -1.5254    
  21  Prefactor     .10000E-03    14.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .40841        2.7738        .27952E-03   -1.5580    
  23  Prefactor     .10064E-03    39.239        .27376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          42.491        5.6474        .61499E-04   -1.4403    
  25  Normalizat    .95840        .23155        .31145E-03   -.94438    
  26  Prefactor     1.1294        .23671        .30812E-03   -.88533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97569e-08
Minuit parameter uncertainties:
  1  2.85546
  2  0.932128
  3  10.6613
  4  85.6282
  5  0.570028
  6  9.23495
  7  0.000448973
  8  12.7619
  9  0.00452985
  10  0.680804
  11  1.3554e-06
  12  6.11617e-07
  13  0.00100022
  14  2.02847
  15  4.41689e-06
  16  22.0902
  17  3.32852
  18  7.46996
  19  47.5283
  20  4.6118
  21  6.60779e-06
  22  2.12859
  23  0.0100005
  24  5.6475
  25  0.231794
  26  0.236931
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  2.335e+00  6.808e-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.129e+00  2.369e-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.584e-01  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 50.14
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.28e-07 +/- 3.74e-08
Energy Flux (Fixed Index): 7.37e-05 +/- 2.15e-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) = 7606.82419857
delta logL = 0.433762841883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7606.82007213
delta logL = 0.437889276562

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3277       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7372       1.0000          .0000       5.0000    
     3 'Normalizat'    .98744       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1137       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=   7606.820     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      214 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3278        .72708        .67203E-02   -.12567E-03
   2  alpha         1.7372        .26664        .21259       -.17969E-04
   3  Normalizat    .98746        .18631        .69532E-01    .18611E-04
   4  Prefactor     1.1137        .19760        .70113E-01    .11022E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.32783
  alpha      = 1.73718
  Normalizat = 0.987458
  Prefactor  = 1.11369
 **********
 **   18 **HESSE 
 **********

 FCN=   7606.820     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3278        .70062        .38146E-04   -1.5403    
   2  alpha         1.7372        .27004        .88998E-02   -.31007    
   3  Normalizat    .98746        .22150        .30760E-03   -.93452    
   4  Prefactor     1.1137        .23507        .31018E-03   -.89030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07635e-13
Minuit parameter uncertainties:
  1  0.700626
  2  0.270622
  3  0.221704
  4  0.23529
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/473285': 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) = 7606.8200721
delta logL = 0.437889303208

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  2.328e+00  7.006e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.737e+00  2.706e-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.114e+00  2.353e-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.875e-01  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.85
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.74 +/- 0.27
Photon Flux (Free Index): 1.01e-07 +/- 4.03e-08
Energy Flux (Free Index): 9.75e-05 +/- 4.44e-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/473285/cmap_HighResolution_318902401_319161601_4FGL_J0428.6-3756_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.28e-07', energy_flux2='9.75e-05', photon_flux_error='3.74e-08', dlogl='4.38e-01', energy_flux='7.37e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-08-20 17:05:38.916875', photon_index_error2='0.27', photon_index2='1.74', ts='50.14', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='4.44e-05', EG='0.96', time_epoch_completed='1629504338.92', return_code='0', job_id='473285', GAL2='1.11', EG2='0.99', return_code2='0', energy_flux_error='2.15e-05', photon_flux_error2='4.03e-08', ts2='50.85', photon_index='1.99' WHERE bin_id='307' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:05:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 473285: <4FGL_J0428.6-3756_daily_bin307> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin307> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 20 16:50:33 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 16:50:35 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:50:35 2021
Terminated at Fri Aug 20 17:05:39 2021
Results reported at Fri Aug 20 17:05:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin307 67.173 -37.9403 318902401 319161601 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 :                                   886.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            906 sec.

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

