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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin1606
RA = 67.173, Dec = -37.9403
tmin = 655603201, tmax = 655862401
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='189681', job_status='RUN', time_executed='2021-12-07 14:55:56.137194', time_epoch_executed='1638917756.14' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='1606'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/189681

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/189681/ft1_4FGL_J0428.6-3756_daily_bin1606.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/189681/ft2_4FGL_J0428.6-3756_daily_bin1606.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/189681/ft1_4FGL_J0428.6-3756_daily_bin1606.fits outfile=/scratch/kocevski/189681/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1606.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=655603201.0 tmax=655862401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.30
user 4.05
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/189681/ft2_4FGL_J0428.6-3756_daily_bin1606.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/189681/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1606.fits evtable="EVENTS" outfile="/scratch/kocevski/189681/ft1_filtered_4FGL_J0428.6-3756_daily_bin1606.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/189681/ft1_filtered_4FGL_J0428.6-3756_daily_bin1606.fits" evtable="EVENTS" scfile=/scratch/kocevski/189681/ft2_4FGL_J0428.6-3756_daily_bin1606.fits sctable="SC_DATA" outfile=/scratch/kocevski/189681/ltcube_655603201_655862401_4FGL_J0428.6-3756_daily_bin1606.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/189681/ft2_4FGL_J0428.6-3756_daily_bin1606.fits
.....................!
real 12.74
user 12.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/189681/ft1_filtered_4FGL_J0428.6-3756_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/189681/ft2_4FGL_J0428.6-3756_daily_bin1606.fits sctable="SC_DATA" expcube=/scratch/kocevski/189681/ltcube_655603201_655862401_4FGL_J0428.6-3756_daily_bin1606.fits outfile=/scratch/kocevski/189681/expmap_655603201_655862401_4FGL_J0428.6-3756_daily_bin1606.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/189681/ltcube_655603201_655862401_4FGL_J0428.6-3756_daily_bin1606.fits
.....................!
real 195.96
user 190.02
sys 5.48

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/189681/ft1_filtered_4FGL_J0428.6-3756_daily_bin1606.fits scfile=/scratch/kocevski/189681/ft2_4FGL_J0428.6-3756_daily_bin1606.fits outfile=/scratch/kocevski/189681/cmap_655603201_655862401_4FGL_J0428.6-3756_daily_bin1606.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/189681/ft1_filtered_4FGL_J0428.6-3756_daily_bin1606.fits scfile=/scratch/kocevski/189681/ft2_4FGL_J0428.6-3756_daily_bin1606.fits outfile=/scratch/kocevski/189681/cmap_HighResolution_655603201_655862401_4FGL_J0428.6-3756_daily_bin1606.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.60
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/189681/ft1_filtered_4FGL_J0428.6-3756_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/189681/ft2_4FGL_J0428.6-3756_daily_bin1606.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/189681/Model_4FGL_J0428.6-3756_daily_bin1606.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/189681/ft1_filtered_4FGL_J0428.6-3756_daily_bin1606.fits.....................!
real 189.70
user 187.82
sys 1.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64742       1.0000         .10000E-03   10000.    
     2 'norm      '    1.9042       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.653       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1037       1.0000         .10000E-03   10000.    
     5 'norm      '    .68247       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0504       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10807E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12675E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.708       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1948       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7583       1.0000         .10000E-03   10000.    
    12 'norm      '    40.158       1.0000         .10000E-03   10000.    
    13 'norm      '    .11224E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.5350       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10649E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.680       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6686       1.0000         .10000E-03   10000.    
    18 'norm      '    6.3372       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .55735E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9007       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .18824E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .99890       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2144       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=   9060.369     FROM MIGRAD    STATUS=CONVERGED    715 CALLS     2353 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66875        2.6896        .69683E-06    .10070E-03
   2  norm          1.9041        .83984        .51016E-07   -.82926E-04
   3  Prefactor     14.418        15.498       -.13605E-07   -.51902E-04
   4  Prefactor     4.2356        598.74        .76864E-05    .22623E-05
   5  norm          .68282        .32423        .10388E-07   -.16609E-03
   6  norm          1.0582        3.9441       -.60313E-07    .56795E-04
   7  Prefactor     .10000E-03    20.399        .34838E-06** at limit **
   8  Prefactor     .10000E-03    34.917        .70946E-06** at limit **
   9  Prefactor     17.594        9.2652       -.20026E-06    .54783E-04
  10  norm          2.1990        .67653       -.66881E-07    .83487E-03
  11  Prefactor     7.7735        3.3285        .20835E-06   -.29228E-03
  12  norm          40.115        12.712        .19325E-06   -.17192E-03
  13  norm          .10000E-03    39.173        .56358E-06** at limit **
  14  norm          4.5372        1.7699        .64070E-07   -.62767E-03
  15  Prefactor     .99460E-02    238.91       -.12973E-04   -.62409E-04
  16  Prefactor     17.706        14.181        .65276E-07   -.81628E-04
  17  norm          1.6629        2.8942       -.62835E-07    .14662E-04
  18  norm          6.3130        5.0299        .99794E-07   -.19311E-03
  19  Prefactor     .10000E-03    15.455        .16454E-07** at limit **
  20  Prefactor     5.9080        4.5264       -.15419E-06   -.47597E-05
  21  Prefactor     .10000E-03    18.685        .31295E-07** at limit **
  22  Prefactor     .10000E-03    .71573       -.22307E-07** at limit **
  23  Prefactor     .10000E-03    1.0370       -.15940E-07** at limit **
  24  norm          .10000E-03    .61472        .74421E-07** at limit **
  25  Normalizat    .99839        .19291       -.24925E-05    .66893E-04
  26  Prefactor     1.2146        .19524        .24121E-05   -.20899E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.668755
  norm       = 1.90412
  Prefactor  = 14.4175
  Prefactor  = 4.23562
  norm       = 0.682822
  norm       = 1.0582
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.5939
  norm       = 2.19901
  Prefactor  = 7.77353
  norm       = 40.1146
  norm       = 0.0001
  norm       = 4.53715
  Prefactor  = 0.00994601
  Prefactor  = 17.7062
  norm       = 1.66288
  norm       = 6.31302
  Prefactor  = 0.0001
  Prefactor  = 5.90803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.998386
  Prefactor  = 1.21463
 **********
 **   18 **HESSE 
 **********

 FCN=   9060.369     FROM HESSE     STATUS=OK           474 CALLS     2827 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66875        2.7262        .29764E-03   -1.5544    
   2  norm          1.9041        .83483        .55568E-04   -1.5432    
   3  Prefactor     14.418        15.504        .10463E-03   -1.4948    
   4  Prefactor     4.2356        594.71        .45140E-03   -1.5296    
   5  norm          .68282        .31619        .34314E-04   -1.5543    
   6  norm          1.0582        3.8777        .35086E-03   -1.5502    
   7  Prefactor     .10000E-03    20.491        .20711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    32.435        .45254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.594        9.3422        .95179E-04   -1.4869    
  10  norm          2.1990        .67457        .38247E-04   -1.5411    
  11  Prefactor     7.7735        3.3435        .99949E-04   -1.5150    
  12  norm          40.115        12.788        .63253E-04   -1.4440    
  13  norm          .10000E-03    39.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5372        1.7834        .70696E-04   -1.5282    
  15  Prefactor     .99460E-02    5.9145        .26458E-01   -1.5688    
  16  Prefactor     17.706        14.177        .95252E-04   -1.4866    
  17  norm          1.6629        2.8711        .20342E-03   -1.5450    
  18  norm          6.3130        5.0378        .15945E-03   -1.5205    
  19  Prefactor     .10000E-03    15.472        .21103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9080        4.5160        .82658E-03   -1.5222    
  21  Prefactor     .10000E-03    18.748        .20283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .72733        .78638E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.0546        .94630E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    3.2902        .14411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .99839        .20629        .28281E-03   -.93085    
  26  Prefactor     1.2146        .20821        .28019E-03   -.85882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15992e-09
