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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin501
RA = 216.169, Dec = 14.784
tmin = 369187201, tmax = 369446401
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='431441', job_status='RUN', time_executed='2021-09-09 14:14:45.934589', time_epoch_executed='1631222085.93' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='501'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431441

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431441/ft1_4FGL_J1424.6+1447_daily_bin501.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431441/ft2_4FGL_J1424.6+1447_daily_bin501.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431441/ft1_4FGL_J1424.6+1447_daily_bin501.fits outfile=/scratch/kocevski/431441/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin501.fits ra=216.169 dec=14.784 rad=12.0 tmin=369187201.0 tmax=369446401.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.43
user 3.20
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/431441/ft2_4FGL_J1424.6+1447_daily_bin501.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/431441/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin501.fits evtable="EVENTS" outfile="/scratch/kocevski/431441/ft1_filtered_4FGL_J1424.6+1447_daily_bin501.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.48
user 0.32
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431441/ft1_filtered_4FGL_J1424.6+1447_daily_bin501.fits evtable="EVENTS" scfile=/scratch/kocevski/431441/ft2_4FGL_J1424.6+1447_daily_bin501.fits sctable="SC_DATA" expcube=/scratch/kocevski/431441/ltcube_369187201_369446401_4FGL_J1424.6+1447_daily_bin501.fits outfile=/scratch/kocevski/431441/expmap_369187201_369446401_4FGL_J1424.6+1447_daily_bin501.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/431441/ltcube_369187201_369446401_4FGL_J1424.6+1447_daily_bin501.fits
.....................!
real 198.26
user 192.08
sys 5.58

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/431441/ft1_filtered_4FGL_J1424.6+1447_daily_bin501.fits scfile=/scratch/kocevski/431441/ft2_4FGL_J1424.6+1447_daily_bin501.fits outfile=/scratch/kocevski/431441/cmap_369187201_369446401_4FGL_J1424.6+1447_daily_bin501.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431441/ft1_filtered_4FGL_J1424.6+1447_daily_bin501.fits scfile=/scratch/kocevski/431441/ft2_4FGL_J1424.6+1447_daily_bin501.fits outfile=/scratch/kocevski/431441/cmap_HighResolution_369187201_369446401_4FGL_J1424.6+1447_daily_bin501.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.110       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.116       1.0000         .10000E-03   10000.    
     6 'Prefactor '    51.734       1.0000         .10000E-03   10000.    
     7 'norm      '    13.884       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6159       1.0000         .10000E-03   10000.    
     9 'norm      '    7.5983       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.5729       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11942E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.993       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.7161       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4693       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.948       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .21107       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92796       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0681       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=   6187.716     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2677 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.928       -.67498E-05** at limit **
   2  Prefactor     .10000E-03    1.4666        .26198E-07** at limit **
   3  Prefactor     .10000E-03    18.588        .14480E-05** at limit **
   4  Prefactor     38.106        16.830       -.14273E-05    .12384E-04
   5  Prefactor     11.113        35.385       -.75170E-05   -.30266E-05
   6  Prefactor     51.732        29.425       -.13137E-05    .12333E-04
   7  norm          13.884        14.329        .14493E-06    .16173E-04
   8  Prefactor     4.6161        8.5210       -.43387E-06   -.18730E-03
   9  norm          7.5982        2.9843       -.87960E-07    .53708E-04
  10  Prefactor     .10000E-03    1.9264        .64066E-08** at limit **
  11  norm          2.5731        2.0456       -.12617E-06   -.16745E-03
  12  Prefactor     .10001E-03    36.288        .18622E-05** at limit **
  13  norm          13.970        19.866       -.12232E-04   -.28874E-04
  14  norm          .10000E-03    2.1995       -.32283E-07** at limit **
  15  Prefactor     .10000E-03    5.3279        .93328E-07** at limit **
  16  Prefactor     9.7158        21.295        .20072E-05   -.34041E-05
  17  Prefactor     4.4675        11.830       -.47072E-06   -.84806E-04
  18  Prefactor     .10000E-03    5.9068       -.44203E-08** at limit **
  19  Prefactor     33.944        37.188       -.51340E-05    .39707E-05
  20  Prefactor     .10000E-03    4.7458       -.39832E-07** at limit **
  21  norm          .21104        .13828       -.17240E-07   -.97573E-05
  22  norm          .10000E-03    31.390        .68059E-05** at limit **
  23  Normalizat    .92802        .21447        .19803E-05   -.91269E-05
  24  Prefactor     1.0680        .15303        .11173E-05    .78339E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.106
  Prefactor  = 11.1129
  Prefactor  = 51.7322
  norm       = 13.884
  Prefactor  = 4.61607
  norm       = 7.5982
  Prefactor  = 0.0001
  norm       = 2.57307
  Prefactor  = 0.000100005
  norm       = 13.9697
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.71584
  Prefactor  = 4.46755
  Prefactor  = 0.0001
  Prefactor  = 33.9436
  Prefactor  = 0.0001
  norm       = 0.211041
  norm       = 0.0001
  Normalizat = 0.928024
  Prefactor  = 1.068
 **********
 **   18 **HESSE 
 **********

 FCN=   6187.716     FROM HESSE     STATUS=OK           401 CALLS     3078 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.4701        .93025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.106        16.962        .64924E-04   -1.4473    
   5  Prefactor     11.113        35.230        .12016E-03   -1.5041    
   6  Prefactor     51.732        29.484        .55760E-04   -1.4268    
   7  norm          13.884        14.331        .10750E-03   -1.4963    
   8  Prefactor     4.6161        8.4800        .18734E-03   -1.5278    
   9  norm          7.5982        2.9849        .82499E-04   -1.5157    
  10  Prefactor     .10000E-03    1.9336        .10654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5731        2.0395        .97204E-04   -1.5387    
  12  Prefactor     .10001E-03    36.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.970        19.920        .10707E-03   -1.4960    
  14  norm          .10000E-03    2.2579        .22783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.3325        .17733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.7158        21.297        .12856E-03   -1.5084    
  17  Prefactor     4.4675        11.822        .19046E-03   -1.5285    
  18  Prefactor     .10000E-03    5.9087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     33.944        37.123        .68777E-04   -1.4542    
  20  Prefactor     .10000E-03    4.7965        .16735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .21104        .13851        .22861E-04   -1.5616    
  22  norm          .10000E-03    31.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92802        .25850        .29300E-03   -.95482    
  24  Prefactor     1.0680        .18445        .20555E-03   -.90496    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30268e-10
