/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 11 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 = 7593
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin963
RA = 216.051, Dec = 4.5628
tmin = 488937601, tmax = 489196801
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='424851', job_status='RUN', time_executed='2021-09-09 13:52:08.473325', time_epoch_executed='1631220728.47' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='963'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424851

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424851/ft1_4FGL_J1424.2+0433_daily_bin963.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424851/ft2_4FGL_J1424.2+0433_daily_bin963.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424851/ft1_4FGL_J1424.2+0433_daily_bin963.fits outfile=/scratch/kocevski/424851/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin963.fits ra=216.051 dec=4.5628 rad=12.0 tmin=488937601.0 tmax=489196801.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.56
user 3.32
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424851/ft1_filtered_4FGL_J1424.2+0433_daily_bin963.fits evtable="EVENTS" scfile=/scratch/kocevski/424851/ft2_4FGL_J1424.2+0433_daily_bin963.fits sctable="SC_DATA" expcube=/scratch/kocevski/424851/ltcube_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.fits outfile=/scratch/kocevski/424851/expmap_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.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/424851/ltcube_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.fits
.....................!
real 190.96
user 185.77
sys 4.71

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/424851/ft1_filtered_4FGL_J1424.2+0433_daily_bin963.fits scfile=/scratch/kocevski/424851/ft2_4FGL_J1424.2+0433_daily_bin963.fits outfile=/scratch/kocevski/424851/cmap_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424851/ft1_filtered_4FGL_J1424.2+0433_daily_bin963.fits scfile=/scratch/kocevski/424851/ft2_4FGL_J1424.2+0433_daily_bin963.fits outfile=/scratch/kocevski/424851/cmap_HighResolution_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.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.55
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424851/ft1_filtered_4FGL_J1424.2+0433_daily_bin963.fits', '/scratch/kocevski/424851/ft2_4FGL_J1424.2+0433_daily_bin963.fits', expMap='/scratch/kocevski/424851/expmap_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.fits', expCube='/scratch/kocevski/424851/ltcube_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424851/Model_4FGL_J1424.2+0433_daily_bin963.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/424851/ft1_filtered_4FGL_J1424.2+0433_daily_bin963.fits
Spacecraft file(s): /scratch/kocevski/424851/ft2_4FGL_J1424.2+0433_daily_bin963.fits
Exposure map: /scratch/kocevski/424851/expmap_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.fits
Exposure cube: /scratch/kocevski/424851/ltcube_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424851/Model_4FGL_J1424.2+0433_daily_bin963.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) = 6207.57645327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .16960E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6266       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3103       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39364E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    67.830       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.618       1.0000         .10000E-03   10000.    
     9 'norm      '    14.827       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .12333E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .62962       1.0000         .10000E-03   10000.    
    18 'norm      '    1.7627       1.0000         .10000E-03   10000.    
    19 'norm      '    14.320       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4840       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .77848       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=   6207.532     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2205 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1410       -.51869E-07** at limit **
   2  Prefactor     .10005E-03    149.24       -.24087E-04** at limit **
   3  Prefactor     1.6266        2.3238        .16699E-07   -.10103E-03
   4  Prefactor     4.2391        20.138        .27467E-04   -.12700E-03
   5  Prefactor     .10009E-03    108.63        .29050E-04** at limit **
   6  Prefactor     67.819        37.861       -.60508E-05   -.16197E-04
   7  norm          .10000E-03    7.3237        .72540E-07** at limit **
   8  Prefactor     22.603        27.831       -.18750E-05   -.64680E-04
   9  norm          14.825        22.206        .19370E-05   -.32865E-04
  10  Prefactor     .10000E-03    2.2989       -.16354E-07** at limit **
  11  Prefactor     .10000E-03    2.8315        .15271E-06** at limit **
  12  Prefactor     .10000E-03    29.236        .14775E-04** at limit **
  13  Prefactor     .10000E-03    20.899       -.26170E-05** at limit **
  14  norm          .10000E-03    36.226       -.20678E-04** at limit **
  15  Prefactor     .10000E-03    14.793        .45886E-06** at limit **
  16  Prefactor     .10000E-03    9.0999        .26971E-07** at limit **
  17  norm          .62959        .25389        .36506E-07   -.25281E-03
  18  norm          1.7630        2.0026        .51787E-07   -.32562E-03
  19  norm          14.321        7.6733       -.59109E-06    .45214E-04
  20  Normalizat    1.4844        .22715       -.26015E-05    .27908E-04
  21  Prefactor     .77817        .13480        .34761E-06   -.16832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100055
  Prefactor  = 1.62663
  Prefactor  = 4.23912
  Prefactor  = 0.000100093
  Prefactor  = 67.8194
  norm       = 0.0001
  Prefactor  = 22.6027
  norm       = 14.8246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.629586
  norm       = 1.76303
  norm       = 14.321
  Normalizat = 1.48438
  Prefactor  = 0.778171
 **********
 **   18 **HESSE 
 **********

 FCN=   6207.532     FROM HESSE     STATUS=OK           315 CALLS     2520 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1456        .82182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10005E-03    156.60        .36430E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6266        2.3022        .14004E-03   -1.5453    
   4  Prefactor     4.2391        19.883        .19404E-03   -1.5296    
   5  Prefactor     .10009E-03    106.85        .42542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     67.819        38.126        .48735E-04   -1.4059    
   7  norm          .10000E-03    7.3612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.603        27.958        .84223E-04   -1.4757    
   9  norm          14.825        22.196        .10402E-03   -1.4938    
  10  Prefactor     .10000E-03    2.3021        .11665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.8349        .12948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    36.932        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.1143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .62959        .25270        .24287E-04   -1.5549    
  18  norm          1.7630        1.9895        .11434E-03   -1.5442    
  19  norm          14.321        7.6756        .10584E-03   -1.4951    
  20  Normalizat    1.4844        .27373        .27009E-03   -.78218    
  21  Prefactor     .77817        .16182        .22269E-03   -1.0054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64509e-09
