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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1121
RA = 217.203, Dec = 74.485
tmin = 529891201, tmax = 530150401
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='537326', job_status='RUN', time_executed='2021-09-09 20:11:56.384286', time_epoch_executed='1631243516.38' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/537326

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/537326/ft1_4FGL_J1428.8+7429_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/537326/ft1_4FGL_J1428.8+7429_daily_bin1121.fits outfile=/scratch/kocevski/537326/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1121.fits ra=217.203 dec=74.485 rad=12.0 tmin=529891201.0 tmax=530150401.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.54
user 3.30
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.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/537326/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1121.fits evtable="EVENTS" outfile="/scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.fits" evtable="EVENTS" scfile=/scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits sctable="SC_DATA" outfile=/scratch/kocevski/537326/ltcube_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.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/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits
.....................!
real 12.14
user 11.74
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/537326/ltcube_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.fits outfile=/scratch/kocevski/537326/expmap_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.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/537326/ltcube_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.fits
.....................!
real 191.63
user 186.12
sys 5.14

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
Added 218 point sources and 0 extended sources

Setting source of interest to:
4FGL J1428.8+7429 @ 217.203 74.485

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.fits scfile=/scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits outfile=/scratch/kocevski/537326/cmap_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.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=217.203 yref=74.485 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.fits scfile=/scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits outfile=/scratch/kocevski/537326/cmap_HighResolution_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.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=217.203 yref=74.485 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/537326/Model_4FGL_J1428.8+7429_daily_bin1121.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 GAL_V02
Working on...
/scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.fits.....................!
real 88.11
user 86.25
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.fits', '/scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits', expMap='/scratch/kocevski/537326/expmap_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.fits', expCube='/scratch/kocevski/537326/ltcube_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/537326/Model_4FGL_J1428.8+7429_daily_bin1121.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.8+7429'

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.627e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/537326/ft1_filtered_4FGL_J1428.8+7429_daily_bin1121.fits
Spacecraft file(s): /scratch/kocevski/537326/ft2_4FGL_J1428.8+7429_daily_bin1121.fits
Exposure map: /scratch/kocevski/537326/expmap_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.fits
Exposure cube: /scratch/kocevski/537326/ltcube_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/537326/Model_4FGL_J1428.8+7429_daily_bin1121.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) = 8532.012203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.008       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2332       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9337       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.556       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8209       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16388E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.466       1.0000         .10000E-03   10000.    
    15 'Prefactor '    74.611       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.855       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.6325       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    8.8751       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .75047E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10559E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.1679       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.0321       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93335       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0850       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8531.976     FROM MIGRAD    STATUS=CONVERGED    647 CALLS     2930 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.011        9.6723       -.19332E-06   -.58431E-04
   2  Prefactor     .10000E-03    40.219        .38102E-05** at limit **
   3  norm          .10000E-03    1.5439        .10615E-07** at limit **
   4  norm          2.2329        2.7067       -.23976E-06   -.62320E-03
   5  Prefactor     .10000E-03    36.603        .31485E-04** at limit **
   6  Prefactor     .10000E-03    11.007        .48639E-05** at limit **
   7  Prefactor     3.9336        7.6826       -.44509E-06   -.16735E-03
   8  Prefactor     33.539        31.250       -.17066E-04   -.16192E-04
   9  Prefactor     5.8213        4.3486        .54507E-06   -.37961E-03
  10  Prefactor     .10000E-03    16.931       -.18916E-05** at limit **
  11  Prefactor     .10000E-03    10.187       -.12219E-05** at limit **
  12  Prefactor     .10000E-03    4.3019        .67208E-06** at limit **
  13  Prefactor     .10000E-03    11.472        .46214E-05** at limit **
  14  Prefactor     11.466        25.683        .11584E-06   -.60785E-05
  15  Prefactor     74.619        53.463        .72434E-05    .10127E-05
  16  Prefactor     .10000E-03    4.2126       -.55298E-06** at limit **
  17  Prefactor     18.859        20.069        .15338E-05    .13260E-04
  18  Prefactor     .10000E-03    9.9883       -.54286E-05** at limit **
  19  Prefactor     .10000E-03    14.854       -.64043E-05** at limit **
  20  Prefactor     8.6339        10.864       -.51299E-06   -.36821E-04
  21  Prefactor     .10000E-03    10.547        .21646E-05** at limit **
  22  norm          8.8751        11.089       -.20866E-07    .87298E-04
  23  Prefactor     .10008E-03    885.25       -.43444E-03** at limit **
  24  Prefactor     .10000E-03    43.755       -.33198E-04** at limit **
  25  Prefactor     3.1654        2.8911        .37106E-07    .44775E-03
  26  Prefactor     1.0328        16.597       -.17555E-05   -.22007E-04
  27  Normalizat    .93312        .14810        .87303E-06    .50878E-03
  28  Prefactor     1.0852        .12661        .42863E-06    .85206E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0107
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.23294
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.9336
  Prefactor  = 33.5386
  Prefactor  = 5.82128
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4663
  Prefactor  = 74.6185
  Prefactor  = 0.0001
  Prefactor  = 18.8587
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.63391
  Prefactor  = 0.0001
  norm       = 8.87508
  Prefactor  = 0.000100081
  Prefactor  = 0.0001
  Prefactor  = 3.16544
  Prefactor  = 1.03282
  Normalizat = 0.93312
  Prefactor  = 1.08516
 **********
 **   18 **HESSE 
 **********

 FCN=   8531.976     FROM HESSE     STATUS=OK           517 CALLS     3447 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.011        9.6233        .11106E-03   -1.4986    
   2  Prefactor     .10000E-03    40.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.5487        .11206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2329        2.6830        .15576E-03   -1.5409    
   5  Prefactor     .10000E-03    36.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9336        7.6708        .20340E-03   -1.5311    
   8  Prefactor     33.539        31.308        .69176E-04   -1.4549    
   9  Prefactor     5.8213        4.3367        .15685E-03   -1.5225    
  10  Prefactor     .10000E-03    17.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.466        25.672        .11831E-03   -1.5031    
  15  Prefactor     74.619        53.460        .23242E-03   -1.3978    
  16  Prefactor     .10000E-03    4.2143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.859        20.094        .92238E-04   -1.4839    
  18  Prefactor     .10000E-03    9.9953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.6339        10.869        .13643E-03   -1.5120    
  21  Prefactor     .10000E-03    10.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.8751        11.083        .13454E-03   -1.5112    
  23  Prefactor     .10008E-03    887.39        .20940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    44.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.1654        2.9647        .12640E-03   -1.5352    
  26  Prefactor     1.0328        108.63        .63932E-02   -1.5505    
  27  Normalizat    .93312        .16680        .26177E-03   -.95306    
  28  Prefactor     1.0852        .14277        .21406E-03   -.89942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.05809e-08