Minuit parameter uncertainties:
  1  2.70051
  2  0.83484
  3  15.5079
  4  101.422
  5  0.31619
  6  3.87863
  7  8.42231e-05
  8  0.000185067
  9  9.34294
  10  0.674572
  11  3.34359
  12  12.789
  13  7.19165e-05
  14  1.78339
  15  0.482683
  16  14.1793
  17  2.87132
  18  5.03814
  19  2.44231e-06
  20  4.51625
  21  3.59186e-05
  22  7.72525e-08
  23  6.98607e-07
  24  5.51868e-05
  25  0.206457
  26  0.208353
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  2.199e+00  6.746e-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.215e+00  2.084e-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.984e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.79
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.21e-07 +/- 3.71e-08
Energy Flux (Fixed Index): 6.94e-05 +/- 2.13e-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) = 9059.61294079
delta logL = 0.755718574301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9059.61254636
delta logL = 0.756113000263

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9206       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3049       1.0000          .0000       5.0000    
     3 'Normalizat'    .96715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2341       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=   9059.613     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      208 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9206        6.9240        .74959E-02    .12917E-02
   2  alpha         2.3049        3.5663        .17894        .39403E-04
   3  Normalizat    .96714        .11229        .45754E-01    .19705E-04
   4  Prefactor     1.2341        .10151        .62881E-01    .15609E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9206
  alpha      = 2.30493
  Normalizat = 0.967144
  Prefactor  = 1.23408
 **********
 **   18 **HESSE 
 **********

 FCN=   9059.613     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9206        .62230        .33948E-04   -1.5431    
   2  alpha         2.3049        .26373        .75611E-02   -.78106E-01
   3  Normalizat    .96714        .19091        .28648E-03   -.94139    
   4  Prefactor     1.2341        .20530        .27811E-03   -.85289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57135e-11
Minuit parameter uncertainties:
  1  0.622306
  2  0.264228
  3  0.191042
  4  0.205437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/189681': 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) = 9059.61254636
delta logL = 0.756113000967

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  1.921e+00  6.223e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.305e+00  2.642e-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.234e+00  2.054e-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.671e-01  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.57
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 2.30 +/- 0.26
Photon Flux (Free Index): 1.52e-07 +/- 4.65e-08
Energy Flux (Free Index): 5.52e-05 +/- 1.73e-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/189681/cmap_HighResolution_655603201_655862401_4FGL_J0428.6-3756_daily_bin1606.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='5.52e-05', photon_flux_error='3.71e-08', dlogl='7.56e-01', energy_flux='6.94e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-12-07 15:10:45.187069', photon_index_error2='0.26', photon_index2='2.30', ts='30.79', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='1.73e-05', EG='1.00', time_epoch_completed='1638918645.19', return_code='0', job_id='189681', GAL2='1.23', EG2='0.97', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='4.65e-08', ts2='32.57', photon_index='1.99' WHERE bin_id='1606' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 15:10:45 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 189681: <4FGL_J0428.6-3756_daily_bin1606> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1606 67.173 -37.9403 655603201 655862401 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 :                                   879.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             401.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            924 sec.

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

