/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 220 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0428.6-3756_daily_bin75
RA = 67.173, Dec = -37.9403
tmin = 258768001, tmax = 259027201
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='471860', job_status='RUN', time_executed='2021-08-20 16:50:19.318469', time_epoch_executed='1629503419.32' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/471860

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/471860/ft1_4FGL_J0428.6-3756_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/471860/ft2_4FGL_J0428.6-3756_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/471860/ft1_4FGL_J0428.6-3756_daily_bin75.fits outfile=/scratch/kocevski/471860/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin75.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=258768001.0 tmax=259027201.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 3.55
user 0.94
sys 2.59

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/471860/ft2_4FGL_J0428.6-3756_daily_bin75.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/471860/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/471860/ft1_filtered_4FGL_J0428.6-3756_daily_bin75.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 2.92
user 0.33
sys 2.58

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/471860/ft1_filtered_4FGL_J0428.6-3756_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/471860/ft2_4FGL_J0428.6-3756_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/471860/ltcube_258768001_259027201_4FGL_J0428.6-3756_daily_bin75.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/471860/ft2_4FGL_J0428.6-3756_daily_bin75.fits
.....................!
real 11.54
user 8.60
sys 2.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/471860/ft1_filtered_4FGL_J0428.6-3756_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/471860/ft2_4FGL_J0428.6-3756_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/471860/ltcube_258768001_259027201_4FGL_J0428.6-3756_daily_bin75.fits outfile=/scratch/kocevski/471860/expmap_258768001_259027201_4FGL_J0428.6-3756_daily_bin75.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/471860/ltcube_258768001_259027201_4FGL_J0428.6-3756_daily_bin75.fits
.....................!
real 193.31
user 185.71
sys 7.27

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/471860/ft1_filtered_4FGL_J0428.6-3756_daily_bin75.fits scfile=/scratch/kocevski/471860/ft2_4FGL_J0428.6-3756_daily_bin75.fits outfile=/scratch/kocevski/471860/cmap_258768001_259027201_4FGL_J0428.6-3756_daily_bin75.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 2.81
user 0.37
sys 2.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/471860/ft1_filtered_4FGL_J0428.6-3756_daily_bin75.fits scfile=/scratch/kocevski/471860/ft2_4FGL_J0428.6-3756_daily_bin75.fits outfile=/scratch/kocevski/471860/cmap_HighResolution_258768001_259027201_4FGL_J0428.6-3756_daily_bin75.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 2.93
user 0.37
sys 2.53

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/471860/ft1_filtered_4FGL_J0428.6-3756_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/471860/ft2_4FGL_J0428.6-3756_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/471860/Model_4FGL_J0428.6-3756_daily_bin75.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/471860/ft1_filtered_4FGL_J0428.6-3756_daily_bin75.fits.....................!
real 118.52
user 114.14
sys 4.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8428       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4550       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.801       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7316       1.0000         .10000E-03   10000.    
     6 'norm      '    .29329E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8561       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.1338       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .88335       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    29.845       1.0000         .10000E-03   10000.    
    14 'norm      '    6.6032       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.129       1.0000         .10000E-03   10000.    
    17 'norm      '    11.218       1.0000         .10000E-03   10000.    
    18 'norm      '    13.532       1.0000         .10000E-03   10000.    
    19 'Prefactor '    120.43       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.4573       1.0000         .10000E-03   10000.    
    21 'Prefactor '    43.007       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10738E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.167       1.0000         .10000E-03   10000.    
    24 'norm      '    1.0446       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .75943       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2193       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=   5205.762     FROM MIGRAD    STATUS=CONVERGED    621 CALLS     3588 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8422        4.7950        .84211E-07    .53135E-04
   2  norm          2.4550        1.2753        .13479E-07    .18155E-04
   3  Prefactor     10.814        22.209       -.25515E-07   -.17381E-04
   4  Prefactor     .10000E-03    93.365        .14033E-06** at limit **
   5  norm          1.7316        .50499        .20384E-07   -.43667E-03
   6  norm          .10003E-03    10.662        .33294E-05** at limit **
   7  Prefactor     .10000E-03    10.490       -.47402E-06** at limit **
   8  Prefactor     1.8650        40.164        .22993E-05    .34220E-04
   9  Prefactor     .10000E-03    3.6448       -.29260E-07** at limit **
  10  norm          8.1334        1.4217       -.27433E-07   -.30353E-03
  11  Prefactor     .88588        1.8174       -.71647E-06   -.12484E-02
  12  norm          .10000E-03    6.2421        .65318E-07** at limit **
  13  norm          29.746        354.88        .15869E-04    .20732E-04
  14  norm          6.6040        2.6742        .71456E-07    .29651E-03
  15  Prefactor     .10000E-03    2.0915        .82989E-07** at limit **
  16  Prefactor     13.139        33.388       -.54077E-06    .91514E-04
  17  norm          11.219        5.4796       -.21576E-06   -.44751E-04
  18  norm          13.533        11.591        .43768E-06    .37308E-03
  19  Prefactor     120.45        85.523       -.75230E-06   -.22829E-05
  20  Prefactor     6.4580        6.8884        .76968E-06    .86567E-03
  21  Prefactor     43.006        41.489        .96455E-07    .97508E-05
  22  Prefactor     .10002E-03    3.3331       -.15357E-05** at limit **
  23  Prefactor     10.168        6.4457        .60083E-07    .11225E-03
  24  norm          1.0445        2.6955        .20104E-07    .15692E-03
  25  Normalizat    .75926        .23800       -.14841E-05    .31053E-04
  26  Prefactor     1.2194        .24422        .12911E-05    .13782E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.84223
  norm       = 2.45496
  Prefactor  = 10.8141
  Prefactor  = 0.0001
  norm       = 1.73157
  norm       = 0.000100027
  Prefactor  = 0.0001
  Prefactor  = 1.86497
  Prefactor  = 0.0001
  norm       = 8.13336
  Prefactor  = 0.885882
  norm       = 0.0001
  norm       = 29.746
  norm       = 6.60402
  Prefactor  = 0.0001
  Prefactor  = 13.1387
  norm       = 11.219
  norm       = 13.5332
  Prefactor  = 120.448
  Prefactor  = 6.45801
  Prefactor  = 43.0062
  Prefactor  = 0.000100017
  Prefactor  = 10.1676
  norm       = 1.04455
  Normalizat = 0.759263
  Prefactor  = 1.21945
 **********
 **   18 **HESSE 
 **********

 FCN=   5205.762     FROM HESSE     STATUS=OK           468 CALLS     4056 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8422        4.7837        .14813E-03   -1.5268    
   2  norm          2.4550        1.2723        .55959E-04   -1.5395    
   3  Prefactor     10.814        22.211        .12191E-03   -1.5050    
   4  Prefactor     .10000E-03    93.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7316        .50381        .25693E-04   -1.5445    
   6  norm          .10003E-03    19.351        .30999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8650        39.885        .30594E-03   -1.5435    
   9  Prefactor     .10000E-03    3.6521        .13448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1334        1.4106        .31844E-04   -1.5138    
  11  Prefactor     .88588        1.6406        .15093E-02   -1.5520    
  12  norm          .10000E-03    6.2614        .17600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          29.746        348.95        .73339E-04   -1.4617    
  14  norm          6.6040        2.5938        .70078E-04   -1.5194    
  15  Prefactor     .10000E-03    3.3904        .19167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.139        33.072        .11055E-03   -1.4983    
  17  norm          11.219        5.4997        .11154E-03   -1.5038    
  18  norm          13.533        11.499        .10889E-03   -1.4972    
  19  Prefactor     120.45        85.189        .36671E-04   -1.3509    
  20  Prefactor     6.4580        7.2606        .78970E-03   -1.5200    
  21  Prefactor     43.006        41.486        .61130E-04   -1.4395    
  22  Prefactor     .10002E-03    10.961        .20036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.168        6.3550        .12566E-03   -1.5070    
  24  norm          1.0445        2.6337        .17246E-03   -1.5504    
  25  Normalizat    .75926        .27570        .32676E-03   -1.0160    
  26  Prefactor     1.2194        .28643        .28597E-03   -.85735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12831e-09
