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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin738
RA = 216.169, Dec = 14.784
tmin = 430617601, tmax = 430876801
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='431796', job_status='RUN', time_executed='2021-09-09 14:11:37.986817', time_epoch_executed='1631221897.99' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431796

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431796/ft1_4FGL_J1424.6+1447_daily_bin738.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431796/ft2_4FGL_J1424.6+1447_daily_bin738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431796/ft1_4FGL_J1424.6+1447_daily_bin738.fits outfile=/scratch/kocevski/431796/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin738.fits ra=216.169 dec=14.784 rad=12.0 tmin=430617601.0 tmax=430876801.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 5.43
user 5.17
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431796/ft2_4FGL_J1424.6+1447_daily_bin738.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/431796/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin738.fits evtable="EVENTS" outfile="/scratch/kocevski/431796/ft1_filtered_4FGL_J1424.6+1447_daily_bin738.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431796/ft1_filtered_4FGL_J1424.6+1447_daily_bin738.fits evtable="EVENTS" scfile=/scratch/kocevski/431796/ft2_4FGL_J1424.6+1447_daily_bin738.fits sctable="SC_DATA" expcube=/scratch/kocevski/431796/ltcube_430617601_430876801_4FGL_J1424.6+1447_daily_bin738.fits outfile=/scratch/kocevski/431796/expmap_430617601_430876801_4FGL_J1424.6+1447_daily_bin738.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/431796/ltcube_430617601_430876801_4FGL_J1424.6+1447_daily_bin738.fits
.....................!
real 191.42
user 186.16
sys 4.85

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/431796/ft1_filtered_4FGL_J1424.6+1447_daily_bin738.fits scfile=/scratch/kocevski/431796/ft2_4FGL_J1424.6+1447_daily_bin738.fits outfile=/scratch/kocevski/431796/cmap_430617601_430876801_4FGL_J1424.6+1447_daily_bin738.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431796/ft1_filtered_4FGL_J1424.6+1447_daily_bin738.fits scfile=/scratch/kocevski/431796/ft2_4FGL_J1424.6+1447_daily_bin738.fits outfile=/scratch/kocevski/431796/cmap_HighResolution_430617601_430876801_4FGL_J1424.6+1447_daily_bin738.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11565E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10441E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.296       1.0000         .10000E-03   10000.    
     7 'norm      '    18.732       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5484       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2194       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6944       1.0000         .10000E-03   10000.    
    11 'norm      '    5.6214       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    27.467       1.0000         .10000E-03   10000.    
    14 'norm      '    3.7152       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8250       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.2340       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9648       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3408       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4674       1.0000         .10000E-03   10000.    
    21 'norm      '    .17572       1.0000         .10000E-03   10000.    
    22 'norm      '    .11335E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .95502       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1672       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=   8918.604     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2738 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.771       -.47600E-05** at limit **
   2  Prefactor     .10000E-03    2.4936        .16515E-06** at limit **
   3  Prefactor     .10000E-03    11.528        .79918E-07** at limit **
   4  Prefactor     .10000E-03    2.7664        .18302E-06** at limit **
   5  Prefactor     33.136        28.853        .13366E-05   -.58487E-04
   6  Prefactor     18.284        24.245        .32347E-05   -.10702E-03
   7  norm          18.728        18.369        .17106E-05   -.10297E-03
   8  Prefactor     7.5509        8.0328       -.77155E-07   -.14024E-03
   9  norm          1.2194        1.3298       -.14527E-06    .22495E-03
  10  Prefactor     5.6939        8.1624        .36548E-06   -.21223E-03
  11  norm          5.6211        3.6520       -.31535E-06   -.23321E-03
  12  Prefactor     .10000E-03    22.992        .44475E-05** at limit **
  13  norm          27.474        18.459       -.70544E-05    .38607E-03
  14  norm          3.7147        3.5519       -.12645E-06   -.22041E-03
  15  Prefactor     2.8326        41.313       -.10394E-04    .92047E-05
  16  Prefactor     7.2321        19.473       -.28967E-05    .43308E-04
  17  Prefactor     6.9819        12.730       -.46145E-07    .36758E-04
  18  Prefactor     .10000E-03    12.369       -.12622E-06** at limit **
  19  Prefactor     7.2538        33.299       -.91941E-05    .57379E-04
  20  Prefactor     1.4744        10.695       -.31243E-05   -.47932E-03
  21  norm          .17576        .12451       -.28426E-07   -.10041E-02
  22  norm          .10000E-03    8.8826       -.14612E-07** at limit **
  23  Normalizat    .95531        .19486        .52238E-06    .13769E-03
  24  Prefactor     1.1670        .13780        .14199E-05    .87835E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.1358
  Prefactor  = 18.2844
  norm       = 18.7283
  Prefactor  = 7.55093
  norm       = 1.21937
  Prefactor  = 5.6939
  norm       = 5.6211
  Prefactor  = 0.000100001
  norm       = 27.4741
  norm       = 3.71469
  Prefactor  = 2.83256
  Prefactor  = 7.23205
  Prefactor  = 6.98186
  Prefactor  = 0.0001
  Prefactor  = 7.25376
  Prefactor  = 1.47437
  norm       = 0.175764
  norm       = 0.0001
  Normalizat = 0.955312
  Prefactor  = 1.16699
 **********
 **   18 **HESSE 
 **********

 FCN=   8918.604     FROM HESSE     STATUS=OK           403 CALLS     3141 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.5217        .14559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.7698        .15339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.136        28.818        .69579E-04   -1.4556    
   6  Prefactor     18.284        24.175        .93635E-04   -1.4852    
   7  norm          18.728        18.352        .92541E-04   -1.4842    
   8  Prefactor     7.5509        7.9813        .14597E-03   -1.5158    
   9  norm          1.2194        1.3318        .11046E-03   -1.5487    
  10  Prefactor     5.6939        8.1043        .16833E-03   -1.5231    
  11  norm          5.6211        3.6438        .13373E-03   -1.5234    
  12  Prefactor     .10000E-03    23.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          27.474        18.375        .76440E-04   -1.4659    
  14  norm          3.7147        3.5473        .16866E-03   -1.5322    
  15  Prefactor     2.8326        41.167        .24197E-03   -1.5371    
  16  Prefactor     7.2321        19.438        .14913E-03   -1.5170    
  17  Prefactor     6.9819        12.674        .15202E-03   -1.5179    
  18  Prefactor     .10000E-03    12.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.2538        33.094        .14804E-03   -1.5169    
  20  Prefactor     1.4744        11.454        .35489E-03   -1.5465    
  21  norm          .17576        .12042        .26504E-03   -1.5624    
  22  norm          .10000E-03    8.8832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .95531        .22995        .31864E-03   -.94543    
  24  Prefactor     1.1670        .16337        .20835E-03   -.87353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59947e-09
