/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 104 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 = 7483
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0428.6-3756_daily_bin365
RA = 67.173, Dec = -37.9403
tmin = 333936001, tmax = 334195201
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='473369', job_status='RUN', time_executed='2021-08-20 16:53:32.337436', time_epoch_executed='1629503612.34' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/473369

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/473369/ft1_4FGL_J0428.6-3756_daily_bin365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/473369/ft2_4FGL_J0428.6-3756_daily_bin365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/473369/ft1_4FGL_J0428.6-3756_daily_bin365.fits outfile=/scratch/kocevski/473369/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin365.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=333936001.0 tmax=334195201.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 7.10
user 3.29
sys 3.74

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/473369/ft1_filtered_4FGL_J0428.6-3756_daily_bin365.fits" evtable="EVENTS" scfile=/scratch/kocevski/473369/ft2_4FGL_J0428.6-3756_daily_bin365.fits sctable="SC_DATA" outfile=/scratch/kocevski/473369/ltcube_333936001_334195201_4FGL_J0428.6-3756_daily_bin365.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/473369/ft2_4FGL_J0428.6-3756_daily_bin365.fits
.....................!
real 15.97
user 11.64
sys 4.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/473369/ft1_filtered_4FGL_J0428.6-3756_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/473369/ft2_4FGL_J0428.6-3756_daily_bin365.fits sctable="SC_DATA" expcube=/scratch/kocevski/473369/ltcube_333936001_334195201_4FGL_J0428.6-3756_daily_bin365.fits outfile=/scratch/kocevski/473369/expmap_333936001_334195201_4FGL_J0428.6-3756_daily_bin365.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/473369/ltcube_333936001_334195201_4FGL_J0428.6-3756_daily_bin365.fits
.....................!
real 196.26
user 186.60
sys 9.31

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/473369/ft1_filtered_4FGL_J0428.6-3756_daily_bin365.fits scfile=/scratch/kocevski/473369/ft2_4FGL_J0428.6-3756_daily_bin365.fits outfile=/scratch/kocevski/473369/cmap_333936001_334195201_4FGL_J0428.6-3756_daily_bin365.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=67.173 yref=-37.9403 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 3.98
user 0.37
sys 3.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/473369/ft1_filtered_4FGL_J0428.6-3756_daily_bin365.fits scfile=/scratch/kocevski/473369/ft2_4FGL_J0428.6-3756_daily_bin365.fits outfile=/scratch/kocevski/473369/cmap_HighResolution_333936001_334195201_4FGL_J0428.6-3756_daily_bin365.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 4.02
user 0.37
sys 3.62

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/473369/ft1_filtered_4FGL_J0428.6-3756_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/473369/ft2_4FGL_J0428.6-3756_daily_bin365.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/473369/Model_4FGL_J0428.6-3756_daily_bin365.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/473369/ft1_filtered_4FGL_J0428.6-3756_daily_bin365.fits.....................!
real 120.87
user 114.83
sys 5.83

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3432       1.0000         .10000E-03   10000.    
     2 'norm      '    4.0322       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    91.399       1.0000         .10000E-03   10000.    
     5 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.9204       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.776       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0338       1.0000         .10000E-03   10000.    
    10 'norm      '    .91908       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    124.13       1.0000         .10000E-03   10000.    
    14 'norm      '    3.1682       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7980       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.461       1.0000         .10000E-03   10000.    
    17 'norm      '    .30963E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .18690E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0780       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.222       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .23527E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    9.5811       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1546       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0701       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5387.553     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     2609 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3438        3.8883       -.85878E-07   -.31523E-04
   2  norm          4.0327        1.6320        .82348E-08    .48526E-04
   3  Prefactor     .10000E-03    6.5072       -.10761E-05** at limit **
   4  Prefactor     91.401        1.0436       -.47424E-08   -.18811E-02
   5  norm          .10000E-03    .16633       -.56970E-07** at limit **
   6  norm          9.9200        1.0210       -.78062E-08   -.14063E-04
   7  Prefactor     .10002E-03    31.100       -.16507E-05** at limit **
   8  Prefactor     10.768        1.2222        .31124E-07   -.75452E-03
   9  Prefactor     1.0473        1.4278       -.73766E-07    .14380E-03
  10  norm          .91865        .55713       -.16094E-07    .24950E-05
  11  Prefactor     .10000E-03    1.0775        .31690E-07** at limit **
  12  norm          .10000E-03    3.7063       -.13202E-06** at limit **
  13  norm          124.13        1.0994        .63542E-08    .33252E-02
  14  norm          3.1674        2.0058        .12709E-06   -.28024E-05
  15  Prefactor     7.7990        4.1833        .36767E-07    .56236E-03
  16  Prefactor     21.469        3.4295       -.17641E-06   -.59132E-02
  17  norm          .10000E-03    13.154       -.11208E-05** at limit **
  18  norm          .10009E-03    99.701        .84695E-05** at limit **
  19  Prefactor     6.0786        1.0051       -.18785E-08   -.84736E-04
  20  Prefactor     13.221        1.0217       -.74309E-08    .41304E-04
  21  Prefactor     .10000E-03    18.577       -.18575E-05** at limit **
  22  Prefactor     .10000E-03    2.0235       -.31685E-06** at limit **
  23  Prefactor     .10000E-03    12.026        .13605E-06** at limit **
  24  norm          9.5774        3.8315       -.21442E-06   -.60125E-04
  25  Normalizat    1.1542        .26247        .19696E-05    .35486E-04
  26  Prefactor     1.0702        .26973       -.93037E-06    .23364E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.3438
  norm       = 4.03271
  Prefactor  = 0.0001
  Prefactor  = 91.4008
  norm       = 0.0001
  norm       = 9.91998
  Prefactor  = 0.000100021
  Prefactor  = 10.7682
  Prefactor  = 1.04728
  norm       = 0.918653
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 124.129
  norm       = 3.16736
  Prefactor  = 7.79898
  Prefactor  = 21.4694
  norm       = 0.000100004
  norm       = 0.000100091
  Prefactor  = 6.07861
  Prefactor  = 13.2215
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.57735
  Normalizat = 1.15425
  Prefactor  = 1.07019
 **********
 **   18 **HESSE 
 **********

 FCN=   5387.553     FROM HESSE     STATUS=OK           540 CALLS     3149 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3438        3.9157        .66957E-02   -1.5402    
   2  norm          4.0327        1.6365        .50204E-02   -1.5306    
   3  Prefactor     .10000E-03    6.5040        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     91.401        107.38        .10508E-02   -1.3793    
   5  norm          .10000E-03    .13891        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.9200        8.6947        .31806E-02   -1.5078    
   7  Prefactor     .10002E-03    31.270        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.768        14.066        .30512E-02   -1.5052    
   9  Prefactor     1.0473        7.7615        .94592E-01   -1.5503    
  10  norm          .91865        .59609        .93258E-02   -1.5516    
  11  Prefactor     .10000E-03    1.0716        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.6977        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          124.13        136.53        .90318E-03   -1.3475    
  14  norm          3.1674        1.9974        .56924E-02   -1.5352    
  15  Prefactor     7.7990        4.4424        .35899E-02   -1.5149    
  16  Prefactor     21.469        24.592        .21615E-02   -1.4781    
  17  norm          .10000E-03    2.5965        .68869E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10009E-03    9.6033        .57167E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.0786        179.59        .40713E-02   -1.5215    
  20  Prefactor     13.221        7.3094        .27539E-02   -1.4981    
  21  Prefactor     .10000E-03    18.616        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.9997        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.7194        .61857E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          9.5774        3.9413        .32367E-02   -1.5089    
  25  Normalizat    1.1542        .22722        .61436E-01   -.88029    
  26  Prefactor     1.0702        .22389        .66407E-01   -.90425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16833e-07
