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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin483
RA = 216.169, Dec = 14.784
tmin = 364521601, tmax = 364780801
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='430205', job_status='RUN', time_executed='2021-09-09 14:08:56.091794', time_epoch_executed='1631221736.09' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430205

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430205/ft1_4FGL_J1424.6+1447_daily_bin483.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430205/ft2_4FGL_J1424.6+1447_daily_bin483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430205/ft1_4FGL_J1424.6+1447_daily_bin483.fits outfile=/scratch/kocevski/430205/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin483.fits ra=216.169 dec=14.784 rad=12.0 tmin=364521601.0 tmax=364780801.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.24
user 3.03
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430205/ft1_filtered_4FGL_J1424.6+1447_daily_bin483.fits" evtable="EVENTS" scfile=/scratch/kocevski/430205/ft2_4FGL_J1424.6+1447_daily_bin483.fits sctable="SC_DATA" outfile=/scratch/kocevski/430205/ltcube_364521601_364780801_4FGL_J1424.6+1447_daily_bin483.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/430205/ft2_4FGL_J1424.6+1447_daily_bin483.fits
.....................!
real 11.86
user 11.46
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430205/ft1_filtered_4FGL_J1424.6+1447_daily_bin483.fits evtable="EVENTS" scfile=/scratch/kocevski/430205/ft2_4FGL_J1424.6+1447_daily_bin483.fits sctable="SC_DATA" expcube=/scratch/kocevski/430205/ltcube_364521601_364780801_4FGL_J1424.6+1447_daily_bin483.fits outfile=/scratch/kocevski/430205/expmap_364521601_364780801_4FGL_J1424.6+1447_daily_bin483.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/430205/ltcube_364521601_364780801_4FGL_J1424.6+1447_daily_bin483.fits
.....................!
real 191.25
user 185.14
sys 5.40

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/430205/ft1_filtered_4FGL_J1424.6+1447_daily_bin483.fits scfile=/scratch/kocevski/430205/ft2_4FGL_J1424.6+1447_daily_bin483.fits outfile=/scratch/kocevski/430205/cmap_364521601_364780801_4FGL_J1424.6+1447_daily_bin483.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430205/ft1_filtered_4FGL_J1424.6+1447_daily_bin483.fits scfile=/scratch/kocevski/430205/ft2_4FGL_J1424.6+1447_daily_bin483.fits outfile=/scratch/kocevski/430205/cmap_HighResolution_364521601_364780801_4FGL_J1424.6+1447_daily_bin483.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13452E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.409       1.0000         .10000E-03   10000.    
     7 'norm      '    .10361E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.394       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1072       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.6264       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10690E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    62.452       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .65788       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.747       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5293       1.0000         .10000E-03   10000.    
    21 'norm      '    .12020       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77010       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3551       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=   6641.176     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2701 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.449        .57932E-05** at limit **
   2  Prefactor     .10000E-03    3.6078       -.11193E-06** at limit **
   3  Prefactor     .10000E-03    3.2587       -.24709E-07** at limit **
   4  Prefactor     .10000E-03    3.9937        .97145E-07** at limit **
   5  Prefactor     .10000E-03    67.566       -.28276E-04** at limit **
   6  Prefactor     12.405        21.069       -.22705E-05   -.48414E-04
   7  norm          .10000E-03    54.785        .27542E-04** at limit **
   8  Prefactor     .10000E-03    4.7417       -.99154E-07** at limit **
   9  norm          11.394        3.6780       -.20396E-07    .21210E-04
  10  Prefactor     .10000E-03    2.9220       -.12117E-06** at limit **
  11  norm          2.1076        2.7685       -.83381E-07   -.45470E-03
  12  Prefactor     .10000E-03    11.665       -.80518E-05** at limit **
  13  norm          .10000E-03    10.394        .35553E-05** at limit **
  14  norm          7.6261        5.0387        .19771E-06   -.12471E-03
  15  Prefactor     .10000E-03    32.592       -.25987E-05** at limit **
  16  Prefactor     62.456        28.579        .20785E-05    .75925E-04
  17  Prefactor     .60536        10.631       -.17525E-05   -.10891E-03
  18  Prefactor     20.746        23.641        .59458E-05    .14584E-03
  19  Prefactor     .10000E-03    18.635       -.80366E-05** at limit **
  20  Prefactor     6.5289        6.4279       -.62693E-06   -.98138E-03
  21  norm          .11992        .15689       -.87274E-07   -.30694E-02
  22  norm          .10000E-03    14.654        .53901E-05** at limit **
  23  Normalizat    .77011        .21426       -.31893E-06    .19041E-03
  24  Prefactor     1.3551        .16493       -.25012E-06    .31891E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 12.4046
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 11.3939
  Prefactor  = 0.0001
  norm       = 2.10755
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.62606
  Prefactor  = 0.0001
  Prefactor  = 62.4558
  Prefactor  = 0.605363
  Prefactor  = 20.7459
  Prefactor  = 0.0001
  Prefactor  = 6.52885
  norm       = 0.119919
  norm       = 0.0001
  Normalizat = 0.770111
  Prefactor  = 1.35513
 **********
 **   18 **HESSE 
 **********

 FCN=   6641.176     FROM HESSE     STATUS=OK           395 CALLS     3096 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.6926        .15111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2621        .14367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.0071        .15902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    68.392        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.405        21.101        .11371E-03   -1.5003    
   7  norm          .10000E-03    55.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8109        .17326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.394        3.6775        .85815E-04   -1.5033    
  10  Prefactor     .10000E-03    2.9589        .13597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1076        2.7532        .14850E-03   -1.5418    
  12  Prefactor     .10000E-03    11.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.6261        5.0359        .14409E-03   -1.5156    
  15  Prefactor     .10000E-03    32.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     62.456        28.485        .50776E-04   -1.4126    
  17  Prefactor     .60536        99.578        .48995E-02   -1.5552    
  18  Prefactor     20.746        23.765        .87935E-04   -1.4797    
  19  Prefactor     .10000E-03    18.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.5289        6.4772        .78528E-03   -1.5197    
  21  norm          .11992        .14250        .35238E-03   -1.5639    
  22  norm          .10000E-03    14.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77011        .24840        .33195E-03   -1.0119    
  24  Prefactor     1.3551        .19273        .19878E-03   -.81682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46952e-09
