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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin444
RA = 216.051, Dec = 4.5628
tmin = 354412801, tmax = 354672001
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='421427', job_status='RUN', time_executed='2021-09-09 13:46:01.702177', time_epoch_executed='1631220361.7' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='444'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421427

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421427/ft1_4FGL_J1424.2+0433_daily_bin444.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421427/ft2_4FGL_J1424.2+0433_daily_bin444.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/421427/ft1_4FGL_J1424.2+0433_daily_bin444.fits outfile=/scratch/kocevski/421427/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin444.fits ra=216.051 dec=4.5628 rad=12.0 tmin=354412801.0 tmax=354672001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.43
user 3.22
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421427/ft1_filtered_4FGL_J1424.2+0433_daily_bin444.fits evtable="EVENTS" scfile=/scratch/kocevski/421427/ft2_4FGL_J1424.2+0433_daily_bin444.fits sctable="SC_DATA" expcube=/scratch/kocevski/421427/ltcube_354412801_354672001_4FGL_J1424.2+0433_daily_bin444.fits outfile=/scratch/kocevski/421427/expmap_354412801_354672001_4FGL_J1424.2+0433_daily_bin444.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/421427/ltcube_354412801_354672001_4FGL_J1424.2+0433_daily_bin444.fits
.....................!
real 190.87
user 185.44
sys 5.10

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/421427/ft1_filtered_4FGL_J1424.2+0433_daily_bin444.fits scfile=/scratch/kocevski/421427/ft2_4FGL_J1424.2+0433_daily_bin444.fits outfile=/scratch/kocevski/421427/cmap_354412801_354672001_4FGL_J1424.2+0433_daily_bin444.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/421427/ft1_filtered_4FGL_J1424.2+0433_daily_bin444.fits scfile=/scratch/kocevski/421427/ft2_4FGL_J1424.2+0433_daily_bin444.fits outfile=/scratch/kocevski/421427/cmap_HighResolution_354412801_354672001_4FGL_J1424.2+0433_daily_bin444.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.51
user 0.37
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6640       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6784       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0846       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    17.901       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10479E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    15.227       1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.096       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .32936       1.0000         .10000E-03   10000.    
    18 'norm      '    6.0944       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90996       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2615       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=   6304.747     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2206 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6641        4.2247       -.30616E-06    .88440E-04
   2  Prefactor     6.6779        21.159       -.16202E-05   -.14846E-04
   3  Prefactor     1.0847        4.3425       -.58877E-05   -.96622E-03
   4  Prefactor     .10000E-03    3.7483       -.16050E-06** at limit **
   5  Prefactor     .10000E-03    7.5670       -.90612E-06** at limit **
   6  Prefactor     .10000E-03    7.7198        .11182E-06** at limit **
   7  norm          .10000E-03    9.4759        .19302E-05** at limit **
   8  Prefactor     .10000E-03    13.837       -.36697E-05** at limit **
   9  norm          17.900        26.530       -.10346E-05    .26426E-04
  10  Prefactor     .10000E-03    5.4846        .11307E-07** at limit **
  11  Prefactor     .10000E-03    4.0243        .12649E-06** at limit **
  12  Prefactor     .10000E-03    14.879        .11119E-05** at limit **
  13  Prefactor     .10001E-03    35.767       -.17185E-04** at limit **
  14  norm          15.223        16.903       -.76431E-06    .15271E-03
  15  Prefactor     54.090        30.397       -.48225E-05    .21350E-03
  16  Prefactor     .10001E-03    31.391        .17533E-04** at limit **
  17  norm          .32942        .22146        .31280E-07   -.55883E-03
  18  norm          6.0941        3.1333       -.17020E-06   -.15394E-03
  19  norm          .10000E-03    2.2017       -.30924E-07** at limit **
  20  Normalizat    .90994        .23096        .19547E-05    .43015E-04
  21  Prefactor     1.2616        .15321        .44837E-06    .13403E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6641
  Prefactor  = 6.67787
  Prefactor  = 1.08468
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.9002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 15.223
  Prefactor  = 54.0904
  Prefactor  = 0.000100008
  norm       = 0.329424
  norm       = 6.09414
  norm       = 0.0001
  Normalizat = 0.90994
  Prefactor  = 1.26156
 **********
 **   18 **HESSE 
 **********

 FCN=   6304.747     FROM HESSE     STATUS=OK           313 CALLS     2519 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6641        4.2255        .12528E-03   -1.5192    
   2  Prefactor     6.6779        21.171        .15527E-03   -1.5191    
   3  Prefactor     1.0847        5.2284        .34603E-03   -1.5500    
   4  Prefactor     .10000E-03    3.7526        .15012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.5721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.7228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.5615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          17.900        26.534        .94663E-04   -1.4862    
  10  Prefactor     .10000E-03    5.6022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.0536        .15555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    34.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.223        16.882        .10264E-03   -1.4927    
  15  Prefactor     54.090        30.208        .54535E-04   -1.4236    
  16  Prefactor     .10001E-03    30.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .32942        .21486        .29202E-03   -1.5593    
  18  norm          6.0941        3.1344        .96253E-04   -1.5214    
  19  norm          .10000E-03    2.2024        .11506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .90994        .26564        .33978E-03   -.96112    
  21  Prefactor     1.2616        .17723        .19764E-03   -.84457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54694e-09
