/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 81 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1428.8+7429_daily_bin88
RA = 217.203, Dec = 74.485
tmin = 262137601, tmax = 262396801
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='528442', job_status='RUN', time_executed='2021-09-09 19:42:47.261891', time_epoch_executed='1631241767.26' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/528442

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/528442/ft1_4FGL_J1428.8+7429_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/528442/ft2_4FGL_J1428.8+7429_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/528442/ft1_4FGL_J1428.8+7429_daily_bin88.fits outfile=/scratch/kocevski/528442/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin88.fits ra=217.203 dec=74.485 rad=12.0 tmin=262137601.0 tmax=262396801.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 1.44
user 1.25
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/528442/ft1_filtered_4FGL_J1428.8+7429_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/528442/ft2_4FGL_J1428.8+7429_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/528442/ltcube_262137601_262396801_4FGL_J1428.8+7429_daily_bin88.fits outfile=/scratch/kocevski/528442/expmap_262137601_262396801_4FGL_J1428.8+7429_daily_bin88.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/528442/ltcube_262137601_262396801_4FGL_J1428.8+7429_daily_bin88.fits
.....................!
real 191.02
user 185.37
sys 5.00

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/528442/ft1_filtered_4FGL_J1428.8+7429_daily_bin88.fits scfile=/scratch/kocevski/528442/ft2_4FGL_J1428.8+7429_daily_bin88.fits outfile=/scratch/kocevski/528442/cmap_262137601_262396801_4FGL_J1428.8+7429_daily_bin88.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/528442/ft1_filtered_4FGL_J1428.8+7429_daily_bin88.fits scfile=/scratch/kocevski/528442/ft2_4FGL_J1428.8+7429_daily_bin88.fits outfile=/scratch/kocevski/528442/cmap_HighResolution_262137601_262396801_4FGL_J1428.8+7429_daily_bin88.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.174       1.0000         .10000E-03   10000.    
     3 'norm      '    4.8249       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2873       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.155       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.1759       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2692       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13529E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25532E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    58.431       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .70552       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4862       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10631E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.819       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.0273       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .86986E-02   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1279       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .75171       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=   5978.203     FROM MIGRAD    STATUS=CONVERGED    738 CALLS     3622 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.298       -.25480E-06** at limit **
   2  Prefactor     33.185        53.520       -.18045E-06   -.14092E-05
   3  norm          4.8264        5.7641       -.74523E-06    .20340E-04
   4  norm          3.2878        2.9193       -.32056E-08    .19134E-04
   5  Prefactor     13.177        60.047        .14113E-05   -.64322E-06
   6  Prefactor     .10000E-03    11.547        .36420E-06** at limit **
   7  Prefactor     8.1751        11.064       -.41997E-06    .23757E-04
   8  Prefactor     .10000E-03    11.034       -.44685E-06** at limit **
   9  Prefactor     6.2619        6.3889       -.75533E-06    .62579E-04
  10  Prefactor     .10000E-03    5.9600       -.15546E-06** at limit **
  11  Prefactor     .10000E-03    12.700       -.47028E-06** at limit **
  12  Prefactor     .10002E-03    14.810       -.23516E-05** at limit **
  13  Prefactor     .10000E-03    6.7464       -.23988E-07** at limit **
  14  Prefactor     58.490        52.534        .83054E-06   -.12775E-04
  15  Prefactor     .10000E-03    84.122       -.70517E-06** at limit **
  16  Prefactor     .10000E-03    4.8249       -.36176E-07** at limit **
  17  Prefactor     .83877        155.60       -.70505E-05   -.61394E-04
  18  Prefactor     2.6233        211.85       -.54325E-05    .33322E-05
  19  Prefactor     .10000E-03    53.266        .39628E-06** at limit **
  20  Prefactor     14.826        20.793       -.25748E-06    .80957E-05
  21  Prefactor     .10000E-03    16.747        .14389E-07** at limit **
  22  norm          .10000E-03    9.1061        .14647E-07** at limit **
  23  Prefactor     .10000E-03    62.120        .86775E-07** at limit **
  24  Prefactor     .10000E-03    18.888       -.13981E-06** at limit **
  25  Prefactor     5.0244        4.0569       -.95976E-07    .58111E-03
  26  Prefactor     .10083E-03    56.739       -.39939E-05** at limit **
  27  Normalizat    1.1277        .17920        .12273E-05    .20501E-03
  28  Prefactor     .75170        .13694        .79856E-06    .20001E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 33.1848
  norm       = 4.82639
  norm       = 3.28776
  Prefactor  = 13.1767
  Prefactor  = 0.0001
  Prefactor  = 8.17507
  Prefactor  = 0.0001
  Prefactor  = 6.26189
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 58.49
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.838765
  Prefactor  = 2.62332
  Prefactor  = 0.0001
  Prefactor  = 14.8259
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.02441
  Prefactor  = 0.000100834
  Normalizat = 1.12772
  Prefactor  = 0.751702
 **********
 **   18 **HESSE 
 **********

 FCN=   5978.203     FROM HESSE     STATUS=OK           531 CALLS     4153 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.185        53.501        .69572E-04   -1.4555    
   3  norm          4.8264        5.7585        .18315E-03   -1.5269    
   4  norm          3.2878        2.9147        .11946E-03   -1.5345    
   5  Prefactor     13.177        59.731        .11044E-03   -1.4982    
   6  Prefactor     .10000E-03    11.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.1751        11.062        .14021E-03   -1.5136    
   8  Prefactor     .10000E-03    11.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.2619        6.5876        .16032E-03   -1.5207    
  10  Prefactor     .10000E-03    5.9709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    63.973        .44442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    55.688        .36443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.7553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     58.490        52.316        .52484E-04   -1.4177    
  15  Prefactor     .10000E-03    84.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.8255        .16588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .83877        191.71        .74911E-02   -1.5525    
  18  Prefactor     2.6233        213.35        .25925E-03   -1.5384    
  19  Prefactor     .10000E-03    53.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.826        20.899        .10404E-03   -1.4938    
  21  Prefactor     .10000E-03    16.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    9.1178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    62.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    18.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.0244        4.0522        .11616E-03   -1.5260    
  26  Prefactor     .10083E-03    39.905        .11732       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1277        .20897        .23388E-03   -.88867    
  28  Prefactor     .75170        .15832        .23084E-03   -1.0153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32456e-08