Minuit parameter uncertainties:
  1  1.27567e-06
  2  4.47919e-06
  3  1.20171e-06
  4  2.56318e-06
  5  0.000840129
  6  21.114
  7  0.000343971
  8  8.54395e-06
  9  3.67757
  10  2.89648e-06
  11  2.75339
  12  2.04548e-06
  13  5.94265e-06
  14  5.03613
  15  0.000132739
  16  28.4912
  17  15.5533
  18  23.7758
  19  4.23844e-05
  20  6.47787
  21  0.142497
  22  5.8874e-07
  23  0.248768
  24  0.192828
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  8.544e-06  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.355e+00  1.928e-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.701e-01  2.488e-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.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430205/likelihoodResults_364521601_364780801_4FGL_J1424.6+1447_daily_bin483.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) = 6641.17719705
delta logL = -0.000989912264231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6641.17620749
delta logL = -3.51891685568e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10721E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1412       1.0000          .0000       10.000    
     3 'Normalizat'    .77013       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3551       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6641.176     FROM MIGRAD    STATUS=FAILED        87 CALLS      236 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1234.6        .17997E-02** at limit **
   2  Index         2.1108        8.0328        .50000        .45831E-04
   3  Normalizat    .77011        .23325        .33195E-03   -.16987E-03
   4  Prefactor     1.3551        .18107        .19878E-03   -.29394E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6641.176     FROM SIMPLEX   STATUS=UNCHANGED    186 CALLS      422 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1234.6        .39394E-03** at limit **
   2  Index         2.1108        8.0328        .40795E-05    .45831E-04
   3  Normalizat    .77011        .23325        .35392E-06   -.16987E-03
   4  Prefactor     1.3551        .18107        .16353E-06   -.29394E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6641.176     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      456 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    5.8270        .35995E-03** at limit **
   2  Index         2.1104        6.0412        .50000        .45774E-04
   3  Normalizat    .77011        .24524        .13278E-04   -.15668E-03
   4  Prefactor     1.3551        .19045        .39757E-04   -.27257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Index      = 2.11039
  Normalizat = 0.770111
  Prefactor  = 1.35513
 **********
 **   18 **HESSE 
 **********

 FCN=   6641.176     FROM HESSE     STATUS=OK            29 CALLS      485 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    5.2023        .71990E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1104        6.0524        .50000       -.61618    
   3  Normalizat    .77011        .24555        .26556E-05   -1.0119    
   4  Prefactor     1.3551        .19066        .79513E-05   -.81682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00735e-09
Minuit parameter uncertainties:
  1  0.000479131
  2  4.08898
  3  0.245899
  4  0.190755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430205': 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) = 6641.17620638
delta logL = 7.54983375373e-07

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  4.791e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.110e+00  4.089e+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.355e+00  1.908e-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.701e-01  2.459e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/430205/cmap_HighResolution_364521601_364780801_4FGL_J1424.6+1447_daily_bin483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2021-09-09 14:19:46.627214', job_id='430205', GAL2='1.36', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1631222386.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='7.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='483' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:19:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 430205: <4FGL_J1424.6+1447_daily_bin483> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin483> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:45 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:47 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:06:47 2021
Terminated at Thu Sep  9 14:19:47 2021
Results reported at Thu Sep  9 14:19:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin483 216.169 14.784 364521601 364780801 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 :                                   632.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             244.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            782 sec.

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

