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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin376
RA = 216.169, Dec = 14.784
tmin = 336787201, tmax = 337046401
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='430034', job_status='RUN', time_executed='2021-09-09 14:10:31.325719', time_epoch_executed='1631221831.33' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='376'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430034

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430034/ft1_4FGL_J1424.6+1447_daily_bin376.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430034/ft1_4FGL_J1424.6+1447_daily_bin376.fits outfile=/scratch/kocevski/430034/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin376.fits ra=216.169 dec=14.784 rad=12.0 tmin=336787201.0 tmax=337046401.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 6.79
user 6.46
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.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/430034/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin376.fits evtable="EVENTS" outfile="/scratch/kocevski/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.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.67
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.fits" evtable="EVENTS" scfile=/scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits sctable="SC_DATA" outfile=/scratch/kocevski/430034/ltcube_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.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/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits
.....................!
real 13.95
user 13.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.fits evtable="EVENTS" scfile=/scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits sctable="SC_DATA" expcube=/scratch/kocevski/430034/ltcube_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.fits outfile=/scratch/kocevski/430034/expmap_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.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/430034/ltcube_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.fits
.....................!
real 192.10
user 186.58
sys 5.07

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 145 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.fits scfile=/scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits outfile=/scratch/kocevski/430034/cmap_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.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=216.169 yref=14.784 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.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.fits scfile=/scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits outfile=/scratch/kocevski/430034/cmap_HighResolution_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.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=216.169 yref=14.784 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.58
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.fits evtable="EVENTS" scfile=/scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430034/Model_4FGL_J1424.6+1447_daily_bin376.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/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.fits.....................!
real 44.38
user 42.69
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.fits', '/scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits', expMap='/scratch/kocevski/430034/expmap_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.fits', expCube='/scratch/kocevski/430034/ltcube_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430034/Model_4FGL_J1424.6+1447_daily_bin376.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430034/ft1_filtered_4FGL_J1424.6+1447_daily_bin376.fits
Spacecraft file(s): /scratch/kocevski/430034/ft2_4FGL_J1424.6+1447_daily_bin376.fits
Exposure map: /scratch/kocevski/430034/expmap_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.fits
Exposure cube: /scratch/kocevski/430034/ltcube_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430034/Model_4FGL_J1424.6+1447_daily_bin376.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) = 5524.11474782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13651E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.469       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    58.561       1.0000         .10000E-03   10000.    
     7 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2954       1.0000         .10000E-03   10000.    
     9 'norm      '    18.364       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.4515       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4962       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.305       1.0000         .10000E-03   10000.    
    13 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10690E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.188       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.5393       1.0000         .10000E-03   10000.    
    21 'norm      '    .34076       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .59889       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5524.110     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2744 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.415       -.14249E-05** at limit **
   2  Prefactor     .31578E-01    2.8281       -.11218E-06   -.77682E-04
   3  Prefactor     17.468        13.464        .54775E-07    .49922E-05
   4  Prefactor     .10000E-03    2.2396       -.33930E-09** at limit **
   5  Prefactor     .10000E-03    40.360        .52245E-06** at limit **
   6  Prefactor     58.570        37.644        .46521E-05   -.13111E-03
   7  norm          .10000E-03    13.083        .84389E-07** at limit **
   8  Prefactor     1.3007        14.578       -.10414E-04   -.33079E-03
   9  norm          18.364        4.7067       -.47279E-07    .61179E-04
  10  Prefactor     9.4481        8.9194       -.13997E-05    .61323E-03
  11  norm          2.4969        3.4136        .39881E-07   -.40813E-03
  12  Prefactor     33.307        27.918        .10277E-05   -.36630E-04
  13  norm          .10000E-03    8.4982       -.75132E-07** at limit **
  14  norm          .10000E-03    2.2719       -.27491E-07** at limit **
  15  Prefactor     .10000E-03    42.720        .92970E-05** at limit **
  16  Prefactor     .10000E-03    15.795        .23784E-05** at limit **
  17  Prefactor     .10000E-03    36.791       -.81616E-05** at limit **
  18  Prefactor     34.186        26.566        .31420E-05   -.83548E-04
  19  Prefactor     .10000E-03    19.517        .64711E-05** at limit **
  20  Prefactor     7.5401        8.6481        .13316E-06   -.44551E-04
  21  norm          .34079        .17256       -.74180E-08   -.16857E-03
  22  norm          .10000E-03    17.582       -.77433E-05** at limit **
  23  Normalizat    .59879        .23695        .36835E-06    .88687E-04
  24  Prefactor     1.2857        .17422        .15066E-06    .18993E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0315775
  Prefactor  = 17.4677
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 58.5696
  norm       = 0.0001
  Prefactor  = 1.30069
  norm       = 18.3644
  Prefactor  = 9.4481
  norm       = 2.49688
  Prefactor  = 33.3069
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.1864
  Prefactor  = 0.000100001
  Prefactor  = 7.5401
  norm       = 0.340786
  norm       = 0.000100001
  Normalizat = 0.598788
  Prefactor  = 1.28569
 **********
 **   18 **HESSE 
 **********

 FCN=   5524.110     FROM HESSE     STATUS=OK           399 CALLS     3143 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .31578E-01    5.3348        .42645E-01   -1.5672    
   3  Prefactor     17.468        13.462        .95825E-04   -1.4872    
   4  Prefactor     .10000E-03    2.2414        .10863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    40.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     58.570        37.370        .52426E-04   -1.4176    
   7  norm          .10000E-03    13.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.3007        16.110        .38866E-03   -1.5480    
   9  norm          18.364        4.7060        .78708E-04   -1.4851    
  10  Prefactor     9.4481        8.5401        .13036E-03   -1.5093    
  11  norm          2.4969        3.3920        .15147E-03   -1.5392    
  12  Prefactor     33.307        27.896        .69435E-04   -1.4553    
  13  norm          .10000E-03    8.5075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.2928        .10939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    42.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    37.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.186        26.441        .68535E-04   -1.4538    
  19  Prefactor     .10000E-03    19.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.5401        8.6450        .14606E-03   -1.5159    
  21  norm          .34079        .17211        .21241E-04   -1.5591    
  22  norm          .10000E-03    17.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .59879        .26443        .35786E-03   -1.0804    
  24  Prefactor     1.2857        .19710        .19396E-03   -.83734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83581e-09
