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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin969
RA = 67.173, Dec = -37.9403
tmin = 490492801, tmax = 490752001
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='478110', job_status='RUN', time_executed='2021-08-20 17:05:39.934352', time_epoch_executed='1629504339.93' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='969'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/478110

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/478110/ft1_4FGL_J0428.6-3756_daily_bin969.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/478110/ft2_4FGL_J0428.6-3756_daily_bin969.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/478110/ft1_4FGL_J0428.6-3756_daily_bin969.fits outfile=/scratch/kocevski/478110/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin969.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=490492801.0 tmax=490752001.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 6.07
user 5.53
sys 0.52

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/478110/ft2_4FGL_J0428.6-3756_daily_bin969.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/478110/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin969.fits evtable="EVENTS" outfile="/scratch/kocevski/478110/ft1_filtered_4FGL_J0428.6-3756_daily_bin969.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.76
user 0.31
sys 0.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/478110/ft1_filtered_4FGL_J0428.6-3756_daily_bin969.fits" evtable="EVENTS" scfile=/scratch/kocevski/478110/ft2_4FGL_J0428.6-3756_daily_bin969.fits sctable="SC_DATA" outfile=/scratch/kocevski/478110/ltcube_490492801_490752001_4FGL_J0428.6-3756_daily_bin969.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/478110/ft2_4FGL_J0428.6-3756_daily_bin969.fits
.....................!
real 12.07
user 11.38
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/478110/ft1_filtered_4FGL_J0428.6-3756_daily_bin969.fits evtable="EVENTS" scfile=/scratch/kocevski/478110/ft2_4FGL_J0428.6-3756_daily_bin969.fits sctable="SC_DATA" expcube=/scratch/kocevski/478110/ltcube_490492801_490752001_4FGL_J0428.6-3756_daily_bin969.fits outfile=/scratch/kocevski/478110/expmap_490492801_490752001_4FGL_J0428.6-3756_daily_bin969.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/478110/ltcube_490492801_490752001_4FGL_J0428.6-3756_daily_bin969.fits
.....................!
real 192.40
user 187.27
sys 4.63

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/478110/ft1_filtered_4FGL_J0428.6-3756_daily_bin969.fits scfile=/scratch/kocevski/478110/ft2_4FGL_J0428.6-3756_daily_bin969.fits outfile=/scratch/kocevski/478110/cmap_490492801_490752001_4FGL_J0428.6-3756_daily_bin969.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.79
user 0.38
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/478110/ft1_filtered_4FGL_J0428.6-3756_daily_bin969.fits scfile=/scratch/kocevski/478110/ft2_4FGL_J0428.6-3756_daily_bin969.fits outfile=/scratch/kocevski/478110/cmap_HighResolution_490492801_490752001_4FGL_J0428.6-3756_daily_bin969.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.81
user 0.37
sys 0.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/478110/ft1_filtered_4FGL_J0428.6-3756_daily_bin969.fits evtable="EVENTS" scfile=/scratch/kocevski/478110/ft2_4FGL_J0428.6-3756_daily_bin969.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/478110/Model_4FGL_J0428.6-3756_daily_bin969.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/478110/ft1_filtered_4FGL_J0428.6-3756_daily_bin969.fits.....................!
real 103.16
user 101.29
sys 1.63

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7273       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.879       1.0000         .10000E-03   10000.    
     4 'Prefactor '    172.52       1.0000         .10000E-03   10000.    
     5 'norm      '    .33892       1.0000         .10000E-03   10000.    
     6 'norm      '    10.071       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19370E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.215       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9347       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0336       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.1689       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11622E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11627E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.4171       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    49.338       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    7.6142       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.7386       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .49228       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=   4626.860     FROM MIGRAD    STATUS=CONVERGED    630 CALLS     3181 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7269        6.0222       -.26967E-06   -.17883E-03
   2  norm          .10000E-03    .47806       -.10197E-07** at limit **
   3  Prefactor     28.881        26.830        .87742E-06   -.23292E-04
   4  Prefactor     172.51        201.58       -.13676E-04   -.42096E-05
   5  norm          .33824        .55309        .32372E-06   -.14216E-03
   6  norm          10.060        13.280       -.40866E-05   -.78448E-04
   7  Prefactor     .10000E-03    10.596       -.60138E-06** at limit **
   8  Prefactor     .10000E-03    50.359       -.25104E-05** at limit **
   9  Prefactor     11.186        14.692       -.23669E-05   -.29906E-04
  10  norm          1.9337        .95334        .11790E-06   -.16959E-02
  11  Prefactor     4.0332        3.4756       -.25475E-06   -.49430E-03
  12  norm          .10000E-03    5.3407       -.52600E-07** at limit **
  13  norm          .10000E-03    80.552       -.19343E-04** at limit **
  14  norm          3.1683        1.7963       -.21393E-07   -.74581E-04
  15  Prefactor     .10000E-03    2.4009       -.21292E-07** at limit **
  16  Prefactor     .10000E-03    65.814        .20946E-04** at limit **
  17  norm          .10000E-03    2.9927       -.12593E-06** at limit **
  18  norm          6.4153        6.0787       -.54108E-08   -.76447E-03
  19  Prefactor     .10000E-03    16.165        .44161E-06** at limit **
  20  Prefactor     .10000E-03    4.8888       -.26229E-08** at limit **
  21  Prefactor     49.333        54.412       -.47834E-05    .21388E-09
  22  Prefactor     .10000E-03    1.8401       -.36358E-07** at limit **
  23  Prefactor     .10000E-03    4.3364       -.34921E-08** at limit **
  24  norm          7.6147        3.1797       -.35226E-07   -.29008E-04
  25  Normalizat    1.7386        .26437        .13784E-05   -.18268E-03
  26  Prefactor     .49239        .25582        .86692E-06   -.48922E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.72688
  norm       = 0.0001
  Prefactor  = 28.8813
  Prefactor  = 172.506
  norm       = 0.338242
  norm       = 10.0604
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 11.1859
  norm       = 1.93371
  Prefactor  = 4.03324
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.16829
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100001
  norm       = 6.41534
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.3331
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.61466
  Normalizat = 1.73859
  Prefactor  = 0.492395
 **********
 **   18 **HESSE 
 **********

 FCN=   4626.860     FROM HESSE     STATUS=OK           456 CALLS     3637 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7269        6.0172        .15023E-03   -1.5189    
   2  norm          .10000E-03    .48507        .45895E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.881        26.682        .74553E-04   -1.4633    
   4  Prefactor     172.51        201.61        .30720E-04   -1.3074    
   5  norm          .33824        .51713        .53788E-04   -1.5592    
   6  norm          10.060        13.013        .12626E-03   -1.5073    
   7  Prefactor     .10000E-03    10.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    50.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.186        14.799        .11963E-03   -1.5039    
  10  norm          1.9337        .95631        .20093E-03   -1.5430    
  11  Prefactor     4.0332        3.4742        .11156E-03   -1.5306    
  12  norm          .10000E-03    5.3609        .15348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    80.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1683        1.7899        .66124E-04   -1.5352    
  15  Prefactor     .10000E-03    2.4587        .20454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    66.235        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    9.9179        .22588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.4153        6.0368        .15478E-03   -1.5201    
  19  Prefactor     .10000E-03    16.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.9750        .14679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     49.333        54.393        .57091E-04   -1.4302    
  22  Prefactor     .10000E-03    1.8627        .90068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.4855        .27613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          7.6147        3.1736        .75303E-04   -1.5156    
  25  Normalizat    1.7386        .30140        .23292E-03   -.71278    
  26  Prefactor     .49239        .28711        .40830E-03   -1.1233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93662e-10
