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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin981
RA = 216.051, Dec = 4.5628
tmin = 493603201, tmax = 493862401
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='424878', job_status='RUN', time_executed='2021-09-09 13:54:47.125922', time_epoch_executed='1631220887.13' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='981'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424878

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424878/ft1_4FGL_J1424.2+0433_daily_bin981.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424878/ft2_4FGL_J1424.2+0433_daily_bin981.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424878/ft1_4FGL_J1424.2+0433_daily_bin981.fits outfile=/scratch/kocevski/424878/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin981.fits ra=216.051 dec=4.5628 rad=12.0 tmin=493603201.0 tmax=493862401.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.49
user 3.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/424878/ft2_4FGL_J1424.2+0433_daily_bin981.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/424878/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin981.fits evtable="EVENTS" outfile="/scratch/kocevski/424878/ft1_filtered_4FGL_J1424.2+0433_daily_bin981.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/424878/ft1_filtered_4FGL_J1424.2+0433_daily_bin981.fits" evtable="EVENTS" scfile=/scratch/kocevski/424878/ft2_4FGL_J1424.2+0433_daily_bin981.fits sctable="SC_DATA" outfile=/scratch/kocevski/424878/ltcube_493603201_493862401_4FGL_J1424.2+0433_daily_bin981.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/424878/ft2_4FGL_J1424.2+0433_daily_bin981.fits
.....................!
real 11.61
user 11.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424878/ft1_filtered_4FGL_J1424.2+0433_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/424878/ft2_4FGL_J1424.2+0433_daily_bin981.fits sctable="SC_DATA" expcube=/scratch/kocevski/424878/ltcube_493603201_493862401_4FGL_J1424.2+0433_daily_bin981.fits outfile=/scratch/kocevski/424878/expmap_493603201_493862401_4FGL_J1424.2+0433_daily_bin981.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/424878/ltcube_493603201_493862401_4FGL_J1424.2+0433_daily_bin981.fits
.....................!
real 191.47
user 184.82
sys 6.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 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/424878/ft1_filtered_4FGL_J1424.2+0433_daily_bin981.fits scfile=/scratch/kocevski/424878/ft2_4FGL_J1424.2+0433_daily_bin981.fits outfile=/scratch/kocevski/424878/cmap_493603201_493862401_4FGL_J1424.2+0433_daily_bin981.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424878/ft1_filtered_4FGL_J1424.2+0433_daily_bin981.fits scfile=/scratch/kocevski/424878/ft2_4FGL_J1424.2+0433_daily_bin981.fits outfile=/scratch/kocevski/424878/cmap_HighResolution_493603201_493862401_4FGL_J1424.2+0433_daily_bin981.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.54
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0577       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    53.536       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    33.690       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.187       1.0000         .10000E-03   10000.    
    14 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.356       1.0000         .10000E-03   10000.    
    17 'norm      '    .88524       1.0000         .10000E-03   10000.    
    18 'norm      '    8.2609       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0326       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98511       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=   6378.194     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2206 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0569        6.0309       -.34327E-06   -.51799E-04
   2  Prefactor     .10000E-03    100.76       -.58278E-05** at limit **
   3  Prefactor     .10000E-03    2.1746        .14869E-07** at limit **
   4  Prefactor     .10000E-03    21.489       -.28659E-06** at limit **
   5  Prefactor     .10000E-03    51.465       -.44144E-05** at limit **
   6  Prefactor     53.534        34.266        .36538E-06   -.84419E-05
   7  norm          .10000E-03    3.7499       -.22235E-07** at limit **
   8  Prefactor     .10000E-03    13.414       -.22218E-06** at limit **
   9  norm          33.689        31.807       -.55964E-06   -.78632E-06
  10  Prefactor     .10000E-03    5.8746        .15420E-06** at limit **
  11  Prefactor     .10000E-03    3.8454        .43645E-07** at limit **
  12  Prefactor     .10000E-03    40.000        .24966E-06** at limit **
  13  Prefactor     24.189        24.864        .99111E-06    .35274E-05
  14  norm          .10000E-03    7.7464       -.75968E-07** at limit **
  15  Prefactor     .10000E-03    33.836       -.39608E-05** at limit **
  16  Prefactor     48.354        31.101        .13302E-05    .68676E-05
  17  norm          .88523        .27070        .11130E-06    .18506E-03
  18  norm          8.2611        3.1806        .92993E-07   -.82214E-05
  19  norm          .10000E-03    1.8488       -.75706E-08** at limit **
  20  Normalizat    1.0328        .21804       -.20685E-05   -.16000E-04
  21  Prefactor     .98499        .13325       -.70869E-07   -.12034E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.05691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.5342
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 33.6894
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.1887
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.3542
  norm       = 0.885232
  norm       = 8.26112
  norm       = 0.0001
  Normalizat = 1.03279
  Prefactor  = 0.984993
 **********
 **   18 **HESSE 
 **********

 FCN=   6378.194     FROM HESSE     STATUS=OK           309 CALLS     2515 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0569        6.0710        .13317E-03   -1.5106    
   2  Prefactor     .10000E-03    98.310        .60730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1903        .11501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    51.495        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     53.534        34.292        .54818E-04   -1.4243    
   7  norm          .10000E-03    3.7549        .15104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          33.689        31.808        .69039E-04   -1.4546    
  10  Prefactor     .10000E-03    5.9744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.8531        .15294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    40.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.189        24.869        .81449E-04   -1.4724    
  14  norm          .10000E-03    7.7515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     48.354        31.138        .57665E-04   -1.4316    
  17  norm          .88523        .27113        .22205E-04   -1.5520    
  18  norm          8.2611        3.1809        .84530E-04   -1.5133    
  19  norm          .10000E-03    1.8490        .10605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0328        .25209        .31324E-03   -.91940    
  21  Prefactor     .98499        .15727        .20474E-03   -.93231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85956e-11
