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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin296
RA = 216.169, Dec = 14.784
tmin = 316051201, tmax = 316310401
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='429881', job_status='RUN', time_executed='2021-09-09 14:10:18.329457', time_epoch_executed='1631221818.33' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429881/ft1_4FGL_J1424.6+1447_daily_bin296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429881/ft2_4FGL_J1424.6+1447_daily_bin296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429881/ft1_4FGL_J1424.6+1447_daily_bin296.fits outfile=/scratch/kocevski/429881/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin296.fits ra=216.169 dec=14.784 rad=12.0 tmin=316051201.0 tmax=316310401.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.59
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429881/ft2_4FGL_J1424.6+1447_daily_bin296.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/429881/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin296.fits evtable="EVENTS" outfile="/scratch/kocevski/429881/ft1_filtered_4FGL_J1424.6+1447_daily_bin296.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.51
user 0.36
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429881/ft1_filtered_4FGL_J1424.6+1447_daily_bin296.fits evtable="EVENTS" scfile=/scratch/kocevski/429881/ft2_4FGL_J1424.6+1447_daily_bin296.fits sctable="SC_DATA" expcube=/scratch/kocevski/429881/ltcube_316051201_316310401_4FGL_J1424.6+1447_daily_bin296.fits outfile=/scratch/kocevski/429881/expmap_316051201_316310401_4FGL_J1424.6+1447_daily_bin296.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/429881/ltcube_316051201_316310401_4FGL_J1424.6+1447_daily_bin296.fits
.....................!
real 192.76
user 187.52
sys 4.81

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/429881/ft1_filtered_4FGL_J1424.6+1447_daily_bin296.fits scfile=/scratch/kocevski/429881/ft2_4FGL_J1424.6+1447_daily_bin296.fits outfile=/scratch/kocevski/429881/cmap_316051201_316310401_4FGL_J1424.6+1447_daily_bin296.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429881/ft1_filtered_4FGL_J1424.6+1447_daily_bin296.fits scfile=/scratch/kocevski/429881/ft2_4FGL_J1424.6+1447_daily_bin296.fits outfile=/scratch/kocevski/429881/cmap_HighResolution_316051201_316310401_4FGL_J1424.6+1447_daily_bin296.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.58
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.103       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.597       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11341E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.7685       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.841       1.0000         .10000E-03   10000.    
     9 'norm      '    13.410       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.0526       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11230E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0488       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .26365       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1185       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1088       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=   7309.287     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2335 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.091        43.887       -.47533E-05   -.18636E-03
   2  Prefactor     .10000E-03    1.8291        .88845E-08** at limit **
   3  Prefactor     12.587        17.047        .48873E-06    .22893E-04
   4  Prefactor     .10000E-03    24.112        .16082E-06** at limit **
   5  Prefactor     .10000E-03    24.541       -.24592E-06** at limit **
   6  Prefactor     .10000E-03    51.811       -.13579E-05** at limit **
   7  norm          9.7738        18.720       -.42874E-06   -.19181E-04
   8  Prefactor     10.844        8.2296        .68945E-07    .20218E-04
   9  norm          13.410        3.9725       -.91526E-08    .57102E-05
  10  Prefactor     .10000E-03    6.8606        .33813E-07** at limit **
  11  norm          2.0527        1.9671       -.45346E-08    .15095E-04
  12  Prefactor     .10000E-03    128.25       -.10598E-05** at limit **
  13  norm          .10000E-03    52.152        .27152E-05** at limit **
  14  norm          .10000E-03    1.6619       -.14035E-07** at limit **
  15  Prefactor     .10000E-03    7.4472        .10336E-06** at limit **
  16  Prefactor     4.0485        12.149        .23782E-05   -.40016E-03
  17  Prefactor     .10000E-03    13.496       -.54170E-07** at limit **
  18  Prefactor     .10000E-03    13.136       -.52728E-06** at limit **
  19  Prefactor     .10000E-03    29.579       -.64726E-06** at limit **
  20  Prefactor     .10000E-03    2.7314        .12170E-07** at limit **
  21  norm          .26366        .16060        .51279E-08    .44813E-04
  22  norm          .10000E-03    13.413        .36910E-06** at limit **
  23  Normalizat    1.1186        .20539       -.22393E-06    .44793E-04
  24  Prefactor     1.1087        .14753        .31872E-06    .34907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.0905
  Prefactor  = 0.0001
  Prefactor  = 12.5873
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.77376
  Prefactor  = 10.8442
  norm       = 13.4103
  Prefactor  = 0.0001
  norm       = 2.05269
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.04846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.263655
  norm       = 0.0001
  Normalizat = 1.11862
  Prefactor  = 1.1087
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.287     FROM HESSE     STATUS=OK           391 CALLS     2726 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.091        45.451        .59051E-04   -1.4349    
   2  Prefactor     .10000E-03    1.8436        .11290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.587        17.070        .11286E-03   -1.4998    
   4  Prefactor     .10000E-03    24.765        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    52.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.7738        18.726        .12821E-03   -1.5083    
   8  Prefactor     10.844        8.2284        .12168E-03   -1.5049    
   9  norm          13.410        3.9738        .89798E-04   -1.4975    
  10  Prefactor     .10000E-03    6.9503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.0527        1.9707        .11381E-03   -1.5421    
  12  Prefactor     .10000E-03    131.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    54.229        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6681        .10763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.4517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0485        20.737        .10020E-02   -1.5306    
  17  Prefactor     .10000E-03    13.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    29.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.7335        .13799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .26366        .15660        .25737E-04   -1.5605    
  22  norm          .10000E-03    13.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1186        .24720        .29619E-03   -.89156    
  24  Prefactor     1.1087        .17825        .21454E-03   -.89189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52303e-09
