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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin1327
RA = 216.169, Dec = 14.784
tmin = 583286401, tmax = 583545601
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='435835', job_status='RUN', time_executed='2021-09-09 14:21:52.847957', time_epoch_executed='1631222512.85' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1327'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435835

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435835/ft1_4FGL_J1424.6+1447_daily_bin1327.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435835/ft2_4FGL_J1424.6+1447_daily_bin1327.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435835/ft1_4FGL_J1424.6+1447_daily_bin1327.fits outfile=/scratch/kocevski/435835/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1327.fits ra=216.169 dec=14.784 rad=12.0 tmin=583286401.0 tmax=583545601.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.51
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435835/ft1_filtered_4FGL_J1424.6+1447_daily_bin1327.fits" evtable="EVENTS" scfile=/scratch/kocevski/435835/ft2_4FGL_J1424.6+1447_daily_bin1327.fits sctable="SC_DATA" outfile=/scratch/kocevski/435835/ltcube_583286401_583545601_4FGL_J1424.6+1447_daily_bin1327.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/435835/ft2_4FGL_J1424.6+1447_daily_bin1327.fits
.....................!
real 15.77
user 15.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435835/ft1_filtered_4FGL_J1424.6+1447_daily_bin1327.fits evtable="EVENTS" scfile=/scratch/kocevski/435835/ft2_4FGL_J1424.6+1447_daily_bin1327.fits sctable="SC_DATA" expcube=/scratch/kocevski/435835/ltcube_583286401_583545601_4FGL_J1424.6+1447_daily_bin1327.fits outfile=/scratch/kocevski/435835/expmap_583286401_583545601_4FGL_J1424.6+1447_daily_bin1327.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/435835/ltcube_583286401_583545601_4FGL_J1424.6+1447_daily_bin1327.fits
.....................!
real 192.08
user 186.61
sys 4.79

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/435835/ft1_filtered_4FGL_J1424.6+1447_daily_bin1327.fits scfile=/scratch/kocevski/435835/ft2_4FGL_J1424.6+1447_daily_bin1327.fits outfile=/scratch/kocevski/435835/cmap_583286401_583545601_4FGL_J1424.6+1447_daily_bin1327.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435835/ft1_filtered_4FGL_J1424.6+1447_daily_bin1327.fits scfile=/scratch/kocevski/435835/ft2_4FGL_J1424.6+1447_daily_bin1327.fits outfile=/scratch/kocevski/435835/cmap_HighResolution_583286401_583545601_4FGL_J1424.6+1447_daily_bin1327.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .65477       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2777       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.072       1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.890       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    40.233       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3961       1.0000         .10000E-03   10000.    
     9 'norm      '    3.7356       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .11642E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.2335       1.0000         .10000E-03   10000.    
    13 'norm      '    .11508E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    37.618       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   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 '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .33159       1.0000         .10000E-03   10000.    
    22 'norm      '    26.906       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1016       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90661       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=   5892.574     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2737 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.586       -.33158E-06** at limit **
   2  Prefactor     .65498        5.9003        .27228E-05   -.18909E-03
   3  Prefactor     6.2773        8.8108        .10212E-05   -.16223E-03
   4  Prefactor     16.075        13.878        .20092E-07   -.23411E-04
   5  Prefactor     57.886        31.349       -.57668E-06   -.10794E-03
   6  Prefactor     .10000E-03    18.580       -.22887E-05** at limit **
   7  norm          40.234        32.500        .20028E-06    .39959E-04
   8  Prefactor     1.3973        4.3405        .34580E-06   -.27256E-03
   9  norm          3.7356        2.1903        .12110E-07    .33882E-06
  10  Prefactor     .10000E-03    6.6995       -.52980E-07** at limit **
  11  norm          .10000E-03    1.8105        .10043E-06** at limit **
  12  Prefactor     9.2241        32.712       -.14352E-05   -.32574E-04
  13  norm          .10000E-03    59.201       -.23134E-05** at limit **
  14  norm          .10000E-03    1.2725        .48735E-08** at limit **
  15  Prefactor     .10000E-03    14.248        .80848E-06** at limit **
  16  Prefactor     37.616        27.525       -.18663E-07   -.24305E-04
  17  Prefactor     .10000E-03    7.9250        .21193E-07** at limit **
  18  Prefactor     .10000E-03    6.9300       -.33757E-08** at limit **
  19  Prefactor     .10000E-03    22.535        .23921E-05** at limit **
  20  Prefactor     .10000E-03    6.1761        .89075E-07** at limit **
  21  norm          .33159        .16465        .83498E-08    .79930E-04
  22  norm          26.905        27.356       -.11913E-06   -.15614E-04
  23  Normalizat    1.1015        .20643       -.30182E-06   -.44657E-04
  24  Prefactor     .90666        .14846       -.18629E-06   -.55513E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.654982
  Prefactor  = 6.27735
  Prefactor  = 16.0747
  Prefactor  = 57.8857
  Prefactor  = 0.000100002
  norm       = 40.2339
  Prefactor  = 1.39732
  norm       = 3.7356
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.22414
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.331591
  norm       = 26.9051
  Normalizat = 1.10155
  Prefactor  = 0.906659
 **********
 **   18 **HESSE 
 **********

 FCN=   5892.574     FROM HESSE     STATUS=OK           397 CALLS     3134 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .65498        6.1270        .36002E-03   -1.5546    
   3  Prefactor     6.2773        8.8386        .80105E-03   -1.5207    
   4  Prefactor     16.075        14.006        .99904E-04   -1.4906    
   5  Prefactor     57.886        31.473        .52727E-04   -1.4185    
   6  Prefactor     .10000E-03    19.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          40.234        32.533        .63195E-04   -1.4439    
   8  Prefactor     1.3973        4.4155        .27945E-03   -1.5472    
   9  norm          3.7356        2.1902        .84531E-04   -1.5321    
  10  Prefactor     .10000E-03    6.8685        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.7198        .19937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.2241        32.512        .13189E-03   -1.5100    
  13  norm          .10000E-03    58.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.2753        .84563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     37.616        27.516        .65346E-04   -1.4481    
  17  Prefactor     .10000E-03    7.9595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.9356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    23.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.3794        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .33159        .16351        .21101E-04   -1.5593    
  22  norm          26.905        27.362        .77232E-04   -1.4670    
  23  Normalizat    1.1015        .25548        .26319E-03   -.89702    
  24  Prefactor     .90666        .18352        .21106E-03   -.95909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26188e-10