Minuit parameter uncertainties:
  1  3.91615
  2  1.63648
  3  8.70113e-06
  4  107.61
  5  7.66042e-08
  6  8.69581
  7  0.0016082
  8  14.0699
  9  5.70288
  10  0.59609
  11  1.60705e-07
  12  1.08137e-06
  13  136.874
  14  1.99744
  15  4.44264
  16  24.604
  17  0.000212346
  18  0.00186969
  19  66.2992
  20  7.30993
  21  0.000350929
  22  2.43362e-06
  23  6.04492e-05
  24  3.94137
  25  0.227419
  26  0.224088
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  9.187e-01  5.961e-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.070e+00  2.241e-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.154e+00  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.96
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 5.05e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 2.90e-05 +/- 1.88e-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) = 5387.54142093
delta logL = 0.0116710867851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5387.54120083
delta logL = 0.0118911857335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .91580       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9162       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0685       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=   5387.541     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .91590        17.781        .94221E-02   -.20137E-04
   2  alpha         1.9160        2.5321        .33614       -.28798E-05
   3  Normalizat    1.1581        .23595        .61348E-01    .82605E-05
   4  Prefactor     1.0685        .21132        .66458E-01    .95270E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.915905
  alpha      = 1.91604
  Normalizat = 1.15811
  Prefactor  = 1.06846
 **********
 **   18 **HESSE 
 **********

 FCN=   5387.541     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .91590        .56166        .41326E-04   -1.5517    
   2  alpha         1.9160        .50614        .13133E-01   -.23576    
   3  Normalizat    1.1581        .25562        .27134E-03   -.87907    
   4  Prefactor     1.0685        .26751        .29398E-03   -.90481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88076e-12
Minuit parameter uncertainties:
  1  0.561659
  2  0.509874
  3  0.255894
  4  0.267844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/473369': 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) = 5387.54120078
delta logL = 0.0118912403268

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  9.159e-01  5.617e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.916e+00  5.099e-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.068e+00  2.678e-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.158e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.97
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.92 +/- 0.51
Photon Flux (Free Index): 4.65e-08 +/- 3.79e-08
Energy Flux (Free Index): 3.09e-05 +/- 2.33e-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/473369/cmap_HighResolution_333936001_334195201_4FGL_J0428.6-3756_daily_bin365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.05e-08', energy_flux2='3.09e-05', photon_flux_error='3.28e-08', dlogl='1.19e-02', energy_flux='2.90e-05', photon_flux2='4.65e-08', job_status='DONE', time_completed='2021-08-20 17:05:06.649460', photon_index_error2='0.51', photon_index2='1.92', ts='10.96', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='2.33e-05', EG='1.15', time_epoch_completed='1629504306.65', return_code='0', job_id='473369', GAL2='1.07', EG2='1.16', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='3.79e-08', ts2='10.97', photon_index='1.99' WHERE bin_id='365' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:05:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 473369: <4FGL_J0428.6-3756_daily_bin365> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin365> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 20 16:50:38 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 16:50:39 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:50:39 2021
Terminated at Fri Aug 20 17:05:08 2021
Results reported at Fri Aug 20 17:05:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin365 67.173 -37.9403 333936001 334195201 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 :                                   748.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            870 sec.

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

