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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin594
RA = 67.173, Dec = -37.9403
tmin = 393292801, tmax = 393552001
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='474882', job_status='RUN', time_executed='2021-08-20 17:00:06.123823', time_epoch_executed='1629504006.12' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='594'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474882

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474882/ft1_4FGL_J0428.6-3756_daily_bin594.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474882/ft2_4FGL_J0428.6-3756_daily_bin594.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474882/ft1_4FGL_J0428.6-3756_daily_bin594.fits outfile=/scratch/kocevski/474882/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin594.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=393292801.0 tmax=393552001.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 5.28
user 4.39
sys 0.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474882/ft2_4FGL_J0428.6-3756_daily_bin594.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/474882/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin594.fits evtable="EVENTS" outfile="/scratch/kocevski/474882/ft1_filtered_4FGL_J0428.6-3756_daily_bin594.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.10
user 0.32
sys 0.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474882/ft1_filtered_4FGL_J0428.6-3756_daily_bin594.fits" evtable="EVENTS" scfile=/scratch/kocevski/474882/ft2_4FGL_J0428.6-3756_daily_bin594.fits sctable="SC_DATA" outfile=/scratch/kocevski/474882/ltcube_393292801_393552001_4FGL_J0428.6-3756_daily_bin594.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/474882/ft2_4FGL_J0428.6-3756_daily_bin594.fits
.....................!
real 12.36
user 11.33
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474882/ft1_filtered_4FGL_J0428.6-3756_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/474882/ft2_4FGL_J0428.6-3756_daily_bin594.fits sctable="SC_DATA" expcube=/scratch/kocevski/474882/ltcube_393292801_393552001_4FGL_J0428.6-3756_daily_bin594.fits outfile=/scratch/kocevski/474882/expmap_393292801_393552001_4FGL_J0428.6-3756_daily_bin594.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/474882/ltcube_393292801_393552001_4FGL_J0428.6-3756_daily_bin594.fits
.....................!
real 190.73
user 184.90
sys 5.52

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/474882/ft1_filtered_4FGL_J0428.6-3756_daily_bin594.fits scfile=/scratch/kocevski/474882/ft2_4FGL_J0428.6-3756_daily_bin594.fits outfile=/scratch/kocevski/474882/cmap_393292801_393552001_4FGL_J0428.6-3756_daily_bin594.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.14
user 0.35
sys 0.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474882/ft1_filtered_4FGL_J0428.6-3756_daily_bin594.fits scfile=/scratch/kocevski/474882/ft2_4FGL_J0428.6-3756_daily_bin594.fits outfile=/scratch/kocevski/474882/cmap_HighResolution_393292801_393552001_4FGL_J0428.6-3756_daily_bin594.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.16
user 0.37
sys 0.76

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474882/ft1_filtered_4FGL_J0428.6-3756_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/474882/ft2_4FGL_J0428.6-3756_daily_bin594.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474882/Model_4FGL_J0428.6-3756_daily_bin594.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/474882/ft1_filtered_4FGL_J0428.6-3756_daily_bin594.fits.....................!
real 94.17
user 92.06
sys 1.95

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7450       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.018       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13215E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.1525       1.0000         .10000E-03   10000.    
    10 'norm      '    5.5533       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.0916       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10806E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.520       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .20454E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .77899       1.0000         .10000E-03   10000.    
    19 'Prefactor '    78.172       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0683       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    6.8172       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1947       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .74835       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=   4172.609     FROM MIGRAD    STATUS=CONVERGED    648 CALLS     3189 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.0911        .23970E-07** at limit **
   2  norm          1.7448        1.3228        .70143E-07   -.36705E-04
   3  Prefactor     .10000E-03    14.255       -.16801E-05** at limit **
   4  Prefactor     .10000E-03    29.232       -.23375E-05** at limit **
   5  norm          .10000E-03    .20932       -.15846E-07** at limit **
   6  norm          12.014        11.658        .66100E-06   -.16144E-03
   7  Prefactor     .10000E-03    31.397       -.30854E-05** at limit **
   8  Prefactor     .10000E-03    47.759        .55338E-05** at limit **
   9  Prefactor     9.1322        22.137        .41398E-05   -.19495E-03
  10  norm          5.5529        1.5078       -.11877E-06   -.63970E-03
  11  Prefactor     .10000E-03    2.9756        .12112E-06** at limit **
  12  norm          6.0901        15.976        .29679E-06   -.84293E-04
  13  norm          .10000E-03    109.81       -.44853E-05** at limit **
  14  norm          .10000E-03    1.1536        .37789E-06** at limit **
  15  Prefactor     13.517        5.6357       -.30816E-06   -.65251E-03
  16  Prefactor     .10000E-03    12.022        .72151E-06** at limit **
  17  norm          .10000E-03    4.2159       -.53807E-06** at limit **
  18  norm          .78557        9.1329        .30971E-05   -.16089E-03
  19  Prefactor     78.144        86.318       -.34960E-05   -.10617E-03
  20  Prefactor     1.0775        19.080        .49836E-05   -.75276E-04
  21  Prefactor     .10000E-03    20.878        .32328E-05** at limit **
  22  Prefactor     .10000E-03    3.3204       -.44994E-07** at limit **
  23  Prefactor     .10000E-03    2.1251        .15971E-08** at limit **
  24  norm          6.8176        3.4759        .33107E-07   -.83910E-04
  25  Normalizat    1.1948        .24787       -.14908E-05   -.11697E-03
  26  Prefactor     .74829        .23388       -.71272E-06   -.13048E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.74482
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 12.0142
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 9.13224
  norm       = 5.55294
  Prefactor  = 0.0001
  norm       = 6.09015
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 13.5172
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.785566
  Prefactor  = 78.1435
  Prefactor  = 1.07752
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.8176
  Normalizat = 1.19479
  Prefactor  = 0.748295
 **********
 **   18 **HESSE 
 **********

 FCN=   4172.609     FROM HESSE     STATUS=OK           456 CALLS     3645 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1147        .91187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7448        1.3158        .61734E-04   -1.5444    
   3  Prefactor     .10000E-03    14.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .37832        .55754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.014        11.481        .57776E-03   -1.5015    
   7  Prefactor     .10000E-03    31.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    49.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.1322        22.729        .66239E-03   -1.5103    
  10  norm          5.5529        1.5315        .33456E-04   -1.5237    
  11  Prefactor     .10000E-03    3.0261        .21675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.0901        15.774        .16267E-03   -1.5214    
  13  norm          .10000E-03    110.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7762        .12708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.517        5.4558        .79602E-04   -1.4972    
  16  Prefactor     .10000E-03    12.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.7990        .25150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .78557        9.4882        .36552E-03   -1.5531    
  19  Prefactor     78.144        87.552        .45420E-04   -1.3938    
  20  Prefactor     1.0775        19.783        .47079E-02   -1.5500    
  21  Prefactor     .10000E-03    21.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.4010        .22957E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.1325        .91935E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.8176        3.4748        .82902E-04   -1.5186    
  25  Normalizat    1.1948        .30063        .25168E-03   -.86764    
  26  Prefactor     .74829        .28309        .31373E-03   -1.0166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20042e-08
