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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin464
RA = 217.229, Dec = 54.1114
tmin = 359596801, tmax = 359856001
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='543399', job_status='RUN', time_executed='2021-09-09 20:31:40.142405', time_epoch_executed='1631244700.14' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='464'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/543399

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/543399/ft1_4FGL_J1428.9+5406_daily_bin464.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/543399/ft2_4FGL_J1428.9+5406_daily_bin464.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/543399/ft1_4FGL_J1428.9+5406_daily_bin464.fits outfile=/scratch/kocevski/543399/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin464.fits ra=217.229 dec=54.1114 rad=12.0 tmin=359596801.0 tmax=359856001.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.86
user 3.60
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/543399/ft2_4FGL_J1428.9+5406_daily_bin464.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/543399/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin464.fits evtable="EVENTS" outfile="/scratch/kocevski/543399/ft1_filtered_4FGL_J1428.9+5406_daily_bin464.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.51
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/543399/ft1_filtered_4FGL_J1428.9+5406_daily_bin464.fits" evtable="EVENTS" scfile=/scratch/kocevski/543399/ft2_4FGL_J1428.9+5406_daily_bin464.fits sctable="SC_DATA" outfile=/scratch/kocevski/543399/ltcube_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.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/543399/ft2_4FGL_J1428.9+5406_daily_bin464.fits
.....................!
real 12.93
user 11.95
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/543399/ft1_filtered_4FGL_J1428.9+5406_daily_bin464.fits evtable="EVENTS" scfile=/scratch/kocevski/543399/ft2_4FGL_J1428.9+5406_daily_bin464.fits sctable="SC_DATA" expcube=/scratch/kocevski/543399/ltcube_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.fits outfile=/scratch/kocevski/543399/expmap_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.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/543399/ltcube_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.fits
.....................!
real 190.65
user 184.98
sys 5.32

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/543399/ft1_filtered_4FGL_J1428.9+5406_daily_bin464.fits scfile=/scratch/kocevski/543399/ft2_4FGL_J1428.9+5406_daily_bin464.fits outfile=/scratch/kocevski/543399/cmap_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.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.53
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/543399/ft1_filtered_4FGL_J1428.9+5406_daily_bin464.fits scfile=/scratch/kocevski/543399/ft2_4FGL_J1428.9+5406_daily_bin464.fits outfile=/scratch/kocevski/543399/cmap_HighResolution_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.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.54
user 0.35
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/543399/ft1_filtered_4FGL_J1428.9+5406_daily_bin464.fits', '/scratch/kocevski/543399/ft2_4FGL_J1428.9+5406_daily_bin464.fits', expMap='/scratch/kocevski/543399/expmap_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.fits', expCube='/scratch/kocevski/543399/ltcube_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/543399/Model_4FGL_J1428.9+5406_daily_bin464.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/543399/ft1_filtered_4FGL_J1428.9+5406_daily_bin464.fits
Spacecraft file(s): /scratch/kocevski/543399/ft2_4FGL_J1428.9+5406_daily_bin464.fits
Exposure map: /scratch/kocevski/543399/expmap_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.fits
Exposure cube: /scratch/kocevski/543399/ltcube_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/543399/Model_4FGL_J1428.9+5406_daily_bin464.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) = 5715.28366321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.648       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.582       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2284       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.074       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.858       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5224       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.761       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14571E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3341       1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.451       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.337       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.300       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.020       1.0000         .10000E-03   10000.    
    23 'norm      '    .84394       1.0000         .10000E-03   10000.    
    24 'Prefactor '    15.180       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.0996       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .13189E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1256       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .79696       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.

 FCN=   5715.267     FROM MIGRAD    STATUS=CONVERGED    741 CALLS     3783 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.649        44.917        .67049E-07   -.30638E-05
   2  Prefactor     .10000E-03    19.042        .96808E-07** at limit **
   3  Prefactor     44.581        39.004        .38527E-07   -.52925E-05
   4  norm          3.2291        4.3289        .42574E-06   -.61399E-04
   5  Prefactor     18.073        25.258        .65916E-07   -.16251E-04
   6  Prefactor     .10001E-03    117.49        .30824E-05** at limit **
   7  norm          15.858        3.1390        .39180E-09   -.17387E-04
   8  norm          .10000E-03    25.971        .19688E-06** at limit **
   9  norm          3.5241        3.9457        .28936E-05   -.52191E-03
  10  Prefactor     .10005E-03    251.80       -.43049E-05** at limit **
  11  Prefactor     19.785        60.234       -.54616E-05    .86858E-06
  12  Prefactor     .10000E-03    56.474       -.36958E-06** at limit **
  13  Prefactor     .10000E-03    1.6851        .17916E-07** at limit **
  14  Prefactor     .10000E-03    21.625       -.46464E-06** at limit **
  15  Prefactor     1.3212        3.7094        .15337E-05   -.13192E-03
  16  Prefactor     34.496        33.106       -.13283E-05   -.62127E-04
  17  Prefactor     .10000E-03    33.066       -.17804E-09** at limit **
  18  Prefactor     34.354        52.558       -.46692E-06    .13938E-04
  19  Prefactor     18.295        36.672        .18290E-06   -.55661E-04
  20  Prefactor     .10000E-03    10.679        .17464E-06** at limit **
  21  Prefactor     .10000E-03    5.4300       -.26846E-08** at limit **
  22  Prefactor     10.020        13.559       -.22443E-06   -.38837E-04
  23  norm          .84454        1.6072        .48998E-06    .18256E-03
  24  Prefactor     15.182        11.122        .68703E-07   -.47201E-04
  25  Prefactor     4.0984        5.8644        .30191E-06    .23359E-05
  26  Prefactor     .10000E-03    3.1146       -.69787E-08** at limit **
  27  norm          .10000E-03    2.3331        .67965E-07** at limit **
  28  Normalizat    1.1259        .17876       -.10664E-05   -.11269E-03
  29  Prefactor     .79666        .20365        .13028E-06   -.11466E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.6487
  Prefactor  = 0.0001
  Prefactor  = 44.5813
  norm       = 3.22909
  Prefactor  = 18.0732
  Prefactor  = 0.000100011
  norm       = 15.8575
  norm       = 0.0001
  norm       = 3.52414
  Prefactor  = 0.000100046
  Prefactor  = 19.7848
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.32123
  Prefactor  = 34.4957
  Prefactor  = 0.0001
  Prefactor  = 34.3544
  Prefactor  = 18.2952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0201
  norm       = 0.844538
  Prefactor  = 15.1824
  Prefactor  = 4.09837
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.12587
  Prefactor  = 0.796658
 **********
 **   18 **HESSE 
 **********

 FCN=   5715.267     FROM HESSE     STATUS=OK           559 CALLS     4342 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.649        44.910        .62115E-04   -1.4416    
   2  Prefactor     .10000E-03    19.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.581        39.005        .60045E-04   -1.4372    
   4  norm          3.2291        4.3107        .17362E-03   -1.5349    
   5  Prefactor     18.073        25.256        .94210E-04   -1.4857    
   6  Prefactor     .10001E-03    118.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.858        3.1406        .57402E-04   -1.4911    
   8  norm          .10000E-03    25.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5241        3.8911        .74843E-03   -1.5332    
  10  Prefactor     .10005E-03    250.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.785        58.735        .90101E-04   -1.4818    
  12  Prefactor     .10000E-03    56.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.6899        .95835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.3212        3.5346        .19189E-03   -1.5478    
  16  Prefactor     34.496        32.819        .68274E-04   -1.4533    
  17  Prefactor     .10000E-03    33.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.354        52.488        .68387E-04   -1.4535    
  19  Prefactor     18.295        36.663        .93626E-04   -1.4852    
  20  Prefactor     .10000E-03    10.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.4319        .17206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.020        13.423        .12659E-03   -1.5075    
  23  norm          .84454        1.4861        .12382E-02   -1.5524    
  24  Prefactor     15.182        11.118        .10280E-03   -1.4928    
  25  Prefactor     4.0984        5.8402        .19911E-03   -1.5303    
  26  Prefactor     .10000E-03    3.1269        .13022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    4.2990        .22482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1259        .21098        .21975E-03   -.88925    
  29  Prefactor     .79666        .23955        .29840E-03   -.99852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15303e-10