Minuit parameter uncertainties:
  1  0.000178245
  2  1.01991e-05
  3  3.94752e-05
  4  5.60326e-06
  5  28.8303
  6  24.1879
  7  18.3577
  8  7.9824
  9  1.3318
  10  8.10589
  11  3.64391
  12  0.000306434
  13  18.3783
  14  3.54748
  15  21.6145
  16  19.4551
  17  12.679
  18  9.83326e-05
  19  31.0158
  20  8.22076
  21  0.120418
  22  8.67354e-07
  23  0.230189
  24  0.163443
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  7.551e+00  7.982e+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.167e+00  1.634e-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:  9.553e-01  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 3.27e-08 +/- 3.45e-08
Energy Flux (Fixed Index): 1.55e-05 +/- 1.64e-05

TS (Fixed Index): 1.54
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431796/likelihoodResults_430617601_430876801_4FGL_J1424.6+1447_daily_bin738.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) = 8917.80584356
delta logL = 0.798585918603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8917.7926851
delta logL = 0.811744376355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7680       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3856       1.0000          .0000       10.000    
     3 'Normalizat'    .97284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1625       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=   8917.793     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      214 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7728        9.3542        .33842E-02    .91106E-05
   2  Index         1.3857        .48055        .28374       -.69220E-04
   3  Normalizat    .97283        .18669        .71432E-01    .25025E-04
   4  Prefactor     1.1625        .13361        .35584E-01    .19698E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.7728
  Index      = 1.38573
  Normalizat = 0.972832
  Prefactor  = 1.16254
 **********
 **   18 **HESSE 
 **********

 FCN=   8917.793     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7728        9.2133        .13537E-03   -1.5116    
   2  Index         1.3857        .54874        .10732E-01   -.80792    
   3  Normalizat    .97283        .22011        .31604E-03   -.93946    
   4  Prefactor     1.1625        .15854        .20870E-03   -.87492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95347e-09
Minuit parameter uncertainties:
  1  9.21475
  2  0.551075
  3  0.220319
  4  0.158609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431796': 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) = 8917.79268495
delta logL = 0.811744530349

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  8.773e+00  9.215e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.386e+00  5.511e-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.163e+00  1.586e-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:  9.728e-01  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.17
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.39 +/- 0.55
Photon Flux (Free Index): 1.13e-08 +/- 1.50e-08
Energy Flux (Free Index): 5.22e-05 +/- 6.41e-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/431796/cmap_HighResolution_430617601_430876801_4FGL_J1424.6+1447_daily_bin738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-03', comment='SUCCESS', photon_flux='3.27e-08', energy_flux2='5.22e-05', photon_flux_error='3.45e-08', dlogl='8.12e-01', energy_flux='1.55e-05', photon_flux2='1.13e-08', job_status='DONE', time_completed='2021-09-09 14:23:54.038214', photon_index_error2='0.55', photon_index2='1.39', ts='1.54', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='6.41e-05', EG='0.96', time_epoch_completed='1631222634.04', return_code='0', job_id='431796', GAL2='1.16', EG2='0.97', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='1.50e-08', ts2='3.17', photon_index='2.17' WHERE bin_id='738' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:23:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 431796: <4FGL_J1424.6+1447_daily_bin738> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin738> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 14:11:29 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:11:30 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:11:30 2021
Terminated at Thu Sep  9 14:23:56 2021
Results reported at Thu Sep  9 14:23:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin738 216.169 14.784 430617601 430876801 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 :                                   730.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             375.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            747 sec.

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

