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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin822
RA = 216.169, Dec = 14.784
tmin = 452390401, tmax = 452649601
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='433595', job_status='RUN', time_executed='2021-09-09 14:19:03.497432', time_epoch_executed='1631222343.5' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='822'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433595

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433595/ft1_4FGL_J1424.6+1447_daily_bin822.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433595/ft2_4FGL_J1424.6+1447_daily_bin822.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433595/ft1_4FGL_J1424.6+1447_daily_bin822.fits outfile=/scratch/kocevski/433595/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin822.fits ra=216.169 dec=14.784 rad=12.0 tmin=452390401.0 tmax=452649601.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.43
user 3.21
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433595/ft2_4FGL_J1424.6+1447_daily_bin822.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/433595/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin822.fits evtable="EVENTS" outfile="/scratch/kocevski/433595/ft1_filtered_4FGL_J1424.6+1447_daily_bin822.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/433595/ft1_filtered_4FGL_J1424.6+1447_daily_bin822.fits" evtable="EVENTS" scfile=/scratch/kocevski/433595/ft2_4FGL_J1424.6+1447_daily_bin822.fits sctable="SC_DATA" outfile=/scratch/kocevski/433595/ltcube_452390401_452649601_4FGL_J1424.6+1447_daily_bin822.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/433595/ft2_4FGL_J1424.6+1447_daily_bin822.fits
.....................!
real 11.77
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433595/ft1_filtered_4FGL_J1424.6+1447_daily_bin822.fits evtable="EVENTS" scfile=/scratch/kocevski/433595/ft2_4FGL_J1424.6+1447_daily_bin822.fits sctable="SC_DATA" expcube=/scratch/kocevski/433595/ltcube_452390401_452649601_4FGL_J1424.6+1447_daily_bin822.fits outfile=/scratch/kocevski/433595/expmap_452390401_452649601_4FGL_J1424.6+1447_daily_bin822.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/433595/ltcube_452390401_452649601_4FGL_J1424.6+1447_daily_bin822.fits
.....................!
real 190.49
user 186.25
sys 3.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/433595/ft1_filtered_4FGL_J1424.6+1447_daily_bin822.fits scfile=/scratch/kocevski/433595/ft2_4FGL_J1424.6+1447_daily_bin822.fits outfile=/scratch/kocevski/433595/cmap_452390401_452649601_4FGL_J1424.6+1447_daily_bin822.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/433595/ft1_filtered_4FGL_J1424.6+1447_daily_bin822.fits scfile=/scratch/kocevski/433595/ft2_4FGL_J1424.6+1447_daily_bin822.fits outfile=/scratch/kocevski/433595/cmap_HighResolution_452390401_452649601_4FGL_J1424.6+1447_daily_bin822.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/433595/ft1_filtered_4FGL_J1424.6+1447_daily_bin822.fits evtable="EVENTS" scfile=/scratch/kocevski/433595/ft2_4FGL_J1424.6+1447_daily_bin822.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433595/Model_4FGL_J1424.6+1447_daily_bin822.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/433595/ft1_filtered_4FGL_J1424.6+1447_daily_bin822.fits.....................!
real 53.33
user 51.98
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.5744       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2073       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.259       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.480       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.925       1.0000         .10000E-03   10000.    
     7 'norm      '    .14880E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5314       1.0000         .10000E-03   10000.    
     9 'norm      '    6.0725       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.3144       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.640       1.0000         .10000E-03   10000.    
    13 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    53.383       1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.106       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    45.598       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8765       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2067       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93098       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1577       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=   7170.546     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2702 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    89.831        .59180E-06** at limit **
   2  Prefactor     4.5744        4.1407       -.30200E-07   -.99652E-05
   3  Prefactor     3.2065        3.8846        .19008E-07   -.64649E-03
   4  Prefactor     14.259        12.402       -.18108E-06    .35217E-05
   5  Prefactor     15.474        35.270       -.55791E-05   -.11039E-04
   6  Prefactor     25.918        29.809       -.26329E-05   -.10144E-04
   7  norm          .10000E-03    48.977        .68652E-07** at limit **
   8  Prefactor     7.5281        8.4479        .39921E-06   -.31592E-03
   9  norm          6.0725        2.8510       -.22857E-07    .54141E-05
  10  Prefactor     .10000E-03    6.0925       -.26931E-07** at limit **
  11  norm          3.3139        2.8964       -.18801E-08   -.39514E-04
  12  Prefactor     32.642        26.310        .47887E-06    .64927E-05
  13  norm          .10000E-03    5.7700       -.65207E-08** at limit **
  14  norm          53.382        10.455       -.73848E-07    .14842E-05
  15  Prefactor     34.103        29.373       -.18654E-05   -.77502E-05
  16  Prefactor     .10000E-03    6.6672       -.34855E-07** at limit **
  17  Prefactor     .10000E-03    9.2469       -.33813E-07** at limit **
  18  Prefactor     45.602        29.655        .14076E-05    .14887E-04
  19  Prefactor     .10000E-03    14.288        .10754E-09** at limit **
  20  Prefactor     6.8764        9.0468       -.71228E-07   -.10054E-04
  21  norm          1.2067        .25906       -.88500E-08    .10728E-03
  22  norm          .10000E-03    16.556        .32771E-07** at limit **
  23  Normalizat    .93100        .21824        .10318E-05   -.12961E-04
  24  Prefactor     1.1577        .15675        .10766E-06    .24047E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.57444
  Prefactor  = 3.2065
  Prefactor  = 14.2595
  Prefactor  = 15.4736
  Prefactor  = 25.9181
  norm       = 0.0001
  Prefactor  = 7.52809
  norm       = 6.07248
  Prefactor  = 0.0001
  norm       = 3.31394
  Prefactor  = 32.642
  norm       = 0.0001
  norm       = 53.3824
  Prefactor  = 34.103
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.602
  Prefactor  = 0.0001
  Prefactor  = 6.87636
  norm       = 1.20675
  norm       = 0.0001
  Normalizat = 0.930999
  Prefactor  = 1.15772
 **********
 **   18 **HESSE 
 **********

 FCN=   7170.546     FROM HESSE     STATUS=OK           405 CALLS     3107 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    90.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.5744        4.1376        .15898E-03   -1.5280    
   3  Prefactor     3.2065        8.2207        .11311E-02   -1.5350    
   4  Prefactor     14.259        12.435        .10607E-03   -1.4953    
   5  Prefactor     15.474        35.260        .10180E-03   -1.4921    
   6  Prefactor     25.918        29.842        .78677E-04   -1.4689    
   7  norm          .10000E-03    49.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.5281        8.9270        .73067E-03   -1.5159    
   9  norm          6.0725        2.8517        .95120E-04   -1.5215    
  10  Prefactor     .10000E-03    6.1617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.3139        2.8904        .12943E-03   -1.5344    
  12  Prefactor     32.642        26.318        .70137E-04   -1.4565    
  13  norm          .10000E-03    5.7729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          53.382        10.458        .54896E-04   -1.4245    
  15  Prefactor     34.103        29.369        .68617E-04   -1.4539    
  16  Prefactor     .10000E-03    6.6730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.2987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     45.602        29.669        .59375E-04   -1.4356    
  19  Prefactor     .10000E-03    14.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8764        9.0534        .15300E-03   -1.5183    
  21  norm          1.2067        .25927        .19287E-04   -1.5488    
  22  norm          .10000E-03    16.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .93100        .26032        .33753E-03   -.95379    
  24  Prefactor     1.1577        .18853        .22623E-03   -.87642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.80333e-10