Minuit parameter uncertainties:
  1  4.78408
  2  1.27232
  3  22.2278
  4  6.23825e-06
  5  0.503811
  6  0.00145199
  7  2.92612e-05
  8  17.2618
  9  3.45373e-06
  10  1.41064
  11  1.64067
  12  8.4581e-06
  13  205.279
  14  2.5938
  15  2.28951e-05
  16  33.1178
  17  5.49999
  18  11.5008
  19  85.2755
  20  7.26154
  21  41.5134
  22  0.000850773
  23  6.35545
  24  2.63402
  25  0.276208
  26  0.286797
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  8.133e+00  1.411e+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:  1.219e+00  2.868e-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.593e-01  2.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 165.76
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 4.47e-07 +/- 7.76e-08
Energy Flux (Fixed Index): 2.57e-04 +/- 4.45e-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) = 5205.7365532
delta logL = 0.0249704576609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5205.72125928
delta logL = 0.0402643799207

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2870       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9544       1.0000          .0000       5.0000    
     3 'Normalizat'    .76864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2134       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=   5205.721     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      202 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2871        1.6439        .34816E-02   -.18321E-04
   2  alpha         1.9541        .16321        .85791E-01    .27105E-04
   3  Normalizat    .76856        .21858        .73452E-01    .21887E-04
   4  Prefactor     1.2135        .23622        .64802E-01    .70557E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.28711
  alpha      = 1.95412
  Normalizat = 0.768556
  Prefactor  = 1.21346
 **********
 **   18 **HESSE 
 **********

 FCN=   5205.721     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .28E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2871        1.4334        .32268E-04   -1.5132    
   2  alpha         1.9541        .14333        .37673E-03   -.22013    
   3  Normalizat    .76856        .25773        .32509E-03   -1.0125    
   4  Prefactor     1.2135        .27897        .28662E-03   -.85918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75502e-14
