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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin727
RA = 217.229, Dec = 54.1114
tmin = 427766401, tmax = 428025601
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='546199', job_status='RUN', time_executed='2021-09-09 20:41:33.500915', time_epoch_executed='1631245293.5' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/546199

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/546199/ft1_4FGL_J1428.9+5406_daily_bin727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/546199/ft1_4FGL_J1428.9+5406_daily_bin727.fits outfile=/scratch/kocevski/546199/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin727.fits ra=217.229 dec=54.1114 rad=12.0 tmin=427766401.0 tmax=428025601.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.42
user 5.15
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.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/546199/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin727.fits evtable="EVENTS" outfile="/scratch/kocevski/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.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.31
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.fits" evtable="EVENTS" scfile=/scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits sctable="SC_DATA" outfile=/scratch/kocevski/546199/ltcube_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.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/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits
.....................!
real 12.03
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.fits evtable="EVENTS" scfile=/scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits sctable="SC_DATA" expcube=/scratch/kocevski/546199/ltcube_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.fits outfile=/scratch/kocevski/546199/expmap_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.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/546199/ltcube_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.fits
.....................!
real 190.28
user 185.40
sys 4.48

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

Setting source of interest to:
4FGL J1428.9+5406 @ 217.229 54.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.fits scfile=/scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits outfile=/scratch/kocevski/546199/cmap_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.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.229 yref=54.1114 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/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.fits scfile=/scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits outfile=/scratch/kocevski/546199/cmap_HighResolution_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.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.229 yref=54.1114 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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.fits evtable="EVENTS" scfile=/scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/546199/Model_4FGL_J1428.9+5406_daily_bin727.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/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.fits.....................!
real 40.72
user 39.43
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.fits', '/scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits', expMap='/scratch/kocevski/546199/expmap_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.fits', expCube='/scratch/kocevski/546199/ltcube_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/546199/Model_4FGL_J1428.9+5406_daily_bin727.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.9+5406'

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  4.001e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/546199/ft1_filtered_4FGL_J1428.9+5406_daily_bin727.fits
Spacecraft file(s): /scratch/kocevski/546199/ft2_4FGL_J1428.9+5406_daily_bin727.fits
Exposure map: /scratch/kocevski/546199/expmap_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.fits
Exposure cube: /scratch/kocevski/546199/ltcube_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/546199/Model_4FGL_J1428.9+5406_daily_bin727.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) = 4313.39897878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39139E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14149E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.495       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0662       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.643       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19809E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    3.8804       1.0000         .10000E-03   10000.    
     8 'norm      '    .11573E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8314       1.0000         .10000E-03   10000.    
    10 'Prefactor '    296.84       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.164       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45422E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.680       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4897       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.816       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.8449       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27451E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.151       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.559       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.0150       1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.384       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.6591       1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.0315       1.0000         .10000E-03   10000.    
    27 'norm      '    1.0739       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .61738       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1733       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+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=   4313.055     FROM MIGRAD    STATUS=CONVERGED   1448 CALLS     3963 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.267        .19521E-02** at limit **
   2  Prefactor     .10000E-03    11.836        .18142E-02** at limit **
   3  Prefactor     51.035        44.688        .56436E-04    .67484E-04
   4  norm          3.0956        3.5240        .12720E-03    .23729E-03
   5  Prefactor     30.963        48.537        .72380E-04   -.19162E-04
   6  Prefactor     .10000E-03    51.951        .12251    ** at limit **
   7  norm          3.8969        2.1046        .67076E-04    .25373E-03
   8  norm          .10000E-03    30.737        .20663E-02** at limit **
   9  norm          2.8327        2.8447        .10730E-03    .54143E-04
  10  Prefactor     634.25        637.41        .11785E-03    .32028E-05
  11  Prefactor     15.237        66.935        .10643E-03    .21685E-04
  12  Prefactor     .10000E-03    99.266        .19332E-02** at limit **
  13  Prefactor     .10000E-03    1.8588        .87376E-03** at limit **
  14  Prefactor     31.730        23.286        .71188E-04    .94701E-04
  15  Prefactor     4.3809        4.7286        .10487E-03    .78593E-04
  16  Prefactor     19.661        42.307        .89976E-04    .11372E-05
  17  Prefactor     10.437        36.511        .13477E-03    .29608E-04
  18  Prefactor     .10000E-03    17.475        .21427E-02** at limit **
  19  Prefactor     34.004        48.918        .68572E-04    .20558E-04
  20  Prefactor     .10000E-03    4.0438        .12896E-02** at limit **
  21  Prefactor     30.281        21.816        .72479E-04    .27763E-04
  22  Prefactor     .10000E-03    6.3269        .16119E-02** at limit **
  23  norm          2.0248        1.4865        .66210E-04    .14698E-03
  24  Prefactor     14.217        10.069        .10561E-03    .54255E-04
  25  Prefactor     2.8383        7.4163        .24997E-03   -.20976E-03
  26  Prefactor     6.1037        7.2776        .16349E-03   -.20444E-04
  27  norm          1.1197        5.0740        .28427E-03   -.37773E-03
  28  Normalizat    .61656        .23870        .26056E-03    .21458E-03
  29  Prefactor     1.1633        .26907        .23543E-03    .12307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 51.035
  norm       = 3.09556
  Prefactor  = 30.9634
  Prefactor  = 0.000100003
  norm       = 3.89692
  norm       = 0.0001
  norm       = 2.83273
  Prefactor  = 634.253
  Prefactor  = 15.2375
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 31.7305
  Prefactor  = 4.38089
  Prefactor  = 19.6612
  Prefactor  = 10.4365
  Prefactor  = 0.0001
  Prefactor  = 34.0038
  Prefactor  = 0.0001
  Prefactor  = 30.2805
  Prefactor  = 0.0001
  norm       = 2.02479
  Prefactor  = 14.2173
  Prefactor  = 2.8383
  Prefactor  = 6.10369
  norm       = 1.11967
  Normalizat = 0.616559
  Prefactor  = 1.1633
 **********
 **   18 **HESSE 
 **********

 FCN=   4313.055     FROM HESSE     STATUS=OK           533 CALLS     4496 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.277        .39043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.838        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     51.035        44.684        .11287E-04   -1.4278    
   4  norm          3.0956        3.5238        .50881E-05   -1.5356    
   5  Prefactor     30.963        48.542        .28952E-05   -1.4594    
   6  Prefactor     .10000E-03    51.471        .12328       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8969        2.1046        .26830E-05   -1.5313    
   8  norm          .10000E-03    30.737        .41327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8327        2.8447        .42919E-05   -1.5371    
  10  Prefactor     634.25        637.41        .23569E-04   -1.0616    
  11  Prefactor     15.237        66.922        .42570E-05   -1.4927    
  12  Prefactor     .10000E-03    99.310        .38664E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.8588        .17475E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.730        23.290        .28475E-05   -1.4581    
  15  Prefactor     4.3809        4.7277        .41949E-05   -1.5289    
  16  Prefactor     19.661        42.330        .35990E-05   -1.4821    
  17  Prefactor     10.437        36.501        .53909E-05   -1.5062    
  18  Prefactor     .10000E-03    17.475        .42854E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.004        48.943        .27429E-05   -1.4541    
  20  Prefactor     .10000E-03    4.0438        .25792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     30.281        21.816        .14496E-04   -1.4607    
  22  Prefactor     .10000E-03    6.3271        .32239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.0248        1.4864        .26484E-05   -1.5423    
  24  Prefactor     14.217        10.069        .42244E-05   -1.4954    
  25  Prefactor     2.8383        7.4143        .99986E-05   -1.5371    
  26  Prefactor     6.1037        7.2772        .65396E-05   -1.5214    
  27  norm          1.1197        5.0723        .11371E-04   -1.5496    
  28  Normalizat    .61656        .23894        .10422E-04   -1.0729    
  29  Prefactor     1.1633        .26933        .47086E-04   -.87468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98496e-10
