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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin165
RA = 216.051, Dec = 4.5628
tmin = 282096001, tmax = 282355201
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='420988', job_status='RUN', time_executed='2021-09-09 13:44:04.692426', time_epoch_executed='1631220244.69' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='165'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/420988

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/420988/ft1_4FGL_J1424.2+0433_daily_bin165.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/420988/ft1_4FGL_J1424.2+0433_daily_bin165.fits outfile=/scratch/kocevski/420988/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin165.fits ra=216.051 dec=4.5628 rad=12.0 tmin=282096001.0 tmax=282355201.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.45
user 3.24
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.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/420988/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin165.fits evtable="EVENTS" outfile="/scratch/kocevski/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.fits" evtable="EVENTS" scfile=/scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits sctable="SC_DATA" outfile=/scratch/kocevski/420988/ltcube_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.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/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits
.....................!
real 11.68
user 11.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.fits evtable="EVENTS" scfile=/scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits sctable="SC_DATA" expcube=/scratch/kocevski/420988/ltcube_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.fits outfile=/scratch/kocevski/420988/expmap_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.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/420988/ltcube_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.fits
.....................!
real 190.97
user 185.14
sys 5.49

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.2+0433 @ 216.051 4.5628

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.fits scfile=/scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits outfile=/scratch/kocevski/420988/cmap_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.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.051 yref=4.5628 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.fits scfile=/scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits outfile=/scratch/kocevski/420988/cmap_HighResolution_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.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.051 yref=4.5628 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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.fits evtable="EVENTS" scfile=/scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/420988/Model_4FGL_J1424.2+0433_daily_bin165.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/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.fits....................!
real 50.86
user 49.59
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.fits', '/scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits', expMap='/scratch/kocevski/420988/expmap_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.fits', expCube='/scratch/kocevski/420988/ltcube_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/420988/Model_4FGL_J1424.2+0433_daily_bin165.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.2+0433'

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  6.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/420988/ft1_filtered_4FGL_J1424.2+0433_daily_bin165.fits
Spacecraft file(s): /scratch/kocevski/420988/ft2_4FGL_J1424.2+0433_daily_bin165.fits
Exposure map: /scratch/kocevski/420988/expmap_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.fits
Exposure cube: /scratch/kocevski/420988/ltcube_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/420988/Model_4FGL_J1424.2+0433_daily_bin165.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) = 6514.61380344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1580       1.0000         .10000E-03   10000.    
     2 'Prefactor '    72.160       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7726       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    131.18       1.0000         .10000E-03   10000.    
     7 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6223       1.0000         .10000E-03   10000.    
     9 'norm      '    6.1084       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4427       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    29.360       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.927       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .23798       1.0000         .10000E-03   10000.    
    18 'norm      '    3.4963       1.0000         .10000E-03   10000.    
    19 'norm      '    1.1155       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3171       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6514.528     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2192 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1573        3.1219       -.58214E-07   -.40098E-04
   2  Prefactor     72.150        30.686       -.17353E-06   -.58777E-04
   3  Prefactor     2.7727        3.6737        .21423E-06    .18798E-04
   4  Prefactor     .10000E-03    3.2499       -.25579E-07** at limit **
   5  Prefactor     .10000E-03    4.5416       -.45322E-07** at limit **
   6  Prefactor     131.15        46.623       -.57964E-06   -.11009E-03
   7  norm          .10000E-03    11.596        .41124E-06** at limit **
   8  Prefactor     1.5663        146.76       -.83407E-06   -.28233E-04
   9  norm          6.1005        23.010       -.48861E-05   -.85748E-04
  10  Prefactor     .10000E-03    2.4372       -.13162E-06** at limit **
  11  Prefactor     .10000E-03    7.2288        .14907E-06** at limit **
  12  Prefactor     3.4309        114.82        .38926E-06   -.11195E-04
  13  Prefactor     .10000E-03    45.892        .86149E-06** at limit **
  14  norm          29.365        21.392       -.40952E-08   -.22996E-04
  15  Prefactor     18.925        21.938       -.59826E-08   -.30803E-04
  16  Prefactor     .10000E-03    6.0476        .74938E-07** at limit **
  17  norm          .23796        .17210        .27314E-08   -.24271E-03
  18  norm          3.4965        2.4712        .14536E-06   -.36152E-04
  19  norm          1.1159        3.9992        .19116E-05    .16556E-03
  20  Normalizat    1.3177        .25503        .36847E-05   -.33122E-03
  21  Prefactor     .89560        .15976       -.40924E-05   -.89274E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.15732
  Prefactor  = 72.1497
  Prefactor  = 2.77267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 131.151
  norm       = 0.0001
  Prefactor  = 1.56634
  norm       = 6.10048
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.43087
  Prefactor  = 0.0001
  norm       = 29.3653
  Prefactor  = 18.9248
  Prefactor  = 0.0001
  norm       = 0.237965
  norm       = 3.49645
  norm       = 1.1159
  Normalizat = 1.31769
  Prefactor  = 0.895602
 **********
 **   18 **HESSE 
 **********

 FCN=   6514.528     FROM HESSE     STATUS=OK           321 CALLS     2513 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1573        3.1233        .11998E-03   -1.5300    
   2  Prefactor     72.150        30.725        .47260E-04   -1.4007    
   3  Prefactor     2.7727        3.6650        .17309E-03   -1.5375    
   4  Prefactor     .10000E-03    3.2522        .14210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5421        .16799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     131.15        46.713        .17578E-03   -1.3413    
   7  norm          .10000E-03    11.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5663        152.26        .33224E-02   -1.5458    
   9  norm          6.1005        23.147        .16244E-03   -1.5214    
  10  Prefactor     .10000E-03    2.4410        .12302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.3854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4309        115.39        .21798E-03   -1.5337    
  13  Prefactor     .10000E-03    46.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          29.365        21.366        .73941E-04   -1.4624    
  15  Prefactor     18.925        21.915        .92062E-04   -1.4838    
  16  Prefactor     .10000E-03    6.0523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23796        .16908        .27459E-04   -1.5610    
  18  norm          3.4965        2.4679        .10232E-03   -1.5334    
  19  norm          1.1159        3.9749        .30150E-03   -1.5497    
  20  Normalizat    1.3177        .27954        .29687E-03   -.83040    
  21  Prefactor     .89560        .17026        .22146E-03   -.96295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48074e-10
