/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 70 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin18
RA = 216.051, Dec = 4.5628
tmin = 243993601, tmax = 244252801
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='419395', job_status='RUN', time_executed='2021-09-09 13:37:40.546005', time_epoch_executed='1631219860.55' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='18'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/419395

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/419395/ft1_4FGL_J1424.2+0433_daily_bin18.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/419395/ft2_4FGL_J1424.2+0433_daily_bin18.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/419395/ft1_4FGL_J1424.2+0433_daily_bin18.fits outfile=/scratch/kocevski/419395/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin18.fits ra=216.051 dec=4.5628 rad=12.0 tmin=243993601.0 tmax=244252801.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 2.01
user 1.24
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/419395/ft1_filtered_4FGL_J1424.2+0433_daily_bin18.fits" evtable="EVENTS" scfile=/scratch/kocevski/419395/ft2_4FGL_J1424.2+0433_daily_bin18.fits sctable="SC_DATA" outfile=/scratch/kocevski/419395/ltcube_243993601_244252801_4FGL_J1424.2+0433_daily_bin18.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/419395/ft2_4FGL_J1424.2+0433_daily_bin18.fits
.....................!
real 15.30
user 14.83
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/419395/ft1_filtered_4FGL_J1424.2+0433_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/419395/ft2_4FGL_J1424.2+0433_daily_bin18.fits sctable="SC_DATA" expcube=/scratch/kocevski/419395/ltcube_243993601_244252801_4FGL_J1424.2+0433_daily_bin18.fits outfile=/scratch/kocevski/419395/expmap_243993601_244252801_4FGL_J1424.2+0433_daily_bin18.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/419395/ltcube_243993601_244252801_4FGL_J1424.2+0433_daily_bin18.fits
.....................!
real 193.00
user 187.52
sys 4.99

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/419395/ft1_filtered_4FGL_J1424.2+0433_daily_bin18.fits scfile=/scratch/kocevski/419395/ft2_4FGL_J1424.2+0433_daily_bin18.fits outfile=/scratch/kocevski/419395/cmap_243993601_244252801_4FGL_J1424.2+0433_daily_bin18.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/419395/ft1_filtered_4FGL_J1424.2+0433_daily_bin18.fits scfile=/scratch/kocevski/419395/ft2_4FGL_J1424.2+0433_daily_bin18.fits outfile=/scratch/kocevski/419395/cmap_HighResolution_243993601_244252801_4FGL_J1424.2+0433_daily_bin18.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31967       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .87705E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.836       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.778       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.1751       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.321       1.0000         .10000E-03   10000.    
     9 'norm      '    .18623       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5490       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    46.739       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6700       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8973       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9406       1.0000         .10000E-03   10000.    
    18 'norm      '    2.9964       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .73530       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2178       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6830.139     FROM MIGRAD    STATUS=CONVERGED    817 CALLS     2667 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32636        8.7373        .21929E-02    .36997E-03
   2  Prefactor     .10000E-03    135.45        .58478E-02** at limit **
   3  Prefactor     .10000E-03    2.0199        .11419E-02** at limit **
   4  Prefactor     16.834        12.755        .97611E-04    .30806E-03
   5  Prefactor     35.779        22.887        .66999E-04    .91188E-04
   6  Prefactor     .10000E-03    51.436        .18142E-02** at limit **
   7  norm          4.1749        8.9515        .19725E-03    .22594E-04
   8  Prefactor     23.335        25.686        .82946E-04    .12719E-03
   9  norm          .98543E-01    16.071        .10393        .14929E-03
  10  Prefactor     1.5513        8.6494        .34229E-03   -.96718E-04
  11  Prefactor     .10000E-03    6.5240        .18142E-02** at limit **
  12  Prefactor     .10001E-03    71.945        .18142E-02** at limit **
  13  Prefactor     .10000E-03    17.129        .18142E-02** at limit **
  14  norm          46.745        21.732        .58649E-04    .28650E-04
  15  Prefactor     2.6715        38.377        .24942E-03   -.25298E-04
  16  Prefactor     1.8968        59.647        .30200E-03   -.36666E-04
  17  norm          1.9406        .34903        .19949E-04   -.14076E-03
  18  norm          2.9963        2.1853        .10049E-03   -.97633E-04
  19  norm          .10000E-03    3.8783        .15835E-02** at limit **
  20  Normalizat    .73528        .26013        .36101E-03    .71770E-04
  21  Prefactor     1.2178        .16689        .19128E-03    .71423E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.326359
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 16.8341
  Prefactor  = 35.7786
  Prefactor  = 0.000100002
  norm       = 4.17487
  Prefactor  = 23.3351
  norm       = 0.0985431
  Prefactor  = 1.55128
  Prefactor  = 0.000100001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 46.745
  Prefactor  = 2.67146
  Prefactor  = 1.89684
  norm       = 1.94055
  norm       = 2.99633
  norm       = 0.0001
  Normalizat = 0.735283
  Prefactor  = 1.21779
 **********
 **   18 **HESSE 
 **********

 FCN=   6830.139     FROM HESSE     STATUS=OK           307 CALLS     2974 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32636        8.7318        .87718E-04   -1.5594    
   2  Prefactor     .10000E-03    140.69        .23391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.0202        .22838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.834        12.751        .39045E-05   -1.4887    
   5  Prefactor     35.779        22.885        .13400E-04   -1.4511    
   6  Prefactor     .10000E-03    51.451        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.1749        8.9513        .78898E-05   -1.5299    
   8  Prefactor     23.335        25.688        .33178E-05   -1.4741    
   9  norm          .98543E-01    15.340        .10842       -1.5645    
  10  Prefactor     1.5513        8.6434        .13692E-04   -1.5459    
  11  Prefactor     .10000E-03    6.5252        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    71.952        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.129        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          46.745        21.730        .11730E-04   -1.4339    
  15  Prefactor     2.6715        38.364        .99766E-05   -1.5381    
  16  Prefactor     1.8968        59.628        .12080E-04   -1.5433    
  17  norm          1.9406        .34901        .79797E-06   -1.5429    
  18  norm          2.9963        2.1850        .40196E-05   -1.5362    
  19  norm          .10000E-03    3.8792        .31669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .73528        .26008        .14440E-04   -1.0252    
  21  Prefactor     1.2178        .16701        .38256E-04   -.85786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77928e-09
