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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin37
RA = 217.229, Dec = 54.1114
tmin = 248918401, tmax = 249177601
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='542135', job_status='RUN', time_executed='2021-09-09 20:26:33.112085', time_epoch_executed='1631244393.11' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='37'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542135

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542135/ft1_4FGL_J1428.9+5406_daily_bin37.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542135/ft2_4FGL_J1428.9+5406_daily_bin37.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542135/ft1_4FGL_J1428.9+5406_daily_bin37.fits outfile=/scratch/kocevski/542135/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin37.fits ra=217.229 dec=54.1114 rad=12.0 tmin=248918401.0 tmax=249177601.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.96
user 1.75
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542135/ft2_4FGL_J1428.9+5406_daily_bin37.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/542135/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin37.fits evtable="EVENTS" outfile="/scratch/kocevski/542135/ft1_filtered_4FGL_J1428.9+5406_daily_bin37.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542135/ft1_filtered_4FGL_J1428.9+5406_daily_bin37.fits" evtable="EVENTS" scfile=/scratch/kocevski/542135/ft2_4FGL_J1428.9+5406_daily_bin37.fits sctable="SC_DATA" outfile=/scratch/kocevski/542135/ltcube_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.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/542135/ft2_4FGL_J1428.9+5406_daily_bin37.fits
.....................!
real 12.64
user 12.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542135/ft1_filtered_4FGL_J1428.9+5406_daily_bin37.fits evtable="EVENTS" scfile=/scratch/kocevski/542135/ft2_4FGL_J1428.9+5406_daily_bin37.fits sctable="SC_DATA" expcube=/scratch/kocevski/542135/ltcube_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.fits outfile=/scratch/kocevski/542135/expmap_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.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/542135/ltcube_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.fits
.....................!
real 189.95
user 185.31
sys 4.23

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J1428.9+5406 @ 217.229 54.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/542135/ft1_filtered_4FGL_J1428.9+5406_daily_bin37.fits scfile=/scratch/kocevski/542135/ft2_4FGL_J1428.9+5406_daily_bin37.fits outfile=/scratch/kocevski/542135/cmap_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=217.229 yref=54.1114 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.38
sys 0.14

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

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

This is gtbin version HEAD
real 0.53
user 0.35
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542135/ft1_filtered_4FGL_J1428.9+5406_daily_bin37.fits', '/scratch/kocevski/542135/ft2_4FGL_J1428.9+5406_daily_bin37.fits', expMap='/scratch/kocevski/542135/expmap_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.fits', expCube='/scratch/kocevski/542135/ltcube_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542135/Model_4FGL_J1428.9+5406_daily_bin37.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.9+5406'

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  4.001e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/542135/ft1_filtered_4FGL_J1428.9+5406_daily_bin37.fits
Spacecraft file(s): /scratch/kocevski/542135/ft2_4FGL_J1428.9+5406_daily_bin37.fits
Exposure map: /scratch/kocevski/542135/expmap_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.fits
Exposure cube: /scratch/kocevski/542135/ltcube_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542135/Model_4FGL_J1428.9+5406_daily_bin37.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) = 3958.78482294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    84.463       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10508E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .18184E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    15.107       1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.201       1.0000         .10000E-03   10000.    
     6 'Prefactor '    48.232       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4849       1.0000         .10000E-03   10000.    
     8 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.083       1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.153       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.418       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.1020       1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.601       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.373       1.0000         .10000E-03   10000.    
    18 'Prefactor '    61.193       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13751E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .52247E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .81278       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .42448E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    17.967       1.0000         .10000E-03   10000.    
    27 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .80173       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .87678       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3958.671     FROM MIGRAD    STATUS=CONVERGED   1334 CALLS     4958 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     84.568        74.159        .21855E-03   -.35685E-04
   2  Prefactor     .10000E-03    93.133        .51020E-02** at limit **
   3  Prefactor     .10046E-03    102.00        .13165    ** at limit **
   4  norm          15.102        6.9746        .10305E-03   -.10238E-03
   5  Prefactor     33.127        91.529        .69544E-04   -.14304E-04
   6  Prefactor     48.279        58.235        .57738E-04    .13685E-04
   7  norm          1.4867        2.7090        .12609E-03    .29331E-03
   8  norm          .10000E-03    68.233        .18142E-02** at limit **
   9  norm          13.085        7.5283        .11074E-03   -.30284E-05
  10  Prefactor     49.042        792.26        .28599E-03   -.26038E-05
  11  Prefactor     .10000E-03    46.061        .18142E-02** at limit **
  12  Prefactor     64.426        55.087        .50000E-04    .40927E-05
  13  Prefactor     6.1009        5.9730        .14422E-03   -.24359E-04
  14  Prefactor     42.628        35.251        .61419E-04   -.78556E-04
  15  Prefactor     .10000E-03    2.1921        .89965E-03** at limit **
  16  Prefactor     .10000E-03    24.516        .18142E-02** at limit **
  17  Prefactor     17.383        31.449        .96092E-04    .30228E-04
  18  Prefactor     61.231        93.229        .51293E-04    .64609E-04
  19  Prefactor     .10000E-03    116.36        .18142E-02** at limit **
  20  Prefactor     .10451E-03    43.627        .80095E-01** at limit **
  21  Prefactor     .10000E-03    46.378        .36285E-03** at limit **
  22  Prefactor     .10000E-03    14.961        .18142E-02** at limit **
  23  norm          .81353        1.3680        .10542E-02    .18130E-02
  24  Prefactor     .10000E-03    82.295        .42577E-02** at limit **
  25  Prefactor     .10001E-03    30.990        .32906E-02** at limit **
  26  Prefactor     17.987        11.872        .94489E-04   -.37942E-03
  27  norm          .10000E-03    2.3740        .94538E-03** at limit **
  28  Normalizat    .80114        .26955        .24259E-03    .72028E-04
  29  Prefactor     .87744        .26661        .26180E-03    .87956E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 84.5681
  Prefactor  = 0.000100001
  Prefactor  = 0.000100464
  norm       = 15.1015
  Prefactor  = 33.1268
  Prefactor  = 48.279
  norm       = 1.48668
  norm       = 0.0001
  norm       = 13.0849
  Prefactor  = 49.0416
  Prefactor  = 0.0001
  Prefactor  = 64.4257
  Prefactor  = 6.1009
  Prefactor  = 42.6275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.3835
  Prefactor  = 61.2311
  Prefactor  = 0.000100002
  Prefactor  = 0.000104507
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.813533
  Prefactor  = 0.000100003
  Prefactor  = 0.000100013
  Prefactor  = 17.987
  norm       = 0.0001
  Normalizat = 0.801138
  Prefactor  = 0.877437
 **********
 **   18 **HESSE 
 **********

 FCN=   3958.671     FROM HESSE     STATUS=OK           545 CALLS     5503 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     84.568        74.110        .87419E-05   -1.3866    
   2  Prefactor     .10000E-03    94.263        .10204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10046E-03    100.69        .13263       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.102        6.9671        .41220E-05   -1.4931    
   5  Prefactor     33.127        91.628        .27817E-05   -1.4556    
   6  Prefactor     48.279        58.256        .23095E-05   -1.4317    
   7  norm          1.4867        2.7082        .50434E-05   -1.5464    
   8  norm          .10000E-03    68.235        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.085        7.5285        .44297E-05   -1.4984    
  10  Prefactor     49.042        792.86        .11440E-04   -1.4306    
  11  Prefactor     .10000E-03    46.065        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     64.426        55.086        .10000E-04   -1.4101    
  13  Prefactor     6.1009        5.9727        .57687E-05   -1.5214    
  14  Prefactor     42.628        35.254        .12284E-04   -1.4401    
  15  Prefactor     .10000E-03    2.1923        .17993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.518        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.383        31.446        .38437E-05   -1.4874    
  18  Prefactor     61.231        92.930        .10259E-04   -1.4141    
  19  Prefactor     .10000E-03    116.40        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10451E-03    36.833        .88712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    46.381        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .81353        1.3668        .21084E-03   -1.5528    
  24  Prefactor     .10000E-03    83.533        .85155E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    31.402        .65813E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     17.987        11.845        .37796E-05   -1.4859    
  27  norm          .10000E-03    2.3741        .18908E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .80114        .26995        .97038E-05   -1.0003    
  29  Prefactor     .87744        .26697        .10472E-04   -.96934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06008e-09