Minuit parameter uncertainties:
  1  9.62441
  2  2.81557e-05
  3  1.91833e-07
  4  2.68316
  5  0.000104154
  6  4.51538e-06
  7  7.67275
  8  31.3231
  9  4.33698
  10  0.000411337
  11  2.36946e-05
  12  1.1875e-05
  13  7.59746e-05
  14  25.6966
  15  53.4942
  16  1.11227e-06
  17  20.1009
  18  5.48725e-06
  19  4.02592e-06
  20  10.8715
  21  1.50826e-06
  22  11.0854
  23  0.0172304
  24  0.000260745
  25  2.96489
  26  21.2226
  27  0.166889
  28  0.142822
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  7.462e+01  5.349e+01  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.085e+00  1.428e-01  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  9.331e-01  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.13
Ra Dec: 217.203 74.485
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 1.91e-08 +/- 1.37e-08
Energy Flux (Fixed Index): 1.92e-05 +/- 1.37e-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) = 8531.96541898
delta logL = 0.0107251803092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8531.94669283
delta logL = 0.0294513363297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    92.207       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7296       1.0000          .0000       10.000    
     3 'Normalizat'    .93637       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0839       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8531.947     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      281 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     92.192        106.41        .20925E-03    .34989E-04
   2  Index         1.7293        .56966        .71128E-02    .50456E-04
   3  Normalizat    .93646        .15982        .26135E-03    .12180E-03
   4  Prefactor     1.0839        .14006        .21417E-03    .12612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 92.192
  Index      = 1.72933
  Normalizat = 0.936463
  Prefactor  = 1.08387
 **********
 **   18 **HESSE 
 **********

 FCN=   8531.947     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     92.192        98.396        .83700E-05   -1.3785    
   2  Index         1.7293        .52689        .28451E-03   -.71304    
   3  Normalizat    .93646        .15978        .10454E-04   -.95190    
   4  Prefactor     1.0839        .14013        .42835E-04   -.89984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74445e-11
Minuit parameter uncertainties:
  1  98.5707
  2  0.52861
  3  0.159863
  4  0.140176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/537326': 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) = 8531.94669222
delta logL = 0.029451942326

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  9.219e+01  9.857e+01  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.729e+00  5.286e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.084e+00  1.402e-01  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  9.365e-01  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.18
Ra Dec: 217.203 74.485
Photon Index (Free Index): 1.73 +/- 0.53
Photon Flux (Free Index): 1.61e-08 +/- 1.64e-08
Energy Flux (Free Index): 2.40e-05 +/- 2.89e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/537326/cmap_HighResolution_529891201_530150401_4FGL_J1428.8+7429_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.91e-08', energy_flux2='2.40e-05', photon_flux_error='1.37e-08', dlogl='2.95e-02', energy_flux='1.92e-05', photon_flux2='1.61e-08', job_status='DONE', time_completed='2021-09-09 20:27:34.528429', photon_index_error2='0.53', photon_index2='1.73', ts='7.13', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.89e-05', EG='0.93', time_epoch_completed='1631244454.53', return_code='0', job_id='537326', GAL2='1.08', EG2='0.94', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='1.64e-08', ts2='7.18', photon_index='1.86' WHERE bin_id='1121' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:27:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 537326: <4FGL_J1428.8+7429_daily_bin1121> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin1121> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 20:11:41 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:11:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 20:11:43 2021
Terminated at Thu Sep  9 20:27:35 2021
Results reported at Thu Sep  9 20:27:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1121 217.203 74.485 529891201 530150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.8+7429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   915.32 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             328.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            954 sec.

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

