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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin794
RA = 216.169, Dec = 14.784
tmin = 445132801, tmax = 445392001
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='433559', job_status='RUN', time_executed='2021-09-09 14:18:12.150631', time_epoch_executed='1631222292.15' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='794'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433559

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433559/ft1_4FGL_J1424.6+1447_daily_bin794.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433559/ft2_4FGL_J1424.6+1447_daily_bin794.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433559/ft1_4FGL_J1424.6+1447_daily_bin794.fits outfile=/scratch/kocevski/433559/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin794.fits ra=216.169 dec=14.784 rad=12.0 tmin=445132801.0 tmax=445392001.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.60
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433559/ft2_4FGL_J1424.6+1447_daily_bin794.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/433559/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin794.fits evtable="EVENTS" outfile="/scratch/kocevski/433559/ft1_filtered_4FGL_J1424.6+1447_daily_bin794.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433559/ft1_filtered_4FGL_J1424.6+1447_daily_bin794.fits" evtable="EVENTS" scfile=/scratch/kocevski/433559/ft2_4FGL_J1424.6+1447_daily_bin794.fits sctable="SC_DATA" outfile=/scratch/kocevski/433559/ltcube_445132801_445392001_4FGL_J1424.6+1447_daily_bin794.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/433559/ft2_4FGL_J1424.6+1447_daily_bin794.fits
.....................!
real 15.93
user 15.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433559/ft1_filtered_4FGL_J1424.6+1447_daily_bin794.fits evtable="EVENTS" scfile=/scratch/kocevski/433559/ft2_4FGL_J1424.6+1447_daily_bin794.fits sctable="SC_DATA" expcube=/scratch/kocevski/433559/ltcube_445132801_445392001_4FGL_J1424.6+1447_daily_bin794.fits outfile=/scratch/kocevski/433559/expmap_445132801_445392001_4FGL_J1424.6+1447_daily_bin794.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/433559/ltcube_445132801_445392001_4FGL_J1424.6+1447_daily_bin794.fits
.....................!
real 190.28
user 185.31
sys 4.57

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/433559/ft1_filtered_4FGL_J1424.6+1447_daily_bin794.fits scfile=/scratch/kocevski/433559/ft2_4FGL_J1424.6+1447_daily_bin794.fits outfile=/scratch/kocevski/433559/cmap_445132801_445392001_4FGL_J1424.6+1447_daily_bin794.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/433559/ft1_filtered_4FGL_J1424.6+1447_daily_bin794.fits scfile=/scratch/kocevski/433559/ft2_4FGL_J1424.6+1447_daily_bin794.fits outfile=/scratch/kocevski/433559/cmap_HighResolution_445132801_445392001_4FGL_J1424.6+1447_daily_bin794.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8630       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23118E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.985       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10897E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.1902       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23744E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.8814       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .69438E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    21.001       1.0000         .10000E-03   10000.    
    15 'Prefactor '    48.926       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.787       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.1542       1.0000         .10000E-03   10000.    
    21 'norm      '    .62417       1.0000         .10000E-03   10000.    
    22 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2409       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94787       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=   8140.285     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     3110 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.685       -.65944E-07** at limit **
   2  Prefactor     1.8626        1.9471        .21806E-06    .22486E-03
   3  Prefactor     .10000E-03    5.0388       -.19773E-06** at limit **
   4  Prefactor     .10149E-03    27.140       -.50850E-05** at limit **
   5  Prefactor     14.952        19.627       -.35561E-06   -.29839E-04
   6  Prefactor     .10000E-03    30.075       -.28442E-06** at limit **
   7  norm          .10000E-03    7.9111       -.25620E-07** at limit **
   8  Prefactor     .10000E-03    4.6602       -.79646E-06** at limit **
   9  norm          5.1901        2.3460        .42819E-07    .18552E-03
  10  Prefactor     .10002E-03    5.7142        .13134E-07** at limit **
  11  norm          4.8797        3.1693       -.23949E-06   -.15599E-03
  12  Prefactor     .10000E-03    21.614        .54375E-07** at limit **
  13  norm          .10000E-03    43.759        .31093E-05** at limit **
  14  norm          21.001        6.6993       -.39657E-07    .61003E-04
  15  Prefactor     48.923        28.939        .22796E-07    .41227E-04
  16  Prefactor     .10000E-03    12.305       -.32625E-07** at limit **
  17  Prefactor     .10000E-03    9.6158       -.21951E-06** at limit **
  18  Prefactor     11.799        20.566       -.57326E-06    .55383E-05
  19  Prefactor     .10000E-03    10.059        .58823E-06** at limit **
  20  Prefactor     4.1549        6.8672       -.10938E-05   -.14707E-03
  21  norm          .62434        .20056       -.37360E-07   -.95126E-04
  22  norm          .10000E-03    12.767       -.62650E-06** at limit **
  23  Normalizat    1.2413        .19246        .12791E-05    .68922E-03
  24  Prefactor     .94777        .13637        .67742E-06    .76578E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.86259
  Prefactor  = 0.0001
  Prefactor  = 0.000101491
  Prefactor  = 14.9525
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.19013
  Prefactor  = 0.000100021
  norm       = 4.87967
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 21.0012
  Prefactor  = 48.9227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.7988
  Prefactor  = 0.0001
  Prefactor  = 4.15494
  norm       = 0.624341
  norm       = 0.0001
  Normalizat = 1.24127
  Prefactor  = 0.947773
 **********
 **   18 **HESSE 
 **********

 FCN=   8140.285     FROM HESSE     STATUS=OK           405 CALLS     3515 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.8626        1.9500        .12512E-03   -1.5435    
   3  Prefactor     .10000E-03    5.0706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10149E-03    17.376        .74368E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.952        19.648        .10347E-03   -1.4934    
   6  Prefactor     .10000E-03    30.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.9222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.7079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.1901        2.3462        .90313E-04   -1.5252    
  10  Prefactor     .10002E-03    11.972        .33820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.8797        3.1606        .12321E-03   -1.5266    
  12  Prefactor     .10000E-03    21.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    56.399        .54217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          21.001        6.7030        .87402E-04   -1.4791    
  15  Prefactor     48.923        28.901        .57329E-04   -1.4308    
  16  Prefactor     .10000E-03    12.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.6949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.799        20.571        .11669E-03   -1.5021    
  19  Prefactor     .10000E-03    10.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.1549        6.8419        .19775E-03   -1.5300    
  21  norm          .62434        .19998        .22015E-04   -1.5550    
  22  norm          .10000E-03    12.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2413        .24111        .28032E-03   -.85337    
  24  Prefactor     .94777        .16781        .22711E-03   -.94491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10164e-09
