/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 56 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 = 7552
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0428.6-3756_daily_bin1369
RA = 67.173, Dec = -37.9403
tmin = 594172801, tmax = 594432001
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='481274', job_status='RUN', time_executed='2021-08-20 17:12:36.019056', time_epoch_executed='1629504756.02' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='1369'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481274

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481274/ft1_4FGL_J0428.6-3756_daily_bin1369.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481274/ft2_4FGL_J0428.6-3756_daily_bin1369.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481274/ft1_4FGL_J0428.6-3756_daily_bin1369.fits outfile=/scratch/kocevski/481274/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1369.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=594172801.0 tmax=594432001.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.98
user 3.91
sys 3.05

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481274/ft1_filtered_4FGL_J0428.6-3756_daily_bin1369.fits" evtable="EVENTS" scfile=/scratch/kocevski/481274/ft2_4FGL_J0428.6-3756_daily_bin1369.fits sctable="SC_DATA" outfile=/scratch/kocevski/481274/ltcube_594172801_594432001_4FGL_J0428.6-3756_daily_bin1369.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/481274/ft2_4FGL_J0428.6-3756_daily_bin1369.fits
.....................!
real 15.02
user 11.49
sys 3.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481274/ft1_filtered_4FGL_J0428.6-3756_daily_bin1369.fits evtable="EVENTS" scfile=/scratch/kocevski/481274/ft2_4FGL_J0428.6-3756_daily_bin1369.fits sctable="SC_DATA" expcube=/scratch/kocevski/481274/ltcube_594172801_594432001_4FGL_J0428.6-3756_daily_bin1369.fits outfile=/scratch/kocevski/481274/expmap_594172801_594432001_4FGL_J0428.6-3756_daily_bin1369.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/481274/ltcube_594172801_594432001_4FGL_J0428.6-3756_daily_bin1369.fits
.....................!
real 192.70
user 184.87
sys 7.51

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/481274/ft1_filtered_4FGL_J0428.6-3756_daily_bin1369.fits scfile=/scratch/kocevski/481274/ft2_4FGL_J0428.6-3756_daily_bin1369.fits outfile=/scratch/kocevski/481274/cmap_594172801_594432001_4FGL_J0428.6-3756_daily_bin1369.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 3.30
user 0.37
sys 2.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481274/ft1_filtered_4FGL_J0428.6-3756_daily_bin1369.fits scfile=/scratch/kocevski/481274/ft2_4FGL_J0428.6-3756_daily_bin1369.fits outfile=/scratch/kocevski/481274/cmap_HighResolution_594172801_594432001_4FGL_J0428.6-3756_daily_bin1369.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 3.20
user 0.37
sys 2.81

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/481274/ft1_filtered_4FGL_J0428.6-3756_daily_bin1369.fits evtable="EVENTS" scfile=/scratch/kocevski/481274/ft2_4FGL_J0428.6-3756_daily_bin1369.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/481274/Model_4FGL_J0428.6-3756_daily_bin1369.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/481274/ft1_filtered_4FGL_J0428.6-3756_daily_bin1369.fits.....................!
real 129.13
user 124.01
sys 4.89

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .84197       1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.031       1.0000         .10000E-03   10000.    
     4 'Prefactor '    71.578       1.0000         .10000E-03   10000.    
     5 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    51.760       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6821       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3174       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.8208       1.0000         .10000E-03   10000.    
    13 'norm      '    .10588E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.099       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7008       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.0457       1.0000         .10000E-03   10000.    
    17 'norm      '    7.4385       1.0000         .10000E-03   10000.    
    18 'norm      '    .25737E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.7125       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .26332       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.0153       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    3.9778       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.2294       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6022.706     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     2667 TOTAL
                     EDM=   .76E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2748        .21225E-06** at limit **
   2  norm          .84193        .87724       -.22795E-06    .80052E-04
   3  Prefactor     24.046        2.1848       -.15511E-06   -.37063E-03
   4  Prefactor     71.604        6.6423        .18893E-06   -.69558E-02
   5  norm          .10000E-03    .44662        .12157E-06** at limit **
   6  norm          .10000E-03    5.3874        .49835E-06** at limit **
   7  Prefactor     51.756        1.2681       -.17946E-07   -.58908E-04
   8  Prefactor     4.6843        1.4566       -.12152E-07   -.90785E-04
   9  Prefactor     .10000E-03    5.7658        .33948E-06** at limit **
  10  norm          2.3174        .72884       -.92923E-08   -.72316E-05
  11  Prefactor     .10000E-03    2.0372       -.24694E-06** at limit **
  12  norm          1.8203        15.727        .29522E-06    .34540E-03
  13  norm          .10003E-03    76.887        .71087E-05** at limit **
  14  norm          10.099        2.9651       -.13248E-06    .10286E-03
  15  Prefactor     2.7024        3.4798        .65200E-06   -.49247E-04
  16  Prefactor     8.0727        5.4952        .57358E-09    .19269E-02
  17  norm          7.4332        5.4260        .43943E-07    .23255E-03
  18  norm          .10047E-03    735.27       -.96815E-05** at limit **
  19  Prefactor     9.7334        4.6464        .31364E-06    .21670E-03
  20  Prefactor     .29768        37.301       -.10770E-05    .17565E-03
  21  Prefactor     .10000E-03    13.058        .11840E-06** at limit **
  22  Prefactor     8.0158        3.8073        .13233E-06    .68094E-06
  23  Prefactor     .10000E-03    2.2677       -.15389E-07** at limit **
  24  norm          3.9771        2.9150       -.66581E-07    .11565E-04
  25  Normalizat    1.2293        .24072        .66654E-07    .13862E-04
  26  Prefactor     1.0480        .24769        .80933E-06    .11353E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.841934
  Prefactor  = 24.0463
  Prefactor  = 71.6041
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 51.7557
  Prefactor  = 4.68432
  Prefactor  = 0.0001
  norm       = 2.31742
  Prefactor  = 0.0001
  norm       = 1.82033
  norm       = 0.000100028
  norm       = 10.0992
  Prefactor  = 2.70241
  Prefactor  = 8.07272
  norm       = 7.4332
  norm       = 0.000100471
  Prefactor  = 9.73337
  Prefactor  = 0.297678
  Prefactor  = 0.0001
  Prefactor  = 8.01584
  Prefactor  = 0.0001
  norm       = 3.97715
  Normalizat = 1.22929
  Prefactor  = 1.04803
 **********
 **   18 **HESSE 
 **********

 FCN=   6022.706     FROM HESSE     STATUS=OK           536 CALLS     3203 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2197        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .84193        .91394        .12595E-01   -1.5524    
   3  Prefactor     24.046        19.797        .20428E-02   -1.4727    
   4  Prefactor     71.604        165.79        .11863E-02   -1.4014    
   5  norm          .10000E-03    .21987        .13433E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.3177        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     51.756        41.531        .13936E-02   -1.4268    
   8  Prefactor     4.6843        10.684        .46495E-02   -1.5275    
   9  Prefactor     .10000E-03    5.7317        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3174        .74141        .67369E-02   -1.5403    
  11  Prefactor     .10000E-03    1.9915        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.8203        16.753        .77362E-02   -1.5438    
  13  norm          .10003E-03    79.202        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.099        2.9744        .31522E-02   -1.5072    
  15  Prefactor     2.7024        3.5800        .61969E-02   -1.5379    
  16  Prefactor     8.0727        13.259        .35338E-02   -1.5140    
  17  norm          7.4332        5.4475        .36763E-02   -1.5163    
  18  norm          .10047E-03    4.2105        .47675E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.7334        48.106        .32146E-02   -1.5084    
  20  Prefactor     .29768        4.0480        .83597E-01   -1.5599    
  21  Prefactor     .10000E-03    13.081        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.0158        3.8229        .35405E-02   -1.5142    
  23  Prefactor     .10000E-03    2.2479        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.9771        2.9335        .50557E-02   -1.5309    
  25  Normalizat    1.2293        .21439        .60052E-01   -.85703    
  26  Prefactor     1.0480        .21011        .67783E-01   -.91145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8961e-06
