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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin793
RA = 216.169, Dec = 14.784
tmin = 444873601, tmax = 445132801
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='433558', job_status='RUN', time_executed='2021-09-09 14:18:13.367130', time_epoch_executed='1631222293.37' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='793'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433558

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433558/ft1_4FGL_J1424.6+1447_daily_bin793.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433558/ft2_4FGL_J1424.6+1447_daily_bin793.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433558/ft1_4FGL_J1424.6+1447_daily_bin793.fits outfile=/scratch/kocevski/433558/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin793.fits ra=216.169 dec=14.784 rad=12.0 tmin=444873601.0 tmax=445132801.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.52
user 3.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433558/ft2_4FGL_J1424.6+1447_daily_bin793.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/433558/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin793.fits evtable="EVENTS" outfile="/scratch/kocevski/433558/ft1_filtered_4FGL_J1424.6+1447_daily_bin793.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/433558/ft1_filtered_4FGL_J1424.6+1447_daily_bin793.fits" evtable="EVENTS" scfile=/scratch/kocevski/433558/ft2_4FGL_J1424.6+1447_daily_bin793.fits sctable="SC_DATA" outfile=/scratch/kocevski/433558/ltcube_444873601_445132801_4FGL_J1424.6+1447_daily_bin793.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/433558/ft2_4FGL_J1424.6+1447_daily_bin793.fits
.....................!
real 15.74
user 15.29
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433558/ft1_filtered_4FGL_J1424.6+1447_daily_bin793.fits evtable="EVENTS" scfile=/scratch/kocevski/433558/ft2_4FGL_J1424.6+1447_daily_bin793.fits sctable="SC_DATA" expcube=/scratch/kocevski/433558/ltcube_444873601_445132801_4FGL_J1424.6+1447_daily_bin793.fits outfile=/scratch/kocevski/433558/expmap_444873601_445132801_4FGL_J1424.6+1447_daily_bin793.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/433558/ltcube_444873601_445132801_4FGL_J1424.6+1447_daily_bin793.fits
.....................!
real 191.28
user 185.73
sys 5.02

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/433558/ft1_filtered_4FGL_J1424.6+1447_daily_bin793.fits scfile=/scratch/kocevski/433558/ft2_4FGL_J1424.6+1447_daily_bin793.fits outfile=/scratch/kocevski/433558/cmap_444873601_445132801_4FGL_J1424.6+1447_daily_bin793.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433558/ft1_filtered_4FGL_J1424.6+1447_daily_bin793.fits scfile=/scratch/kocevski/433558/ft2_4FGL_J1424.6+1447_daily_bin793.fits outfile=/scratch/kocevski/433558/cmap_HighResolution_444873601_445132801_4FGL_J1424.6+1447_daily_bin793.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.4498       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.7731       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.167       1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.763       1.0000         .10000E-03   10000.    
     7 'norm      '    .10342E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17632E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.890       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .33745E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.626       1.0000         .10000E-03   10000.    
    13 'norm      '    18.983       1.0000         .10000E-03   10000.    
    14 'norm      '    11.503       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.9839       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.5834       1.0000         .10000E-03   10000.    
    21 'norm      '    .68488       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .79754       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2932       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=   8654.302     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2752 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.274        .11953E-05** at limit **
   2  Prefactor     .10000E-03    1.8715       -.33100E-07** at limit **
   3  Prefactor     7.4467        11.296       -.55341E-06   -.50427E-04
   4  Prefactor     8.7692        11.582       -.11075E-05   -.53740E-04
   5  Prefactor     16.154        22.715       -.12210E-04   -.20955E-04
   6  Prefactor     30.752        27.068       -.10361E-04   -.18104E-05
   7  norm          .10000E-03    15.431        .15521E-05** at limit **
   8  Prefactor     .10000E-03    2.9686        .42085E-06** at limit **
   9  norm          10.890        3.2214        .46250E-07    .11479E-03
  10  Prefactor     .10000E-03    1.8521        .80861E-08** at limit **
  11  norm          .10000E-03    1.1899       -.22756E-06** at limit **
  12  Prefactor     29.626        27.694        .66839E-06    .72083E-05
  13  norm          18.981        17.673       -.79154E-06   -.24073E-05
  14  norm          11.503        5.2410       -.13663E-05   -.28270E-04
  15  Prefactor     .10000E-03    22.492       -.83256E-07** at limit **
  16  Prefactor     .10000E-03    28.096        .67427E-08** at limit **
  17  Prefactor     2.9822        17.152       -.31306E-05   -.11028E-03
  18  Prefactor     .10000E-03    6.4856        .74278E-08** at limit **
  19  Prefactor     .10000E-03    20.070       -.42039E-05** at limit **
  20  Prefactor     5.5828        6.8830       -.39372E-06   -.68297E-04
  21  norm          .68485        .18157       -.20543E-07    .50625E-03
  22  norm          .10000E-03    24.426        .23925E-05** at limit **
  23  Normalizat    .79763        .19809        .38794E-05   -.32104E-04
  24  Prefactor     1.2933        .14189        .58513E-06    .11067E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.44669
  Prefactor  = 8.76922
  Prefactor  = 16.1542
  Prefactor  = 30.7519
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.8903
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.6265
  norm       = 18.9807
  norm       = 11.5027
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.98216
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.58277
  norm       = 0.684853
  norm       = 0.0001
  Normalizat = 0.79763
  Prefactor  = 1.29331
 **********
 **   18 **HESSE 
 **********

 FCN=   8654.302     FROM HESSE     STATUS=OK           397 CALLS     3149 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.8962        .12425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.4467        11.297        .14694E-03   -1.5162    
   4  Prefactor     8.7692        11.606        .13533E-03   -1.5116    
   5  Prefactor     16.154        22.681        .99610E-04   -1.4904    
   6  Prefactor     30.752        27.064        .72240E-04   -1.4598    
   7  norm          .10000E-03    15.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.321        .30977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.890        3.2219        .87982E-04   -1.5048    
  10  Prefactor     .10000E-03    1.8606        .12359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.0167        .19664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.626        27.725        .73608E-04   -1.4619    
  13  norm          18.981        17.690        .91928E-04   -1.4836    
  14  norm          11.503        5.2414        .11812E-03   -1.5030    
  15  Prefactor     .10000E-03    22.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.861        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.9822        17.206        .23502E-03   -1.5363    
  18  Prefactor     .10000E-03    6.4888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.5828        6.8832        .17002E-03   -1.5235    
  21  norm          .68485        .18161        .19689E-04   -1.5542    
  22  norm          .10000E-03    24.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .79763        .22794        .34073E-03   -1.0016    
  24  Prefactor     1.2933        .16482        .20461E-03   -.83506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56561e-10
