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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin1145
RA = 216.169, Dec = 14.784
tmin = 536112001, tmax = 536371201
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='435532', job_status='RUN', time_executed='2021-09-09 14:21:31.151418', time_epoch_executed='1631222491.15' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1145'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435532

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435532/ft1_4FGL_J1424.6+1447_daily_bin1145.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435532/ft2_4FGL_J1424.6+1447_daily_bin1145.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435532/ft1_4FGL_J1424.6+1447_daily_bin1145.fits outfile=/scratch/kocevski/435532/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1145.fits ra=216.169 dec=14.784 rad=12.0 tmin=536112001.0 tmax=536371201.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.62
user 3.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435532/ft1_filtered_4FGL_J1424.6+1447_daily_bin1145.fits" evtable="EVENTS" scfile=/scratch/kocevski/435532/ft2_4FGL_J1424.6+1447_daily_bin1145.fits sctable="SC_DATA" outfile=/scratch/kocevski/435532/ltcube_536112001_536371201_4FGL_J1424.6+1447_daily_bin1145.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/435532/ft2_4FGL_J1424.6+1447_daily_bin1145.fits
.....................!
real 12.33
user 11.92
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435532/ft1_filtered_4FGL_J1424.6+1447_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/435532/ft2_4FGL_J1424.6+1447_daily_bin1145.fits sctable="SC_DATA" expcube=/scratch/kocevski/435532/ltcube_536112001_536371201_4FGL_J1424.6+1447_daily_bin1145.fits outfile=/scratch/kocevski/435532/expmap_536112001_536371201_4FGL_J1424.6+1447_daily_bin1145.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/435532/ltcube_536112001_536371201_4FGL_J1424.6+1447_daily_bin1145.fits
.....................!
real 191.07
user 185.42
sys 4.24

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/435532/ft1_filtered_4FGL_J1424.6+1447_daily_bin1145.fits scfile=/scratch/kocevski/435532/ft2_4FGL_J1424.6+1447_daily_bin1145.fits outfile=/scratch/kocevski/435532/cmap_536112001_536371201_4FGL_J1424.6+1447_daily_bin1145.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435532/ft1_filtered_4FGL_J1424.6+1447_daily_bin1145.fits scfile=/scratch/kocevski/435532/ft2_4FGL_J1424.6+1447_daily_bin1145.fits outfile=/scratch/kocevski/435532/cmap_HighResolution_536112001_536371201_4FGL_J1424.6+1447_daily_bin1145.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/435532/ft1_filtered_4FGL_J1424.6+1447_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/435532/ft2_4FGL_J1424.6+1447_daily_bin1145.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435532/Model_4FGL_J1424.6+1447_daily_bin1145.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/435532/ft1_filtered_4FGL_J1424.6+1447_daily_bin1145.fits.....................!
real 63.56
user 61.72
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.795       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.5247       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    60.617       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.821       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.0616       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2242       1.0000         .10000E-03   10000.    
    11 'norm      '    5.1086       1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.269       1.0000         .10000E-03   10000.    
    13 'norm      '    9.7231       1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3010       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6671       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4521       1.0000         .10000E-03   10000.    
    21 'norm      '    1.7997       1.0000         .10000E-03   10000.    
    22 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6025       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .61805       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=   8638.549     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2696 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.793        41.534        .53134E-06   -.29275E-05
   2  Prefactor     7.5246        3.8321        .51648E-07   -.13030E-04
   3  Prefactor     .10000E-03    3.8148        .17161E-06** at limit **
   4  Prefactor     .10000E-03    2.2761       -.52572E-08** at limit **
   5  Prefactor     60.612        36.620        .13982E-06   -.31385E-05
   6  Prefactor     .10000E-03    15.687       -.48787E-07** at limit **
   7  norm          16.823        16.515        .34176E-06   -.52584E-05
   8  Prefactor     .10000E-03    4.0433       -.26382E-06** at limit **
   9  norm          4.0616        2.3441        .45947E-07   -.16739E-05
  10  Prefactor     3.2228        6.1690        .42051E-05   -.76873E-04
  11  norm          5.1086        2.6328       -.51864E-07   -.19175E-04
  12  Prefactor     36.269        30.463        .88850E-07   -.42639E-05
  13  norm          9.7233        15.029        .14391E-07   -.42400E-05
  14  norm          .10000E-03    3.1953       -.34111E-07** at limit **
  15  Prefactor     .10000E-03    5.7976        .15971E-07** at limit **
  16  Prefactor     2.3004        31.291        .90165E-05   -.19511E-04
  17  Prefactor     .10000E-03    4.6112        .23886E-06** at limit **
  18  Prefactor     6.6601        18.067       -.32018E-05   -.20462E-03
  19  Prefactor     .10000E-03    107.38        .14108E-04** at limit **
  20  Prefactor     9.4521        6.9310        .49622E-07   -.64343E-05
  21  norm          1.7997        .27009       -.12909E-07   -.94033E-03
  22  norm          .10000E-03    92.204       -.81172E-05** at limit **
  23  Normalizat    1.6026        .18881       -.96278E-06   -.77498E-04
  24  Prefactor     .61798        .13148       -.31776E-06   -.16155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7932
  Prefactor  = 7.52456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.612
  Prefactor  = 0.0001
  norm       = 16.8226
  Prefactor  = 0.0001
  norm       = 4.0616
  Prefactor  = 3.22282
  norm       = 5.10863
  Prefactor  = 36.2693
  norm       = 9.7233
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.30038
  Prefactor  = 0.0001
  Prefactor  = 6.66006
  Prefactor  = 0.0001
  Prefactor  = 9.45213
  norm       = 1.79971
  norm       = 0.000100005
  Normalizat = 1.60262
  Prefactor  = 0.617977
 **********
 **   18 **HESSE 
 **********

 FCN=   8638.549     FROM HESSE     STATUS=OK           399 CALLS     3095 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.793        41.539        .72202E-04   -1.4598    
   2  Prefactor     7.5246        3.8328        .12595E-03   -1.5159    
   3  Prefactor     .10000E-03    3.8212        .17727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.2783        .13693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     60.612        36.769        .51534E-04   -1.4149    
   6  Prefactor     .10000E-03    15.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.823        16.515        .97655E-04   -1.4887    
   8  Prefactor     .10000E-03    4.0669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.0616        2.3442        .10476E-03   -1.5305    
  10  Prefactor     3.2228        6.1801        .11280E-02   -1.5349    
  11  norm          5.1086        2.6325        .10411E-03   -1.5256    
  12  Prefactor     36.269        30.470        .66546E-04   -1.4503    
  13  norm          9.7233        15.026        .12851E-03   -1.5084    
  14  norm          .10000E-03    3.3097        .32440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.8014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.3004        31.292        .13527E-02   -1.5405    
  17  Prefactor     .10000E-03    4.6214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.6601        18.313        .15541E-03   -1.5192    
  19  Prefactor     .10000E-03    109.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4521        6.9318        .13035E-03   -1.5093    
  21  norm          1.7997        .27023        .17913E-04   -1.5440    
  22  norm          .10000E-03    92.936        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.6026        .22857        .25448E-03   -.74934    
  24  Prefactor     .61798        .15804        .27278E-03   -1.0683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90724e-10
