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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin893
RA = 216.051, Dec = 4.5628
tmin = 470793601, tmax = 471052801
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='424733', job_status='RUN', time_executed='2021-09-09 13:53:41.577464', time_epoch_executed='1631220821.58' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='893'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424733

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424733/ft1_4FGL_J1424.2+0433_daily_bin893.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424733/ft2_4FGL_J1424.2+0433_daily_bin893.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424733/ft1_4FGL_J1424.2+0433_daily_bin893.fits outfile=/scratch/kocevski/424733/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin893.fits ra=216.051 dec=4.5628 rad=12.0 tmin=470793601.0 tmax=471052801.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.52
user 3.29
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424733/ft1_filtered_4FGL_J1424.2+0433_daily_bin893.fits" evtable="EVENTS" scfile=/scratch/kocevski/424733/ft2_4FGL_J1424.2+0433_daily_bin893.fits sctable="SC_DATA" outfile=/scratch/kocevski/424733/ltcube_470793601_471052801_4FGL_J1424.2+0433_daily_bin893.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/424733/ft2_4FGL_J1424.2+0433_daily_bin893.fits
.....................!
real 11.89
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424733/ft1_filtered_4FGL_J1424.2+0433_daily_bin893.fits evtable="EVENTS" scfile=/scratch/kocevski/424733/ft2_4FGL_J1424.2+0433_daily_bin893.fits sctable="SC_DATA" expcube=/scratch/kocevski/424733/ltcube_470793601_471052801_4FGL_J1424.2+0433_daily_bin893.fits outfile=/scratch/kocevski/424733/expmap_470793601_471052801_4FGL_J1424.2+0433_daily_bin893.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/424733/ltcube_470793601_471052801_4FGL_J1424.2+0433_daily_bin893.fits
.....................!
real 190.43
user 185.02
sys 5.05

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/424733/ft1_filtered_4FGL_J1424.2+0433_daily_bin893.fits scfile=/scratch/kocevski/424733/ft2_4FGL_J1424.2+0433_daily_bin893.fits outfile=/scratch/kocevski/424733/cmap_470793601_471052801_4FGL_J1424.2+0433_daily_bin893.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424733/ft1_filtered_4FGL_J1424.2+0433_daily_bin893.fits scfile=/scratch/kocevski/424733/ft2_4FGL_J1424.2+0433_daily_bin893.fits outfile=/scratch/kocevski/424733/cmap_HighResolution_470793601_471052801_4FGL_J1424.2+0433_daily_bin893.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3912       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1791       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10365E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.631       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.510       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10228E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0719       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.0101       1.0000         .10000E-03   10000.    
    18 'norm      '    5.7734       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3536       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76424       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=   6672.262     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     2164 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8327       -.63120E-07** at limit **
   2  Prefactor     .10000E-03    6.5908       -.84366E-06** at limit **
   3  Prefactor     3.3920        4.1073       -.29848E-06   -.22504E-03
   4  Prefactor     5.1523        13.363        .26391E-05    .20001E-03
   5  Prefactor     .10000E-03    95.244       -.57184E-04** at limit **
   6  Prefactor     .10000E-03    20.898       -.20576E-05** at limit **
   7  norm          .10000E-03    5.2332        .31841E-07** at limit **
   8  Prefactor     22.630        27.184       -.18863E-05    .98417E-04
   9  norm          .10000E-03    7.1627        .31231E-05** at limit **
  10  Prefactor     11.515        9.7710       -.13477E-06    .64274E-04
  11  Prefactor     .10000E-03    7.9640       -.23418E-05** at limit **
  12  Prefactor     .10000E-03    50.395        .12534E-04** at limit **
  13  Prefactor     .10000E-03    16.239        .36841E-05** at limit **
  14  norm          .10000E-03    20.251       -.28680E-05** at limit **
  15  Prefactor     5.0547        42.405       -.36847E-04   -.11613E-04
  16  Prefactor     .10000E-03    9.2751        .36352E-06** at limit **
  17  norm          2.0103        .38164        .13355E-06    .93955E-03
  18  norm          5.7750        3.2848       -.11445E-06   -.13703E-03
  19  norm          .10000E-03    6.5243       -.65044E-06** at limit **
  20  Normalizat    1.3533        .21666        .27100E-05    .49540E-03
  21  Prefactor     .76426        .12973        .52963E-06    .75632E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.392
  Prefactor  = 5.1523
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.6299
  norm       = 0.0001
  Prefactor  = 11.5154
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.05466
  Prefactor  = 0.0001
  norm       = 2.01029
  norm       = 5.77496
  norm       = 0.0001
  Normalizat = 1.35333
  Prefactor  = 0.764264
 **********
 **   18 **HESSE 
 **********

 FCN=   6672.262     FROM HESSE     STATUS=OK           307 CALLS     2471 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8601        .10796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.5960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3920        4.1032        .17674E-03   -1.5340    
   4  Prefactor     5.1523        13.389        .17665E-03   -1.5254    
   5  Prefactor     .10000E-03    97.266        .41477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.2425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.630        27.335        .84199E-04   -1.4756    
   9  norm          .10000E-03    7.1634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.515        9.7889        .11808E-03   -1.5029    
  11  Prefactor     .10000E-03    8.0098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    50.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    20.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.0547        43.177        .17854E-03   -1.5258    
  16  Prefactor     .10000E-03    9.2937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.0103        .38194        .20854E-04   -1.5424    
  18  norm          5.7750        3.2851        .10541E-03   -1.5227    
  19  norm          .10000E-03    6.6014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3533        .26232        .27613E-03   -.81988    
  21  Prefactor     .76426        .15625        .22060E-03   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.12886e-10