Minuit parameter uncertainties:
  1  0.000810991
  2  7.11448e-05
  3  44.7132
  4  3.52408
  5  48.604
  6  0.000747073
  7  2.10461
  8  7.69155e-07
  9  2.84482
  10  644.907
  11  63.9867
  12  0.00128589
  13  9.51041e-06
  14  23.2965
  15  4.7281
  16  42.3949
  17  36.5788
  18  4.71192e-05
  19  49.0006
  20  1.22008e-05
  21  21.8219
  22  2.62636e-05
  23  1.48647
  24  10.0704
  25  7.41674
  26  7.27827
  27  4.76672
  28  0.239338
  29  0.269652
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.044e+01  3.658e+01  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.163e+00  2.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  6.166e-01  2.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/546199/likelihoodResults_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.txt

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) = 4312.15861963
delta logL = 0.895951115928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4312.05100963
delta logL = 1.00356112181

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4312.051     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      364 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17277E-01    .26584        .15396E-02    .96847E-02
   2  Index         6.9004        3.0960        .12601        .14312E-03
   3  Normalizat    .55498        .46404E-01    .61703E-01    .24149E-04
   4  Prefactor     1.2186        .56456E-01    .52175E-01    .68270E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0172769
  Index      = 6.90037
  Normalizat = 0.554983
  Prefactor  = 1.21855
 **********
 **   18 **HESSE 
 **********

 FCN=   4312.051     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      399 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17277E-01    .59901        .69511E-04   -1.5682    
   2  Index         6.9004        7.9013        .49437E-02    .38988    
   3  Normalizat    .55498        .16342        .27301E-03   -1.0993    
   4  Prefactor     1.2186        .19714        .23067E-03   -.85762    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.42286e-10
Minuit parameter uncertainties:
  1  0.202873
  2  5.94391
  3  0.163558
  4  0.197255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/546199': 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): 102
logL (Free Index) = 4312.05100228
delta logL = 1.00356847097

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.728e-02  2.029e-01  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  6.900e+00  5.944e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  1.219e+00  1.973e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  5.550e-01  1.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.26
Ra Dec: 217.229 54.111
Photon Index (Free Index): 6.90 +/- 5.94
Photon Flux (Free Index): 5.77e-08 +/- 4.64e-08
Energy Flux (Free Index): 6.92e-06 +/- 6.17e-06

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/546199/cmap_HighResolution_427766401_428025601_4FGL_J1428.9+5406_daily_bin727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.54e-03', comment='SUCCESS', energy_flux2='6.92e-06', dlogl='1.00e+00', photon_flux2='5.77e-08', job_status='DONE', time_completed='2021-09-09 20:54:26.772757', photon_index_error2='5.94', photon_index2='6.90', ts='0.15', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='6.17e-06', EG='0.62', time_epoch_completed='1631246066.77', return_code='0', job_id='546199', GAL2='1.22', EG2='0.55', return_code2='102', photon_flux_error2='4.64e-08', ts2='2.26', photon_index='2.57' WHERE bin_id='727' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:54:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 546199: <4FGL_J1428.9+5406_daily_bin727> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 20:41:18 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:41:19 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:41:19 2021
Terminated at Thu Sep  9 20:54:27 2021
Results reported at Thu Sep  9 20:54:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin727 217.229 54.1114 427766401 428025601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.9+5406 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   769.05 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             295.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            789 sec.

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