Minuit parameter uncertainties:
  1  45.4849
  2  1.51955e-06
  3  17.0761
  4  1.31631e-05
  5  3.14114e-05
  6  0.000163692
  7  18.7373
  8  8.22928
  9  3.97391
  10  6.09864e-06
  11  1.97076
  12  0.000453618
  13  0.000216498
  14  6.85471e-07
  15  3.56956e-06
  16  18.3351
  17  1.10585e-05
  18  3.75289e-05
  19  6.97835e-05
  20  3.05215e-08
  21  0.156602
  22  2.37179e-05
  23  0.24746
  24  0.178351
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.084e+01  8.229e+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.109e+00  1.784e-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.119e+00  2.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.29
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 4.70e-08 +/- 3.56e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 1.69e-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) = 7308.88008152
delta logL = 0.406803826603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7308.87887245
delta logL = 0.408012900893

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5099       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7425       1.0000          .0000       10.000    
     3 'Normalizat'    1.0618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1298       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=   7308.879     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      303 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5086        8.5769        .11729E-03   -.22827E-03
   2  Index         2.7427        .74415        .47218E-02   -.97889E-04
   3  Normalizat    1.0616        .25626        .30285E-03   -.16630E-03
   4  Prefactor     1.1300        .17955        .21263E-03   -.43028E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.5086
  Index      = 2.74266
  Normalizat = 1.06164
  Prefactor  = 1.12996
 **********
 **   18 **HESSE 
 **********

 FCN=   7308.879     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5086        6.9336        .46914E-05   -1.5198    
   2  Index         2.7427        .60124        .18887E-03   -.46841    
   3  Normalizat    1.0616        .25390        .12114E-04   -.90993    
   4  Prefactor     1.1300        .17885        .42525E-04   -.88515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62473e-10
Minuit parameter uncertainties:
  1  6.93443
  2  0.603079
  3  0.254192
  4  0.178946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429881': 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) = 7308.87887185
delta logL = 0.408013502458

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.509e+00  6.934e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.743e+00  6.031e-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.130e+00  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.062e+00  2.542e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.15
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.74 +/- 0.60
Photon Flux (Free Index): 9.75e-08 +/- 7.30e-08
Energy Flux (Free Index): 2.27e-05 +/- 1.30e-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/429881/cmap_HighResolution_316051201_316310401_4FGL_J1424.6+1447_daily_bin296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.70e-08', energy_flux2='2.27e-05', photon_flux_error='3.56e-08', dlogl='4.08e-01', energy_flux='2.22e-05', photon_flux2='9.75e-08', job_status='DONE', time_completed='2021-09-09 14:20:00.870068', photon_index_error2='0.60', photon_index2='2.74', ts='6.29', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='1.12', time_epoch_completed='1631222400.87', return_code='0', job_id='429881', GAL2='1.13', EG2='1.06', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='7.30e-08', ts2='7.15', photon_index='2.17' WHERE bin_id='296' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:20:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 429881: <4FGL_J1424.6+1447_daily_bin296> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin296> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:22 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:23 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:23 2021
Terminated at Thu Sep  9 14:20:01 2021
Results reported at Thu Sep  9 14:20:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin296 216.169 14.784 316051201 316310401 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 :                                   576.00 sec.
    Max Memory :                                 1104 MB
    Average Memory :                             225.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            819 sec.

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

