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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin396
RA = 216.169, Dec = 14.784
tmin = 341971201, tmax = 342230401
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='430066', job_status='RUN', time_executed='2021-09-09 14:10:05.692347', time_epoch_executed='1631221805.69' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='396'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430066

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430066/ft1_4FGL_J1424.6+1447_daily_bin396.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430066/ft2_4FGL_J1424.6+1447_daily_bin396.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430066/ft1_4FGL_J1424.6+1447_daily_bin396.fits outfile=/scratch/kocevski/430066/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin396.fits ra=216.169 dec=14.784 rad=12.0 tmin=341971201.0 tmax=342230401.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.41
user 3.19
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430066/ft1_filtered_4FGL_J1424.6+1447_daily_bin396.fits" evtable="EVENTS" scfile=/scratch/kocevski/430066/ft2_4FGL_J1424.6+1447_daily_bin396.fits sctable="SC_DATA" outfile=/scratch/kocevski/430066/ltcube_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.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/430066/ft2_4FGL_J1424.6+1447_daily_bin396.fits
.....................!
real 12.02
user 11.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430066/ft1_filtered_4FGL_J1424.6+1447_daily_bin396.fits evtable="EVENTS" scfile=/scratch/kocevski/430066/ft2_4FGL_J1424.6+1447_daily_bin396.fits sctable="SC_DATA" expcube=/scratch/kocevski/430066/ltcube_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.fits outfile=/scratch/kocevski/430066/expmap_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.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/430066/ltcube_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.fits
.....................!
real 190.17
user 185.92
sys 3.90

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/430066/ft1_filtered_4FGL_J1424.6+1447_daily_bin396.fits scfile=/scratch/kocevski/430066/ft2_4FGL_J1424.6+1447_daily_bin396.fits outfile=/scratch/kocevski/430066/cmap_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430066/ft1_filtered_4FGL_J1424.6+1447_daily_bin396.fits scfile=/scratch/kocevski/430066/ft2_4FGL_J1424.6+1447_daily_bin396.fits outfile=/scratch/kocevski/430066/cmap_HighResolution_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.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.55
user 0.40
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430066/ft1_filtered_4FGL_J1424.6+1447_daily_bin396.fits', '/scratch/kocevski/430066/ft2_4FGL_J1424.6+1447_daily_bin396.fits', expMap='/scratch/kocevski/430066/expmap_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.fits', expCube='/scratch/kocevski/430066/ltcube_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430066/Model_4FGL_J1424.6+1447_daily_bin396.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/430066/ft1_filtered_4FGL_J1424.6+1447_daily_bin396.fits
Spacecraft file(s): /scratch/kocevski/430066/ft2_4FGL_J1424.6+1447_daily_bin396.fits
Exposure map: /scratch/kocevski/430066/expmap_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.fits
Exposure cube: /scratch/kocevski/430066/ltcube_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430066/Model_4FGL_J1424.6+1447_daily_bin396.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) = 6445.05196467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.194       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12515E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5194       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.192       1.0000         .10000E-03   10000.    
     9 'norm      '    12.601       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10799E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.7827       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.977       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10679E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.5833       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .95441       1.0000         .10000E-03   10000.    
    22 'norm      '    26.414       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4367       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75666       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6445.027     FROM MIGRAD    STATUS=CONVERGED    989 CALLS     3547 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.211        45.453        .74150E-04   -.22998E-04
   2  Prefactor     .10000E-03    4.2434        .31704E-03** at limit **
   3  Prefactor     .10000E-03    62.872        .48576E-02** at limit **
   4  Prefactor     7.5185        10.911        .14625E-03   -.41899E-04
   5  Prefactor     .10000E-03    55.774        .18142E-02** at limit **
   6  Prefactor     .10000E-03    13.445        .18142E-02** at limit **
   7  norm          .10000E-03    9.3356        .18142E-02** at limit **
   8  Prefactor     11.192        9.6575        .11975E-03   -.49175E-04
   9  norm          12.601        3.6979        .80991E-04    .10949E-04
  10  Prefactor     .10000E-03    6.2943        .36285E-03** at limit **
  11  norm          .10000E-03    3.1513        .19262E-02** at limit **
  12  Prefactor     .10000E-03    10.648        .18142E-02** at limit **
  13  norm          .10000E-03    7.1401        .18142E-02** at limit **
  14  norm          3.7826        3.5614        .14292E-03    .15909E-05
  15  Prefactor     .10000E-03    10.402        .18142E-02** at limit **
  16  Prefactor     .10000E-03    11.985        .18142E-02** at limit **
  17  Prefactor     26.967        16.141        .77130E-04   -.14483E-03
  18  Prefactor     .10000E-03    28.586        .10364    ** at limit **
  19  Prefactor     5.5193        55.896        .17002E-03   -.40856E-04
  20  Prefactor     .10000E-03    7.8538        .18142E-02** at limit **
  21  norm          .95443        .26100        .20633E-04   -.87610E-04
  22  norm          26.405        54.083        .77946E-04    .15898E-04
  23  Normalizat    1.4370        .26194        .25654E-03   -.21759E-04
  24  Prefactor     .75639        .18556        .24426E-03   -.15639E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.2112
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.51845
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.1917
  norm       = 12.601
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.78258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.9673
  Prefactor  = 0.000100003
  Prefactor  = 5.5193
  Prefactor  = 0.0001
  norm       = 0.95443
  norm       = 26.4051
  Normalizat = 1.43702
  Prefactor  = 0.756387
 **********
 **   18 **HESSE 
 **********

 FCN=   6445.027     FROM HESSE     STATUS=OK           383 CALLS     3930 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.211        45.453        .29660E-05   -1.4626    
   2  Prefactor     .10000E-03    4.2436        .63408E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    63.829        .97152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.5185        10.911        .58501E-05   -1.5160    
   5  Prefactor     .10000E-03    55.792        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.3358        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.192        9.6571        .47902E-05   -1.5039    
   9  norm          12.601        3.6979        .32396E-05   -1.4998    
  10  Prefactor     .10000E-03    6.2945        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.1645        .38525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.649        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.1404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7826        3.5614        .57167E-05   -1.5319    
  15  Prefactor     .10000E-03    10.403        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.986        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.967        16.138        .15426E-04   -1.4669    
  18  Prefactor     .10000E-03    26.267        .10947       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.5193        55.898        .68008E-05   -1.5238    
  20  Prefactor     .10000E-03    7.8570        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .95443        .26099        .82530E-06   -1.5513    
  22  norm          26.405        54.048        .31178E-05   -1.4680    
  23  Normalizat    1.4370        .26219        .10262E-04   -.79564    
  24  Prefactor     .75639        .18578        .97704E-05   -1.0136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63632e-10
