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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin897
RA = 216.169, Dec = 14.784
tmin = 471830401, tmax = 472089601
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='433707', job_status='RUN', time_executed='2021-09-09 14:19:12.210287', time_epoch_executed='1631222352.21' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='897'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433707

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433707/ft1_4FGL_J1424.6+1447_daily_bin897.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433707/ft2_4FGL_J1424.6+1447_daily_bin897.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433707/ft1_4FGL_J1424.6+1447_daily_bin897.fits outfile=/scratch/kocevski/433707/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin897.fits ra=216.169 dec=14.784 rad=12.0 tmin=471830401.0 tmax=472089601.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 3.67
user 3.44
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433707/ft2_4FGL_J1424.6+1447_daily_bin897.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/433707/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin897.fits evtable="EVENTS" outfile="/scratch/kocevski/433707/ft1_filtered_4FGL_J1424.6+1447_daily_bin897.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.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433707/ft1_filtered_4FGL_J1424.6+1447_daily_bin897.fits evtable="EVENTS" scfile=/scratch/kocevski/433707/ft2_4FGL_J1424.6+1447_daily_bin897.fits sctable="SC_DATA" expcube=/scratch/kocevski/433707/ltcube_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.fits outfile=/scratch/kocevski/433707/expmap_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.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/433707/ltcube_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.fits
.....................!
real 190.95
user 185.49
sys 5.10

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/433707/ft1_filtered_4FGL_J1424.6+1447_daily_bin897.fits scfile=/scratch/kocevski/433707/ft2_4FGL_J1424.6+1447_daily_bin897.fits outfile=/scratch/kocevski/433707/cmap_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433707/ft1_filtered_4FGL_J1424.6+1447_daily_bin897.fits scfile=/scratch/kocevski/433707/ft2_4FGL_J1424.6+1447_daily_bin897.fits outfile=/scratch/kocevski/433707/cmap_HighResolution_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.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.55
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433707/ft1_filtered_4FGL_J1424.6+1447_daily_bin897.fits', '/scratch/kocevski/433707/ft2_4FGL_J1424.6+1447_daily_bin897.fits', expMap='/scratch/kocevski/433707/expmap_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.fits', expCube='/scratch/kocevski/433707/ltcube_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433707/Model_4FGL_J1424.6+1447_daily_bin897.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/433707/ft1_filtered_4FGL_J1424.6+1447_daily_bin897.fits
Spacecraft file(s): /scratch/kocevski/433707/ft2_4FGL_J1424.6+1447_daily_bin897.fits
Exposure map: /scratch/kocevski/433707/expmap_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.fits
Exposure cube: /scratch/kocevski/433707/ltcube_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433707/Model_4FGL_J1424.6+1447_daily_bin897.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) = 8562.98605466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    110.32       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .41061       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7290       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1190       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.626       1.0000         .10000E-03   10000.    
     9 'norm      '    .20747       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.0470       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8138       1.0000         .10000E-03   10000.    
    13 'norm      '    2.4564       1.0000         .10000E-03   10000.    
    14 'norm      '    10.399       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4864       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.632       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.0111       1.0000         .10000E-03   10000.    
    22 'norm      '    38.520       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0065       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0821       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8562.983     FROM MIGRAD    STATUS=FAILED       964 CALLS     3519 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     110.38        63.577        .19147E-03    .88112E-04
   2  Prefactor     .41017        3.6788        .34275E-03   -.81663E-04
   3  Prefactor     3.7290        9.4727        .20910E-03   -.29794E-04
   4  Prefactor     5.1187        10.615        .17770E-03   -.13691E-04
   5  Prefactor     .10000E-03    9.9524        .18142E-02** at limit **
   6  Prefactor     .10000E-03    22.916        .18142E-02** at limit **
   7  norm          .10000E-03    16.680        .18142E-02** at limit **
   8  Prefactor     13.627        8.0301        .10851E-03   -.24307E-04
   9  norm          .20482        3.7690        .22099E-02    .60644E-02
  10  Prefactor     .10000E-03    16.936        .35256E-02** at limit **
  11  norm          4.0461        3.0680        .13457E-03   -.56601E-04
  12  Prefactor     2.6957        119.51        .24249E-03   -.13878E-04
  13  norm          2.5258        57.787        .26097E-03   -.32237E-05
  14  norm          10.398        4.8660        .12425E-03   -.30194E-04
  15  Prefactor     1.4955        48.469        .35180E-03   -.38650E-04
  16  Prefactor     .10000E-03    10.014        .18142E-02** at limit **
  17  Prefactor     13.627        19.036        .10849E-03    .79224E-04
  18  Prefactor     .10000E-03    9.6464        .18142E-02** at limit **
  19  Prefactor     .10000E-03    13.629        .18142E-02** at limit **
  20  Prefactor     .10000E-03    3.4534        .16768E-02** at limit **
  21  norm          2.0111        .28855        .18051E-04   -.83135E-04
  22  norm          38.533        34.316        .64579E-04   -.24787E-04
  23  Normalizat    1.0064        .23279        .30993E-03   -.85616E-04
  24  Prefactor     1.0821        .17056        .21915E-03   -.14235E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8562.983     FROM SIMPLEX   STATUS=PROGRESS    1105 CALLS     4624 TOTAL
                     EDM=   .20E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     110.38        63.577        .52145E-06   -1.3603    
   2  Prefactor     .41018        3.6788        .28500E-06   -1.5580    
   3  Prefactor     3.7290        9.4727        .29867E-06   -1.5322    
   4  Prefactor     5.1187        10.615        .31950E-06   -1.5255    
   5  Prefactor     .10000E-03    9.9524        .58712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.916        .90730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    16.680        .24951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.627        8.0301        .21460E-06   -1.4970    
   9  norm          .20482        3.7690        .22584E-06   -1.5617    
  10  Prefactor     .10000E-03    16.936        .27909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0461        3.0680        .21972E-06   -1.5306    
  12  Prefactor     2.6957        119.51        .25902E-06   -1.5380    
  13  norm          2.5258        57.787        .29864E-06   -1.5390    
  14  norm          10.398        4.8660        .21626E-06   -1.5063    
  15  Prefactor     1.4955        48.469        .25935E-06   -1.5463    
  16  Prefactor     .10000E-03    10.014        .39279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.627        19.036        .21428E-06   -1.4970    
  18  Prefactor     .10000E-03    9.6464        .43774E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.629        .44132E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.4534        .19491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0111        .28855        .22099E-06   -1.5424    
  22  norm          38.533        34.316        .20715E-06   -1.4466    
  23  Normalizat    1.0064        .23279        .13298E-06   -.92815    
  24  Prefactor     1.0821        .17056        .12901E-06   -.90040    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8562.983     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     5002 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     110.38        63.570        .76589E-05    .11875E-06
   2  Prefactor     .41018        3.6775        .13710E-04    .39803E-05
   3  Prefactor     3.7290        9.4716        .83642E-05    .32621E-06
   4  Prefactor     5.1187        10.613        .71080E-05    .38386E-06
   5  Prefactor     .10000E-03    9.9530        .36285E-03** at limit **
   6  Prefactor     .10000E-03    22.929        .36285E-03** at limit **
   7  norm          .10000E-03    16.685        .36285E-03** at limit **
   8  Prefactor     13.627        8.0260        .43403E-05    .83818E-05
   9  norm          .20484        3.7734        .44197E-03    .25508E-03
  10  Prefactor     .10000E-03    17.116        .70512E-03** at limit **
  11  norm          4.0461        3.0675        .53830E-05    .84478E-06
  12  Prefactor     2.6958        116.35        .96994E-05    .28130E-06
  13  norm          2.5257        56.267        .10439E-04   -.43564E-06
  14  norm          10.398        4.8659        .49700E-05   -.27449E-05
  15  Prefactor     1.4956        48.425        .14072E-04    .32316E-06
  16  Prefactor     .10000E-03    10.017        .36285E-03** at limit **
  17  Prefactor     13.627        19.031        .43394E-05    .10479E-05
  18  Prefactor     .10000E-03    9.6467        .36285E-03** at limit **
  19  Prefactor     .10000E-03    13.630        .36285E-03** at limit **
  20  Prefactor     .10000E-03    3.4537        .33537E-03** at limit **
  21  norm          2.0111        .28855        .72204E-06    .24732E-05
  22  norm          38.533        34.315        .12916E-04   -.70417E-07
  23  Normalizat    1.0064        .23302        .12397E-04   -.36682E-06
  24  Prefactor     1.0821        .17065        .43830E-04   -.19713E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 110.38
  Prefactor  = 0.410182
  Prefactor  = 3.72904
  Prefactor  = 5.1187
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.6269
  norm       = 0.204844
  Prefactor  = 0.0001
  norm       = 4.04613
  Prefactor  = 2.69582
  norm       = 2.52572
  norm       = 10.3975
  Prefactor  = 1.4956
  Prefactor  = 0.0001
  Prefactor  = 13.6266
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.01109
  norm       = 38.5329
  Normalizat = 1.00644
  Prefactor  = 1.08213
 **********
 **   18 **HESSE 
 **********

 FCN=   8562.983     FROM HESSE     STATUS=OK           375 CALLS     5377 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     110.38        63.569        .76589E-05   -1.3603    
   2  Prefactor     .41018        3.6774        .13710E-04   -1.5580    
   3  Prefactor     3.7290        9.4718        .83642E-05   -1.5322    
   4  Prefactor     5.1187        10.615        .71080E-05   -1.5255    
   5  Prefactor     .10000E-03    9.9530        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.930        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    16.685        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.627        8.0252        .86807E-06   -1.4970    
   9  norm          .20484        3.7712        .88394E-04   -1.5617    
  10  Prefactor     .10000E-03    17.123        .14102E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0461        3.0680        .10766E-05   -1.5306    
  12  Prefactor     2.6958        116.86        .96994E-05   -1.5380    
  13  norm          2.5257        56.453        .20877E-05   -1.5390    
  14  norm          10.398        4.8656        .99401E-06   -1.5063    
  15  Prefactor     1.4956        48.769        .28144E-05   -1.5463    
  16  Prefactor     .10000E-03    10.017        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.627        19.023        .86789E-06   -1.4970    
  18  Prefactor     .10000E-03    9.6467        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.630        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.4537        .67073E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0111        .28856        .36774E-06   -1.5424    
  22  norm          38.533        34.315        .12916E-04   -1.4466    
  23  Normalizat    1.0064        .23348        .24794E-05   -.92815    
  24  Prefactor     1.0821        .17078        .87661E-05   -.90040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64176e-13