Minuit parameter uncertainties:
  1  2.23811e-06
  2  0.00586693
  3  2.30228
  4  18.3713
  5  0.00632929
  6  38.1396
  7  2.21556e-06
  8  27.9741
  9  22.2081
  10  1.26206e-05
  11  9.69593e-06
  12  1.398e-05
  13  7.90202e-05
  14  0.000456655
  15  3.31389e-05
  16  1.10418e-05
  17  0.252697
  18  1.98958
  19  7.67609
  20  0.274
  21  0.161922
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.482e+01  2.221e+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:  7.782e-01  1.619e-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.484e+00  2.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/424851/likelihoodResults_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.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) = 6207.2598746
delta logL = 0.271829822216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6207.24813551
delta logL = 0.283568913665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.090       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1679       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4944       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77423       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=   6207.248     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.090        17.224        .26676E-02   -.13306E-02
   2  alpha         1.1678        .69245        .50000       -.37666E-04
   3  Normalizat    1.4942        .21559        .60898E-01    .35475E-05
   4  Prefactor     .77427        .13438        .43381E-01    .14742E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.0903
  alpha      = 1.16777
  Normalizat = 1.49415
  Prefactor  = 0.774265
 **********
 **   18 **HESSE 
 **********

 FCN=   6207.248     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.090        19.142        .10670E-03   -1.4957    
   2  alpha         1.1678        .82896        .25529E-01   -.56202    
   3  Normalizat    1.4942        .25691        .26932E-03   -.77943    
   4  Prefactor     .77427        .16026        .22312E-03   -1.0068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80799e-09
Minuit parameter uncertainties:
  1  19.1508
  2  0.851796
  3  0.25713
  4  0.160357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424851': 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) = 6207.2481347
delta logL = 0.283569722578

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.409e+01  1.915e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.168e+00  8.518e-01  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:  7.743e-01  1.604e-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.494e+00  2.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 216.051 4.563
Photon Index (Free Index): 1.17 +/- 0.85
Photon Flux (Free Index): 6.89e-09 +/- 9.60e-09
Energy Flux (Free Index): 2.40e-05 +/- 4.23e-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/424851/cmap_HighResolution_488937601_489196801_4FGL_J1424.2+0433_daily_bin963.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.82e-05', comment='SUCCESS', energy_flux2='2.40e-05', dlogl='2.84e-01', photon_flux2='6.89e-09', job_status='DONE', time_completed='2021-09-09 14:01:24.015629', photon_index_error2='0.85', photon_index2='1.17', ts='0.76', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='7.31e-08', energy_flux_error2='4.23e-05', EG='1.48', time_epoch_completed='1631221284.02', return_code='0', job_id='424851', GAL2='0.77', EG2='1.49', return_code2='0', photon_flux_error2='9.60e-09', ts2='1.33', photon_index='1.98' WHERE bin_id='963' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:01:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 424851: <4FGL_J1424.2+0433_daily_bin963> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin963> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:51:30 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:51:32 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:51:32 2021
Terminated at Thu Sep  9 14:01:27 2021
Results reported at Thu Sep  9 14:01:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin963 216.051 4.5628 488937601 489196801 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 :                                   549.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            597 sec.

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

