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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin902
RA = 216.169, Dec = 14.784
tmin = 473126401, tmax = 473385601
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='433714', job_status='RUN', time_executed='2021-09-09 14:19:18.660986', time_epoch_executed='1631222358.66' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='902'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433714

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433714/ft1_4FGL_J1424.6+1447_daily_bin902.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433714/ft1_4FGL_J1424.6+1447_daily_bin902.fits outfile=/scratch/kocevski/433714/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin902.fits ra=216.169 dec=14.784 rad=12.0 tmin=473126401.0 tmax=473385601.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.55
user 3.30
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.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/433714/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin902.fits evtable="EVENTS" outfile="/scratch/kocevski/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.56
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits" evtable="EVENTS" scfile=/scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits sctable="SC_DATA" outfile=/scratch/kocevski/433714/ltcube_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.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/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits
.....................!
real 16.10
user 15.55
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits evtable="EVENTS" scfile=/scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits sctable="SC_DATA" expcube=/scratch/kocevski/433714/ltcube_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.fits outfile=/scratch/kocevski/433714/expmap_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.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/433714/ltcube_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.fits
.....................!
real 196.29
user 188.69
sys 5.26

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 145 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits scfile=/scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits outfile=/scratch/kocevski/433714/cmap_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.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.169 yref=14.784 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits scfile=/scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits outfile=/scratch/kocevski/433714/cmap_HighResolution_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.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.169 yref=14.784 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits evtable="EVENTS" scfile=/scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433714/Model_4FGL_J1424.6+1447_daily_bin902.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/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits.....................!
real 60.91
user 58.55
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits', '/scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits', expMap='/scratch/kocevski/433714/expmap_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.fits', expCube='/scratch/kocevski/433714/ltcube_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433714/Model_4FGL_J1424.6+1447_daily_bin902.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/433714/ft1_filtered_4FGL_J1424.6+1447_daily_bin902.fits
Spacecraft file(s): /scratch/kocevski/433714/ft2_4FGL_J1424.6+1447_daily_bin902.fits
Exposure map: /scratch/kocevski/433714/expmap_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.fits
Exposure cube: /scratch/kocevski/433714/ltcube_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433714/Model_4FGL_J1424.6+1447_daily_bin902.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) = 8086.23529469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19949E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.105       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25200E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3005       1.0000         .10000E-03   10000.    
     9 'norm      '    7.7189       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8064       1.0000         .10000E-03   10000.    
    11 'norm      '    3.2802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .41004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.171       1.0000         .10000E-03   10000.    
    14 'norm      '    14.379       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1135       1.0000         .10000E-03   10000.    
    18 'Prefactor '    36.022       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.8415       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2797       1.0000         .10000E-03   10000.    
    21 'norm      '    2.7776       1.0000         .10000E-03   10000.    
    22 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0916       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96500       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8086.232     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2792 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.295       -.24438E-06** at limit **
   2  Prefactor     .10000E-03    1.7283       -.57338E-07** at limit **
   3  Prefactor     10.100        10.667       -.23202E-06   -.26079E-04
   4  Prefactor     .10000E-03    2.1564       -.70915E-08** at limit **
   5  Prefactor     .10000E-03    74.142        .25227E-04** at limit **
   6  Prefactor     .10000E-03    23.959        .48134E-05** at limit **
   7  norm          .10000E-03    10.191        .76347E-07** at limit **
   8  Prefactor     1.3008        2.2505        .36618E-06   -.24487E-02
   9  norm          7.7197        3.1989       -.80292E-07   -.11393E-06
  10  Prefactor     3.8049        6.2866        .13003E-06   -.94372E-03
  11  norm          3.2804        2.4637       -.13309E-06   -.46897E-04
  12  Prefactor     .10017E-03    191.13       -.10876E-04** at limit **
  13  norm          12.195        19.512       -.80992E-05    .12030E-03
  14  norm          14.379        5.7388        .48621E-06    .22071E-04
  15  Prefactor     .10000E-03    7.1991       -.33966E-07** at limit **
  16  Prefactor     .10000E-03    30.128        .62132E-06** at limit **
  17  Prefactor     3.1133        9.7293        .89041E-06   -.27560E-03
  18  Prefactor     36.028        25.592        .75007E-05    .68011E-04
  19  Prefactor     9.8071        36.691       -.39360E-04   -.27239E-04
  20  Prefactor     4.2842        8.4433       -.55631E-06   -.13768E-04
  21  norm          2.7776        .34265        .16008E-07    .49174E-03
  22  norm          .10000E-03    27.634       -.67279E-05** at limit **
  23  Normalizat    1.0916        .19350       -.31252E-06   -.72232E-04
  24  Prefactor     .96500        .14182        .12295E-05   -.20507E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0995
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.30082
  norm       = 7.71965
  Prefactor  = 3.80485
  norm       = 3.28042
  Prefactor  = 0.000100172
  norm       = 12.1947
  norm       = 14.3791
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.1133
  Prefactor  = 36.0284
  Prefactor  = 9.80705
  Prefactor  = 4.28417
  norm       = 2.77762
  norm       = 0.0001
  Normalizat = 1.0916
  Prefactor  = 0.965001
 **********
 **   18 **HESSE 
 **********

 FCN=   8086.232     FROM HESSE     STATUS=OK           405 CALLS     3197 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.2465        .23002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.100        10.668        .12605E-03   -1.5072    
   4  Prefactor     .10000E-03    2.1601        .12895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    76.192        .42924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.3008        6.2283        .19373E-02   -1.5480    
   9  norm          7.7197        3.1999        .99886E-04   -1.5152    
  10  Prefactor     3.8049        6.2231        .10344E-02   -1.5318    
  11  norm          3.2804        2.4599        .11740E-03   -1.5346    
  12  Prefactor     .10017E-03    190.42        .42504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.195        19.203        .11482E-03   -1.5009    
  14  norm          14.379        5.7410        .10563E-03   -1.4949    
  15  Prefactor     .10000E-03    7.2077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    30.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.1133        9.8125        .11490E-02   -1.5355    
  18  Prefactor     36.028        25.646        .66773E-04   -1.4507    
  19  Prefactor     9.8071        36.878        .12773E-03   -1.5082    
  20  Prefactor     4.2842        8.4382        .19475E-03   -1.5294    
  21  norm          2.7776        .34297        .88938E-04   -1.5375    
  22  norm          .10000E-03    27.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0916        .23728        .29659E-03   -.90022    
  24  Prefactor     .96500        .17353        .22985E-03   -.93905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43874e-08