Minuit parameter uncertainties:
  1  63.6082
  2  2.45624
  3  9.47563
  4  10.6187
  5  8.91652e-08
  6  4.48086e-07
  7  1.66863e-07
  8  8.02579
  9  1.75755
  10  1.05545e-06
  11  3.06816
  12  35.5727
  13  23.9069
  14  4.86578
  15  17.0954
  16  9.08927e-09
  17  19.0315
  18  4.67278e-08
  19  1.14998e-07
  20  3.31018e-08
  21  0.288559
  22  34.3327
  23  0.233715
  24  0.17087
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.363e+01  8.026e+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.082e+00  1.709e-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:  1.006e+00  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.16
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 5.90e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 2.79e-05 +/- 1.65e-05

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) = 8562.95099682
delta logL = 0.0319037385689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8562.94502151
delta logL = 0.0378790495433

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.600       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0513       1.0000          .0000       10.000    
     3 'Normalizat'    1.0138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0787       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8562.945     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      284 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.602        11.692        .10141E-03    .26906E-04
   2  Index         2.0512        .44588        .64957E-02    .54448E-03
   3  Normalizat    1.0138        .22892        .30892E-03   -.76767E-04
   4  Prefactor     1.0787        .16745        .21945E-03   -.43206E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.6016
  Index      = 2.05121
  Normalizat = 1.01384
  Prefactor  = 1.07869
 **********
 **   18 **HESSE 
 **********

 FCN=   8562.945     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.602        11.312        .40562E-05   -1.4918    
   2  Index         2.0512        .43122        .12991E-02   -.63076    
   3  Normalizat    1.0138        .22910        .12357E-04   -.92568    
   4  Prefactor     1.0787        .16763        .87779E-05   -.90151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84102e-11