Minuit parameter uncertainties:
  1  1.25821e-06
  2  1.31583
  3  0.000130801
  4  0.000268072
  5  2.75938e-06
  6  11.4826
  7  0.000374763
  8  0.000502279
  9  22.7502
  10  1.5315
  11  1.37361e-06
  12  15.7844
  13  0.000999858
  14  1.21663e-05
  15  5.456
  16  4.52952e-05
  17  3.66617e-06
  18  5.461
  19  87.6973
  20  9.23696
  21  0.000332264
  22  1.50165e-06
  23  3.05236e-06
  24  3.47487
  25  0.301062
  26  0.283642
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  5.553e+00  1.532e+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:  7.483e-01  2.836e-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.195e+00  3.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 66.76
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 3.05e-07 +/- 8.42e-08
Energy Flux (Fixed Index): 1.75e-04 +/- 4.84e-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) = 4172.59225906
delta logL = 0.0167097351732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4172.58924489
delta logL = 0.0197239101035

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4984       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0384       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75513       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=   4172.589     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      196 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4984        1.6099        .42837E-02    .27847E-02
   2  alpha         2.0384        .26690        .11844        .30006E-03
   3  Normalizat    1.1835        .23326        .57121E-01    .27339E-03
   4  Prefactor     .75513        .23287        .70587E-01    .11724E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.4984
  alpha      = 2.03838
  Normalizat = 1.18345
  Prefactor  = 0.755134
 **********
 **   18 **HESSE 
 **********

 FCN=   4172.589     FROM HESSE     STATUS=OK            27 CALLS      223 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4984        1.2950        .33019E-04   -1.5239    
   2  alpha         2.0384        .21883        .51417E-03   -.18571    
   3  Normalizat    1.1835        .27917        .25259E-03   -.87116    
   4  Prefactor     .75513        .27803        .31236E-03   -1.0140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80967e-10
Minuit parameter uncertainties:
  1  1.29502
  2  0.21912
  3  0.279524
  4  0.278544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474882': 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) = 4172.58924488
delta logL = 0.0197239117151

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  5.498e+00  1.295e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.038e+00  2.191e-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:  7.551e-01  2.785e-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.183e+00  2.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 66.96
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 2.04 +/- 0.22
Photon Flux (Free Index): 3.17e-07 +/- 9.20e-08
Energy Flux (Free Index): 1.69e-04 +/- 4.99e-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/474882/cmap_HighResolution_393292801_393552001_4FGL_J0428.6-3756_daily_bin594.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.05e-07', energy_flux2='1.69e-04', photon_flux_error='8.42e-08', dlogl='1.97e-02', energy_flux='1.75e-04', photon_flux2='3.17e-07', job_status='DONE', time_completed='2021-08-20 17:10:16.928638', photon_index_error2='0.22', photon_index2='2.04', ts='66.76', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='4.99e-05', EG='1.19', time_epoch_completed='1629504616.93', return_code='0', job_id='474882', GAL2='0.76', EG2='1.18', return_code2='0', energy_flux_error='4.84e-05', photon_flux_error2='9.20e-08', ts2='66.96', photon_index='1.99' WHERE bin_id='594' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:10:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 474882: <4FGL_J0428.6-3756_daily_bin594> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin594 67.173 -37.9403 393292801 393552001 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 :                                   620.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            865 sec.

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