Minuit parameter uncertainties:
  1  1.91648e-05
  2  1.95009
  3  1.24987e-05
  4  0.0101844
  5  19.6567
  6  9.30573e-05
  7  4.9049e-06
  8  5.06658e-05
  9  2.34625
  10  0.00101297
  11  3.16072
  12  1.79816e-06
  13  0.000802166
  14  6.70328
  15  28.9096
  16  1.34839e-05
  17  5.75735e-05
  18  20.5833
  19  5.90991e-05
  20  6.84323
  21  0.199975
  22  8.95033e-05
  23  0.241331
  24  0.167903
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  5.067e-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.478e-01  1.679e-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.241e+00  2.413e-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: 6.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433559/likelihoodResults_445132801_445392001_4FGL_J1424.6+1447_daily_bin794.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) = 8140.28584003
delta logL = -0.00101222294961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8140.28482873
delta logL = -9.22181243368e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1870       1.0000          .0000       10.000    
     3 'Normalizat'    1.2411       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94793       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=   8140.285     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.830        .90712E-02** at limit **
   2  Index         2.2020        8.0093        .50000       -.27425E-04
   3  Normalizat    1.2413        .15320E-01    .63372E-01    .67983E-04
   4  Prefactor     .94777        .11073E-01    .45613E-01    .74480E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.202
  Normalizat = 1.24127
  Prefactor  = 0.947773
 **********
 **   18 **HESSE 
 **********

 FCN=   8140.285     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    923.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2020        5.7068        .50000       -.59390    
   3  Normalizat    1.2413        .10479        .28032E-03   -.85337    
   4  Prefactor     .94777        .75700E-01    .22711E-03   -.94491    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.13011e-07
Minuit parameter uncertainties:
  1  0.000490307
  2  58.4796
  3  0.104812
  4  0.0757081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433559': 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) = 8140.28482761
delta logL = 1.93221239897e-07

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.903e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.202e+00  5.848e+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.478e-01  7.571e-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.241e+00  1.048e-01  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/433559/cmap_HighResolution_445132801_445392001_4FGL_J1424.6+1447_daily_bin794.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.96e-03', job_status='DONE', photon_flux_upper_limit='6.53e-08', time_completed='2021-09-09 14:30:25.795226', job_id='433559', GAL2='0.95', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1631223025.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.93e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='794' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:30:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 433559: <4FGL_J1424.6+1447_daily_bin794> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin794> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:01 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:03 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:03 2021
Terminated at Thu Sep  9 14:30:28 2021
Results reported at Thu Sep  9 14:30:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin794 216.169 14.784 445132801 445392001 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.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            867 sec.

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