Minuit parameter uncertainties:
  1  11.3134
  2  0.432049
  3  0.229318
  4  0.167712
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433707': 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) = 8562.94502148
delta logL = 0.0378790797149

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.560e+01  1.131e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.051e+00  4.320e-01  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.079e+00  1.677e-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:  1.014e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.20
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.05 +/- 0.43
Photon Flux (Free Index): 5.32e-08 +/- 3.83e-08
Energy Flux (Free Index): 3.26e-05 +/- 2.71e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/433707/cmap_HighResolution_471830401_472089601_4FGL_J1424.6+1447_daily_bin897.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.90e-08', energy_flux2='3.26e-05', photon_flux_error='3.47e-08', dlogl='3.79e-02', energy_flux='2.79e-05', photon_flux2='5.32e-08', job_status='DONE', time_completed='2021-09-09 14:32:46.333115', photon_index_error2='0.43', photon_index2='2.05', ts='5.16', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.71e-05', EG='1.01', time_epoch_completed='1631223166.33', return_code='0', job_id='433707', GAL2='1.08', EG2='1.01', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='3.83e-08', ts2='5.20', photon_index='2.17' WHERE bin_id='897' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:32:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 433707: <4FGL_J1424.6+1447_daily_bin897> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin897> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:10 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:12 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:16:12 2021
Terminated at Thu Sep  9 14:32:47 2021
Results reported at Thu Sep  9 14:32:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin897 216.169 14.784 471830401 472089601 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 :                                   811.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            997 sec.

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