Minuit parameter uncertainties:
  1  1.43342
  2  0.14341
  3  0.258144
  4  0.27931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/471860': 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) = 5205.72125725
delta logL = 0.0402664061912

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  8.287e+00  1.433e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.954e+00  1.434e-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.213e+00  2.793e-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.686e-01  2.581e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 163.24
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.95 +/- 0.14
Photon Flux (Free Index): 4.37e-07 +/- 7.95e-08
Energy Flux (Free Index): 2.70e-04 +/- 6.55e-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/471860/cmap_HighResolution_258768001_259027201_4FGL_J0428.6-3756_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.47e-07', energy_flux2='2.70e-04', photon_flux_error='7.76e-08', dlogl='4.03e-02', energy_flux='2.57e-04', photon_flux2='4.37e-07', job_status='DONE', time_completed='2021-08-20 17:02:16.009868', photon_index_error2='0.14', photon_index2='1.95', ts='165.76', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='6.55e-05', EG='0.76', time_epoch_completed='1629504136.01', return_code='0', job_id='471860', GAL2='1.21', EG2='0.77', return_code2='0', energy_flux_error='4.45e-05', photon_flux_error2='7.95e-08', ts2='163.24', photon_index='1.99' WHERE bin_id='75' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:02:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 471860: <4FGL_J0428.6-3756_daily_bin75> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin75> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 20 16:45:48 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 16:45:51 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:45:51 2021
Terminated at Fri Aug 20 17:02:17 2021
Results reported at Fri Aug 20 17:02:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin75 67.173 -37.9403 258768001 259027201 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 :                                   756.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             274.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            989 sec.

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