Minuit parameter uncertainties:
  1  8.16992e-06
  2  1.43966e-05
  3  4.10358
  4  13.3967
  5  0.00136336
  6  2.57004e-05
  7  6.47918e-06
  8  27.3506
  9  3.12847e-06
  10  9.79031
  11  3.97279e-06
  12  7.76744e-05
  13  5.72442e-05
  14  0.000169743
  15  29.5748
  16  1.19963e-05
  17  0.381941
  18  3.28522
  19  4.40588e-06
  20  0.262585
  21  0.15634
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  3.128e-06  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.643e-01  1.563e-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.353e+00  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/424733/likelihoodResults_470793601_471052801_4FGL_J1424.2+0433_daily_bin893.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) = 6672.26267346
delta logL = -0.000663099338453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6672.26201036
delta logL = 1.16870069178e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9824       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3533       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76427       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 TERMINATED WITHOUT CONVERGENCE.

 FCN=   6672.262     FROM MIGRAD    STATUS=FAILED       103 CALLS      247 TOTAL
                     EDM=   .84E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7984.7         .0000    ** at limit **
   2  alpha         3.8794        1.3544         .0000       -.28844E-04
   3  Normalizat    1.3533        7.2870         .0000       -.51708E-05
   4  Prefactor     .76426        8.1725         .0000        .40071E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6672.262     FROM SIMPLEX   STATUS=UNCHANGED    235 CALLS      482 TOTAL
                     EDM=   .84E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7984.7        .61962E-03** at limit **
   2  alpha         3.8794        1.3544        .97194E-09   -.28844E-04
   3  Normalizat    1.3533        7.2870        .37428E-07   -.51708E-05
   4  Prefactor     .76426        8.1725        .64611E-08    .40071E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6672.262     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      555 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10025E-03    16.947        .15661E-02** at limit **
   2  alpha         3.8805        3.6997        .33860E-01   -.28988E-04
   3  Normalizat    1.3533        .24796        .11045E-04    .42325E-03
   4  Prefactor     .76426        .15446        .88241E-05    .52308E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100252
  alpha      = 3.88046
  Normalizat = 1.35332
  Prefactor  = 0.764264
 **********
 **   18 **HESSE 
 **********

 FCN=   6672.262     FROM HESSE     STATUS=OK            23 CALLS      578 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10025E-03    17.090        .31323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.8805        3.6944        .67721E-02    .58498    
   3  Normalizat    1.3533        .24764        .22090E-05   -.81988    
   4  Prefactor     .76426        .15434        .17648E-05   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57502e-08
Minuit parameter uncertainties:
  1  0.00415269
  2  2.08463
  3  0.247863
  4  0.154431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424733': 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) = 6672.26200629
delta logL = 4.06923572882e-06

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.003e-04  4.153e-03  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  3.880e+00  2.085e+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:  7.643e-01  1.544e-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.353e+00  2.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.051 4.563

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/424733/cmap_HighResolution_470793601_471052801_4FGL_J1424.2+0433_daily_bin893.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.36e-05', job_status='DONE', photon_flux_upper_limit='3.58e-08', time_completed='2021-09-09 14:03:32.905432', job_id='424733', GAL2='0.76', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1631221412.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='4.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='893' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:03:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 424733: <4FGL_J1424.2+0433_daily_bin893> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin893 216.051 4.5628 470793601 471052801 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 :                                   586.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            730 sec.

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

