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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin635
RA = 67.173, Dec = -37.9403
tmin = 403920001, tmax = 404179201
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='474944', job_status='RUN', time_executed='2021-08-20 16:58:11.866078', time_epoch_executed='1629503891.87' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474944

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

Retrieving the FT1 file...

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

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

Retrieving 39 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474944/ft1_4FGL_J0428.6-3756_daily_bin635.fits


Retrieving the FT1 file...

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

Retrieving 39 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474944/ft2_4FGL_J0428.6-3756_daily_bin635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474944/ft1_4FGL_J0428.6-3756_daily_bin635.fits outfile=/scratch/kocevski/474944/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin635.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=403920001.0 tmax=404179201.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 17.36
user 9.71
sys 7.51

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474944/ft1_filtered_4FGL_J0428.6-3756_daily_bin635.fits" evtable="EVENTS" scfile=/scratch/kocevski/474944/ft2_4FGL_J0428.6-3756_daily_bin635.fits sctable="SC_DATA" outfile=/scratch/kocevski/474944/ltcube_403920001_404179201_4FGL_J0428.6-3756_daily_bin635.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/474944/ft2_4FGL_J0428.6-3756_daily_bin635.fits
.....................!
real 17.46
user 8.98
sys 8.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474944/ft1_filtered_4FGL_J0428.6-3756_daily_bin635.fits evtable="EVENTS" scfile=/scratch/kocevski/474944/ft2_4FGL_J0428.6-3756_daily_bin635.fits sctable="SC_DATA" expcube=/scratch/kocevski/474944/ltcube_403920001_404179201_4FGL_J0428.6-3756_daily_bin635.fits outfile=/scratch/kocevski/474944/expmap_403920001_404179201_4FGL_J0428.6-3756_daily_bin635.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/474944/ltcube_403920001_404179201_4FGL_J0428.6-3756_daily_bin635.fits
.....................!
real 202.59
user 187.59
sys 14.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/474944/ft1_filtered_4FGL_J0428.6-3756_daily_bin635.fits scfile=/scratch/kocevski/474944/ft2_4FGL_J0428.6-3756_daily_bin635.fits outfile=/scratch/kocevski/474944/cmap_403920001_404179201_4FGL_J0428.6-3756_daily_bin635.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 7.71
user 0.39
sys 7.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474944/ft1_filtered_4FGL_J0428.6-3756_daily_bin635.fits scfile=/scratch/kocevski/474944/ft2_4FGL_J0428.6-3756_daily_bin635.fits outfile=/scratch/kocevski/474944/cmap_HighResolution_403920001_404179201_4FGL_J0428.6-3756_daily_bin635.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 7.70
user 0.40
sys 7.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474944/ft1_filtered_4FGL_J0428.6-3756_daily_bin635.fits evtable="EVENTS" scfile=/scratch/kocevski/474944/ft2_4FGL_J0428.6-3756_daily_bin635.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474944/Model_4FGL_J0428.6-3756_daily_bin635.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/474944/ft1_filtered_4FGL_J0428.6-3756_daily_bin635.fits....................!
real 61.01
user 50.16
sys 10.62

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2717       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10781E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.1234       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10729E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.441       1.0000         .10000E-03   10000.    
    10 'norm      '    .97734       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.6476       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .37250E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.7019       1.0000         .10000E-03   10000.    
    18 'norm      '    17.070       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.953       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .13110E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .56231       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .98918       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=   1953.750     FROM MIGRAD    STATUS=CONVERGED    646 CALLS     3117 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.3394       -.29415E-07** at limit **
   2  norm          .10000E-03    1.1024       -.47312E-07** at limit **
   3  Prefactor     1.8869        242.71        .16203E-04   -.28753E-04
   4  Prefactor     .10000E-03    85.851        .73141E-04** at limit **
   5  norm          .10000E-03    .43748       -.26475E-06** at limit **
   6  norm          5.0980        16.069        .70451E-06   -.47300E-04
   7  Prefactor     .10000E-03    35.199       -.10950E-04** at limit **
   8  Prefactor     .10000E-03    30.635        .21744E-04** at limit **
   9  Prefactor     16.468        25.681        .11023E-04   -.19104E-03
  10  norm          .97713        1.2568       -.12116E-05   -.36093E-03
  11  Prefactor     .10000E-03    3.7916        .59015E-07** at limit **
  12  norm          .10000E-03    9.0989        .56879E-07** at limit **
  13  norm          .10000E-03    68.405       -.51732E-04** at limit **
  14  norm          7.6448        4.7501       -.21964E-06   -.21295E-03
  15  Prefactor     .10001E-03    6.0832        .47787E-06** at limit **
  16  Prefactor     .10000E-03    19.517        .62913E-05** at limit **
  17  norm          5.7052        4.8833        .18503E-06   -.46773E-04
  18  norm          17.068        15.235       -.67810E-06   -.63239E-04
  19  Prefactor     .10000E-03    34.153       -.89151E-06** at limit **
  20  Prefactor     11.984        13.318        .12529E-05   -.82287E-04
  21  Prefactor     .10000E-03    22.688       -.14182E-04** at limit **
  22  Prefactor     .10000E-03    3.2235        .87462E-08** at limit **
  23  Prefactor     .10000E-03    2.9755       -.64935E-08** at limit **
  24  norm          .10000E-03    2.5977        .15463E-06** at limit **
  25  Normalizat    .56068        .30749       -.76674E-05   -.15120E-04
  26  Prefactor     .99002        .26890        .18675E-05   -.15376E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.88688
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.098
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 16.4675
  norm       = 0.977132
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.64476
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 5.70522
  norm       = 17.0679
  Prefactor  = 0.0001
  Prefactor  = 11.9839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Normalizat = 0.560683
  Prefactor  = 0.990025
 **********
 **   18 **HESSE 
 **********

 FCN=   1953.750     FROM HESSE     STATUS=OK           452 CALLS     3569 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3393        .89844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.1058        .45309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8869        234.08        .39443E-03   -1.5433    
   4  Prefactor     .10000E-03    86.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.2157        .52041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.0980        15.180        .17762E-03   -1.5256    
   7  Prefactor     .10000E-03    35.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.468        25.936        .98777E-04   -1.4896    
  10  norm          .97713        1.2506        .45307E-04   -1.5510    
  11  Prefactor     .10000E-03    3.8195        .84051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    9.1056        .13022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    68.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.6448        4.5090        .69634E-04   -1.5155    
  15  Prefactor     .10001E-03    44.213        .19826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.7052        4.8632        .83076E-04   -1.5230    
  18  norm          17.068        15.101        .96940E-04   -1.4881    
  19  Prefactor     .10000E-03    34.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.984        13.396        .11587E-03   -1.5015    
  21  Prefactor     .10000E-03    22.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.2258        .77512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.9962        .74445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    13.490        .13596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .56068        .35804        .28417E-03   -1.0968    
  26  Prefactor     .99002        .31615        .21552E-03   -.93063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.31053e-10
