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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin686
RA = 216.169, Dec = 14.784
tmin = 417139201, tmax = 417398401
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='431718', job_status='RUN', time_executed='2021-09-09 14:14:00.603312', time_epoch_executed='1631222040.6' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431718

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431718/ft1_4FGL_J1424.6+1447_daily_bin686.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431718/ft2_4FGL_J1424.6+1447_daily_bin686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431718/ft1_4FGL_J1424.6+1447_daily_bin686.fits outfile=/scratch/kocevski/431718/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin686.fits ra=216.169 dec=14.784 rad=12.0 tmin=417139201.0 tmax=417398401.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 5.78
user 5.41
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431718/ft2_4FGL_J1424.6+1447_daily_bin686.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/431718/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin686.fits evtable="EVENTS" outfile="/scratch/kocevski/431718/ft1_filtered_4FGL_J1424.6+1447_daily_bin686.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.18

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431718/ft1_filtered_4FGL_J1424.6+1447_daily_bin686.fits evtable="EVENTS" scfile=/scratch/kocevski/431718/ft2_4FGL_J1424.6+1447_daily_bin686.fits sctable="SC_DATA" expcube=/scratch/kocevski/431718/ltcube_417139201_417398401_4FGL_J1424.6+1447_daily_bin686.fits outfile=/scratch/kocevski/431718/expmap_417139201_417398401_4FGL_J1424.6+1447_daily_bin686.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/431718/ltcube_417139201_417398401_4FGL_J1424.6+1447_daily_bin686.fits
.....................!
real 191.90
user 186.68
sys 4.68

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/431718/ft1_filtered_4FGL_J1424.6+1447_daily_bin686.fits scfile=/scratch/kocevski/431718/ft2_4FGL_J1424.6+1447_daily_bin686.fits outfile=/scratch/kocevski/431718/cmap_417139201_417398401_4FGL_J1424.6+1447_daily_bin686.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431718/ft1_filtered_4FGL_J1424.6+1447_daily_bin686.fits scfile=/scratch/kocevski/431718/ft2_4FGL_J1424.6+1447_daily_bin686.fits outfile=/scratch/kocevski/431718/cmap_HighResolution_417139201_417398401_4FGL_J1424.6+1447_daily_bin686.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.57
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15190E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.931       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.442       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.1847       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10453E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.6939       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .24182E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.238       1.0000         .10000E-03   10000.    
    13 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.2088       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.330       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.957       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.6477       1.0000         .10000E-03   10000.    
    21 'norm      '    .21348       1.0000         .10000E-03   10000.    
    22 'norm      '    .99818       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0961       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97467       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=   7789.727     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2746 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    83.934        .12004E-05** at limit **
   2  Prefactor     .10000E-03    3.1071        .47951E-06** at limit **
   3  Prefactor     .10000E-03    4.1926       -.78968E-07** at limit **
   4  Prefactor     11.927        14.332       -.55464E-06   -.19989E-04
   5  Prefactor     26.440        33.889        .11596E-05   -.85304E-05
   6  Prefactor     .10000E-03    13.003       -.23985E-06** at limit **
   7  norm          5.1826        14.455       -.10134E-05   -.34376E-05
   8  Prefactor     .10000E-03    9.3306        .92611E-06** at limit **
   9  norm          8.6935        2.9791        .20921E-07   -.50774E-05
  10  Prefactor     .10001E-03    6.4461       -.15162E-05** at limit **
  11  norm          .10000E-03    2.0946       -.14111E-06** at limit **
  12  Prefactor     35.229        25.999        .28934E-06    .58716E-04
  13  norm          .10000E-03    6.6324        .45573E-06** at limit **
  14  norm          5.2080        4.5579        .11315E-06    .16055E-03
  15  Prefactor     .10000E-03    14.054        .88721E-06** at limit **
  16  Prefactor     .10000E-03    10.153       -.12404E-05** at limit **
  17  Prefactor     12.328        17.058        .51935E-08    .57547E-05
  18  Prefactor     21.952        21.253       -.11245E-05    .16849E-04
  19  Prefactor     .10000E-03    18.006       -.10484E-05** at limit **
  20  Prefactor     2.6473        6.0841       -.18973E-05    .18872E-04
  21  norm          .21344        .12227       -.59875E-07   -.17726E-03
  22  norm          .95130        118.74        .10853E-04   -.63132E-04
  23  Normalizat    1.0963        .19427        .63639E-06    .25913E-04
  24  Prefactor     .97463        .13399        .17404E-06    .16728E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.9272
  Prefactor  = 26.4395
  Prefactor  = 0.0001
  norm       = 5.18257
  Prefactor  = 0.0001
  norm       = 8.69354
  Prefactor  = 0.000100014
  norm       = 0.0001
  Prefactor  = 35.2285
  norm       = 0.0001
  norm       = 5.20804
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3281
  Prefactor  = 21.9525
  Prefactor  = 0.0001
  Prefactor  = 2.64733
  norm       = 0.21344
  norm       = 0.951302
  Normalizat = 1.09631
  Prefactor  = 0.974629
 **********
 **   18 **HESSE 
 **********

 FCN=   7789.727     FROM HESSE     STATUS=OK           405 CALLS     3151 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    84.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.346        .28452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.1968        .17650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.927        14.361        .11598E-03   -1.5017    
   5  Prefactor     26.440        33.735        .77905E-04   -1.4679    
   6  Prefactor     .10000E-03    13.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.1826        14.447        .17655E-03   -1.5253    
   8  Prefactor     .10000E-03    9.3516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.6935        2.9796        .86470E-04   -1.5118    
  10  Prefactor     .10001E-03    16.746        .35813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.1660        .24917E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.229        26.023        .67509E-04   -1.4520    
  13  norm          .10000E-03    6.6315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.2080        4.5653        .17044E-03   -1.5252    
  15  Prefactor     .10000E-03    14.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.328        17.039        .11408E-03   -1.5006    
  18  Prefactor     21.952        21.213        .42740E-03   -1.4771    
  19  Prefactor     .10000E-03    18.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.6473        6.0769        .25054E-03   -1.5383    
  21  norm          .21344        .12037        .22433E-04   -1.5616    
  22  norm          .95130        135.69        .72390E-02   -1.5513    
  23  Normalizat    1.0963        .23628        .28749E-03   -.89870    
  24  Prefactor     .97463        .16444        .21216E-03   -.93580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17017e-08