Minuit parameter uncertainties:
  1  4.2257
  2  21.1946
  3  4.76328
  4  7.59032e-07
  5  1.39847e-05
  6  5.88678e-06
  7  6.38945e-05
  8  0.000102832
  9  26.5513
  10  1.25288e-05
  11  7.21479e-06
  12  3.49979e-05
  13  0.000901315
  14  16.8874
  15  30.2163
  16  0.000972766
  17  0.21486
  18  3.1345
  19  6.44433e-07
  20  0.266021
  21  0.177318
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.790e+01  2.655e+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:  1.262e+00  1.773e-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:  9.099e-01  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/421427/likelihoodResults_354412801_354672001_4FGL_J1424.2+0433_daily_bin444.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) = 6304.61094148
delta logL = 0.136040059648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6304.13553814
delta logL = 0.611443397383

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24200       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .80423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3148       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=   6304.136     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      276 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24256        8.5889        .73057E-02    .44200E-02
   2  alpha         5.0000        4.9999        .46430    ** at limit **
   3  Normalizat    .80489        .13468        .81163E-01    .16273E-04
   4  Prefactor     1.3146        .79959E-01    .32356E-01   -.32596E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.24256
  alpha      = 5
  Normalizat = 0.804894
  Prefactor  = 1.31457
 **********
 **   18 **HESSE 
 **********

 FCN=   6304.136     FROM HESSE     STATUS=OK            33 CALLS      309 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24256        .21869        .33739E-03   -1.5609    
   2  alpha         5.0000        3.1648        .54701E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .80489        .27149        .35934E-03   -.99887    
   4  Prefactor     1.3146        .17979        .19426E-03   -.82875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73267e-10
Minuit parameter uncertainties:
  1  0.218693
  2  6.48009e-05
  3  0.271949
  4  0.17988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421427': 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) = 6304.13552794
delta logL = 0.611453592955

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.426e-01  2.187e-01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  5.000e+00  6.480e-05  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:  1.315e+00  1.799e-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:  8.049e-01  2.719e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 216.051 4.563
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.11e-08 +/- 6.38e-08
Energy Flux (Free Index): 9.97e-06 +/- 8.97e-06

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/421427/cmap_HighResolution_354412801_354672001_4FGL_J1424.2+0433_daily_bin444.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.09e-05', comment='SUCCESS', energy_flux2='9.97e-06', dlogl='6.11e-01', photon_flux2='7.11e-08', job_status='DONE', time_completed='2021-09-09 13:56:40.579693', photon_index_error2='0.00', photon_index2='5.00', ts='0.61', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='7.74e-08', energy_flux_error2='8.97e-06', EG='0.91', time_epoch_completed='1631221000.58', return_code='0', job_id='421427', GAL2='1.31', EG2='0.80', return_code2='0', photon_flux_error2='6.38e-08', ts2='1.96', photon_index='1.98' WHERE bin_id='444' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:56:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 421427: <4FGL_J1424.2+0433_daily_bin444> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin444> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 13:41:58 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:42:00 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:42:00 2021
Terminated at Thu Sep  9 13:56:41 2021
Results reported at Thu Sep  9 13:56:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin444 216.051 4.5628 354412801 354672001 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 :                                   578.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            883 sec.

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

