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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin652
RA = 67.173, Dec = -37.9403
tmin = 408326401, tmax = 408585601
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='474962', job_status='RUN', time_executed='2021-08-20 16:57:56.561604', time_epoch_executed='1629503876.56' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='652'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474962

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474962/ft1_4FGL_J0428.6-3756_daily_bin652.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474962/ft2_4FGL_J0428.6-3756_daily_bin652.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474962/ft1_4FGL_J0428.6-3756_daily_bin652.fits outfile=/scratch/kocevski/474962/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin652.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=408326401.0 tmax=408585601.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 11.41
user 4.73
sys 6.64

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474962/ft1_filtered_4FGL_J0428.6-3756_daily_bin652.fits" evtable="EVENTS" scfile=/scratch/kocevski/474962/ft2_4FGL_J0428.6-3756_daily_bin652.fits sctable="SC_DATA" outfile=/scratch/kocevski/474962/ltcube_408326401_408585601_4FGL_J0428.6-3756_daily_bin652.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/474962/ft2_4FGL_J0428.6-3756_daily_bin652.fits
.....................!
real 19.79
user 11.84
sys 7.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474962/ft1_filtered_4FGL_J0428.6-3756_daily_bin652.fits evtable="EVENTS" scfile=/scratch/kocevski/474962/ft2_4FGL_J0428.6-3756_daily_bin652.fits sctable="SC_DATA" expcube=/scratch/kocevski/474962/ltcube_408326401_408585601_4FGL_J0428.6-3756_daily_bin652.fits outfile=/scratch/kocevski/474962/expmap_408326401_408585601_4FGL_J0428.6-3756_daily_bin652.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/474962/ltcube_408326401_408585601_4FGL_J0428.6-3756_daily_bin652.fits
.....................!
real 199.72
user 186.54
sys 12.85

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/474962/ft1_filtered_4FGL_J0428.6-3756_daily_bin652.fits scfile=/scratch/kocevski/474962/ft2_4FGL_J0428.6-3756_daily_bin652.fits outfile=/scratch/kocevski/474962/cmap_408326401_408585601_4FGL_J0428.6-3756_daily_bin652.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 6.88
user 0.37
sys 6.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474962/ft1_filtered_4FGL_J0428.6-3756_daily_bin652.fits scfile=/scratch/kocevski/474962/ft2_4FGL_J0428.6-3756_daily_bin652.fits outfile=/scratch/kocevski/474962/cmap_HighResolution_408326401_408585601_4FGL_J0428.6-3756_daily_bin652.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 6.91
user 0.37
sys 6.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474962/ft1_filtered_4FGL_J0428.6-3756_daily_bin652.fits evtable="EVENTS" scfile=/scratch/kocevski/474962/ft2_4FGL_J0428.6-3756_daily_bin652.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474962/Model_4FGL_J0428.6-3756_daily_bin652.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/474962/ft1_filtered_4FGL_J0428.6-3756_daily_bin652.fits.....................!
real 129.95
user 120.11
sys 9.61

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85201       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13255E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .26590       1.0000         .10000E-03   10000.    
     6 'norm      '    5.0532       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.081       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .98132E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.1458       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .39379       1.0000         .10000E-03   10000.    
    12 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11064E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.8565       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.4602       1.0000         .10000E-03   10000.    
    18 'norm      '    1.8649       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1038       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10318E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .34937E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.6553       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0743       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81634       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=   5673.208     FROM MIGRAD    STATUS=CONVERGED    636 CALLS     3152 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85110        2.8666        .51822E-06   -.23980E-03
   2  norm          .10000E-03    .46815       -.24392E-07** at limit **
   3  Prefactor     .10000E-03    10.850       -.69341E-06** at limit **
   4  Prefactor     .10000E-03    35.786        .32082E-05** at limit **
   5  norm          .26612        .30056       -.97716E-07   -.78524E-04
   6  norm          5.0577        6.4018        .24407E-05   -.97717E-03
   7  Prefactor     10.063        25.540       -.71791E-05   -.25245E-03
   8  Prefactor     .10003E-03    8.5812       -.17143E-05** at limit **
   9  Prefactor     .10000E-03    8.0594       -.34082E-06** at limit **
  10  norm          4.1471        .86830        .22638E-07    .23545E-02
  11  Prefactor     .39410        1.7324        .57015E-06   -.40947E-03
  12  norm          .10000E-03    5.3787       -.94379E-07** at limit **
  13  norm          .10000E-03    51.809       -.20215E-05** at limit **
  14  norm          2.8563        1.3088       -.47545E-07   -.17648E-03
  15  Prefactor     .10000E-03    .73719       -.29646E-07** at limit **
  16  Prefactor     .10000E-03    7.5052        .24463E-06** at limit **
  17  norm          8.4621        4.0322        .40788E-06    .59183E-03
  18  norm          1.8627        3.5832        .66610E-07   -.30627E-03
  19  Prefactor     .10000E-03    17.605        .21360E-05** at limit **
  20  Prefactor     1.1057        4.9639       -.87628E-06   -.49544E-03
  21  Prefactor     .10000E-03    19.822       -.33854E-05** at limit **
  22  Prefactor     .10003E-03    1.2230        .33184E-06** at limit **
  23  Prefactor     .10000E-03    1.1962        .32755E-07** at limit **
  24  norm          1.6556        2.0673        .10944E-06   -.12649E-03
  25  Normalizat    1.0743        .18385       -.59986E-07    .11809E-03
  26  Prefactor     .81630        .18577       -.24689E-06    .79625E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.851096
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.266125
  norm       = 5.0577
  Prefactor  = 10.0626
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  norm       = 4.14705
  Prefactor  = 0.394099
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 2.85627
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.46209
  norm       = 1.86266
  Prefactor  = 0.000100001
  Prefactor  = 1.10565
  Prefactor  = 0.000100002
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  norm       = 1.65555
  Normalizat = 1.07431
  Prefactor  = 0.8163
 **********
 **   18 **HESSE 
 **********

 FCN=   5673.208     FROM HESSE     STATUS=OK           462 CALLS     3614 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85110        2.8360        .22709E-03   -1.5523    
   2  norm          .10000E-03    1.5572        .99900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    35.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .26612        .27951        .40261E-03   -1.5605    
   6  norm          5.0577        7.2323        .89438E-03   -1.5258    
   7  Prefactor     10.063        26.549        .12620E-03   -1.5073    
   8  Prefactor     .10003E-03    31.833        .40124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.1326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.1471        .84730        .29946E-04   -1.5301    
  11  Prefactor     .39410        1.7808        .18959E-03   -1.5582    
  12  norm          .10000E-03    5.4644        .17030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    51.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.8563        1.3062        .56423E-04   -1.5370    
  15  Prefactor     .10000E-03    .74812        .62967E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.5259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.4621        4.0455        .10077E-03   -1.5126    
  18  norm          1.8627        3.5159        .18665E-03   -1.5435    
  19  Prefactor     .10000E-03    17.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1057        5.5738        .33295E-03   -1.5498    
  21  Prefactor     .10000E-03    20.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10003E-03    13.722        .15796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.2035        .80362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.6556        2.0520        .11485E-03   -1.5451    
  25  Normalizat    1.0743        .21165        .22863E-03   -.90581    
  26  Prefactor     .81630        .21396        .27195E-03   -.99130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93464e-09