Minuit parameter uncertainties:
  1  6.01776
  2  6.6921e-07
  3  26.6932
  4  202.423
  5  0.51714
  6  13.0171
  7  1.5232e-06
  8  0.000631948
  9  14.8042
  10  0.956315
  11  3.47442
  12  3.3102e-07
  13  3.43823e-06
  14  1.78998
  15  5.94428e-06
  16  0.000724495
  17  0.000178503
  18  6.03736
  19  1.60848e-06
  20  1.19281e-05
  21  54.4476
  22  4.77645e-06
  23  2.72335e-06
  24  3.17369
  25  0.301716
  26  0.28796
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  1.934e+00  9.563e-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:  4.924e-01  2.880e-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.739e+00  3.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.44
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 5.26e-08
Energy Flux (Fixed Index): 6.11e-05 +/- 3.02e-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) = 4626.76138282
delta logL = 0.0984459238671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4626.75733402
delta logL = 0.102494731605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8737       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1788       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7161       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50571       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4626.757     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      268 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8737        .84305        .38051E-04   -.51748E-03
   2  alpha         2.1789        .41089        .93223E-02   -.33509E-04
   3  Normalizat    1.7160        .28524        .23399E-03    .24099E-04
   4  Prefactor     .50579        .28113        .40306E-03    .19800E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.87374
  alpha      = 2.17887
  Normalizat = 1.71602
  Prefactor  = 0.505792
 **********
 **   18 **HESSE 
 **********

 FCN=   4626.757     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8737        .83637        .15220E-05   -1.5434    
   2  alpha         2.1789        .40739        .37289E-03   -.12881    
   3  Normalizat    1.7160        .28525        .93594E-05   -.71876    
   4  Prefactor     .50579        .28117        .16123E-04   -1.1171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89813e-11
Minuit parameter uncertainties:
  1  0.836378
  2  0.409244
  3  0.285523
  4  0.281943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/478110': 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) = 4626.75733391
delta logL = 0.102494838314

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  1.874e+00  8.364e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.179e+00  4.092e-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:  5.058e-01  2.819e-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.716e+00  2.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.65
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 2.18 +/- 0.41
Photon Flux (Free Index): 1.27e-07 +/- 7.00e-08
Energy Flux (Free Index): 5.43e-05 +/- 2.62e-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/478110/cmap_HighResolution_490492801_490752001_4FGL_J0428.6-3756_daily_bin969.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='5.43e-05', photon_flux_error='5.26e-08', dlogl='1.02e-01', energy_flux='6.11e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-08-20 17:16:31.105101', photon_index_error2='0.41', photon_index2='2.18', ts='15.44', fit_tolerance='1e-08', GAL='0.49', photon_index_error='0.00', energy_flux_error2='2.62e-05', EG='1.74', time_epoch_completed='1629504991.11', return_code='0', job_id='478110', GAL2='0.51', EG2='1.72', return_code2='0', energy_flux_error='3.02e-05', photon_flux_error2='7.00e-08', ts2='15.65', photon_index='1.99' WHERE bin_id='969' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:16:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 478110: <4FGL_J0428.6-3756_daily_bin969> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin969> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 20 17:05:25 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:05:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 17:05:27 2021
Terminated at Fri Aug 20 17:16:32 2021
Results reported at Fri Aug 20 17:16:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin969 67.173 -37.9403 490492801 490752001 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 :                                   653.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            667 sec.

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