Minuit parameter uncertainties:
  1  3.25258e-05
  2  4.13784
  3  8.22358
  4  12.4369
  5  35.3075
  6  29.8592
  7  0.000151614
  8  8.92857
  9  2.85173
  10  5.04649e-06
  11  2.89048
  12  26.3269
  13  2.67737e-06
  14  10.4579
  15  29.3818
  16  1.99451e-06
  17  8.22389e-06
  18  29.6788
  19  1.0183e-05
  20  9.05525
  21  0.259275
  22  7.15496e-07
  23  0.260675
  24  0.188635
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  7.528e+00  8.929e+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.158e+00  1.886e-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.310e-01  2.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 3.26e-08 +/- 3.86e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.83e-05

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

Saving results to:
/scratch/kocevski/433595/likelihoodResults_452390401_452649601_4FGL_J1424.6+1447_daily_bin822.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) = 7169.84183899
delta logL = 0.704173119472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7169.82686541
delta logL = 0.719146694379

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75648       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6198       1.0000          .0000       10.000    
     3 'Normalizat'    .84747       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1983       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=   7169.827     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      266 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74754        6.7358        .11372E-01    .10595E-02
   2  Index         3.6244        1.8288        .11474        .18490E-03
   3  Normalizat    .84715        .48069E-01    .79518E-01    .25675E-04
   4  Prefactor     1.1986        .35262E-01    .50386E-01    .42202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.747541
  Index      = 3.62444
  Normalizat = 0.847152
  Prefactor  = 1.19856
 **********
 **   18 **HESSE 
 **********

 FCN=   7169.827     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      301 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74754        18.206        .51981E-03   -1.5535    
   2  Index         3.6244        3.6895        .39057E-02   -.27871    
   3  Normalizat    .84715        .20817        .35202E-03   -.98343    
   4  Prefactor     1.1986        .14966        .11137E-02   -.86376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.1318e-08
Minuit parameter uncertainties:
  1  7.38033
  2  4.20603
  3  0.208365
  4  0.149711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433595': 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): 102
logL (Free Index) = 7169.82686055
delta logL = 0.719151555097

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  7.475e-01  7.380e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.624e+00  4.206e+00  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.199e+00  1.497e-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:  8.472e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.58
Ra Dec: 216.169 14.784
Photon Index (Free Index): 3.62 +/- 4.21
Photon Flux (Free Index): 9.33e-08 +/- 8.64e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.19e-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/433595/cmap_HighResolution_452390401_452649601_4FGL_J1424.6+1447_daily_bin822.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.12e-03', comment='SUCCESS', photon_flux='3.26e-08', energy_flux2='1.51e-05', photon_flux_error='3.86e-08', dlogl='7.19e-01', energy_flux='1.54e-05', photon_flux2='9.33e-08', job_status='DONE', time_completed='2021-09-09 14:29:44.560192', photon_index_error2='4.21', photon_index2='3.62', ts='1.04', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.19e-05', EG='0.93', time_epoch_completed='1631222984.56', return_code='0', job_id='433595', GAL2='1.20', EG2='0.85', return_code2='102', energy_flux_error='1.83e-05', photon_flux_error2='8.64e-08', ts2='2.58', photon_index='2.17' WHERE bin_id='822' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:29:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 433595: <4FGL_J1424.6+1447_daily_bin822> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin822> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:03 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:16:04 2021
Terminated at Thu Sep  9 14:29:47 2021
Results reported at Thu Sep  9 14:29:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin822 216.169 14.784 452390401 452649601 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 :                                   638.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            824 sec.

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