Minuit parameter uncertainties:
  1  9.74292e-07
  2  0.913958
  3  19.8028
  4  166.882
  5  1.74153e-07
  6  3.05183e-06
  7  41.5538
  8  10.6882
  9  3.73612e-06
  10  0.741409
  11  1.18278e-06
  12  11.0485
  13  0.00299323
  14  2.97445
  15  3.58025
  16  13.264
  17  5.44785
  18  0.00281707
  19  43.3333
  20  2.19526
  21  1.63363e-05
  22  3.82301
  23  8.70833e-08
  24  2.93359
  25  0.214544
  26  0.210276
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  2.317e+00  7.414e-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.048e+00  2.103e-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.229e+00  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 34.40
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.27e-07 +/- 4.08e-08
Energy Flux (Fixed Index): 7.32e-05 +/- 2.34e-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) = 6022.55410204
delta logL = 0.152190055305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6022.54522529
delta logL = 0.161066802024

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3605       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8337       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0383       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=   6022.545     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3605        .89106        .66686E-02   -.17134E-02
   2  alpha         1.8338        .31637        .19692       -.11757E-05
   3  Normalizat    1.2469        .19822        .59703E-01    .74573E-06
   4  Prefactor     1.0383        .20805        .68068E-01    .17160E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.36049
  alpha      = 1.83375
  Normalizat = 1.24691
  Prefactor  = 1.0383
 **********
 **   18 **HESSE 
 **********

 FCN=   6022.545     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3605        .75527        .36876E-04   -1.5401    
   2  alpha         1.8338        .28023        .83083E-02   -.26976    
   3  Normalizat    1.2469        .23424        .26404E-03   -.85165    
   4  Prefactor     1.0383        .24584        .30112E-03   -.91463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88478e-11
Minuit parameter uncertainties:
  1  0.755273
  2  0.280868
  3  0.234435
  4  0.246109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481274': 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) = 6022.54522528
delta logL = 0.161066812448

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  2.360e+00  7.553e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.834e+00  2.809e-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.038e+00  2.461e-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.247e+00  2.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 34.64
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.83 +/- 0.28
Photon Flux (Free Index): 1.11e-07 +/- 4.52e-08
Energy Flux (Free Index): 8.69e-05 +/- 4.02e-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/481274/cmap_HighResolution_594172801_594432001_4FGL_J0428.6-3756_daily_bin1369.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.27e-07', energy_flux2='8.69e-05', photon_flux_error='4.08e-08', dlogl='1.61e-01', energy_flux='7.32e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2021-08-20 17:24:51.260506', photon_index_error2='0.28', photon_index2='1.83', ts='34.40', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='4.02e-05', EG='1.23', time_epoch_completed='1629505491.26', return_code='0', job_id='481274', GAL2='1.04', EG2='1.25', return_code2='0', energy_flux_error='2.34e-05', photon_flux_error2='4.52e-08', ts2='34.64', photon_index='1.99' WHERE bin_id='1369' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:24:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 481274: <4FGL_J0428.6-3756_daily_bin1369> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin1369> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Aug 20 17:10:41 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:10:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 17:10:42 2021
Terminated at Fri Aug 20 17:24:52 2021
Results reported at Fri Aug 20 17:24:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1369 67.173 -37.9403 594172801 594432001 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 :                                   774.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

