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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin816
RA = 216.169, Dec = 14.784
tmin = 450835201, tmax = 451094401
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='433586', job_status='RUN', time_executed='2021-09-09 14:19:07.765117', time_epoch_executed='1631222347.77' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='816'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433586

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433586/ft1_4FGL_J1424.6+1447_daily_bin816.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433586/ft2_4FGL_J1424.6+1447_daily_bin816.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433586/ft1_4FGL_J1424.6+1447_daily_bin816.fits outfile=/scratch/kocevski/433586/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin816.fits ra=216.169 dec=14.784 rad=12.0 tmin=450835201.0 tmax=451094401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.72
user 2.52
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433586/ft2_4FGL_J1424.6+1447_daily_bin816.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/433586/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin816.fits evtable="EVENTS" outfile="/scratch/kocevski/433586/ft1_filtered_4FGL_J1424.6+1447_daily_bin816.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.66
user 0.27
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433586/ft1_filtered_4FGL_J1424.6+1447_daily_bin816.fits" evtable="EVENTS" scfile=/scratch/kocevski/433586/ft2_4FGL_J1424.6+1447_daily_bin816.fits sctable="SC_DATA" outfile=/scratch/kocevski/433586/ltcube_450835201_451094401_4FGL_J1424.6+1447_daily_bin816.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/433586/ft2_4FGL_J1424.6+1447_daily_bin816.fits
.....................!
real 9.85
user 9.52
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433586/ft1_filtered_4FGL_J1424.6+1447_daily_bin816.fits evtable="EVENTS" scfile=/scratch/kocevski/433586/ft2_4FGL_J1424.6+1447_daily_bin816.fits sctable="SC_DATA" expcube=/scratch/kocevski/433586/ltcube_450835201_451094401_4FGL_J1424.6+1447_daily_bin816.fits outfile=/scratch/kocevski/433586/expmap_450835201_451094401_4FGL_J1424.6+1447_daily_bin816.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/433586/ltcube_450835201_451094401_4FGL_J1424.6+1447_daily_bin816.fits
.....................!
real 147.10
user 142.53
sys 4.26

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/433586/ft1_filtered_4FGL_J1424.6+1447_daily_bin816.fits scfile=/scratch/kocevski/433586/ft2_4FGL_J1424.6+1447_daily_bin816.fits outfile=/scratch/kocevski/433586/cmap_450835201_451094401_4FGL_J1424.6+1447_daily_bin816.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433586/ft1_filtered_4FGL_J1424.6+1447_daily_bin816.fits scfile=/scratch/kocevski/433586/ft2_4FGL_J1424.6+1447_daily_bin816.fits outfile=/scratch/kocevski/433586/cmap_HighResolution_450835201_451094401_4FGL_J1424.6+1447_daily_bin816.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.46
user 0.28
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.339       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2151       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.1584       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8941       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.855       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10705E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    23.224       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3322       1.0000         .10000E-03   10000.    
     9 'norm      '    8.6571       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3104       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3772       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.8269       1.0000         .10000E-03   10000.    
    14 'norm      '    77.705       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.650       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.2574       1.0000         .10000E-03   10000.    
    21 'norm      '    1.0660       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3911       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .77621       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=   6950.383     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2316 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.337        32.144       -.28828E-05   -.15386E-05
   2  Prefactor     1.2145        .72393        .68902E-07   -.21515E-02
   3  Prefactor     6.1567        14.332       -.45919E-06   -.79124E-05
   4  Prefactor     2.8931        11.183       -.16594E-06   -.17200E-04
   5  Prefactor     10.854        21.252       -.88646E-06   -.12754E-04
   6  Prefactor     .10000E-03    28.695        .18960E-04** at limit **
   7  norm          23.227        23.062        .24920E-05   -.78732E-04
   8  Prefactor     8.3326        6.9065        .58258E-06   -.45463E-04
   9  norm          8.6569        3.4885       -.39266E-07   -.68871E-05
  10  Prefactor     4.3092        5.1117        .37251E-05    .13689E-04
  11  norm          1.3772        1.4398       -.23472E-06   -.63211E-04
  12  Prefactor     .10000E-03    18.506        .41558E-05** at limit **
  13  norm          1.8259        22.172       -.25139E-06   -.21902E-04
  14  norm          77.705        11.538       -.31680E-07   -.98081E-06
  15  Prefactor     .10000E-03    7.4470       -.52670E-06** at limit **
  16  Prefactor     .10000E-03    34.346       -.18757E-04** at limit **
  17  Prefactor     .10000E-03    8.9796       -.74548E-06** at limit **
  18  Prefactor     27.648        20.276       -.12370E-05    .22822E-07
  19  Prefactor     .10000E-03    11.214        .45389E-05** at limit **
  20  Prefactor     6.2571        8.6692       -.77669E-07   -.68824E-05
  21  norm          1.0660        .25638       -.10787E-07    .10957E-02
  22  norm          .10000E-03    14.155       -.90213E-05** at limit **
  23  Normalizat    1.3912        .21581       -.19293E-06   -.97711E-05
  24  Prefactor     .77615        .15495       -.23168E-06   -.12518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3375
  Prefactor  = 1.21446
  Prefactor  = 6.15665
  Prefactor  = 2.89307
  Prefactor  = 10.8545
  Prefactor  = 0.0001
  norm       = 23.2273
  Prefactor  = 8.33264
  norm       = 8.65687
  Prefactor  = 4.30925
  norm       = 1.37722
  Prefactor  = 0.0001
  norm       = 1.82586
  norm       = 77.7046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.6477
  Prefactor  = 0.0001
  Prefactor  = 6.25709
  norm       = 1.06601
  norm       = 0.0001
  Normalizat = 1.3912
  Prefactor  = 0.776151
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.383     FROM HESSE     STATUS=OK           403 CALLS     2719 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.337        32.173        .10967E-03   -1.4977    
   2  Prefactor     1.2145        4.5490        .16407E-02   -1.5488    
   3  Prefactor     6.1567        14.413        .16177E-03   -1.5212    
   4  Prefactor     2.8931        11.192        .23887E-03   -1.5368    
   5  Prefactor     10.854        21.248        .12160E-03   -1.5049    
   6  Prefactor     .10000E-03    28.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.227        23.026        .83118E-04   -1.4744    
   8  Prefactor     8.3326        6.9002        .13888E-03   -1.5131    
   9  norm          8.6569        3.4907        .95375E-04   -1.5119    
  10  Prefactor     4.3092        5.1129        .19404E-03   -1.5293    
  11  norm          1.3772        1.4470        .99490E-04   -1.5473    
  12  Prefactor     .10000E-03    18.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.8259        22.184        .30883E-03   -1.5438    
  14  norm          77.705        11.542        .45555E-04   -1.3943    
  15  Prefactor     .10000E-03    7.4538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    34.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.0226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     27.648        20.290        .76187E-04   -1.4656    
  19  Prefactor     .10000E-03    11.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.2571        8.6684        .16047E-03   -1.5208    
  21  norm          1.0660        .25654        .19930E-04   -1.5501    
  22  norm          .10000E-03    14.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3912        .26315        .27096E-03   -.80883    
  24  Prefactor     .77615        .18796        .25553E-03   -1.0061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.5819e-09
