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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin1485
RA = 67.173, Dec = -37.9403
tmin = 624240001, tmax = 624499201
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='481443', job_status='RUN', time_executed='2021-08-20 17:11:24.748073', time_epoch_executed='1629504684.75' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='1485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481443

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481443/ft1_4FGL_J0428.6-3756_daily_bin1485.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481443/ft2_4FGL_J0428.6-3756_daily_bin1485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481443/ft1_4FGL_J0428.6-3756_daily_bin1485.fits outfile=/scratch/kocevski/481443/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1485.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=624240001.0 tmax=624499201.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.37
user 3.28
sys 1.07

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481443/ft1_filtered_4FGL_J0428.6-3756_daily_bin1485.fits" evtable="EVENTS" scfile=/scratch/kocevski/481443/ft2_4FGL_J0428.6-3756_daily_bin1485.fits sctable="SC_DATA" outfile=/scratch/kocevski/481443/ltcube_624240001_624499201_4FGL_J0428.6-3756_daily_bin1485.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/481443/ft2_4FGL_J0428.6-3756_daily_bin1485.fits
.....................!
real 12.55
user 11.24
sys 1.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481443/ft1_filtered_4FGL_J0428.6-3756_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/481443/ft2_4FGL_J0428.6-3756_daily_bin1485.fits sctable="SC_DATA" expcube=/scratch/kocevski/481443/ltcube_624240001_624499201_4FGL_J0428.6-3756_daily_bin1485.fits outfile=/scratch/kocevski/481443/expmap_624240001_624499201_4FGL_J0428.6-3756_daily_bin1485.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/481443/ltcube_624240001_624499201_4FGL_J0428.6-3756_daily_bin1485.fits
.....................!
real 192.50
user 185.71
sys 6.35

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/481443/ft1_filtered_4FGL_J0428.6-3756_daily_bin1485.fits scfile=/scratch/kocevski/481443/ft2_4FGL_J0428.6-3756_daily_bin1485.fits outfile=/scratch/kocevski/481443/cmap_624240001_624499201_4FGL_J0428.6-3756_daily_bin1485.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 1.38
user 0.35
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481443/ft1_filtered_4FGL_J0428.6-3756_daily_bin1485.fits scfile=/scratch/kocevski/481443/ft2_4FGL_J0428.6-3756_daily_bin1485.fits outfile=/scratch/kocevski/481443/cmap_HighResolution_624240001_624499201_4FGL_J0428.6-3756_daily_bin1485.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 1.38
user 0.37
sys 0.99

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/481443/ft1_filtered_4FGL_J0428.6-3756_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/481443/ft2_4FGL_J0428.6-3756_daily_bin1485.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/481443/Model_4FGL_J0428.6-3756_daily_bin1485.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/481443/ft1_filtered_4FGL_J0428.6-3756_daily_bin1485.fits.....................!
real 165.70
user 162.89
sys 2.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46273       1.0000         .10000E-03   10000.    
     2 'norm      '    3.2524       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    60.792       1.0000         .10000E-03   10000.    
     5 'norm      '    .23583       1.0000         .10000E-03   10000.    
     6 'norm      '    4.3068       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0291       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1085       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6495       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.612       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.7204       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4973       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.524       1.0000         .10000E-03   10000.    
    18 'norm      '    8.1752       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.8618       1.0000         .10000E-03   10000.    
    21 'Prefactor '    40.385       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.3542       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.5935       1.0000         .10000E-03   10000.    
    24 'norm      '    5.1853       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .78593       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0590       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=   7821.174     FROM MIGRAD    STATUS=CONVERGED    613 CALLS     3095 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46345        1.3642        .75968E-06    .32036E-03
   2  norm          3.2519        .98517       -.56620E-07   -.29872E-03
   3  Prefactor     .10000E-03    9.3444       -.53078E-06** at limit **
   4  Prefactor     60.607        90.135       -.25089E-05   -.10500E-03
   5  norm          .23563        .20999       -.20363E-06   -.25765E-02
   6  norm          4.3066        4.3717       -.20049E-06   -.15009E-04
   7  Prefactor     8.0270        13.174       -.46614E-07   -.16678E-05
   8  Prefactor     7.1068        14.903        .61836E-05    .13129E-03
   9  Prefactor     .10000E-03    5.9399       -.16312E-06** at limit **
  10  norm          2.6496        .69867       -.18264E-06    .68420E-03
  11  Prefactor     .10000E-03    1.0520        .17490E-06** at limit **
  12  norm          16.608        9.2416        .13633E-07   -.36799E-04
  13  norm          .10000E-03    40.893        .28679E-07** at limit **
  14  norm          5.7206        2.0982        .45900E-07   -.12281E-03
  15  Prefactor     5.4945        3.4918       -.21057E-06   -.11835E-03
  16  Prefactor     .10000E-03    6.1065        .13271E-06** at limit **
  17  norm          11.524        3.7255       -.13389E-07   -.66261E-05
  18  norm          8.1737        5.4071       -.92405E-07   -.84393E-04
  19  Prefactor     .10000E-03    14.384        .13787E-06** at limit **
  20  Prefactor     8.8610        4.6910        .38648E-07   -.19641E-04
  21  Prefactor     40.389        28.966       -.20647E-06   -.14984E-04
  22  Prefactor     1.3551        2.7753        .82462E-06    .85481E-04
  23  Prefactor     1.5919        3.6701        .14084E-05    .94452E-04
  24  norm          5.1854        2.2631       -.18632E-06   -.27443E-03
  25  Normalizat    .78634        .17373        .45260E-05   -.30567E-03
  26  Prefactor     1.0586        .18085       -.50979E-05    .12963E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.463447
  norm       = 3.25193
  Prefactor  = 0.0001
  Prefactor  = 60.6069
  norm       = 0.235625
  norm       = 4.30661
  Prefactor  = 8.02702
  Prefactor  = 7.10682
  Prefactor  = 0.0001
  norm       = 2.64962
  Prefactor  = 0.0001
  norm       = 16.6083
  norm       = 0.0001
  norm       = 5.72059
  Prefactor  = 5.49448
  Prefactor  = 0.0001
  norm       = 11.5238
  norm       = 8.1737
  Prefactor  = 0.0001
  Prefactor  = 8.861
  Prefactor  = 40.3885
  Prefactor  = 1.3551
  Prefactor  = 1.59186
  norm       = 5.18539
  Normalizat = 0.786342
  Prefactor  = 1.05859
 **********
 **   18 **HESSE 
 **********

 FCN=   7821.174     FROM HESSE     STATUS=OK           470 CALLS     3565 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46345        1.2802        .17336E-02   -1.5572    
   2  norm          3.2519        .98404        .46495E-04   -1.5347    
   3  Prefactor     .10000E-03    9.4884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     60.607        90.595        .25730E-03   -1.4149    
   5  norm          .23563        .19928        .36314E-03   -1.5611    
   6  norm          4.3066        4.3577        .17769E-03   -1.5293    
   7  Prefactor     8.0270        13.170        .14150E-03   -1.5141    
   8  Prefactor     7.1068        15.350        .75228E-03   -1.5175    
   9  Prefactor     .10000E-03    6.0112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6496        .70414        .33053E-04   -1.5382    
  11  Prefactor     .10000E-03    1.0897        .17679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.608        9.2228        .98266E-04   -1.4893    
  13  norm          .10000E-03    40.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.7206        2.1136        .67273E-04   -1.5230    
  15  Prefactor     5.4945        3.5067        .10352E-03   -1.5239    
  16  Prefactor     .10000E-03    6.1166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.524        3.7258        .93183E-04   -1.5029    
  18  norm          8.1737        5.3830        .14022E-03   -1.5136    
  19  Prefactor     .10000E-03    14.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.8610        4.6911        .13302E-03   -1.5113    
  21  Prefactor     40.389        28.951        .63076E-04   -1.4436    
  22  Prefactor     1.3551        2.7405        .19777E-03   -1.5475    
  23  Prefactor     1.5919        3.6291        .23048E-03   -1.5456    
  24  norm          5.1854        2.2418        .79767E-04   -1.5252    
  25  Normalizat    .78634        .19097        .27681E-03   -1.0058    
  26  Prefactor     1.0586        .19693        .26402E-03   -.90801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15892e-09
