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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin1081
RA = 217.203, Dec = 74.485
tmin = 519523201, tmax = 519782401
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='537261', job_status='RUN', time_executed='2021-09-09 20:11:44.167147', time_epoch_executed='1631243504.17' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='1081'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/537261

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

Retrieving the FT1 file...

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

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

Retrieving 37 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/537261/ft1_4FGL_J1428.8+7429_daily_bin1081.fits


Retrieving the FT1 file...

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

Retrieving 37 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/537261/ft2_4FGL_J1428.8+7429_daily_bin1081.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/537261/ft1_4FGL_J1428.8+7429_daily_bin1081.fits outfile=/scratch/kocevski/537261/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin1081.fits ra=217.203 dec=74.485 rad=12.0 tmin=519523201.0 tmax=519782401.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 2.93
user 2.71
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/537261/ft1_filtered_4FGL_J1428.8+7429_daily_bin1081.fits" evtable="EVENTS" scfile=/scratch/kocevski/537261/ft2_4FGL_J1428.8+7429_daily_bin1081.fits sctable="SC_DATA" outfile=/scratch/kocevski/537261/ltcube_519523201_519782401_4FGL_J1428.8+7429_daily_bin1081.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/537261/ft2_4FGL_J1428.8+7429_daily_bin1081.fits
.....................!
real 9.87
user 9.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/537261/ft1_filtered_4FGL_J1428.8+7429_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/537261/ft2_4FGL_J1428.8+7429_daily_bin1081.fits sctable="SC_DATA" expcube=/scratch/kocevski/537261/ltcube_519523201_519782401_4FGL_J1428.8+7429_daily_bin1081.fits outfile=/scratch/kocevski/537261/expmap_519523201_519782401_4FGL_J1428.8+7429_daily_bin1081.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/537261/ltcube_519523201_519782401_4FGL_J1428.8+7429_daily_bin1081.fits
.....................!
real 190.34
user 184.85
sys 5.12

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/537261/ft1_filtered_4FGL_J1428.8+7429_daily_bin1081.fits scfile=/scratch/kocevski/537261/ft2_4FGL_J1428.8+7429_daily_bin1081.fits outfile=/scratch/kocevski/537261/cmap_519523201_519782401_4FGL_J1428.8+7429_daily_bin1081.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/537261/ft1_filtered_4FGL_J1428.8+7429_daily_bin1081.fits scfile=/scratch/kocevski/537261/ft2_4FGL_J1428.8+7429_daily_bin1081.fits outfile=/scratch/kocevski/537261/cmap_HighResolution_519523201_519782401_4FGL_J1428.8+7429_daily_bin1081.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=217.203 yref=74.485 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.817       1.0000         .10000E-03   10000.    
     4 'norm      '    4.4387       1.0000         .10000E-03   10000.    
     5 'Prefactor '    165.43       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3299       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .98336       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5269       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.042       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.343       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20965E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.598       1.0000         .10000E-03   10000.    
    22 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    88.782       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.3897       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.1196       1.0000         .10000E-03   10000.    
    26 'Prefactor '    23.486       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0423       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0072       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=   6866.030     FROM MIGRAD    STATUS=CONVERGED    689 CALLS     3511 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0229        .11132E-06** at limit **
   2  Prefactor     .10000E-03    17.540        .21539E-05** at limit **
   3  norm          10.817        5.4411        .27843E-06   -.89291E-05
   4  norm          4.4389        3.6398        .10188E-06   -.93809E-04
   5  Prefactor     165.45        84.618       -.43472E-05   -.16191E-05
   6  Prefactor     .10000E-03    44.703       -.96367E-07** at limit **
   7  Prefactor     6.3324        18.817        .17570E-05   -.28600E-05
   8  Prefactor     .10000E-03    11.059        .11318E-06** at limit **
   9  Prefactor     .10000E-03    4.0189        .37619E-06** at limit **
  10  Prefactor     .10000E-03    4.0344        .45355E-07** at limit **
  11  Prefactor     .10000E-03    6.2716        .25228E-06** at limit **
  12  Prefactor     .10000E-03    2.8759        .16883E-06** at limit **
  13  Prefactor     .98390        12.236        .12507E-04    .20813E-03
  14  Prefactor     4.5313        41.697        .16477E-05    .11101E-04
  15  Prefactor     .10000E-03    43.451        .24397E-05** at limit **
  16  Prefactor     18.040        15.994       -.33954E-06   -.11262E-04
  17  Prefactor     19.327        28.327        .76631E-06   -.15782E-04
  18  Prefactor     .10000E-03    25.226        .90941E-06** at limit **
  19  Prefactor     .10000E-03    21.096       -.24251E-05** at limit **
  20  Prefactor     .10005E-03    93.601        .39186E-04** at limit **
  21  Prefactor     15.495        29.377       -.21566E-05   -.20963E-04
  22  norm          .10000E-03    13.744       -.46348E-06** at limit **
  23  Prefactor     88.786        138.42       -.60945E-06   -.40668E-05
  24  Prefactor     9.3813        28.672        .10841E-05   -.21519E-05
  25  Prefactor     6.1201        4.2120        .16839E-07    .99397E-05
  26  Prefactor     23.484        38.119        .11506E-05    .79006E-06
  27  Normalizat    1.0422        .16916       -.13466E-05   -.24653E-03
  28  Prefactor     1.0073        .14600       -.80533E-06   -.87935E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.8172
  norm       = 4.43889
  Prefactor  = 165.453
  Prefactor  = 0.0001
  Prefactor  = 6.33235
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.983896
  Prefactor  = 4.53127
  Prefactor  = 0.0001
  Prefactor  = 18.04
  Prefactor  = 19.3266
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100048
  Prefactor  = 15.4952
  norm       = 0.0001
  Prefactor  = 88.7862
  Prefactor  = 9.38132
  Prefactor  = 6.12006
  Prefactor  = 23.4838
  Normalizat = 1.04218
  Prefactor  = 1.00726
 **********
 **   18 **HESSE 
 **********

 FCN=   6866.030     FROM HESSE     STATUS=OK           521 CALLS     4032 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0378        .18123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.817        5.4451        .12182E-03   -1.5050    
   4  norm          4.4389        3.6339        .13653E-03   -1.5287    
   5  Prefactor     165.45        84.700        .15680E-03   -1.3128    
   6  Prefactor     .10000E-03    44.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.3324        18.826        .15954E-03   -1.5205    
   8  Prefactor     .10000E-03    11.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.1060        .16201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.0357        .16253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.3164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.8881        .13724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .98390        34.393        .26213E-02   -1.5510    
  14  Prefactor     4.5313        41.700        .18922E-03   -1.5282    
  15  Prefactor     .10000E-03    43.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.040        15.995        .94293E-04   -1.4858    
  17  Prefactor     19.327        28.396        .91069E-04   -1.4828    
  18  Prefactor     .10000E-03    25.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10005E-03    122.32        .49209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.495        29.535        .10141E-03   -1.4920    
  22  norm          .10000E-03    13.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     88.786        138.53        .42642E-04   -1.3821    
  24  Prefactor     9.3813        28.681        .13079E-03   -1.5095    
  25  Prefactor     6.1201        4.2034        .11519E-03   -1.5213    
  26  Prefactor     23.484        38.071        .82655E-04   -1.4738    
  27  Normalizat    1.0422        .19127        .25627E-03   -.91630    
  28  Prefactor     1.0073        .16498        .22575E-03   -.92488    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85338e-09
