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


Performing analysis on: 4FGL_J0428.6-3756_daily_bin150
RA = 67.173, Dec = -37.9403
tmin = 278208001, tmax = 278467201
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='471954', job_status='RUN', time_executed='2021-08-20 16:48:32.323604', time_epoch_executed='1629503312.32' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/471954

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/471954/ft1_4FGL_J0428.6-3756_daily_bin150.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/471954/ft2_4FGL_J0428.6-3756_daily_bin150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/471954/ft1_4FGL_J0428.6-3756_daily_bin150.fits outfile=/scratch/kocevski/471954/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin150.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=278208001.0 tmax=278467201.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.59
user 5.09
sys 0.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/471954/ft1_filtered_4FGL_J0428.6-3756_daily_bin150.fits" evtable="EVENTS" scfile=/scratch/kocevski/471954/ft2_4FGL_J0428.6-3756_daily_bin150.fits sctable="SC_DATA" outfile=/scratch/kocevski/471954/ltcube_278208001_278467201_4FGL_J0428.6-3756_daily_bin150.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/471954/ft2_4FGL_J0428.6-3756_daily_bin150.fits
.....................!
real 11.82
user 11.21
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/471954/ft1_filtered_4FGL_J0428.6-3756_daily_bin150.fits evtable="EVENTS" scfile=/scratch/kocevski/471954/ft2_4FGL_J0428.6-3756_daily_bin150.fits sctable="SC_DATA" expcube=/scratch/kocevski/471954/ltcube_278208001_278467201_4FGL_J0428.6-3756_daily_bin150.fits outfile=/scratch/kocevski/471954/expmap_278208001_278467201_4FGL_J0428.6-3756_daily_bin150.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/471954/ltcube_278208001_278467201_4FGL_J0428.6-3756_daily_bin150.fits
.....................!
real 192.53
user 186.59
sys 5.58

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/471954/ft1_filtered_4FGL_J0428.6-3756_daily_bin150.fits scfile=/scratch/kocevski/471954/ft2_4FGL_J0428.6-3756_daily_bin150.fits outfile=/scratch/kocevski/471954/cmap_278208001_278467201_4FGL_J0428.6-3756_daily_bin150.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 0.73
user 0.38
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/471954/ft1_filtered_4FGL_J0428.6-3756_daily_bin150.fits scfile=/scratch/kocevski/471954/ft2_4FGL_J0428.6-3756_daily_bin150.fits outfile=/scratch/kocevski/471954/cmap_HighResolution_278208001_278467201_4FGL_J0428.6-3756_daily_bin150.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 0.75
user 0.38
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/471954/ft1_filtered_4FGL_J0428.6-3756_daily_bin150.fits evtable="EVENTS" scfile=/scratch/kocevski/471954/ft2_4FGL_J0428.6-3756_daily_bin150.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/471954/Model_4FGL_J0428.6-3756_daily_bin150.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/471954/ft1_filtered_4FGL_J0428.6-3756_daily_bin150.fits.....................!
real 101.45
user 99.67
sys 1.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1140       1.0000         .10000E-03   10000.    
     2 'norm      '    5.9130       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    84.359       1.0000         .10000E-03   10000.    
     5 'norm      '    .51300       1.0000         .10000E-03   10000.    
     6 'norm      '    .35613E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1738       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.228       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8710       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1509       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .14167E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10715E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.8203       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1228       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.897       1.0000         .10000E-03   10000.    
    18 'norm      '    7.2959       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.179       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.645       1.0000         .10000E-03   10000.    
    21 'Prefactor '    143.92       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .35150E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.726       1.0000         .10000E-03   10000.    
    24 'norm      '    .87493       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.5625       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .39022       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=   4462.963     FROM MIGRAD    STATUS=CONVERGED    630 CALLS     3139 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1155        6.5747       -.46260E-06    .15703E-03
   2  norm          5.9137        1.9196        .16392E-07   -.14247E-04
   3  Prefactor     .10000E-03    27.606       -.16807E-06** at limit **
   4  Prefactor     84.376        138.25       -.29918E-05   -.86358E-05
   5  norm          .51333        .43690       -.98016E-08    .29330E-03
   6  norm          .10000E-03    44.612       -.53129E-05** at limit **
   7  Prefactor     3.1665        76.374       -.12880E-05    .85381E-05
   8  Prefactor     10.241        22.952        .45860E-06    .33269E-04
   9  Prefactor     3.8683        20.013       -.14346E-05    .22077E-04
  10  norm          4.1511        1.3410        .26975E-07    .25652E-04
  11  Prefactor     .10000E-03    1.8375        .17071E-07** at limit **
  12  norm          .10000E-03    13.714        .62589E-06** at limit **
  13  norm          .10000E-03    165.61        .14462E-05** at limit **
  14  norm          7.8198        3.3724        .85293E-07   -.24143E-04
  15  Prefactor     8.1239        6.5372        .86808E-08    .90160E-04
  16  Prefactor     .10000E-03    20.303        .61958E-06** at limit **
  17  norm          12.895        6.9518        .81240E-07    .31198E-04
  18  norm          7.2922        9.4055       -.18626E-06    .80161E-04
  19  Prefactor     17.180        56.032       -.61370E-06    .20254E-05
  20  Prefactor     15.651        11.116       -.30979E-07    .41734E-04
  21  Prefactor     143.92        77.998        .15366E-06    .33591E-04
  22  Prefactor     .10000E-03    2.7243       -.92876E-07** at limit **
  23  Prefactor     14.720        9.2727        .74580E-06    .37844E-03
  24  norm          .87776        3.3689       -.15721E-05    .10909E-03
  25  Normalizat    1.5618        .27799       -.14426E-06    .96874E-04
  26  Prefactor     .39072        .25019        .17350E-05    .47456E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.11552
  norm       = 5.91367
  Prefactor  = 0.0001
  Prefactor  = 84.3763
  norm       = 0.513334
  norm       = 0.0001
  Prefactor  = 3.16646
  Prefactor  = 10.2414
  Prefactor  = 3.86826
  norm       = 4.15106
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.81977
  Prefactor  = 8.1239
  Prefactor  = 0.0001
  norm       = 12.8946
  norm       = 7.29223
  Prefactor  = 17.1805
  Prefactor  = 15.651
  Prefactor  = 143.921
  Prefactor  = 0.0001
  Prefactor  = 14.7202
  norm       = 0.877759
  Normalizat = 1.56185
  Prefactor  = 0.390723
 **********
 **   18 **HESSE 
 **********

 FCN=   4462.963     FROM HESSE     STATUS=OK           470 CALLS     3609 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1155        6.5979        .19875E-03   -1.5302    
   2  norm          5.9137        1.9221        .49243E-04   -1.5222    
   3  Prefactor     .10000E-03    27.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     84.376        139.07        .43736E-04   -1.3868    
   5  norm          .51333        .41166        .37122E-03   -1.5565    
   6  norm          .10000E-03    44.679        .40587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.1665        76.801        .22748E-03   -1.5352    
   8  Prefactor     10.241        22.648        .12529E-03   -1.5068    
   9  Prefactor     3.8683        19.859        .20509E-03   -1.5315    
  10  norm          4.1511        1.3602        .35210E-04   -1.5300    
  11  Prefactor     .10000E-03    1.8508        .88250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    60.117        .43270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    165.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.8198        3.3681        .70552E-04   -1.5149    
  15  Prefactor     8.1239        6.3823        .11204E-03   -1.5138    
  16  Prefactor     .10000E-03    20.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.895        6.9503        .11154E-03   -1.4990    
  18  norm          7.2922        9.3390        .14849E-03   -1.5168    
  19  Prefactor     17.180        56.010        .96632E-04   -1.4879    
  20  Prefactor     15.651        11.191        .10126E-03   -1.4917    
  21  Prefactor     143.92        77.944        .16793E-03   -1.3303    
  22  Prefactor     .10000E-03    5.1608        .21200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     14.720        9.2734        .10437E-03   -1.4940    
  24  norm          .87776        3.3560        .21219E-03   -1.5521    
  25  Normalizat    1.5618        .31180        .24988E-03   -.76055    
  26  Prefactor     .39072        .26916        .44954E-03   -1.1728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38412e-10