Minuit parameter uncertainties:
  1  3.12337
  2  30.7314
  3  3.66526
  4  4.24247e-07
  5  9.57097e-07
  6  46.7258
  7  3.41046e-05
  8  30.9667
  9  23.1807
  10  3.86173e-07
  11  1.7229e-05
  12  39.8767
  13  0.00019478
  14  21.3716
  15  21.9244
  16  4.2032e-07
  17  0.169076
  18  2.46796
  19  3.9758
  20  0.279861
  21  0.170361
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  6.100e+00  2.318e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  8.956e-01  1.704e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.318e+00  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 216.051 4.563
Photon Flux Upper Limit: 6.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/420988/likelihoodResults_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.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) = 6512.30487492
delta logL = 2.22359312723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6512.26307738
delta logL = 2.26539066957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0832       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1455       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6512.263     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      225 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0982        29.435        .57746E-02   -.12209E-03
   2  alpha         4.1429        4.3119        .25256        .30277E-04
   3  Normalizat    1.1455        .87614E-01    .71163E-01   -.31485E-03
   4  Prefactor     .95627        .53220E-01    .45721E-01   -.25572E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.09823
  alpha      = 4.14292
  Normalizat = 1.14551
  Prefactor  = 0.956266
 **********
 **   18 **HESSE 
 **********

 FCN=   6512.263     FROM HESSE     STATUS=OK            27 CALLS      252 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0982        6.3940        .73486E-04   -1.5356    
   2  alpha         4.1429        .99797        .11020E-02    .71706    
   3  Normalizat    1.1455        .27923        .31490E-03   -.88304    
   4  Prefactor     .95627        .17149        .21484E-03   -.94202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66105e-10
Minuit parameter uncertainties:
  1  6.39544
  2  1.05173
  3  0.27959
  4  0.17159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/420988': 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) = 6512.26307315
delta logL = 2.26539489901

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  3.098e+00  6.395e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  4.143e+00  1.052e+00  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.563e-01  1.716e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.146e+00  2.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.92
Ra Dec: 216.051 4.563
Photon Index (Free Index): 4.14 +/- 1.05
Photon Flux (Free Index): 1.44e-07 +/- 8.66e-08
Energy Flux (Free Index): 2.29e-05 +/- 1.29e-05

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/420988/cmap_HighResolution_282096001_282355201_4FGL_J1424.2+0433_daily_bin165.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-05', comment='SUCCESS', energy_flux2='2.29e-05', dlogl='2.27e+00', photon_flux2='1.44e-07', job_status='DONE', time_completed='2021-09-09 13:55:28.464940', photon_index_error2='1.05', photon_index2='4.14', ts='0.09', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='6.72e-08', energy_flux_error2='1.29e-05', EG='1.32', time_epoch_completed='1631220928.47', return_code='0', job_id='420988', GAL2='0.96', EG2='1.15', return_code2='0', photon_flux_error2='8.66e-08', ts2='4.92', photon_index='1.98' WHERE bin_id='165' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:55:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 420988: <4FGL_J1424.2+0433_daily_bin165> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin165> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 13:41:26 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:41:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:41:27 2021
Terminated at Thu Sep  9 13:55:31 2021
Results reported at Thu Sep  9 13:55:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin165 216.051 4.5628 282096001 282355201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.2+0433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   562.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            845 sec.

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

