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


Performing analysis on: 4FGL_J1428.9+5406_daily_bin1200
RA = 217.229, Dec = 54.1114
tmin = 550368001, tmax = 550627201
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='549649', job_status='RUN', time_executed='2021-09-09 20:53:51.558418', time_epoch_executed='1631246031.56' WHERE source_name='4FGL J1428.9+5406' and cadence='daily' and bin_id='1200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549649

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549649/ft1_4FGL_J1428.9+5406_daily_bin1200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549649/ft1_4FGL_J1428.9+5406_daily_bin1200.fits outfile=/scratch/kocevski/549649/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1200.fits ra=217.229 dec=54.1114 rad=12.0 tmin=550368001.0 tmax=550627201.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 4.05
user 3.80
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.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/549649/ft1_filteredMKT_4FGL_J1428.9+5406_daily_bin1200.fits evtable="EVENTS" outfile="/scratch/kocevski/549649/ft1_filtered_4FGL_J1428.9+5406_daily_bin1200.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.50
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549649/ft1_filtered_4FGL_J1428.9+5406_daily_bin1200.fits" evtable="EVENTS" scfile=/scratch/kocevski/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.fits sctable="SC_DATA" outfile=/scratch/kocevski/549649/ltcube_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.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/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.fits
.....................!
real 15.43
user 15.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549649/ft1_filtered_4FGL_J1428.9+5406_daily_bin1200.fits evtable="EVENTS" scfile=/scratch/kocevski/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.fits sctable="SC_DATA" expcube=/scratch/kocevski/549649/ltcube_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.fits outfile=/scratch/kocevski/549649/expmap_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.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/549649/ltcube_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.fits
.....................!
real 196.16
user 191.50
sys 4.27

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/549649/ft1_filtered_4FGL_J1428.9+5406_daily_bin1200.fits scfile=/scratch/kocevski/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.fits outfile=/scratch/kocevski/549649/cmap_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549649/ft1_filtered_4FGL_J1428.9+5406_daily_bin1200.fits scfile=/scratch/kocevski/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.fits outfile=/scratch/kocevski/549649/cmap_HighResolution_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.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.55
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549649/ft1_filtered_4FGL_J1428.9+5406_daily_bin1200.fits', '/scratch/kocevski/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.fits', expMap='/scratch/kocevski/549649/expmap_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.fits', expCube='/scratch/kocevski/549649/ltcube_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549649/Model_4FGL_J1428.9+5406_daily_bin1200.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/549649/ft1_filtered_4FGL_J1428.9+5406_daily_bin1200.fits
Spacecraft file(s): /scratch/kocevski/549649/ft2_4FGL_J1428.9+5406_daily_bin1200.fits
Exposure map: /scratch/kocevski/549649/expmap_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.fits
Exposure cube: /scratch/kocevski/549649/ltcube_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549649/Model_4FGL_J1428.9+5406_daily_bin1200.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 44.20836797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 43.5630640111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1888       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5949       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.7514       1.0000         .10000E-03   10000.    
     4 'norm      '    2.3231       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7312       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5055       1.0000         .10000E-03   10000.    
     7 'norm      '    28.087       1.0000         .10000E-03   10000.    
     8 'norm      '    3.8570       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0332       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5156       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.2109       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5551       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1529       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6541       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3063       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.8051       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0012       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2851       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.1876       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.2044       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7328       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.4033       1.0000         .10000E-03   10000.    
    23 'norm      '    2.1179       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.1743       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.1271       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.5975       1.0000         .10000E-03   10000.    
    27 'norm      '    1.3703       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    29 'Prefactor '    .55956       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   43.52379     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      275 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    305.89        .33054E-02** at limit **
   2  Prefactor     .10009E-03    8227.6        .46944E-02** at limit **
   3  Prefactor     .10000E-03    268.08        .36007E-02** at limit **
   4  norm          .10000E-03    388.59        .67277E-02** at limit **
   5  Prefactor     7.7312        1.0021         .0000         .0000    
   6  Prefactor     4.5055        1.0063         .0000         .0000    
   7  norm          27.989        .99841        .50627E-04    .27557E-03
   8  norm          3.8570        1.0087         .0000         .0000    
   9  norm          2.0332        1.0340         .0000         .0000    
  10  Prefactor     7.5156        1.0022         .0000         .0000    
  11  Prefactor     5.2109        1.0047         .0000         .0000    
  12  Prefactor     5.5551        1.0041         .0000         .0000    
  13  Prefactor     .10001E-03    .28967       -.58780E-03** at limit **
  14  Prefactor     .10001E-03    .97826E-01   -.32324E-03** at limit **
  15  Prefactor     2.3063        1.0257         .0000         .0000    
  16  Prefactor     2.8051        1.0168         .0000         .0000    
  17  Prefactor     4.0012        1.0080         .0000         .0000    
  18  Prefactor     5.2851        1.0045         .0000         .0000    
  19  Prefactor     8.1876        1.0019         .0000         .0000    
  20  Prefactor     6.2044        1.0033         .0000         .0000    
  21  Prefactor     1.7328        1.0492         .0000         .0000    
  22  Prefactor     1.4033        1.0841         .0000         .0000    
  23  norm          2.1179        1.0310         .0000         .0000    
  24  Prefactor     2.1743        1.0292         .0000         .0000    
  25  Prefactor     2.1271        1.0307         .0000         .0000    
  26  Prefactor     1.5975        1.0600         .0000         .0000    
  27  norm          .10000E-03    .21676        .44132E-04** at limit **
  28  Normalizat    .10000E-01    .25505        .18775E-04** at limit **
  29  Prefactor     .56430        .90919       -.23376E-02    .15530E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 0.000100088
  Prefactor  = 0.000100001
  norm       = 0.000100005
  Prefactor  = 7.73116
  Prefactor  = 4.50549
  norm       = 27.9886
  norm       = 3.85705
  norm       = 2.03325
  Prefactor  = 7.51563
  Prefactor  = 5.21088
  Prefactor  = 5.55506
  Prefactor  = 0.000100006
  Prefactor  = 0.000100007
  Prefactor  = 2.30629
  Prefactor  = 2.80506
  Prefactor  = 4.00118
  Prefactor  = 5.28511
  Prefactor  = 8.18764
  Prefactor  = 6.20442
  Prefactor  = 1.73282
  Prefactor  = 1.40334
  norm       = 2.11794
  Prefactor  = 2.17435
  Prefactor  = 2.1271
  Prefactor  = 1.5975
  norm       = 0.000100002
  Normalizat = 0.01
  Prefactor  = 0.564296
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   43.52379     FROM HESSE     STATUS=FAILED        19 CALLS      294 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    305.89        .33054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10009E-03    8227.6        .46944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    268.08        .36007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    388.59        .67277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     507.34        499.58         .0000       -1.5152    
   6  Prefactor     4.5055        1.0063         .0000       -1.5283    
   7  norm          27.989        .99841        .50627E-04   -1.4649    
   8  norm          3.8570        1.0087         .0000       -1.5315    
   9  norm          2.0332        1.0340         .0000       -1.5423    
  10  Prefactor     7.5156        1.0022         .0000       -1.5160    
  11  Prefactor     5.2109        1.0047         .0000       -1.5251    
  12  Prefactor     5.5551        1.0041         .0000       -1.5237    
  13  Prefactor     .10001E-03    .28967       -.58780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    .97826E-01   -.32324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.3063        1.0257         .0000       -1.5404    
  16  Prefactor     2.8051        1.0168         .0000       -1.5373    
  17  Prefactor     4.0012        1.0080         .0000       -1.5308    
  18  Prefactor     5.2851        1.0045         .0000       -1.5248    
  19  Prefactor     8.1876        1.0019         .0000       -1.5136    
  20  Prefactor     6.2044        1.0033         .0000       -1.5210    
  21  Prefactor     1.7328        1.0492         .0000       -1.5445    
  22  Prefactor     1.4033        1.0841         .0000       -1.5471    
  23  norm          2.1179        1.0310         .0000       -1.5417    
  24  Prefactor     2.1743        1.0292         .0000       -1.5413    
  25  Prefactor     2.1271        1.0307         .0000       -1.5416    
  26  Prefactor     1.5975        1.0600         .0000       -1.5455    
  27  norm          .10000E-03    .21676        .44132E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .10000E-01    .25505        .18775E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .56430        .90919       -.23376E-02   -1.0911    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.26628e-10