Minuit parameter uncertainties:
  1  32.2147
  2  4.55026
  3  14.4208
  4  11.1996
  5  21.2632
  6  0.000236425
  7  23.0347
  8  6.90088
  9  3.49081
  10  5.11344
  11  1.44707
  12  5.66751e-06
  13  12.7342
  14  11.5427
  15  2.57109e-06
  16  0.00010261
  17  6.02929e-06
  18  20.2949
  19  6.10863e-06
  20  8.67013
  21  0.256537
  22  6.01443e-06
  23  0.263406
  24  0.188111
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  8.333e+00  6.901e+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:  7.762e-01  1.881e-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.391e+00  2.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.79
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 3.61e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 1.41e-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) = 6950.30310877
delta logL = 0.0796372312516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.30150133
delta logL = 0.0812446660666

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2986       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8494       1.0000          .0000       10.000    
     3 'Normalizat'    1.4067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77142       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=   6950.302     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      270 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2987        8.3566        .13143E-03   -.13771E-03
   2  Index         1.8493        .81318        .11732E-01   -.41055E-04
   3  Normalizat    1.4067        .25558        .26974E-03    .42273E-04
   4  Prefactor     .77142        .18563        .25629E-03    .49282E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.29873
  Index      = 1.84927
  Normalizat = 1.4067
  Prefactor  = 0.771424
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.302     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2987        8.3562        .52571E-05   -1.5098    
   2  Index         1.8493        .81263        .46928E-03   -.68174    
   3  Normalizat    1.4067        .25573        .10790E-04   -.80435    
   4  Prefactor     .77142        .18584        .10252E-04   -1.0079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12264e-10
Minuit parameter uncertainties:
  1  8.35728
  2  0.818685
  3  0.255967
  4  0.185991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433586': 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) = 6950.30150125
delta logL = 0.0812447499729

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  9.299e+00  8.357e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.849e+00  8.187e-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:  7.714e-01  1.860e-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.407e+00  2.560e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.95
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.85 +/- 0.82
Photon Flux (Free Index): 2.20e-08 +/- 3.69e-08
Energy Flux (Free Index): 2.27e-05 +/- 2.96e-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/433586/cmap_HighResolution_450835201_451094401_4FGL_J1424.6+1447_daily_bin816.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.61e-08', energy_flux2='2.27e-05', photon_flux_error='2.99e-08', dlogl='8.12e-02', energy_flux='1.71e-05', photon_flux2='2.20e-08', job_status='DONE', time_completed='2021-09-09 14:26:15.037824', photon_index_error2='0.82', photon_index2='1.85', ts='5.79', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='2.96e-05', EG='1.39', time_epoch_completed='1631222775.04', return_code='0', job_id='433586', GAL2='0.77', EG2='1.41', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='3.69e-08', ts2='5.95', photon_index='2.17' WHERE bin_id='816' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:26:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 433586: <4FGL_J1424.6+1447_daily_bin816> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin816 216.169 14.784 450835201 451094401 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 :                                   422.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            612 sec.

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

