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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin477
RA = 217.203, Dec = 74.485
tmin = 362966401, tmax = 363225601
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='532857', job_status='RUN', time_executed='2021-09-09 19:56:22.692528', time_epoch_executed='1631242582.69' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='477'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532857

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532857/ft1_4FGL_J1428.8+7429_daily_bin477.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532857/ft1_4FGL_J1428.8+7429_daily_bin477.fits outfile=/scratch/kocevski/532857/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin477.fits ra=217.203 dec=74.485 rad=12.0 tmin=362966401.0 tmax=363225601.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 6.07
user 5.83
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.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/532857/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin477.fits evtable="EVENTS" outfile="/scratch/kocevski/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.fits" evtable="EVENTS" scfile=/scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits sctable="SC_DATA" outfile=/scratch/kocevski/532857/ltcube_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.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/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits
.....................!
real 10.88
user 10.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.fits evtable="EVENTS" scfile=/scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits sctable="SC_DATA" expcube=/scratch/kocevski/532857/ltcube_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.fits outfile=/scratch/kocevski/532857/expmap_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.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/532857/ltcube_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.fits
.....................!
real 189.80
user 183.76
sys 5.56

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/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.fits scfile=/scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits outfile=/scratch/kocevski/532857/cmap_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.fits scfile=/scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits outfile=/scratch/kocevski/532857/cmap_HighResolution_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.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.53
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.fits evtable="EVENTS" scfile=/scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/532857/Model_4FGL_J1428.8+7429_daily_bin477.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/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.fits....................!
real 70.64
user 69.22
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.fits', '/scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits', expMap='/scratch/kocevski/532857/expmap_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.fits', expCube='/scratch/kocevski/532857/ltcube_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/532857/Model_4FGL_J1428.8+7429_daily_bin477.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/532857/ft1_filtered_4FGL_J1428.8+7429_daily_bin477.fits
Spacecraft file(s): /scratch/kocevski/532857/ft2_4FGL_J1428.8+7429_daily_bin477.fits
Exposure map: /scratch/kocevski/532857/expmap_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.fits
Exposure cube: /scratch/kocevski/532857/ltcube_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/532857/Model_4FGL_J1428.8+7429_daily_bin477.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) = 6680.29692162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93003       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10475E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.879       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .82506       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0868       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.960       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.733       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.163       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12732E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.8109       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .13552E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.749       1.0000         .10000E-03   10000.    
    22 'norm      '    1.9083       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    21.912       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.9486       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .55814       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2532       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=   6680.282     FROM MIGRAD    STATUS=CONVERGED    685 CALLS     3508 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91457        6.6128        .17177E-05   -.36559E-03
   2  Prefactor     .10000E-03    90.905        .20593E-06** at limit **
   3  norm          .10000E-03    1.2272        .74451E-07** at limit **
   4  norm          .10000E-03    2.5691       -.88955E-06** at limit **
   5  Prefactor     .10000E-03    65.369        .51891E-06** at limit **
   6  Prefactor     40.781        49.602       -.44840E-06   -.12149E-03
   7  Prefactor     .77854        7.8980       -.38958E-08   -.35610E-04
   8  Prefactor     .10000E-03    31.414       -.93593E-08** at limit **
   9  Prefactor     2.0800        4.3665        .86223E-06    .28306E-04
  10  Prefactor     17.959        17.652       -.69802E-07   -.17758E-04
  11  Prefactor     .10000E-03    11.291       -.56750E-06** at limit **
  12  Prefactor     .10000E-03    3.8050       -.12216E-07** at limit **
  13  Prefactor     .10000E-03    5.3755       -.42400E-06** at limit **
  14  Prefactor     15.708        37.381       -.32325E-06   -.22726E-04
  15  Prefactor     .10000E-03    47.493       -.11118E-06** at limit **
  16  Prefactor     13.162        18.476        .17229E-06   -.16352E-05
  17  Prefactor     .10000E-03    70.893        .21826E-05** at limit **
  18  Prefactor     7.8118        28.108        .33393E-05   -.83527E-05
  19  Prefactor     .10000E-03    23.262        .27463E-06** at limit **
  20  Prefactor     .10000E-03    11.984       -.20789E-06** at limit **
  21  Prefactor     23.732        30.428        .30238E-06   -.13346E-04
  22  norm          1.8671        69.789       -.54686E-05   -.28189E-04
  23  Prefactor     .10000E-03    106.12       -.14468E-06** at limit **
  24  Prefactor     21.909        41.203        .29404E-07   -.26010E-05
  25  Prefactor     5.9478        3.6820        .15974E-05   -.16318E-04
  26  Prefactor     .10000E-03    18.905       -.88342E-06** at limit **
  27  Normalizat    .55818        .16417       -.20631E-05   -.34229E-04
  28  Prefactor     1.2532        .14016        .69588E-06   -.10940E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.914567
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.7806
  Prefactor  = 0.778543
  Prefactor  = 0.0001
  Prefactor  = 2.07997
  Prefactor  = 17.9589
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7076
  Prefactor  = 0.0001
  Prefactor  = 13.1619
  Prefactor  = 0.0001
  Prefactor  = 7.81177
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.7324
  norm       = 1.86715
  Prefactor  = 0.0001
  Prefactor  = 21.9089
  Prefactor  = 5.94777
  Prefactor  = 0.000100001
  Normalizat = 0.558183
  Prefactor  = 1.25323
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.282     FROM HESSE     STATUS=OK           521 CALLS     4029 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91457        28.666        .34763E-02   -1.5517    
   2  Prefactor     .10000E-03    91.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2322        .88422E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.0893        .23062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    65.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.781        49.732        .62695E-04   -1.4430    
   7  Prefactor     .77854        23.730        .43389E-02   -1.5532    
   8  Prefactor     .10000E-03    31.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.0800        4.3296        .22636E-03   -1.5420    
  10  Prefactor     17.959        17.688        .94507E-04   -1.4860    
  11  Prefactor     .10000E-03    11.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.8280        .15563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.3802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.708        37.368        .10098E-03   -1.4915    
  15  Prefactor     .10000E-03    47.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.162        18.477        .11040E-03   -1.4982    
  17  Prefactor     .10000E-03    72.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.8118        28.075        .71738E-03   -1.5149    
  19  Prefactor     .10000E-03    23.289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.732        30.376        .82195E-04   -1.4733    
  22  norm          1.8671        70.126        .30097E-03   -1.5435    
  23  Prefactor     .10000E-03    106.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     21.909        41.209        .85567E-04   -1.4771    
  25  Prefactor     5.9478        3.7039        .55986E-03   -1.5220    
  26  Prefactor     .10000E-03    19.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .55818        .18040        .30613E-03   -1.0979    
  28  Prefactor     1.2532        .15592        .18969E-03   -.84709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43402e-08