Minuit parameter uncertainties:
  1  1.28029
  2  0.984047
  3  4.56865e-06
  4  90.8016
  5  0.199277
  6  4.35807
  7  13.1752
  8  15.3588
  9  7.18269e-05
  10  0.704144
  11  1.38553e-06
  12  9.22359
  13  1.45485e-05
  14  2.11359
  15  3.50687
  16  4.12424e-07
  17  3.7259
  18  5.38331
  19  6.36008e-07
  20  4.69125
  21  28.9613
  22  2.7408
  23  3.62963
  24  2.2418
  25  0.191135
  26  0.197066
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  2.650e+00  7.041e-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.059e+00  1.971e-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:  7.863e-01  1.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 66.18
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.46e-07 +/- 3.87e-08
Energy Flux (Fixed Index): 8.37e-05 +/- 2.22e-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) = 7820.38719103
delta logL = 0.786674859517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7820.38074743
delta logL = 0.793118458789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7009       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7225       1.0000          .0000       5.0000    
     3 'Normalizat'    .81958       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0406       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=   7820.381     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7009        .71405        .61968E-02    .29655E-02
   2  alpha         1.7225        .21537        .17143        .37089E-04
   3  Normalizat    .81957        .15363        .43865E-01    .88429E-04
   4  Prefactor     1.0405        .16726        .60208E-01   -.54165E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.70093
  alpha      = 1.72251
  Normalizat = 0.819571
  Prefactor  = 1.04051
 **********
 **   18 **HESSE 
 **********

 FCN=   7820.381     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7009        .68488        .35195E-04   -1.5379    
   2  alpha         1.7225        .21394        .72967E-02   -.31624    
   3  Normalizat    .81957        .17824        .27172E-03   -.99347    
   4  Prefactor     1.0405        .19399        .26625E-03   -.91391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42756e-10
