aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 74 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7395
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0428.6-3756_daily_bin1722
RA = 67.173, Dec = -37.9403
tmin = 685670401, tmax = 685929601
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='229608', job_status='RUN', time_executed='2022-09-27 00:07:40.345110', time_epoch_executed='1664262460.35' WHERE source_name='4FGL J0428.6-3756' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229608

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229608/ft1_4FGL_J0428.6-3756_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229608/ft1_4FGL_J0428.6-3756_daily_bin1722.fits outfile=/scratch/kocevski/229608/ft1_filteredMKT_4FGL_J0428.6-3756_daily_bin1722.fits ra=67.173 dec=-37.9403 rad=12.0 tmin=685670401.0 tmax=685929601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.68
user 3.43
sys 0.23

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

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

Number of photons that the gtmktime cut: 526

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229608/ft1_filtered_4FGL_J0428.6-3756_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/229608/ltcube_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.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/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits
.....................!
real 12.76
user 12.34
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229608/ft1_filtered_4FGL_J0428.6-3756_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/229608/ltcube_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.fits outfile=/scratch/kocevski/229608/expmap_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.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/229608/ltcube_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.fits
.....................!
real 192.29
user 186.01
sys 5.81

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_8years/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/229608/ft1_filtered_4FGL_J0428.6-3756_daily_bin1722.fits scfile=/scratch/kocevski/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits outfile=/scratch/kocevski/229608/cmap_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229608/ft1_filtered_4FGL_J0428.6-3756_daily_bin1722.fits scfile=/scratch/kocevski/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits outfile=/scratch/kocevski/229608/cmap_HighResolution_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.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.56
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/229608/ft1_filtered_4FGL_J0428.6-3756_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229608/Model_4FGL_J0428.6-3756_daily_bin1722.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/229608/ft1_filtered_4FGL_J0428.6-3756_daily_bin1722.fits.....................!
real 121.82
user 120.03
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229608/ft1_filtered_4FGL_J0428.6-3756_daily_bin1722.fits', '/scratch/kocevski/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits', expMap='/scratch/kocevski/229608/expmap_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.fits', expCube='/scratch/kocevski/229608/ltcube_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229608/Model_4FGL_J0428.6-3756_daily_bin1722.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  0.000e+00  1.000e+06 ( 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 -5.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/229608/ft1_filtered_4FGL_J0428.6-3756_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/229608/ft2_4FGL_J0428.6-3756_daily_bin1722.fits
Exposure map: /scratch/kocevski/229608/expmap_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.fits
Exposure cube: /scratch/kocevski/229608/ltcube_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229608/Model_4FGL_J0428.6-3756_daily_bin1722.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) = 5708.06772984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44850E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.8796       1.0000          .0000       .10000E+07
     3 'Prefactor '    34.418       1.0000          .0000       .10000E+07
     4 'Prefactor '    .58145E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .78284       1.0000          .0000       .10000E+07
     6 'norm      '    14.353       1.0000          .0000       .10000E+07
     7 'Prefactor '    33.047       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.606       1.0000          .0000       .10000E+07
     9 'Prefactor '    .33332E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .92792       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4760       1.0000          .0000       .10000E+07
    12 'norm      '    13.437       1.0000          .0000       .10000E+07
    13 'norm      '    119.22       1.0000          .0000       .10000E+07
    14 'norm      '    1.9752       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.7840       1.0000          .0000       .10000E+07
    16 'Prefactor '    .52498E-02   1.0000          .0000       .10000E+07
    17 'norm      '    27.888       1.0000          .0000       .10000E+07
    18 'norm      '    .12934E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    53.789       1.0000          .0000       .10000E+07
    20 'Prefactor '    .29174E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.4007       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11102E-03   1.0000          .0000       .10000E+07
    23 'norm      '    6.5390       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0476       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90369       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=   5708.046     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     2094 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    5.0397       -.16537E-07** at limit **
   2  norm          1.8799        .94291       -.12248E-08   -.97977E-03
   3  Prefactor     34.456        1.6842        .16213E-07   -.17947    
   4  Prefactor     .23397E-05    71.771        .41272E-06** at limit **
   5  norm          .78268        .40042       -.17244E-07   -.14447E-01
   6  norm          14.392        9.1176        .15652E-07    .25342E-01
   7  Prefactor     33.703        5.2001       -.21258E-07    .20774    
   8  Prefactor     10.602        13.519        .50834E-07    .11576E-01
   9  Prefactor     .11102E-09    34.075       -.82580E-06** at limit **
  10  norm          .92782        .54858       -.33506E-07   -.15207E-01
  11  Prefactor     2.4820        4.0738        .76486E-07    .75452E-03
  12  norm          13.371        2.0067        .47894E-08   -.55583E-01
  13  norm          119.20        1.0443        .95697E-10    .66762E-01
  14  norm          1.9749        1.5569        .35218E-07    .22051E-02
  15  Prefactor     9.8001        4.4351       -.35280E-07    .49759E-03
  16  Prefactor     .16653E-09    6.0699       -.29996E-07** at limit **
  17  norm          27.880        7.2416       -.82991E-08   -.31528E-02
  18  norm           .0000        1.5772       -.43925E-07** at limit **
  19  Prefactor     53.845        1.2097       -.18344E-08   -.66267E-01
  20  Prefactor     .44409E-09    23.349        .39945E-06** at limit **
  21  Prefactor     2.4032        2.6153       -.49882E-07   -.24666E-02
  22  Prefactor      .0000        2.0419       -.50528E-07** at limit **
  23  norm          6.5430        3.2004        .30817E-08   -.13049E-02
  24  Normalizat    1.0462        .26751       -.25802E-05   -.30686E-03
  25  Prefactor     .90443        .26649       -.11138E-05   -.25923E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  norm       = 1.87994
  Prefactor  = 34.4559
  Prefactor  = 2.33968e-06
  norm       = 0.782676
  norm       = 14.3921
  Prefactor  = 33.7031
  Prefactor  = 10.6023
  Prefactor  = 1.11022e-10
  norm       = 0.927822
  Prefactor  = 2.48203
  norm       = 13.3708
  norm       = 119.198
  norm       = 1.97493
  Prefactor  = 9.80011
  Prefactor  = 1.66533e-10
  norm       = 27.8798
  norm       = 0
  Prefactor  = 53.8454
  Prefactor  = 4.44089e-10
  Prefactor  = 2.40321
  Prefactor  = 0
  norm       = 6.54296
  Normalizat = 1.04621
  Prefactor  = 0.904428
 **********
 **   18 **HESSE 
 **********

 FCN=   5708.046     FROM HESSE     STATUS=OK           485 CALLS     2579 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    4.9653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8799        .94367        .75906E-03   -1.5681    
   3  Prefactor     34.456        20.759        .17047E-03   -1.5591    
   4  Prefactor     .23397E-05    73.306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .78268        .40468        .54223E-03   -1.5690    
   6  norm          14.392        9.1287        .26412E-03   -1.5632    
   7  Prefactor     33.703        36.067        .17398E-03   -1.5592    
   8  Prefactor     10.602        13.639        .30741E-03   -1.5643    
   9  Prefactor     .11102E-09    33.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .92782        .54940        .43849E-03   -1.5689    
  11  Prefactor     2.4820        4.2556        .64950E-03   -1.5676    
  12  norm          13.371        12.600        .27299E-03   -1.5635    
  13  norm          119.20        149.26        .91592E-04   -1.5490    
  14  norm          1.9749        1.5653        .73737E-03   -1.5680    
  15  Prefactor     9.8001        4.5508        .32012E-03   -1.5645    
  16  Prefactor     .16653E-09    6.0635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          27.880        7.2643        .18940E-03   -1.5602    
  18  norm           .0000        1.5808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     53.845        52.780        .13636E-03   -1.5561    
  20  Prefactor     .44409E-09    23.307        .16494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.4032        2.6270        .66059E-03   -1.5677    
  22  Prefactor      .0000        2.0402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.5430        3.2079        .39222E-03   -1.5657    
  24  Normalizat    1.0462        .22073        .61973E-01   -.91498    
  25  Prefactor     .90443        .21704        .68735E-01   -.95987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16614e-06