Minuit parameter uncertainties:
  1  6.59902
  2  1.92213
  3  1.77762e-05
  4  139.609
  5  0.411667
  6  0.000197061
  7  31.2334
  8  22.6669
  9  17.5384
  10  1.36018
  11  1.95143e-07
  12  0.000178963
  13  5.64195e-05
  14  3.36817
  15  6.38287
  16  5.27119e-05
  17  6.95074
  18  9.34087
  19  56.1826
  20  11.1927
  21  77.9997
  22  4.32227e-05
  23  9.27432
  24  3.35674
  25  0.312189
  26  0.270034
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.151e+00  1.360e+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:  3.907e-01  2.700e-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.562e+00  3.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 43.32
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.28e-07 +/- 7.48e-08
Energy Flux (Fixed Index): 1.31e-04 +/- 4.29e-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) = 4462.96024418
delta logL = 0.00291956346791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4462.95996281
delta logL = 0.00320093635037

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1321       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0149       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5583       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .39270       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=   4462.960     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      195 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1321        1.4884        .49575E-02    .50515E-05
   2  alpha         2.0149        .31746        .14268       -.17511E-04
   3  Normalizat    1.5583        .26015        .56561E-01    .22223E-04
   4  Prefactor     .39270        .24794        .10110        .24868E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.1321
  alpha      = 2.01492
  Normalizat = 1.55829
  Prefactor  = 0.392701
 **********
 **   18 **HESSE 
 **********

 FCN=   4462.960     FROM HESSE     STATUS=OK            29 CALLS      224 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1321        1.1406        .35019E-04   -1.5301    
   2  alpha         2.0149        .24979        .61486E-02   -.19527    
   3  Normalizat    1.5583        .27905        .25008E-03   -.76153    
   4  Prefactor     .39270        .26414        .44844E-03   -1.1718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22245e-11