Minuit parameter uncertainties:
  1  6.07146
  2  3.45197e-05
  3  4.66343e-06
  4  6.37481e-05
  5  7.81342e-05
  6  34.3047
  7  1.78545e-06
  8  2.49942e-05
  9  31.8238
  10  7.94828e-06
  11  2.87197e-06
  12  2.71772e-05
  13  24.8798
  14  5.32313e-06
  15  0.000119109
  16  31.1483
  17  0.271133
  18  3.18094
  19  3.59879e-07
  20  0.252387
  21  0.157339
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  3.369e+01  3.182e+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:  9.850e-01  1.573e-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.033e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 3.06e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.90e-05

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

Saving results to:
/scratch/kocevski/424878/likelihoodResults_493603201_493862401_4FGL_J1424.2+0433_daily_bin981.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) = 6378.01927737
delta logL = 0.175077866486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6378.01800511
delta logL = 0.176350126501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.983       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5842       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0425       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98266       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=   6378.018     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      229 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.983        79.424        .16938E-02    .59550E-03
   2  alpha         1.5842        1.2689        .45339        .29098E-04
   3  Normalizat    1.0427        .21622        .70484E-01    .13677E-03
   4  Prefactor     .98257        .13712        .46050E-01    .93510E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 34.9834
  alpha      = 1.58425
  Normalizat = 1.04265
  Prefactor  = 0.982567
 **********
 **   18 **HESSE 
 **********

 FCN=   6378.018     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.983        33.407        .67754E-04   -1.4524    
   2  alpha         1.5842        .63734        .18026E-01   -.37503    
   3  Normalizat    1.0427        .24138        .31186E-03   -.91615    
   4  Prefactor     .98257        .15607        .20493E-03   -.93313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52649e-09
Minuit parameter uncertainties:
  1  33.4253
  2  0.645596
  3  0.241638
  4  0.156139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424878': 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) = 6378.01800494
delta logL = 0.176350293858

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  3.498e+01  3.343e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.584e+00  6.456e-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:  9.826e-01  1.561e-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.043e+00  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.07
Ra Dec: 216.051 4.563
Photon Index (Free Index): 1.58 +/- 0.65
Photon Flux (Free Index): 2.08e-08 +/- 2.49e-08
Energy Flux (Free Index): 2.87e-05 +/- 3.16e-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/424878/cmap_HighResolution_493603201_493862401_4FGL_J1424.2+0433_daily_bin981.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-05', comment='SUCCESS', photon_flux='3.06e-08', energy_flux2='2.87e-05', photon_flux_error='2.89e-08', dlogl='1.76e-01', energy_flux='2.01e-05', photon_flux2='2.08e-08', job_status='DONE', time_completed='2021-09-09 14:04:09.078482', photon_index_error2='0.65', photon_index2='1.58', ts='1.72', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='9.68e-08', energy_flux_error2='3.16e-05', EG='1.03', time_epoch_completed='1631221449.08', return_code='0', job_id='424878', GAL2='0.98', EG2='1.04', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='2.49e-08', ts2='2.07', photon_index='1.98' WHERE bin_id='981' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:04:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 424878: <4FGL_J1424.2+0433_daily_bin981> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin981 216.051 4.5628 493603201 493862401 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 :                                   558.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            755 sec.

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

