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


Performing analysis on: 4FGL_J1428.8+7429_daily_bin57
RA = 217.203, Dec = 74.485
tmin = 254102401, tmax = 254361601
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='528398', job_status='RUN', time_executed='2021-09-09 19:42:43.976195', time_epoch_executed='1631241763.98' WHERE source_name='4FGL J1428.8+7429' and cadence='daily' and bin_id='57'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/528398

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/528398/ft1_4FGL_J1428.8+7429_daily_bin57.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/528398/ft2_4FGL_J1428.8+7429_daily_bin57.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/528398/ft1_4FGL_J1428.8+7429_daily_bin57.fits outfile=/scratch/kocevski/528398/ft1_filteredMKT_4FGL_J1428.8+7429_daily_bin57.fits ra=217.203 dec=74.485 rad=12.0 tmin=254102401.0 tmax=254361601.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.02
user 1.84
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/528398/ft1_filtered_4FGL_J1428.8+7429_daily_bin57.fits" evtable="EVENTS" scfile=/scratch/kocevski/528398/ft2_4FGL_J1428.8+7429_daily_bin57.fits sctable="SC_DATA" outfile=/scratch/kocevski/528398/ltcube_254102401_254361601_4FGL_J1428.8+7429_daily_bin57.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/528398/ft2_4FGL_J1428.8+7429_daily_bin57.fits
.....................!
real 12.56
user 12.20
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/528398/ft1_filtered_4FGL_J1428.8+7429_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/528398/ft2_4FGL_J1428.8+7429_daily_bin57.fits sctable="SC_DATA" expcube=/scratch/kocevski/528398/ltcube_254102401_254361601_4FGL_J1428.8+7429_daily_bin57.fits outfile=/scratch/kocevski/528398/expmap_254102401_254361601_4FGL_J1428.8+7429_daily_bin57.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/528398/ltcube_254102401_254361601_4FGL_J1428.8+7429_daily_bin57.fits
.....................!
real 189.94
user 185.06
sys 4.51

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/528398/ft1_filtered_4FGL_J1428.8+7429_daily_bin57.fits scfile=/scratch/kocevski/528398/ft2_4FGL_J1428.8+7429_daily_bin57.fits outfile=/scratch/kocevski/528398/cmap_254102401_254361601_4FGL_J1428.8+7429_daily_bin57.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/528398/ft1_filtered_4FGL_J1428.8+7429_daily_bin57.fits scfile=/scratch/kocevski/528398/ft2_4FGL_J1428.8+7429_daily_bin57.fits outfile=/scratch/kocevski/528398/cmap_HighResolution_254102401_254361601_4FGL_J1428.8+7429_daily_bin57.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/528398/ft1_filtered_4FGL_J1428.8+7429_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/528398/ft2_4FGL_J1428.8+7429_daily_bin57.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/528398/Model_4FGL_J1428.8+7429_daily_bin57.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/528398/ft1_filtered_4FGL_J1428.8+7429_daily_bin57.fits.....................!
real 66.09
user 64.64
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96990E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.5063       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6942       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.721       1.0000         .10000E-03   10000.    
     6 'Prefactor '    66.192       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8353       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .38695E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10726E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.8685       1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.913       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.974       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.748       1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.761       1.0000         .10000E-03   10000.    
    22 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13826E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.2823       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2568       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .66645       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=   5988.290     FROM MIGRAD    STATUS=CONVERGED    684 CALLS     3479 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    7.4768        .32545E-06** at limit **
   2  Prefactor     .10000E-03    30.993        .24855E-05** at limit **
   3  norm          6.5068        5.0240       -.43019E-08   -.95706E-05
   4  norm          1.6930        3.5201        .41223E-06   -.23830E-03
   5  Prefactor     36.697        48.432       -.32617E-05   -.20234E-03
   6  Prefactor     66.205        74.166        .15899E-05    .73411E-04
   7  Prefactor     4.8351        10.630        .13864E-06   -.34439E-04
   8  Prefactor     .10000E-03    194.46        .35098E-06** at limit **
   9  Prefactor     .10000E-03    2.0576       -.37648E-07** at limit **
  10  Prefactor     .10000E-03    46.548        .16719E-05** at limit **
  11  Prefactor     .10000E-03    6.4982       -.20640E-07** at limit **
  12  Prefactor     6.8624        11.473        .36832E-05   -.35718E-03
  13  Prefactor     48.922        26.504       -.73346E-06   -.65499E-04
  14  Prefactor     .10000E-03    16.860        .30012E-07** at limit **
  15  Prefactor     .10000E-03    38.250       -.19618E-05** at limit **
  16  Prefactor     .10000E-03    6.7441        .24193E-07** at limit **
  17  Prefactor     27.981        26.543       -.23952E-06   -.15670E-04
  18  Prefactor     .10000E-03    45.400        .21033E-06** at limit **
  19  Prefactor     .10000E-03    23.600       -.39631E-06** at limit **
  20  Prefactor     16.753        15.984        .26367E-07   -.16050E-04
  21  Prefactor     20.762        21.262        .81829E-08   -.11494E-05
  22  norm          .10000E-03    41.856       -.13009E-05** at limit **
  23  Prefactor     .10000E-03    36.985       -.14771E-05** at limit **
  24  Prefactor     .10000E-03    158.16       -.90270E-06** at limit **
  25  Prefactor     .10000E-03    1.8062       -.18807E-06** at limit **
  26  Prefactor     6.3004        19.183       -.21709E-06   -.66171E-04
  27  Normalizat    1.2565        .17238       -.26788E-06   -.46430E-04
  28  Prefactor     .66659        .13470       -.18253E-06   -.45018E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100095
  Prefactor  = 0.000100002
  norm       = 6.50676
  norm       = 1.69296
  Prefactor  = 36.6968
  Prefactor  = 66.2051
  Prefactor  = 4.83507
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.86236
  Prefactor  = 48.9221
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 27.9813
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.7534
  Prefactor  = 20.7617
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.30045
  Normalizat = 1.25651
  Prefactor  = 0.666589
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.290     FROM HESSE     STATUS=OK           515 CALLS     3994 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10010E-03    64.552        .38243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    31.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.5068        5.0262        .14811E-03   -1.5198    
   4  norm          1.6930        3.3433        .19033E-03   -1.5448    
   5  Prefactor     36.697        50.342        .66137E-04   -1.4496    
   6  Prefactor     66.205        74.712        .49330E-04   -1.4079    
   7  Prefactor     4.8351        10.609        .18294E-03   -1.5268    
   8  Prefactor     .10000E-03    201.48        .42557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.0756        .10836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    48.209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.5470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8624        11.875        .76544E-03   -1.5184    
  13  Prefactor     48.922        26.551        .57337E-04   -1.4308    
  14  Prefactor     .10000E-03    16.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    38.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.7476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.981        26.590        .75746E-04   -1.4650    
  18  Prefactor     .10000E-03    45.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    23.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.753        16.034        .97868E-04   -1.4889    
  21  Prefactor     20.762        21.261        .87906E-04   -1.4796    
  22  norm          .10000E-03    43.080        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    37.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    159.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.7009        .19277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     6.3004        18.550        .16015E-03   -1.5206    
  27  Normalizat    1.2565        .19620        .22726E-03   -.84874    
  28  Prefactor     .66659        .15280        .24321E-03   -1.0485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39352e-09