Minuit parameter uncertainties:
  1  45.5064
  2  8.61392e-06
  3  4.13541e-06
  4  10.9135
  5  2.51851e-05
  6  4.7339e-05
  7  5.09673e-05
  8  9.65841
  9  3.69797
  10  0.000125944
  11  6.29467e-05
  12  1.4417e-05
  13  1.8634e-05
  14  3.56157
  15  1.29384e-05
  16  2.09646e-05
  17  16.1409
  18  0.000518924
  19  35.1715
  20  1.9406e-05
  21  0.26099
  22  54.1482
  23  0.26244
  24  0.185929
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.119e+01  9.658e+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:  7.564e-01  1.859e-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.437e+00  2.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 4.85e-08 +/- 4.18e-08
Energy Flux (Fixed Index): 2.29e-05 +/- 1.98e-05

TS (Fixed Index): 1.83
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430066/likelihoodResults_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.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) = 6443.65413266
delta logL = 1.37312601701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6443.4895117
delta logL = 1.53774697389

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.0961       1.0000          .0000       10.000    
     3 'Normalizat'    1.3129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83570       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6443.489     FROM MIGRAD    STATUS=FAILED       310 CALLS      808 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .18141E-01    .12323E-03** at limit **
   2  Index         7.0981        2.6806        .32137E-02    .80763E-03
   3  Normalizat    1.3129        .14345        .26598E-03   -.63002E-04
   4  Prefactor     .83570        .10264        .23360E-03    .34749E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6443.489     FROM SIMPLEX   STATUS=UNCHANGED    160 CALLS      968 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .18141E-01    .15759E-04** at limit **
   2  Index         7.0981        2.6806        .68666E-04    .80763E-03
   3  Normalizat    1.3129        .14345        .16934E-04   -.63002E-04
   4  Prefactor     .83570        .10264        .11026E-04    .34749E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6443.489     FROM MIGRAD    STATUS=CONVERGED     39 CALLS     1007 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .96275E-02    .17345E-03** at limit **
   2  Index         7.0981        2.6241        .64274E-03    .31300E-04
   3  Normalizat    1.3129        .12242        .10639E-04   -.63045E-04
   4  Prefactor     .83570        .87775E-01    .93440E-05    .34797E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.09812
  Normalizat = 1.31291
  Prefactor  = 0.835702
 **********
 **   18 **HESSE 
 **********

 FCN=   6443.489     FROM HESSE     STATUS=NOT POSDEF    35 CALLS     1042 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .12967E-01    .14817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.0981        2.6637        .12855E-03    .43303    
   3  Normalizat    1.3129        .13557        .21279E-05   -.83182    
   4  Prefactor     .83570        .97071E-01    .18688E-05   -.98425    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42573e-11
Minuit parameter uncertainties:
  1  5.69113e-08
  2  2.84676
  3  0.135605
  4  0.0970912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430066': 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) = 6443.48949163
delta logL = 1.53776704385

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  5.691e-08  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  7.098e+00  2.847e+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:  8.357e-01  9.709e-02  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.313e+00  1.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.16
Ra Dec: 216.169 14.784
Photon Index (Free Index): 7.10 +/- 2.85
Photon Flux (Free Index): 1.15e-07 +/- 8.75e-07
Energy Flux (Free Index): 1.37e-05 +/- 1.03e-04

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/430066/cmap_HighResolution_341971201_342230401_4FGL_J1424.6+1447_daily_bin396.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='1.37e-05', photon_flux_error='4.18e-08', dlogl='1.54e+00', energy_flux='2.29e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-09 14:21:56.393164', photon_index_error2='2.85', photon_index2='7.10', ts='1.83', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.03e-04', EG='1.44', time_epoch_completed='1631222516.39', return_code='0', job_id='430066', GAL2='0.84', EG2='1.31', return_code2='102', energy_flux_error='1.98e-05', photon_flux_error2='8.75e-07', ts2='5.16', photon_index='2.17' WHERE bin_id='396' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:21:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 430066: <4FGL_J1424.6+1447_daily_bin396> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin396> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:34 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:36 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:06:36 2021
Terminated at Thu Sep  9 14:21:57 2021
Results reported at Thu Sep  9 14:21:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin396 216.169 14.784 341971201 342230401 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 :                                   705.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            923 sec.

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