Minuit parameter uncertainties:
  1  2.77346e-06
  2  2.10176e-05
  3  10.6697
  4  1.5113e-06
  5  0.00115441
  6  4.14089e-05
  7  1.0676e-06
  8  5.6935
  9  3.19993
  10  6.22411
  11  2.45993
  12  0.0114931
  13  19.2126
  14  5.74118
  15  1.47932e-05
  16  8.52517e-05
  17  9.81757
  18  25.6536
  19  36.9636
  20  8.4405
  21  0.342969
  22  1.61906e-05
  23  0.23751
  24  0.173633
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.301e+00  5.694e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  9.650e-01  1.736e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.092e+00  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 6.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433714/likelihoodResults_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.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) = 8085.91402225
delta logL = 0.318272487187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8085.88220141
delta logL = 0.35009332852

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44191       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4548       1.0000          .0000       10.000    
     3 'Normalizat'    1.0540       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97991       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8085.882     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      269 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44198        7.7386        .16946E-01    .73251E-03
   2  Index         3.4549        2.3250        .12372        .23274E-03
   3  Normalizat    1.0541        .31301E-01    .68067E-01    .13783E-04
   4  Prefactor     .97980        .23064E-01    .46015E-01    .11786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.441983
  Index      = 3.45494
  Normalizat = 1.05406
  Prefactor  = 0.979799
 **********
 **   18 **HESSE 
 **********

 FCN=   8085.882     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      304 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44198        34.071        .76645E-03   -1.5575    
   2  Index         3.4549        6.5983        .70361E-02   -.31415    
   3  Normalizat    1.0541        .16257        .30114E-03   -.91241    
   4  Prefactor     .97980        .11725        .22823E-03   -.93406    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.26084e-08
Minuit parameter uncertainties:
  1  7.76479
  2  7.51093
  3  0.162651
  4  0.117283
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433714': 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) = 8085.88220108
delta logL = 0.350093658442

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.420e-01  7.765e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.455e+00  7.511e+00  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  9.798e-01  1.173e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.054e+00  1.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 216.169 14.784

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/433714/cmap_HighResolution_473126401_473385601_4FGL_J1424.6+1447_daily_bin902.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-03', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2021-09-09 14:31:23.442468', job_id='433714', GAL2='0.98', fit_tolerance='1e-08', EG2='1.05', EG='1.09', time_epoch_completed='1631223083.44', return_code2='102', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.50e-01', ts2='0.78', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='902' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:31:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 433714: <4FGL_J1424.6+1447_daily_bin902> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin902> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:11 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:16:12 2021
Terminated at Thu Sep  9 14:31:24 2021
Results reported at Thu Sep  9 14:31:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin902 216.169 14.784 473126401 473385601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   718.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