Minuit parameter uncertainties:
  1  10.2452
  2  0.000147315
  3  7.05951e-07
  4  3.00792e-05
  5  0.000163826
  6  49.7827
  7  8.59969
  8  5.4316e-05
  9  4.33024
  10  17.6932
  11  6.20543e-05
  12  5.34309e-06
  13  3.20248e-06
  14  37.4234
  15  0.000144632
  16  18.4849
  17  0.000282845
  18  28.1221
  19  0.00010062
  20  1.59772e-05
  21  30.3957
  22  22.9138
  23  0.000290885
  24  41.2626
  25  3.70403
  26  0.000220649
  27  0.180589
  28  0.15598
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.446e-04  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.253e+00  1.560e-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:  5.582e-01  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 217.203 74.485
Photon Flux Upper Limit: 4.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532857/likelihoodResults_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.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) = 6680.28179192
delta logL = -0.000100110783023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6680.28169181
delta logL = 2.77850631392e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9161       1.0000          .0000       10.000    
     3 'Normalizat'    .55818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2532       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.

 FCN=   6680.282     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      233 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    113.38        .90712E-02** at limit **
   2  Index         1.9247        5.4660        .50000       -.16668E-05
   3  Normalizat    .55818        .60515E-02    .69160E-01   -.52947E-04
   4  Prefactor     1.2532        .54594E-02    .33479E-01    .56827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Index      = 1.92471
  Normalizat = 0.558182
  Prefactor  = 1.25323
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.282     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      264 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    1281.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9247        7.2935        .50000       -.66246    
   3  Normalizat    .55818        .21289E-01    .30613E-03   -1.0979    
   4  Prefactor     1.2532        .19248E-01    .18969E-03   -.84709    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.64475e-09
Minuit parameter uncertainties:
  1  0.00760857
  2  20.9482
  3  0.0212892
  4  0.0192481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532857': 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) = 6680.2816918
delta logL = 1.69202394318e-08

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  7.609e-03  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.925e+00  2.095e+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.253e+00  1.925e-02  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:  5.582e-01  2.129e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 217.203 74.485

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/532857/cmap_HighResolution_362966401_363225601_4FGL_J1428.8+7429_daily_bin477.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2021-09-09 20:11:58.038212', job_id='532857', GAL2='1.25', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1631243518.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.69e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='477' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:11:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 532857: <4FGL_J1428.8+7429_daily_bin477> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin477> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 19:56:06 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 19:56:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 19:56:08 2021
Terminated at Thu Sep  9 20:11:58 2021
Results reported at Thu Sep  9 20:11:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin477 217.203 74.485 362966401 363225601 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 :                                   931.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             351.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            952 sec.

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