Minuit parameter uncertainties:
  1  0.000138248
  2  0.000186703
  3  2.28359e-06
  4  14.3648
  5  33.7594
  6  2.13615e-05
  7  14.4568
  8  2.31835e-05
  9  2.97963
  10  0.00098199
  11  7.03783e-06
  12  26.0319
  13  1.07572e-05
  14  4.5656
  15  6.24468e-05
  16  6.32069e-05
  17  17.0455
  18  21.2203
  19  6.61392e-05
  20  6.0783
  21  0.12037
  22  22.7742
  23  0.236505
  24  0.16452
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.318e-05  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.746e-01  1.645e-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.096e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/431718/likelihoodResults_417139201_417398401_4FGL_J1424.6+1447_daily_bin686.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) = 7789.72757797
delta logL = -0.000509764717208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7789.72706955
delta logL = -1.35009577207e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14810E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2408       1.0000          .0000       10.000    
     3 'Normalizat'    1.0965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97449       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=   7789.727     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      220 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10029E-03    .54980        .90712E-01** at limit **
   2  Index         2.3467        1.6960        .50000       -.92183E-04
   3  Normalizat    1.0963        .19078E-02    .64988E-01    .92710E-04
   4  Prefactor     .97463        .13430E-02    .45947E-01    .51329E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100286
  Index      = 2.34675
  Normalizat = 1.09631
  Prefactor  = 0.974629
 **********
 **   18 **HESSE 
 **********

 FCN=   7789.727     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      255 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10029E-03    950.02        .31066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3467        5.4130        .50000       -.55937    
   3  Normalizat    1.0963        .31556E-01    .28749E-03   -.89870    
   4  Prefactor     .97463        .22217E-01    .21216E-03   -.93580    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.70107e-06
Minuit parameter uncertainties:
  1  0.033498
  2  27.5189
  3  0.0315564
  4  0.0222169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431718': 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) = 7789.72706497
delta logL = 3.23031235894e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.003e-04  3.350e-02  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.347e+00  2.752e+01  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.746e-01  2.222e-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.096e+00  3.156e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/431718/cmap_HighResolution_417139201_417398401_4FGL_J1424.6+1447_daily_bin686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', job_status='DONE', photon_flux_upper_limit='8.32e-08', time_completed='2021-09-09 14:25:22.873461', job_id='431718', GAL2='0.97', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631222722.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.23e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='686' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:25:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 431718: <4FGL_J1424.6+1447_daily_bin686> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin686> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 14:11:23 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:11: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 14:11:25 2021
Terminated at Thu Sep  9 14:25:23 2021
Results reported at Thu Sep  9 14:25:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin686 216.169 14.784 417139201 417398401 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 :                                   680.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             275.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            840 sec.

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