Minuit parameter uncertainties:
  1  41.5785
  2  3.8329
  3  2.99255e-06
  4  2.72282e-07
  5  36.783
  6  1.32728e-05
  7  16.5196
  8  7.94181e-06
  9  2.34422
  10  6.18135
  11  2.63261
  12  30.4826
  13  15.0323
  14  9.73247e-07
  15  9.86819e-06
  16  16.979
  17  4.39239e-06
  18  18.3285
  19  2.79958e-06
  20  6.93235
  21  0.270226
  22  0.00130514
  23  0.228714
  24  0.158151
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.942e-06  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:  6.180e-01  1.582e-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.603e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 6.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435532/likelihoodResults_536112001_536371201_4FGL_J1424.6+1447_daily_bin1145.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): 102
logL (Free Index) = 8638.5497144
delta logL = -0.00117029266039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8638.54854384
delta logL = 2.77041181107e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2000       1.0000          .0000       10.000    
     3 'Normalizat'    1.6026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61802       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8638.549     FROM MIGRAD    STATUS=FAILED        88 CALLS      244 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    134.78        .18142E-02** at limit **
   2  Index         2.2313        6.7220        .50000       -.69561E-04
   3  Normalizat    1.6026        .26321E-01    .25448E-03    .57308E-04
   4  Prefactor     .61798        .18553E-01    .27278E-03   -.86022E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8638.549     FROM SIMPLEX   STATUS=UNCHANGED    152 CALLS      396 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    134.78        .37911E-03** at limit **
   2  Index         2.2313        6.7220        .13506E-04   -.69561E-04
   3  Normalizat    1.6026        .26321E-01    .11382E-06    .57308E-04
   4  Prefactor     .61798        .18553E-01    .50620E-07   -.86022E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8637.283     FROM MIGRAD    STATUS=FAILED       242 CALLS      638 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25908E-01    .57898        .10359E-03   -.60177E-02
   2  Index         4.9233        3.2528        .18233E-01    .20871E-03
   3  Normalizat    1.4985        .11730        .10179E-03    .36164E-03
   4  Prefactor     .66282        .81436E-01    .21822E-04    .45533E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0259075
  Index      = 4.92334
  Normalizat = 1.49846
  Prefactor  = 0.66282
 **********
 **   18 **HESSE 
 **********

 FCN=   8637.283     FROM HESSE     STATUS=OK            27 CALLS      665 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25908E-01    1.0809        .41434E-05   -1.5676    
   2  Index         4.9233        4.1331        .46561E-03   -.15332E-01
   3  Normalizat    1.4985        .23110        .20358E-04   -.77822    
   4  Prefactor     .66282        .15922        .43644E-05   -1.0500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46852e-09