Minuit parameter uncertainties:
  1  74.1915
  2  0.000470583
  3  0.0136907
  4  6.96745
  5  92.0211
  6  58.3243
  7  2.70845
  8  0.000343078
  9  7.52906
  10  400.827
  11  3.83684e-05
  12  55.1293
  13  5.97327
  14  35.2717
  15  9.90978e-06
  16  2.39462e-05
  17  31.4757
  18  93.1513
  19  0.00105341
  20  0.025785
  21  0.000239481
  22  2.8234e-05
  23  1.36684
  24  0.00095385
  25  0.00128496
  26  11.8461
  27  9.61612e-07
  28  0.270402
  29  0.267366
Done.

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

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  1.738e+01  3.148e+01  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  8.774e-01  2.674e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  8.011e-01  2.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542135/likelihoodResults_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.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): 0
logL (Free Index) = 3958.55140053
delta logL = 0.119746564264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3958.55093257
delta logL = 0.120214530063

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0648       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2346       1.0000          .0000       10.000    
     3 'Normalizat'    .78755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88817       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3958.551     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      292 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0703        36.135        .13312E-03    .15120E-03
   2  Index         3.2337        2.1788        .82776E-02    .57802E-04
   3  Normalizat    .78738        .23022        .24445E-03   -.56483E-04
   4  Prefactor     .88827        .25707        .26035E-03   -.12657E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.07032
  Index      = 3.23369
  Normalizat = 0.787383
  Prefactor  = 0.888268
 **********
 **   18 **HESSE 
 **********

 FCN=   3958.551     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0703        25.178        .53248E-05   -1.5106    
   2  Index         3.2337        1.5462        .33110E-03   -.36106    
   3  Normalizat    .78738        .23046        .97779E-05   -1.0054    
   4  Prefactor     .88827        .25695        .10414E-04   -.96552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17973e-10
Minuit parameter uncertainties:
  1  25.2073
  2  1.57589
  3  0.230745
  4  0.257296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542135': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3958.55093158
delta logL = 0.120215514201

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  9.070e+00  2.521e+01  1.000e-04  1.000e+04 ( 1.000e-13)
347        Index:  3.234e+00  1.576e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  8.154e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  8.883e-01  2.573e-01  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  7.874e-01  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
Ra Dec: 217.229 54.111

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/542135/cmap_HighResolution_248918401_249177601_4FGL_J1428.9+5406_daily_bin37.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-09 20:39:15.083962', job_id='542135', GAL2='0.89', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1631245155.08', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.20e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='37' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:39:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 542135: <4FGL_J1428.9+5406_daily_bin37> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin37> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 20:26:13 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:26:14 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:26:14 2021
Terminated at Thu Sep  9 20:39:15 2021
Results reported at Thu Sep  9 20:39:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin37 217.229 54.1114 248918401 249177601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.9+5406 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   760.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            782 sec.

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