Minuit parameter uncertainties:
  1  44.946
  2  3.98299e-05
  3  39.0276
  4  4.31106
  5  25.2707
  6  0.00229807
  7  3.14063
  8  0.000106396
  9  3.89139
  10  0.00681498
  11  58.9074
  12  0.000616389
  13  1.0217e-06
  14  0.000146235
  15  3.53512
  16  32.8361
  17  1.27565e-05
  18  52.5587
  19  36.7076
  20  5.13496e-06
  21  1.19446e-06
  22  13.4271
  23  1.48619
  24  11.1198
  25  5.84101
  26  2.21999e-06
  27  8.77437e-07
  28  0.211143
  29  0.239864
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.000e-04  1.276e-05  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:  7.967e-01  2.399e-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:  1.126e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 8.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/543399/likelihoodResults_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.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): 102
logL (Free Index) = 5715.26757997
delta logL = -0.000143587060847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5715.26743653
delta logL = -1.48175786308e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4987       1.0000          .0000       10.000    
     3 'Normalizat'    1.1259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79667       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=   5715.267     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      237 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6901.9        .90712E-02** at limit **
   2  Index         2.5240        6.4566        .50000       -.74664E-05
   3  Normalizat    1.1259        .63321E-01    .37033E-01    .33675E-04
   4  Prefactor     .79666        .73604E-01    .67447E-01    .30750E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.52401
  Normalizat = 1.12587
  Prefactor  = 0.796658
 **********
 **   18 **HESSE 
 **********

 FCN=   5715.267     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    79.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5240        5.8952        .50000       -.51806    
   3  Normalizat    1.1259        .20159        .21975E-03   -.88925    
   4  Prefactor     .79666        .23499        .29840E-03   -.99852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97266e-11
Minuit parameter uncertainties:
  1  0.000479349
  2  6.95568
  3  0.201732
  4  0.235288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/543399': 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) = 5715.26743647
delta logL = -8.56425685924e-08

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.000e-04  4.793e-04  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  2.524e+00  6.956e+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:  7.967e-01  2.353e-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:  1.126e+00  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 217.229 54.111

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/543399/cmap_HighResolution_359596801_359856001_4FGL_J1428.9+5406_daily_bin464.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='8.84e-08', time_completed='2021-09-09 20:46:31.545881', job_id='543399', GAL2='0.80', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1631245591.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='-8.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='464' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:46:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 543399: <4FGL_J1428.9+5406_daily_bin464> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin464> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 20:31:22 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:31:25 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:31:25 2021
Terminated at Thu Sep  9 20:46:32 2021
Results reported at Thu Sep  9 20:46:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin464 217.229 54.1114 359596801 359856001 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 :                                   885.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             366.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            910 sec.

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