Minuit parameter uncertainties:
  1  3.76334e-05
  2  53.5781
  3  5.75911
  4  2.91483
  5  56.202
  6  3.46852e-05
  7  11.065
  8  2.07249e-05
  9  6.58834
  10  3.4404e-06
  11  0.000358941
  12  0.00217887
  13  6.12804e-06
  14  52.3571
  15  0.00013147
  16  9.97855e-07
  17  25.4424
  18  47.4902
  19  9.00941e-05
  20  20.9097
  21  2.15401e-05
  22  8.12452e-06
  23  3.6958e-05
  24  1.78171e-06
  25  4.05241
  26  0.011549
  27  0.20912
  28  0.158416
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.315e-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:  7.517e-01  1.584e-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:  1.128e+00  2.091e-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.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/528442/likelihoodResults_262137601_262396801_4FGL_J1428.8+7429_daily_bin88.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) = 5978.2028822
delta logL = -5.64429128644e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5978.20288219
delta logL = -5.64410065635e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8594       1.0000          .0000       10.000    
     3 'Normalizat'    1.1277       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75170       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=   5978.203     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      205 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.675        .90712E-02** at limit **
   2  Index         1.7989        5.3708        .50000        .41993E-05
   3  Normalizat    1.1277        .18669E-02    .52897E-01   -.51635E-04
   4  Prefactor     .75170        .15428E-02    .43085E-01    .23393E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.79887
  Normalizat = 1.12771
  Prefactor  = 0.751705
 **********
 **   18 **HESSE 
 **********

 FCN=   5978.203     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    191.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7989        5.3024        .50000       -.69479    
   3  Normalizat    1.1277        .61487E-02    .23388E-03   -.88867    
   4  Prefactor     .75170        .50817E-02    .23084E-03   -1.0153    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43961e-08
Minuit parameter uncertainties:
  1  0.00125265
  2  103.834
  3  0.00614872
  4  0.0050817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/528442': 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) = 5978.20282568
delta logL = 7.53107087803e-08

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  1.253e-03  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.799e+00  1.038e+02  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:  7.517e-01  5.082e-03  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:  1.128e+00  6.149e-03  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/528442/cmap_HighResolution_262137601_262396801_4FGL_J1428.8+7429_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-03', job_status='DONE', photon_flux_upper_limit='4.20e-08', time_completed='2021-09-09 19:57:29.306708', job_id='528442', GAL2='0.75', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1631242649.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='7.53e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='88' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 19:57:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 528442: <4FGL_J1428.8+7429_daily_bin88> in cluster <slac> Done

Job <4FGL_J1428.8+7429_daily_bin88> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 19:41:15 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 19:41:17 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:41:17 2021
Terminated at Thu Sep  9 19:57:30 2021
Results reported at Thu Sep  9 19:57:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin88 217.203 74.485 262137601 262396801 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 :                                   880.29 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             328.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            975 sec.

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

