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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin616
RA = 216.169, Dec = 14.784
tmin = 398995201, tmax = 399254401
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='431617', job_status='RUN', time_executed='2021-09-09 14:15:23.439196', time_epoch_executed='1631222123.44' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='616'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431617

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431617/ft1_4FGL_J1424.6+1447_daily_bin616.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431617/ft2_4FGL_J1424.6+1447_daily_bin616.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431617/ft1_4FGL_J1424.6+1447_daily_bin616.fits outfile=/scratch/kocevski/431617/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin616.fits ra=216.169 dec=14.784 rad=12.0 tmin=398995201.0 tmax=399254401.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.16
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431617/ft2_4FGL_J1424.6+1447_daily_bin616.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/431617/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin616.fits evtable="EVENTS" outfile="/scratch/kocevski/431617/ft1_filtered_4FGL_J1424.6+1447_daily_bin616.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.47
user 0.33
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431617/ft1_filtered_4FGL_J1424.6+1447_daily_bin616.fits" evtable="EVENTS" scfile=/scratch/kocevski/431617/ft2_4FGL_J1424.6+1447_daily_bin616.fits sctable="SC_DATA" outfile=/scratch/kocevski/431617/ltcube_398995201_399254401_4FGL_J1424.6+1447_daily_bin616.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/431617/ft2_4FGL_J1424.6+1447_daily_bin616.fits
.....................!
real 11.69
user 11.38
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431617/ft1_filtered_4FGL_J1424.6+1447_daily_bin616.fits evtable="EVENTS" scfile=/scratch/kocevski/431617/ft2_4FGL_J1424.6+1447_daily_bin616.fits sctable="SC_DATA" expcube=/scratch/kocevski/431617/ltcube_398995201_399254401_4FGL_J1424.6+1447_daily_bin616.fits outfile=/scratch/kocevski/431617/expmap_398995201_399254401_4FGL_J1424.6+1447_daily_bin616.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/431617/ltcube_398995201_399254401_4FGL_J1424.6+1447_daily_bin616.fits
.....................!
real 189.49
user 185.44
sys 3.75

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/431617/ft1_filtered_4FGL_J1424.6+1447_daily_bin616.fits scfile=/scratch/kocevski/431617/ft2_4FGL_J1424.6+1447_daily_bin616.fits outfile=/scratch/kocevski/431617/cmap_398995201_399254401_4FGL_J1424.6+1447_daily_bin616.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431617/ft1_filtered_4FGL_J1424.6+1447_daily_bin616.fits scfile=/scratch/kocevski/431617/ft2_4FGL_J1424.6+1447_daily_bin616.fits outfile=/scratch/kocevski/431617/cmap_HighResolution_398995201_399254401_4FGL_J1424.6+1447_daily_bin616.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.686       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2936       1.0000         .10000E-03   10000.    
     5 'Prefactor '    52.838       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9157       1.0000         .10000E-03   10000.    
     9 'norm      '    9.5755       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2613       1.0000         .10000E-03   10000.    
    11 'norm      '    3.7339       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    47.102       1.0000         .10000E-03   10000.    
    14 'norm      '    .73011       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.185       1.0000         .10000E-03   10000.    
    16 'Prefactor '    45.856       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.5795       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.186       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .91287E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1000       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96063       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=   4849.235     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2717 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.976       -.39197E-05** at limit **
   2  Prefactor     .10000E-03    1.6624        .48915E-07** at limit **
   3  Prefactor     12.676        18.981       -.51705E-05    .38832E-04
   4  Prefactor     6.2677        18.508       -.18876E-04   -.20592E-04
   5  Prefactor     52.832        33.052       -.47533E-05    .16814E-04
   6  Prefactor     .10000E-03    11.613       -.15210E-06** at limit **
   7  norm          .10000E-03    10.373        .35456E-07** at limit **
   8  Prefactor     4.9142        7.0735        .61950E-07   -.13330E-03
   9  norm          9.5751        4.2285        .86734E-06    .92661E-04
  10  Prefactor     1.2604        5.4569        .18411E-05   -.76138E-03
  11  norm          3.7337        2.8150       -.14965E-06    .86517E-05
  12  Prefactor     .10000E-03    36.151       -.10482E-05** at limit **
  13  norm          47.113        29.016        .82053E-05    .20833E-04
  14  norm          .73228        5.7140       -.31868E-06   -.72124E-03
  15  Prefactor     15.181        28.760       -.33527E-05   -.66275E-05
  16  Prefactor     45.849        31.497       -.87887E-05    .88698E-05
  17  Prefactor     2.5904        28.844        .11149E-04   -.28229E-04
  18  Prefactor     28.171        37.829       -.21272E-04   -.46341E-04
  19  Prefactor     .10000E-03    30.974        .11965E-04** at limit **
  20  Prefactor     .10000E-03    5.8436       -.63743E-08** at limit **
  21  norm          .91299E-01    .14297       -.60079E-07   -.20718E-02
  22  norm          .10000E-03    25.994       -.38207E-05** at limit **
  23  Normalizat    1.1007        .25235        .76575E-05   -.14526E-03
  24  Prefactor     .96015        .17510       -.70431E-07    .20660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6759
  Prefactor  = 6.26772
  Prefactor  = 52.8324
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.91416
  norm       = 9.57513
  Prefactor  = 1.26044
  norm       = 3.73374
  Prefactor  = 0.000100002
  norm       = 47.1126
  norm       = 0.732276
  Prefactor  = 15.1812
  Prefactor  = 45.8486
  Prefactor  = 2.59043
  Prefactor  = 28.1711
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0912993
  norm       = 0.0001
  Normalizat = 1.10071
  Prefactor  = 0.960148
 **********
 **   18 **HESSE 
 **********

 FCN=   4849.235     FROM HESSE     STATUS=OK           407 CALLS     3124 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6650        .87676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.676        19.024        .11246E-03   -1.4996    
   4  Prefactor     6.2677        18.606        .16000E-03   -1.5207    
   5  Prefactor     52.832        33.042        .27589E-03   -1.4253    
   6  Prefactor     .10000E-03    11.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9142        7.0453        .18141E-03   -1.5265    
   9  norm          9.5751        4.2298        .91909E-04   -1.5089    
  10  Prefactor     1.2604        5.3368        .30843E-03   -1.5483    
  11  norm          3.7337        2.8137        .98249E-04   -1.5321    
  12  Prefactor     .10000E-03    36.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          47.113        28.960        .58424E-04   -1.4334    
  14  norm          .73228        12.143        .32069E-02   -1.5537    
  15  Prefactor     15.181        28.721        .10278E-03   -1.4929    
  16  Prefactor     45.849        31.454        .59209E-04   -1.4353    
  17  Prefactor     2.5904        28.458        .25411E-03   -1.5386    
  18  Prefactor     28.171        37.720        .75461E-04   -1.4646    
  19  Prefactor     .10000E-03    31.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.8560        .16441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .91299E-01    .12747        .31837E-03   -1.5648    
  22  norm          .10000E-03    25.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1007        .30529        .29115E-03   -.89729    
  24  Prefactor     .96015        .21328        .22191E-03   -.94070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19229e-09