Minuit parameter uncertainties:
  1  3.30821e-05
  2  5.80292e-06
  3  11.3003
  4  11.6092
  5  22.6931
  6  27.0745
  7  0.000132617
  8  0.000130291
  9  3.22196
  10  7.23971e-07
  11  3.70898e-05
  12  27.7367
  13  17.695
  14  5.24157
  15  5.80382e-05
  16  8.50582e-05
  17  14.3323
  18  3.73066e-06
  19  1.28759e-05
  20  6.88418
  21  0.181615
  22  1.24532e-05
  23  0.228215
  24  0.164889
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.303e-04  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.293e+00  1.649e-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:  7.976e-01  2.282e-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: 5.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433558/likelihoodResults_444873601_445132801_4FGL_J1424.6+1447_daily_bin793.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) = 8654.30199928
delta logL = -0.000417076886151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8654.3015808
delta logL = 1.40506926982e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10926E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0664       1.0000          .0000       10.000    
     3 'Normalizat'    .79762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2933       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=   8654.302     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      240 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    .73670E-01    .90712E-01** at limit **
   2  Index         1.9486        8.5437        .50000        .31751E-04
   3  Normalizat    .79763        .71232E-03    .76974E-01    .77072E-04
   4  Prefactor     1.2933        .53316E-03    .32727E-01    .26749E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100025
  Index      = 1.94858
  Normalizat = 0.79763
  Prefactor  = 1.29331
 **********
 **   18 **HESSE 
 **********

 FCN=   8654.302     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      275 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    69.268        .31241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9486        5.0158        .50000       -.65642    
   3  Normalizat    .79763        .65343E-02    .34073E-03   -1.0016    
   4  Prefactor     1.2933        .49015E-02    .20461E-03   -.83506    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.07319e-06
Minuit parameter uncertainties:
  1  0.00263211
  2  124.467
  3  0.00653429
  4  0.00490155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433558': 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) = 8654.30157931
delta logL = 2.8934009606e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.632e-03  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.949e+00  1.245e+02  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.293e+00  4.902e-03  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:  7.976e-01  6.534e-03  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/433558/cmap_HighResolution_444873601_445132801_4FGL_J1424.6+1447_daily_bin793.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-03', job_status='DONE', photon_flux_upper_limit='5.33e-08', time_completed='2021-09-09 14:30:32.172909', job_id='433558', GAL2='1.29', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1631223032.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='2.89e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='793' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:30:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 433558: <4FGL_J1424.6+1447_daily_bin793> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin793> 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) <bullet0246>, 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:33 2021
Results reported at Thu Sep  9 14:30:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin793 216.169 14.784 444873601 445132801 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 :                                   725.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            872 sec.

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