Minuit parameter uncertainties:
  1  4.49846e-06
  2  2.56813e-05
  3  5.44533
  4  3.63407
  5  84.7621
  6  0.000150824
  7  18.8433
  8  7.63772e-05
  9  0.000171413
  10  4.55246e-05
  11  0.000127753
  12  2.15824e-05
  13  11.6409
  14  27.5173
  15  7.07941e-05
  16  15.9988
  17  28.4163
  18  6.26075e-05
  19  1.7949e-05
  20  0.00483882
  21  29.5629
  22  5.79496e-05
  23  139.034
  24  28.7233
  25  4.20365
  26  38.1107
  27  0.191394
  28  0.165064
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  7.079e-05  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.007e+00  1.651e-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.042e+00  1.914e-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.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/537261/likelihoodResults_519523201_519782401_4FGL_J1428.8+7429_daily_bin1081.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) = 6866.0296957
delta logL = -0.000109451396384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6866.0295891
delta logL = -2.85182795778e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10773E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2381       1.0000          .0000       10.000    
     3 'Normalizat'    1.0422       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0073       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=   6866.030     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      248 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .22967E-02    .53469E-01** at limit **
   2  Index         3.1870        .21919        .50000        .25850E-04
   3  Normalizat    1.0422        .27192E-03    .41113E-01   -.96708E-06
   4  Prefactor     1.0073        .23708E-03    .43761E-01   -.35103E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 3.18702
  Normalizat = 1.04218
  Prefactor  = 1.00726
 **********
 **   18 **HESSE 
 **********

 FCN=   6866.030     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      283 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .90707        .12275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1870        .86470        .50000       -.37105    
   3  Normalizat    1.0422        .10780E-02    .25627E-03   -.91630    
   4  Prefactor     1.0073        .93986E-03    .22575E-03   -.92488    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.14939e-11
Minuit parameter uncertainties:
  1  6.93699e-05
  2  0.869738
  3  0.00107796
  4  0.000939858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/537261': 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) = 6866.02958848
delta logL = -2.23538154387e-06

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  6.937e-05  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  3.187e+00  8.697e-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.007e+00  9.399e-04  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.042e+00  1.078e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/537261/cmap_HighResolution_519523201_519782401_4FGL_J1428.8+7429_daily_bin1081.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2021-09-09 20:28:08.949396', job_id='537261', GAL2='1.01', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631244488.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-2.24e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1081' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:28:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 537261: <4FGL_J1428.8+7429_daily_bin1081> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin1081 217.203 74.485 519523201 519782401 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 :                                   977.28 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             338.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            996 sec.

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