Minuit parameter uncertainties:
  1  3.37624
  2  0.0010818
  3  1.37321e-07
  4  12.7534
  5  22.8909
  6  0.000612957
  7  8.95418
  8  25.7001
  9  2.45838
  10  7.32488
  11  0.000163204
  12  0.00157957
  13  4.19004e-07
  14  21.7339
  15  20.2625
  16  21.2928
  17  0.349009
  18  2.18503
  19  4.21979e-06
  20  0.260517
  21  0.167078
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  9.854e-02  2.458e+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

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.218e+00  1.671e-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:  7.353e-01  2.605e-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: 4.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/419395/likelihoodResults_243993601_244252801_4FGL_J1424.2+0433_daily_bin18.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): 102
logL (Free Index) = 6830.13938814
delta logL = 3.49099536834e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6830.13911999
delta logL = 0.000268498558398

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15814       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7402       1.0000          .0000       5.0000    
     3 'Normalizat'    .73530       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2178       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=   6830.139     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      289 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54766        357.45        .15512        .21154E-03
   2  alpha         1.7690        3.4943        .43856        .49475E-05
   3  Normalizat    .73559        .29999E-01    .81514E-01    .11390E-03
   4  Prefactor     1.2174        .20090E-01    .34224E-01    .93760E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.547662
  alpha      = 1.76899
  Normalizat = 0.735593
  Prefactor  = 1.21739
 **********
 **   18 **HESSE 
 **********

 FCN=   6830.139     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      322 TOTAL
                     EDM=   .66E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54766        9995.1        .54987E-02   -1.5560    
   2  alpha         1.7690        3.0097        .13955       -.29674    
   3  Normalizat    .73559        .13379        .36094E-03   -1.0250    
   4  Prefactor     1.2174        .12565        .19130E-03   -.85798    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.63377e-06
Minuit parameter uncertainties:
  1  229.072
  2  67.1635
  3  0.133851
  4  0.12568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/419395': 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): 102
logL (Free Index) = 6830.13881275
delta logL = 0.00057573596132

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  5.477e-01  2.291e+02  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.769e+00  6.716e+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:  1.217e+00  1.257e-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:  7.356e-01  1.339e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/419395/cmap_HighResolution_243993601_244252801_4FGL_J1424.2+0433_daily_bin18.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', job_status='DONE', photon_flux_upper_limit='4.80e-08', time_completed='2021-09-09 13:48:03.842906', job_id='419395', GAL2='1.22', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1631220483.84', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='5.76e-04', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='18' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:48:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 419395: <4FGL_J1424.2+0433_daily_bin18> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin18> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:36:22 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:36:23 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:36:23 2021
Terminated at Thu Sep  9 13:48:04 2021
Results reported at Thu Sep  9 13:48:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin18 216.051 4.5628 243993601 244252801 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 :                                   620.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            702 sec.

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