Minuit parameter uncertainties:
  1  0.00496795
  2  0.000559816
  3  5.02655
  4  3.34362
  5  50.4001
  6  74.8177
  7  10.6128
  8  0.000328565
  9  1.71804e-06
  10  0.000458551
  11  6.24529e-06
  12  11.8792
  13  26.5579
  14  5.7336e-06
  15  0.00050267
  16  2.02116e-06
  17  26.6012
  18  5.22106e-05
  19  8.23093e-05
  20  16.0381
  21  21.269
  22  0.000270645
  23  0.000371915
  24  0.000493279
  25  8.50555e-05
  26  18.5667
  27  0.196313
  28  0.1529
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  5.027e-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:  6.666e-01  1.529e-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.257e+00  1.963e-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.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/528398/likelihoodResults_254102401_254361601_4FGL_J1428.8+7429_daily_bin57.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) = 5988.29048329
delta logL = -0.000123011772303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5988.29036034
delta logL = -5.79793777433e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9062       1.0000          .0000       10.000    
     3 'Normalizat'    1.2565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66659       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=   5988.290     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      372 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    227.00        .90712E-02** at limit **
   2  Index         1.8828        6.5753        .50000        .47380E-05
   3  Normalizat    1.2565        .11044E-01    .51402E-01    .97673E-04
   4  Prefactor     .66659        .89293E-02    .41955E-01   -.16074E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 1.8828
  Normalizat = 1.25651
  Prefactor  = 0.666588
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.290     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      403 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6853.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8828        8.8738        .50000       -.67314    
   3  Normalizat    1.2565        .55803E-01    .22726E-03   -.84874    
   4  Prefactor     .66659        .45112E-01    .24321E-03   -1.0485    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5101e-09
Minuit parameter uncertainties:
  1  0.00678018
  2  41.8668
  3  0.0558059
  4  0.0451147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/528398': 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) = 5988.29036031
delta logL = -2.77623257716e-08

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  6.780e-03  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.883e+00  4.187e+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:  6.666e-01  4.511e-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:  1.257e+00  5.581e-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/528398/cmap_HighResolution_254102401_254361601_4FGL_J1428.8+7429_daily_bin57.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-03', job_status='DONE', photon_flux_upper_limit='4.35e-08', time_completed='2021-09-09 19:57:32.326092', job_id='528398', GAL2='0.67', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1631242652.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='-2.78e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='57' AND source_name='4FGL J1428.8+7429' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 19:57:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 528398: <4FGL_J1428.8+7429_daily_bin57> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_daily_bin57 217.203 74.485 254102401 254361601 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 :                                   885.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             335.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            981 sec.

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