Minuit parameter uncertainties:
  1  0.00283062
  2  0.0553859
  3  0.00109706
  4  0.00267303
  5  1.00211
  6  1.00629
  7  0.998409
  8  1.00866
  9  1.03398
  10  1.00223
  11  1.00468
  12  1.00411
  13  8.17154e-05
  14  5.23046e-05
  15  1.02568
  16  1.01684
  17  1.00803
  18  1.00455
  19  1.00188
  20  1.00328
  21  1.04924
  22  1.08416
  23  1.03101
  24  1.02924
  25  1.03071
  26  1.06005
  27  3.81357e-05
  28  7.10025e-09
  29  0.934526
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 43.5237860149

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  4.001e+00  1.008e+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

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  5.643e-01  9.345e-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:  1.000e-02  7.100e-09  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 217.229 54.111
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.81e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549649/likelihoodResults_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.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): 101
logL (Free Index) = 43.5238629819
delta logL = -7.69670413092e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 43.5238629819
delta logL = -7.69670413092e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.5737       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   43.52386     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.5737        1.0088        .23284         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.57366
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   43.52386     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .74820        1.8909        .23284       -.50667    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.01795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549649': 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): 101
logL (Free Index) = 43.5238629819
delta logL = -7.69670413092e-05

Extracting fit parameters...

4FGL J1428.9+5406
   Spectrum: PowerLaw
346    Prefactor:  4.001e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
347        Index:  2.574e+00  1.018e+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:  5.642e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
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/549649/cmap_HighResolution_550368001_550627201_4FGL_J1428.9+5406_daily_bin1200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.81e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-09 20:59:35.948777', job_id='549649', GAL2='0.56', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631246375.95', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.56', dlogl='-7.70e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1200' AND source_name='4FGL J1428.9+5406' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 20:59:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 549649: <4FGL_J1428.9+5406_daily_bin1200> in cluster <slac> Done

Job <4FGL_J1428.9+5406_daily_bin1200> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 20:51:15 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 20:51: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 20:51:17 2021
Terminated at Thu Sep  9 20:59:36 2021
Results reported at Thu Sep  9 20:59:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.9+5406_daily_bin1200 217.229 54.1114 550368001 550627201 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 :                                   339.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   499 sec.
    Turnaround time :                            501 sec.

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

