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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin447
RA = 216.169, Dec = 14.784
tmin = 355190401, tmax = 355449601
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='430148', job_status='RUN', time_executed='2021-09-09 14:09:50.134671', time_epoch_executed='1631221790.13' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='447'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430148

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430148/ft1_4FGL_J1424.6+1447_daily_bin447.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430148/ft2_4FGL_J1424.6+1447_daily_bin447.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430148/ft1_4FGL_J1424.6+1447_daily_bin447.fits outfile=/scratch/kocevski/430148/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin447.fits ra=216.169 dec=14.784 rad=12.0 tmin=355190401.0 tmax=355449601.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.32
user 3.11
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430148/ft1_filtered_4FGL_J1424.6+1447_daily_bin447.fits" evtable="EVENTS" scfile=/scratch/kocevski/430148/ft2_4FGL_J1424.6+1447_daily_bin447.fits sctable="SC_DATA" outfile=/scratch/kocevski/430148/ltcube_355190401_355449601_4FGL_J1424.6+1447_daily_bin447.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/430148/ft2_4FGL_J1424.6+1447_daily_bin447.fits
.....................!
real 11.58
user 11.17
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430148/ft1_filtered_4FGL_J1424.6+1447_daily_bin447.fits evtable="EVENTS" scfile=/scratch/kocevski/430148/ft2_4FGL_J1424.6+1447_daily_bin447.fits sctable="SC_DATA" expcube=/scratch/kocevski/430148/ltcube_355190401_355449601_4FGL_J1424.6+1447_daily_bin447.fits outfile=/scratch/kocevski/430148/expmap_355190401_355449601_4FGL_J1424.6+1447_daily_bin447.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/430148/ltcube_355190401_355449601_4FGL_J1424.6+1447_daily_bin447.fits
.....................!
real 191.41
user 184.93
sys 6.12

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/430148/ft1_filtered_4FGL_J1424.6+1447_daily_bin447.fits scfile=/scratch/kocevski/430148/ft2_4FGL_J1424.6+1447_daily_bin447.fits outfile=/scratch/kocevski/430148/cmap_355190401_355449601_4FGL_J1424.6+1447_daily_bin447.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430148/ft1_filtered_4FGL_J1424.6+1447_daily_bin447.fits scfile=/scratch/kocevski/430148/ft2_4FGL_J1424.6+1447_daily_bin447.fits outfile=/scratch/kocevski/430148/cmap_HighResolution_355190401_355449601_4FGL_J1424.6+1447_daily_bin447.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4090       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.883       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.301       1.0000         .10000E-03   10000.    
     7 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.193       1.0000         .10000E-03   10000.    
     9 'norm      '    3.7144       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.312       1.0000         .10000E-03   10000.    
    11 'norm      '    .14787       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11072E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    28.632       1.0000         .10000E-03   10000.    
    14 'norm      '    12.191       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.501       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    52.634       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .78338E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    14.016       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3504       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71127       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=   5862.675     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2748 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.554       -.29535E-06** at limit **
   2  Prefactor     5.4090        3.8632        .16657E-06   -.68916E-05
   3  Prefactor     .10000E-03    3.2539       -.31035E-06** at limit **
   4  Prefactor     11.889        13.974       -.35542E-06   -.47733E-04
   5  Prefactor     .10000E-03    29.271        .84180E-06** at limit **
   6  Prefactor     10.299        21.940       -.10060E-05    .10437E-04
   7  norm          .10000E-03    23.707       -.14087E-04** at limit **
   8  Prefactor     22.194        10.529        .13205E-07    .17366E-05
   9  norm          3.7144        2.4403       -.60919E-07    .46456E-04
  10  Prefactor     10.312        7.9441        .28673E-06   -.30114E-04
  11  norm          .14564        1.1852       -.61902E-06   -.83123E-03
  12  Prefactor     .10000E-03    33.543        .20009E-04** at limit **
  13  norm          28.631        20.262       -.43934E-06   -.31120E-03
  14  norm          12.191        5.5597        .72141E-06    .15260E-04
  15  Prefactor     10.498        28.451       -.43222E-05    .34913E-04
  16  Prefactor     .10000E-03    19.441        .14081E-04** at limit **
  17  Prefactor     52.638        23.154        .19677E-05    .10503E-03
  18  Prefactor     .10000E-03    22.509       -.11042E-04** at limit **
  19  Prefactor     .10000E-03    53.118       -.55734E-05** at limit **
  20  Prefactor     .10000E-03    4.2319       -.36386E-06** at limit **
  21  norm          .78327E-01    .10854       -.29671E-07   -.19171E-02
  22  norm          13.982        29.321       -.39586E-04   -.22397E-05
  23  Normalizat    1.3499        .21708       -.85316E-06    .10120E-03
  24  Prefactor     .71159        .14918        .14578E-05   -.59261E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.40896
  Prefactor  = 0.0001
  Prefactor  = 11.8885
  Prefactor  = 0.0001
  Prefactor  = 10.2988
  norm       = 0.0001
  Prefactor  = 22.1944
  norm       = 3.71442
  Prefactor  = 10.3123
  norm       = 0.145639
  Prefactor  = 0.0001
  norm       = 28.6307
  norm       = 12.1905
  Prefactor  = 10.4978
  Prefactor  = 0.0001
  Prefactor  = 52.6378
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0783266
  norm       = 13.9821
  Normalizat = 1.34995
  Prefactor  = 0.711592
 **********
 **   18 **HESSE 
 **********

 FCN=   5862.675     FROM HESSE     STATUS=OK           401 CALLS     3149 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4090        3.8626        .12378E-03   -1.5243    
   3  Prefactor     .10000E-03    3.2563        .13489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.889        14.136        .11621E-03   -1.5018    
   5  Prefactor     .10000E-03    29.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.299        21.965        .12484E-03   -1.5066    
   7  norm          .10000E-03    23.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.194        10.528        .85024E-04   -1.4765    
   9  norm          3.7144        2.4426        .94014E-04   -1.5322    
  10  Prefactor     10.312        7.9446        .12477E-03   -1.5066    
  11  norm          .14564        2.3953        .16165E-02   -1.5632    
  12  Prefactor     .10000E-03    33.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          28.631        20.242        .74872E-04   -1.4637    
  14  norm          12.191        5.5601        .11473E-03   -1.5010    
  15  Prefactor     10.498        28.373        .12364E-03   -1.5060    
  16  Prefactor     .10000E-03    19.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     52.638        23.169        .55283E-04   -1.4256    
  18  Prefactor     .10000E-03    22.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    53.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2514        .15383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .78327E-01    .96159E-01    .28712E-03   -1.5652    
  22  norm          13.982        29.313        .10699E-03   -1.4960    
  23  Normalizat    1.3499        .26263        .25152E-03   -.82087    
  24  Prefactor     .71159        .17880        .23974E-03   -1.0307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71392e-10