Minuit parameter uncertainties:
  1  1.7528e-05
  2  2.76631e-06
  3  42.2013
  4  3.16088e-06
  5  3.03125e-05
  6  15.191
  7  2.38579e-05
  8  0.000343446
  9  25.9536
  10  1.25061
  11  2.4486e-07
  12  9.79429e-07
  13  8.60682e-07
  14  4.50921
  15  0.00121942
  16  5.39624e-06
  17  4.86357
  18  15.1044
  19  5.31678e-06
  20  13.399
  21  1.69887e-06
  22  3.62137e-07
  23  2.04536e-06
  24  0.000199344
  25  0.35953
  26  0.316745
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  9.771e-01  1.251e+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:  9.900e-01  3.167e-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:  5.607e-01  3.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.88
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 5.38e-08 +/- 6.88e-08
Energy Flux (Fixed Index): 3.09e-05 +/- 3.95e-05

TS (Fixed Index): 1.88
Ra Dec: 67.173 -37.940
Photon Flux Upper Limit: 2.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474944/likelihoodResults_403920001_404179201_4FGL_J0428.6-3756_daily_bin635.txt

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) = 1952.7256324
delta logL = 1.02452566388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1952.70303564
delta logL = 1.0471224174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68318       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2467       1.0000          .0000       5.0000    
     3 'Normalizat'    .44620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0543       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=   1952.703     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68293        10.165        .50624E-02    .19073E-03
   2  alpha         3.2468        4.0660        .18004        .20730E-04
   3  Normalizat    .44630        .11606        .71161E-01    .12966E-04
   4  Prefactor     1.0543        .10936        .39664E-01    .15402E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.682933
  alpha      = 3.24682
  Normalizat = 0.446297
  Prefactor  = 1.05425
 **********
 **   18 **HESSE 
 **********

 FCN=   1952.703     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68293        .86708        .22534E-04   -1.5543    
   2  alpha         3.2468        .88202        .76796E-02    .30336    
   3  Normalizat    .44630        .32130        .31508E-03   -1.1497    
   4  Prefactor     1.0543        .31419        .20889E-03   -.90942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55533e-12
Minuit parameter uncertainties:
  1  0.867094
  2  0.903463
  3  0.322641
  4  0.314745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474944': 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) = 1952.70303552
delta logL = 1.04712253656

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  6.829e-01  8.671e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  3.247e+00  9.035e-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.054e+00  3.147e-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:  4.463e-01  3.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 3.25 +/- 0.90
Photon Flux (Free Index): 2.14e-07 +/- 1.60e-07
Energy Flux (Free Index): 4.06e-05 +/- 2.65e-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/474944/cmap_HighResolution_403920001_404179201_4FGL_J0428.6-3756_daily_bin635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-04', comment='SUCCESS', photon_flux='5.38e-08', energy_flux2='4.06e-05', photon_flux_error='6.88e-08', dlogl='1.05e+00', energy_flux='3.09e-05', photon_flux2='2.14e-07', job_status='DONE', time_completed='2021-08-20 17:08:08.084398', photon_index_error2='0.90', photon_index2='3.25', ts='1.88', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='2.06e-07', energy_flux_error2='2.65e-05', EG='0.56', time_epoch_completed='1629504488.08', return_code='0', job_id='474944', GAL2='1.05', EG2='0.45', return_code2='0', energy_flux_error='3.95e-05', photon_flux_error2='1.60e-07', ts2='4.12', photon_index='1.99' WHERE bin_id='635' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:08:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 474944: <4FGL_J0428.6-3756_daily_bin635> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin635> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 20 16:55:56 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 16:55:57 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:55:57 2021
Terminated at Fri Aug 20 17:08:10 2021
Results reported at Fri Aug 20 17:08:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin635 67.173 -37.9403 403920001 404179201 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 :                                   704.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