Minuit parameter uncertainties:
  1  7.84336e-06
  2  4.43418e-07
  3  19.033
  4  18.6229
  5  33.0538
  6  3.81234e-05
  7  1.97158e-05
  8  7.04653
  9  4.22991
  10  5.18777
  11  2.81379
  12  0.000601146
  13  28.9682
  14  5.96482
  15  28.7474
  16  31.4658
  17  17.182
  18  37.7517
  19  0.000184458
  20  6.205e-06
  21  0.127469
  22  2.09223e-06
  23  0.305776
  24  0.213467
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.914e+00  7.047e+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:  9.601e-01  2.135e-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.101e+00  3.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/431617/likelihoodResults_398995201_399254401_4FGL_J1424.6+1447_daily_bin616.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) = 4849.22920999
delta logL = 0.00587341869596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4849.22702399
delta logL = 0.00805942591796

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4539       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0598       1.0000          .0000       10.000    
     3 'Normalizat'    1.1030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95928       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=   4849.227     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      243 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4542        8.8750        .17206E-03    .17754E-03
   2  Index         2.0598        .90056        .10182E-01    .23901E-04
   3  Normalizat    1.1030        .29042        .29089E-03    .49244E-04
   4  Prefactor     .95929        .20938        .22200E-03    .10524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.45422
  Index      = 2.05982
  Normalizat = 1.10299
  Prefactor  = 0.959294
 **********
 **   18 **HESSE 
 **********

 FCN=   4849.227     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4542        8.5826        .68824E-05   -1.5241    
   2  Index         2.0598        .87165        .40726E-03   -.62863    
   3  Normalizat    1.1030        .29071        .11636E-04   -.89656    
   4  Prefactor     .95929        .20962        .88799E-05   -.94099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69484e-11
Minuit parameter uncertainties:
  1  8.5845
  2  0.878546
  3  0.291128
  4  0.209801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431617': 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) = 4849.22702398
delta logL = 0.00805942861098

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.454e+00  8.585e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.060e+00  8.785e-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:  9.593e-01  2.098e-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.103e+00  2.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.81
Ra Dec: 216.169 14.784

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/431617/cmap_HighResolution_398995201_399254401_4FGL_J1424.6+1447_daily_bin616.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.05e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-09 14:24:15.719980', job_id='431617', GAL2='0.96', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631222655.72', return_code2='0', ts='0.81', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='8.06e-03', ts2='0.83', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='616' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:24:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 431617: <4FGL_J1424.6+1447_daily_bin616> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin616 216.169 14.784 398995201 399254401 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 :                                   531.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             240.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            779 sec.

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