Minuit parameter uncertainties:
  1  4.52944e-05
  2  0.943673
  3  20.7585
  4  0.026193
  5  0.404679
  6  9.12874
  7  36.0669
  8  13.6391
  9  0.000111118
  10  0.549404
  11  4.25557
  12  12.5997
  13  149.264
  14  1.56535
  15  4.55084
  16  5.86589e-05
  17  7.26435
  18  2.58907e-06
  19  52.7802
  20  0.000201173
  21  2.62697
  22  1.60575e-06
  23  3.20789
  24  0.220921
  25  0.217246
Done.

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

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  9.278e-01  5.494e-01  0.000e+00  1.000e+06 ( 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 -5.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:  9.044e-01  2.172e-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.046e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.97
Ra Dec: 67.173 -37.940
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 5.10e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 1.73e-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) = 5707.21969878
delta logL = 0.826518686308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5707.15468721
delta logL = 0.891530254436

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68003       1.0000          .0000       .10000E+07
     2 'alpha     '    1.2959       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0701       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89593       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=   5707.155     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67950        .43129        .62344E-03   -.19550E-02
   2  alpha         1.2956        .35397        .27895       -.41238E-04
   3  Normalizat    1.0700        .20627        .61369E-01    .11490E-04
   4  Prefactor     .89605        .21545        .69050E-01    .15622E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.679497
  alpha      = 1.29559
  Normalizat = 1.06997
  Prefactor  = 0.896052
 **********
 **   18 **HESSE 
 **********

 FCN=   5707.155     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67950        .54251        .36722E-05   -1.5691    
   2  alpha         1.2956        .47715        .11415E-01   -.50267    
   3  Normalizat    1.0700        .25174        .27143E-03   -.90722    
   4  Prefactor     .89605        .26292        .30547E-03   -.96279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31656e-09