Minuit parameter uncertainties:
  1  6.13117e-05
  2  4.00675
  3  8.84039
  4  14.009
  5  31.4816
  6  0.00036076
  7  32.5475
  8  4.41655
  9  2.19025
  10  1.06808e-05
  11  1.0964e-05
  12  32.5745
  13  0.000220364
  14  2.97837e-07
  15  0.000101405
  16  27.5255
  17  1.75459e-06
  18  2.64232e-06
  19  0.000409634
  20  3.57671e-06
  21  0.163515
  22  27.3751
  23  0.25577
  24  0.183646
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.397e+00  4.417e+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:  9.067e-01  1.836e-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.102e+00  2.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/435835/likelihoodResults_583286401_583545601_4FGL_J1424.6+1447_daily_bin1327.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) = 5892.56154173
delta logL = 0.0129447799163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5892.55606753
delta logL = 0.0184189831025

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9893       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9168       1.0000          .0000       10.000    
     3 'Normalizat'    1.1038       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90509       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5892.556     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      256 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9832        6.1589        .14688E-02    .59361E-03
   2  Index         1.9184        1.2748        .15041E-01    .12938E-03
   3  Normalizat    1.1035        .24448        .26298E-03   -.11672E-05
   4  Prefactor     .90539        .18102        .21118E-03   -.43067E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.98316
  Index      = 1.91842
  Normalizat = 1.10346
  Prefactor  = 0.905394
 **********
 **   18 **HESSE 
 **********

 FCN=   5892.556     FROM HESSE     STATUS=OK            27 CALLS      283 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9832        5.8965        .29376E-03   -1.5426    
   2  Index         1.9184        1.2238        .30082E-02   -.66406    
   3  Normalizat    1.1035        .24473        .10519E-04   -.89641    
   4  Prefactor     .90539        .18121        .84473E-05   -.95953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45958e-12
Minuit parameter uncertainties:
  1  5.89824
  2  1.2444
  3  0.244984
  4  0.181332
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435835': 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): 0
logL (Free Index) = 5892.55606506
delta logL = 0.0184214495466

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.983e+00  5.898e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.918e+00  1.244e+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:  9.054e-01  1.813e-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.103e+00  2.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 216.169 14.784

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/435835/cmap_HighResolution_583286401_583545601_4FGL_J1424.6+1447_daily_bin1327.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.08e-03', job_status='DONE', photon_flux_upper_limit='6.68e-08', time_completed='2021-09-09 14:32:02.075479', job_id='435835', GAL2='0.91', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631223122.08', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.84e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1327' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:32:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 435835: <4FGL_J1424.6+1447_daily_bin1327> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1327> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 14:21:35 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:21:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:21:36 2021
Terminated at Thu Sep  9 14:32:02 2021
Results reported at Thu Sep  9 14:32:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1327 216.169 14.784 583286401 583545601 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 :                                   600.49 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            627 sec.

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