Minuit parameter uncertainties:
  1  5.35044e-05
  2  0.819649
  3  13.4644
  4  8.88252e-07
  5  0.000449953
  6  37.3846
  7  3.61288e-05
  8  9.15792
  9  4.7061
  10  8.5412
  11  3.39229
  12  27.9064
  13  1.43772e-05
  14  4.24815e-07
  15  0.000547637
  16  7.97669e-05
  17  0.00021396
  18  26.4503
  19  0.000226864
  20  8.64647
  21  0.172113
  22  0.00021867
  23  0.264987
  24  0.197214
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.301e+00  9.158e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.286e+00  1.972e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  5.988e-01  2.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 9.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430034/likelihoodResults_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.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) = 5523.18167215
delta logL = 0.928135827004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5523.15594742
delta logL = 0.95386056043

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5523.156     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      334 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27291E-01    .35384        .22331E-02    .57534E-02
   2  Index         4.8241        2.0459        .99700E-01    .19226E-03
   3  Normalizat    .50918        .48361E-01    .87119E-01    .37957E-04
   4  Prefactor     1.3266        .37254E-01    .32159E-01    .21478E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0272909
  Index      = 4.82406
  Normalizat = 0.509179
  Prefactor  = 1.32663
 **********
 **   18 **HESSE 
 **********

 FCN=   5523.156     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      369 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27291E-01    .93544        .10164E-03   -1.5675    
   2  Index         4.8241        3.8369        .36033E-02   -.35196E-01
   3  Normalizat    .50918        .18960        .38592E-03   -1.1199    
   4  Prefactor     1.3266        .14464        .19119E-03   -.82519    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.56084e-12
Minuit parameter uncertainties:
  1  0.318976
  2  4.37473
  3  0.189844
  4  0.144687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430034': 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) = 5523.15594199
delta logL = 0.953865985829

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.729e-02  3.190e-01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  4.824e+00  4.375e+00  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.327e+00  1.447e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  5.092e-01  1.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.05
Ra Dec: 216.169 14.784
Photon Index (Free Index): 4.82 +/- 4.37
Photon Flux (Free Index): 7.32e-08 +/- 6.14e-08
Energy Flux (Free Index): 9.88e-06 +/- 1.03e-05

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/430034/cmap_HighResolution_336787201_337046401_4FGL_J1424.6+1447_daily_bin376.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', comment='SUCCESS', energy_flux2='9.88e-06', dlogl='9.54e-01', photon_flux2='7.32e-08', job_status='DONE', time_completed='2021-09-09 14:20:40.797565', photon_index_error2='4.37', photon_index2='4.82', ts='0.03', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='9.86e-08', energy_flux_error2='1.03e-05', EG='0.60', time_epoch_completed='1631222440.8', return_code='0', job_id='430034', GAL2='1.33', EG2='0.51', return_code2='102', photon_flux_error2='6.14e-08', ts2='2.05', photon_index='2.17' WHERE bin_id='376' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:20:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 430034: <4FGL_J1424.6+1447_daily_bin376> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin376> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:31 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:06:33 2021
Terminated at Thu Sep  9 14:20:41 2021
Results reported at Thu Sep  9 14:20:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin376 216.169 14.784 336787201 337046401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   602.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            850 sec.

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