Minuit parameter uncertainties:
  1  6.54832e-07
  2  3.86278
  3  2.57487e-07
  4  14.14
  5  1.51426e-05
  6  21.9821
  7  1.66033e-05
  8  10.5293
  9  2.44267
  10  7.9454
  11  1.18092
  12  1.23273e-05
  13  20.247
  14  5.56029
  15  28.4091
  16  6.27373e-05
  17  23.173
  18  9.74218e-06
  19  3.44907e-05
  20  1.77482e-06
  21  0.0961588
  22  29.3432
  23  0.262895
  24  0.178942
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.219e+01  1.053e+01  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.116e-01  1.789e-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.350e+00  2.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.34
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 9.61e-08 +/- 4.56e-08
Energy Flux (Fixed Index): 4.55e-05 +/- 2.16e-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) = 5860.5422453
delta logL = 2.13264018362

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5860.33227731
delta logL = 2.34260816821

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.634       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4187       1.0000          .0000       10.000    
     3 'Normalizat'    1.4135       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68541       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=   5860.332     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      219 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.651        15.093        .17810E-02   -.45487E-04
   2  Index         1.4188        .28643        .14365       -.34250E-04
   3  Normalizat    1.4132        .20662        .55832E-01    .50612E-04
   4  Prefactor     .68564        .14805        .42207E-01   -.28676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.6506
  Index      = 1.41882
  Normalizat = 1.41322
  Prefactor  = 0.685639
 **********
 **   18 **HESSE 
 **********

 FCN=   5860.332     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.651        15.684        .71241E-04   -1.4582    
   2  Index         1.4188        .31393        .60009E-02   -.79839    
   3  Normalizat    1.4132        .24563        .24688E-03   -.80247    
   4  Prefactor     .68564        .17625        .24374E-03   -1.0409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13584e-10
Minuit parameter uncertainties:
  1  15.6863
  2  0.314353
  3  0.245832
  4  0.17639
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430148': 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) = 5860.33227589
delta logL = 2.34260958678

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  3.165e+01  1.569e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.419e+00  3.144e-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:  6.856e-01  1.764e-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.413e+00  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.08
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.42 +/- 0.31
Photon Flux (Free Index): 4.18e-08 +/- 2.68e-08
Energy Flux (Free Index): 1.73e-04 +/- 1.34e-04

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/430148/cmap_HighResolution_355190401_355449601_4FGL_J1424.6+1447_daily_bin447.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.61e-08', energy_flux2='1.73e-04', photon_flux_error='4.56e-08', dlogl='2.34e+00', energy_flux='4.55e-05', photon_flux2='4.18e-08', job_status='DONE', time_completed='2021-09-09 14:19:00.963394', photon_index_error2='0.31', photon_index2='1.42', ts='12.34', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='1.34e-04', EG='1.35', time_epoch_completed='1631222340.96', return_code='0', job_id='430148', GAL2='0.69', EG2='1.41', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='2.68e-08', ts2='17.08', photon_index='2.17' WHERE bin_id='447' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:19:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 430148: <4FGL_J1424.6+1447_daily_bin447> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin447 216.169 14.784 355190401 355449601 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 :                                   540.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            740 sec.

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