Minuit parameter uncertainties:
  1  0.334048
  2  4.86572
  3  0.231267
  4  0.159329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435532': 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): 1
logL (Free Index) = 8637.28325024
delta logL = 1.26529387531

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  2.591e-02  3.340e-01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  4.923e+00  4.866e+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:  6.628e-01  1.593e-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.498e+00  2.313e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 216.169 14.784
Photon Index (Free Index): 4.92 +/- 4.87
Photon Flux (Free Index): 9.01e-08 +/- 6.60e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.11e-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/435532/cmap_HighResolution_536112001_536371201_4FGL_J1424.6+1447_daily_bin1145.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-03', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='1.27e+00', photon_flux2='9.01e-08', job_status='DONE', time_completed='2021-09-09 14:34:01.918242', photon_index_error2='4.87', photon_index2='4.92', ts='-0.00', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', photon_flux_upper_limit='6.49e-08', energy_flux_error2='1.11e-05', EG='1.60', time_epoch_completed='1631223241.92', return_code='0', job_id='435532', GAL2='0.66', EG2='1.50', return_code2='1', photon_flux_error2='6.60e-08', ts2='2.67', photon_index='2.17' WHERE bin_id='1145' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:34:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 435532: <4FGL_J1424.6+1447_daily_bin1145> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1145> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 14:21:12 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:21:13 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:21:13 2021
Terminated at Thu Sep  9 14:34:02 2021
Results reported at Thu Sep  9 14:34:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1145 216.169 14.784 536112001 536371201 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 :                                   740.00 sec.
    Max Memory :                                 1128 MB
    Average Memory :                             343.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            770 sec.

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