Minuit parameter uncertainties:
  1  1.29585e-05
  2  2.00156e-06
  3  5.51492e-05
  4  16.9644
  5  35.2965
  6  29.4925
  7  14.3343
  8  8.4822
  9  2.98496
  10  1.28671e-06
  11  2.03956
  12  0.00086318
  13  19.929
  14  6.44044e-06
  15  1.99872e-06
  16  21.3135
  17  11.8278
  18  3.17253e-06
  19  37.1479
  20  9.1854e-06
  21  0.13851
  22  1.61687e-05
  23  0.258848
  24  0.184558
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.616e+00  8.482e+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:  1.068e+00  1.846e-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:  9.280e-01  2.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/431441/likelihoodResults_369187201_369446401_4FGL_J1424.6+1447_daily_bin501.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) = 6187.14560237
delta logL = 0.57024601288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6187.10145717
delta logL = 0.61439121388

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82271       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3959       1.0000          .0000       10.000    
     3 'Normalizat'    .87576       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0914       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=   6187.101     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      303 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82030        12.268        .12524E-01    .90970E-03
   2  Index         3.3971        2.4595        .94399E-01    .18330E-03
   3  Normalizat    .87581        .47300E-01    .67950E-01   -.64291E-06
   4  Prefactor     1.0914        .35286E-01    .37922E-01   -.13746E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.820298
  Index      = 3.39711
  Normalizat = 0.875811
  Prefactor  = 1.09138
 **********
 **   18 **HESSE 
 **********

 FCN=   6187.101     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      338 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82030        31.021        .62119E-03   -1.5527    
   2  Index         3.3971        6.6681        .48393E-02   -.32634    
   3  Normalizat    .87581        .18925        .30062E-03   -.97315    
   4  Prefactor     1.0914        .14074        .20350E-03   -.89743    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43522e-07
Minuit parameter uncertainties:
  1  10.0938
  2  5.15386
  3  0.189388
  4  0.140789
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431441': 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) = 6187.10145669
delta logL = 0.614391694403

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  8.203e-01  1.009e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  3.397e+00  5.154e+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:  1.091e+00  1.408e-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:  8.758e-01  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.65
Ra Dec: 216.169 14.784
Photon Index (Free Index): 3.40 +/- 5.15
Photon Flux (Free Index): 5.84e-08 +/- 5.38e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.46e-05

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/431441/cmap_HighResolution_369187201_369446401_4FGL_J1424.6+1447_daily_bin501.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-03', comment='SUCCESS', energy_flux2='1.00e-05', dlogl='6.14e-01', photon_flux2='5.84e-08', job_status='DONE', time_completed='2021-09-09 14:25:01.092500', photon_index_error2='5.15', photon_index2='3.40', ts='0.38', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='9.94e-08', energy_flux_error2='1.46e-05', EG='0.93', time_epoch_completed='1631222701.09', return_code='0', job_id='431441', GAL2='1.09', EG2='0.88', return_code2='102', photon_flux_error2='5.38e-08', ts2='1.65', photon_index='2.17' WHERE bin_id='501' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:25:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 431441: <4FGL_J1424.6+1447_daily_bin501> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin501 216.169 14.784 369187201 369446401 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 :                                   612.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            836 sec.

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