Minuit parameter uncertainties:
  1  2.83649
  2  1.57418e-06
  3  5.96262e-05
  4  0.000476921
  5  0.279513
  6  7.23359
  7  26.5804
  8  0.00200316
  9  7.54169e-06
  10  0.847306
  11  1.67533
  12  1.37708e-06
  13  0.000366399
  14  1.30617
  15  4.59302e-07
  16  1.63805e-05
  17  4.04559
  18  3.51624
  19  0.000220869
  20  4.96547
  21  0.000382309
  22  0.00131486
  23  5.1547e-08
  24  2.05205
  25  0.211817
  26  0.214179
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.147e+00  8.473e-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:  8.163e-01  2.142e-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.074e+00  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.01
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.28e-07 +/- 4.66e-08
Energy Flux (Fixed Index): 1.31e-04 +/- 2.68e-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) = 5673.19606821
delta logL = 0.0122912970774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5673.19433112
delta logL = 0.0140283880701

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1034       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0274       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0680       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82016       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=   5673.194     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      193 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1036        1.2318        .49753E-02   -.37226E-04
   2  alpha         2.0273        .26571        .11979        .31751E-04
   3  Normalizat    1.0682        .17858        .39482E-01    .65809E-05
   4  Prefactor     .82009        .18575        .43979E-01    .14826E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10356
  alpha      = 2.02725
  Normalizat = 1.06818
  Prefactor  = 0.820093
 **********
 **   18 **HESSE 
 **********

 FCN=   5673.194     FROM HESSE     STATUS=OK            31 CALLS      224 TOTAL
                     EDM=   .32E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1036        .87705        .29623E-04   -1.5303    
   2  alpha         2.0273        .19290        .51947E-03   -.19024    
   3  Normalizat    1.0682        .20562        .22914E-03   -.90780    
   4  Prefactor     .82009        .21389        .27135E-03   -.98992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22495e-16
Minuit parameter uncertainties:
  1  0.877056
  2  0.193103
  3  0.205772
  4  0.214104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474962': 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) = 5673.19433042
delta logL = 0.0140290845229

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.104e+00  8.771e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.027e+00  1.931e-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:  8.201e-01  2.141e-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.068e+00  2.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 106.63
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 2.03 +/- 0.19
Photon Flux (Free Index): 2.34e-07 +/- 5.74e-08
Energy Flux (Free Index): 1.27e-04 +/- 3.51e-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/474962/cmap_HighResolution_408326401_408585601_4FGL_J0428.6-3756_daily_bin652.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.28e-07', energy_flux2='1.27e-04', photon_flux_error='4.66e-08', dlogl='1.40e-02', energy_flux='1.31e-04', photon_flux2='2.34e-07', job_status='DONE', time_completed='2021-08-20 17:11:18.560350', photon_index_error2='0.19', photon_index2='2.03', ts='107.01', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='3.51e-05', EG='1.07', time_epoch_completed='1629504678.56', return_code='0', job_id='474962', GAL2='0.82', EG2='1.07', return_code2='0', energy_flux_error='2.68e-05', photon_flux_error2='5.74e-08', ts2='106.63', photon_index='1.99' WHERE bin_id='652' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:11:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 474962: <4FGL_J0428.6-3756_daily_bin652> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin652 67.173 -37.9403 408326401 408585601 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 :                                   901.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            923 sec.

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