Minuit parameter uncertainties:
  1  1.1406
  2  0.250227
  3  0.279324
  4  0.264961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/471954': 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) = 4462.95996281
delta logL = 0.00320093656774

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  4.132e+00  1.141e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.015e+00  2.502e-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:  3.927e-01  2.650e-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.558e+00  2.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 43.10
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 2.01 +/- 0.25
Photon Flux (Free Index): 2.32e-07 +/- 7.78e-08
Energy Flux (Free Index): 1.29e-04 +/- 4.54e-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/471954/cmap_HighResolution_278208001_278467201_4FGL_J0428.6-3756_daily_bin150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.28e-07', energy_flux2='1.29e-04', photon_flux_error='7.48e-08', dlogl='3.20e-03', energy_flux='1.31e-04', photon_flux2='2.32e-07', job_status='DONE', time_completed='2021-08-20 16:58:58.657420', photon_index_error2='0.25', photon_index2='2.01', ts='43.32', fit_tolerance='1e-08', GAL='0.39', photon_index_error='0.00', energy_flux_error2='4.54e-05', EG='1.56', time_epoch_completed='1629503938.66', return_code='0', job_id='471954', GAL2='0.39', EG2='1.56', return_code2='0', energy_flux_error='4.29e-05', photon_flux_error2='7.78e-08', ts2='43.10', photon_index='1.99' WHERE bin_id='150' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 16:58:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 471954: <4FGL_J0428.6-3756_daily_bin150> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin150 67.173 -37.9403 278208001 278467201 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 :                                   628.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