Minuit parameter uncertainties:
  1  0.684882
  2  0.214228
  3  0.178364
  4  0.194121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481443': 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) = 7820.38074726
delta logL = 0.79311863368

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  2.701e+00  6.849e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.723e+00  2.142e-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.041e+00  1.941e-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:  8.196e-01  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 67.53
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.72 +/- 0.21
Photon Flux (Free Index): 1.16e-07 +/- 3.72e-08
Energy Flux (Free Index): 1.16e-04 +/- 4.44e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/481443/cmap_HighResolution_624240001_624499201_4FGL_J0428.6-3756_daily_bin1485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.46e-07', energy_flux2='1.16e-04', photon_flux_error='3.87e-08', dlogl='7.93e-01', energy_flux='8.37e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-08-20 17:25:32.933035', photon_index_error2='0.21', photon_index2='1.72', ts='66.18', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='4.44e-05', EG='0.79', time_epoch_completed='1629505532.93', return_code='0', job_id='481443', GAL2='1.04', EG2='0.82', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='3.72e-08', ts2='67.53', photon_index='1.99' WHERE bin_id='1485' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:25:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 481443: <4FGL_J0428.6-3756_daily_bin1485> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin1485> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Aug 20 17:10:53 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:10:54 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:54 2021
Terminated at Fri Aug 20 17:25:33 2021
Results reported at Fri Aug 20 17:25:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1485 67.173 -37.9403 624240001 624499201 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 :                                   859.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            880 sec.

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