Minuit parameter uncertainties:
  1  0.542514
  2  0.481006
  3  0.252025
  4  0.263291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229608': 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) = 5707.15468665
delta logL = 0.891530812597

Extracting fit parameters...

4FGL J0428.6-3756
   Spectrum: LogParabola
257         norm:  6.795e-01  5.425e-01  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  1.296e+00  4.810e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  8.169e-02  0.000e+00 -5.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.961e-01  2.633e-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.070e+00  2.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.74
Ra Dec: 67.173 -37.940
Photon Index (Free Index): 1.30 +/- 0.48
Photon Flux (Free Index): 2.41e-08 +/- 1.96e-08
Energy Flux (Free Index): 7.25e-05 +/- 7.18e-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/229608/cmap_HighResolution_685670401_685929601_4FGL_J0428.6-3756_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.10e-08', energy_flux2='7.25e-05', photon_flux_error='3.02e-08', dlogl='8.92e-01', energy_flux='2.93e-05', photon_flux2='2.41e-08', job_status='DONE', time_completed='2022-09-27 00:18:12.499520', photon_index_error2='0.48', photon_index2='1.30', ts='10.97', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='7.18e-05', EG='1.05', time_epoch_completed='1664263092.5', return_code='0', job_id='229608', GAL2='0.90', EG2='1.07', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='1.96e-08', ts2='12.74', photon_index='1.99' WHERE bin_id='1722' AND source_name='4FGL J0428.6-3756' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 00:18:12 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 229526: <4FGL_J0428.6-3756_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin1722> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 27 00:05:18 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:05:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:05:56 2022
Terminated at Tue Sep 27 00:18:02 2022
Results reported at Tue Sep 27 00:18:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1722 67.173 -37.9403 685670401 685929601 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 :                                   637.00 sec.
    Max Memory :                                 1224 MB
    Average Memory :                             349.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            764 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 229608: <4FGL_J0428.6-3756_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0428.6-3756_daily_bin1722> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 27 00:05:23 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:06:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:06:14 2022
Terminated at Tue Sep 27 00:18:13 2022
Results reported at Tue Sep 27 00:18:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0428.6-3756_daily_bin1722 67.173 -37.9403 685670401 685929601 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 :                                   633.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            770 sec.

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

