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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin747
RA = 216.169, Dec = 14.784
tmin = 432950401, tmax = 433209601
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='431809', job_status='RUN', time_executed='2021-09-09 14:15:03.263094', time_epoch_executed='1631222103.26' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431809

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431809/ft1_4FGL_J1424.6+1447_daily_bin747.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431809/ft2_4FGL_J1424.6+1447_daily_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431809/ft1_4FGL_J1424.6+1447_daily_bin747.fits outfile=/scratch/kocevski/431809/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin747.fits ra=216.169 dec=14.784 rad=12.0 tmin=432950401.0 tmax=433209601.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 5.67
user 5.41
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/431809/ft1_filtered_4FGL_J1424.6+1447_daily_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/431809/ft2_4FGL_J1424.6+1447_daily_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/431809/ltcube_432950401_433209601_4FGL_J1424.6+1447_daily_bin747.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/431809/ft2_4FGL_J1424.6+1447_daily_bin747.fits
.....................!
real 12.13
user 11.80
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431809/ft1_filtered_4FGL_J1424.6+1447_daily_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/431809/ft2_4FGL_J1424.6+1447_daily_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/431809/ltcube_432950401_433209601_4FGL_J1424.6+1447_daily_bin747.fits outfile=/scratch/kocevski/431809/expmap_432950401_433209601_4FGL_J1424.6+1447_daily_bin747.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/431809/ltcube_432950401_433209601_4FGL_J1424.6+1447_daily_bin747.fits
.....................!
real 191.48
user 185.91
sys 5.19

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/431809/ft1_filtered_4FGL_J1424.6+1447_daily_bin747.fits scfile=/scratch/kocevski/431809/ft2_4FGL_J1424.6+1447_daily_bin747.fits outfile=/scratch/kocevski/431809/cmap_432950401_433209601_4FGL_J1424.6+1447_daily_bin747.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431809/ft1_filtered_4FGL_J1424.6+1447_daily_bin747.fits scfile=/scratch/kocevski/431809/ft2_4FGL_J1424.6+1447_daily_bin747.fits outfile=/scratch/kocevski/431809/cmap_HighResolution_432950401_433209601_4FGL_J1424.6+1447_daily_bin747.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75081E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4181       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.5683       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4208       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11160E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.287       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12574E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12192E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    15.222       1.0000         .10000E-03   10000.    
    14 'norm      '    5.4739       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12100E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4519       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11958E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.701       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2292       1.0000         .10000E-03   10000.    
    21 'norm      '    .30080E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1540       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95140       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=   7240.747     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     2801 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11618E-03    28.595       -.36212E-05** at limit **
   2  Prefactor     2.4187        2.9055       -.21149E-08   -.11631E-05
   3  Prefactor     1.5687        10.170        .12887E-04   -.50661E-04
   4  Prefactor     8.4201        11.735        .37665E-06   -.43285E-04
   5  Prefactor     .10000E-03    30.712        .57468E-06** at limit **
   6  Prefactor     .10000E-03    9.5811        .14043E-06** at limit **
   7  norm          .10000E-03    5.2508        .51615E-07** at limit **
   8  Prefactor     .10000E-03    8.0093        .37821E-06** at limit **
   9  norm          10.292        3.8711        .32394E-07   -.18822E-03
  10  Prefactor     .10000E-03    4.3526        .23505E-06** at limit **
  11  norm          .10000E-03    1.6778        .49673E-06** at limit **
  12  Prefactor     .10000E-03    11.362       -.63197E-06** at limit **
  13  norm          15.217        12.253        .53776E-06   -.18593E-04
  14  norm          5.4732        5.4190        .28018E-06   -.47557E-04
  15  Prefactor     .10000E-03    11.752       -.51321E-06** at limit **
  16  Prefactor     3.4460        26.476        .34621E-05    .31134E-04
  17  Prefactor     .10000E-03    5.7891       -.62703E-06** at limit **
  18  Prefactor     .10000E-03    10.976       -.10914E-05** at limit **
  19  Prefactor     18.717        32.014        .53276E-05   -.30945E-05
  20  Prefactor     4.2285        6.4316        .13707E-06   -.31114E-04
  21  norm          .30078E-01    .78535E-01   -.89884E-07   -.30015E-02
  22  norm          .10000E-03    12.833        .84999E-07** at limit **
  23  Normalizat    1.1540        .18690       -.72058E-06   -.17217E-03
  24  Prefactor     .95143        .13152       -.97131E-06   -.31278E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000116184
  Prefactor  = 2.4187
  Prefactor  = 1.56874
  Prefactor  = 8.42013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.2919
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.2175
  norm       = 5.47319
  Prefactor  = 0.0001
  Prefactor  = 3.44597
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 18.7171
  Prefactor  = 4.2285
  norm       = 0.0300781
  norm       = 0.0001
  Normalizat = 1.15399
  Prefactor  = 0.951431
 **********
 **   18 **HESSE 
 **********

 FCN=   7240.747     FROM HESSE     STATUS=OK           421 CALLS     3222 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11618E-03    27.918        .16160       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4187        2.8948        .15471E-03   -1.5397    
   3  Prefactor     1.5687        10.222        .16977E-02   -1.5457    
   4  Prefactor     8.4201        11.754        .13815E-03   -1.5128    
   5  Prefactor     .10000E-03    30.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.6080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.2538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.3283        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.292        3.8692        .99233E-04   -1.5066    
  10  Prefactor     .10000E-03    5.1326        .50515E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.4929        .21258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.217        12.248        .10266E-03   -1.4928    
  14  norm          5.4732        5.4136        .17174E-03   -1.5240    
  15  Prefactor     .10000E-03    11.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4460        26.262        .21768E-03   -1.5337    
  17  Prefactor     .10000E-03    5.8205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.717        32.003        .92616E-04   -1.4842    
  20  Prefactor     4.2285        6.4242        .19594E-03   -1.5297    
  21  norm          .30078E-01    .87226E-01    .36468E-03   -1.5673    
  22  norm          .10000E-03    12.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1540        .22783        .26772E-03   -.88037    
  24  Prefactor     .95143        .16105        .20924E-03   -.94366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37887e-10
Minuit parameter uncertainties:
  1  0.0425324
  2  2.895
  3  8.01058
  4  11.7572
  5  0.000187152
  6  3.97538e-05
  7  6.78334e-06
  8  5.94279e-05
  9  3.86926
  10  2.71896e-05
  11  7.86422e-06
  12  0.00010153
  13  12.2497
  14  5.41411
  15  4.21196e-05
  16  19.0376
  17  8.45516e-05
  18  0.000268875
  19  32.0324
  20  6.42525
  21  0.0872264
  22  6.83631e-06
  23  0.228022
  24  0.161132
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  5.943e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  9.514e-01  1.611e-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.154e+00  2.280e-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.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/431809/likelihoodResults_432950401_433209601_4FGL_J1424.6+1447_daily_bin747.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) = 7240.74805766
delta logL = -0.000569329327845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7240.74748878
delta logL = -4.46917510999e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10364E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1789       1.0000          .0000       10.000    
     3 'Normalizat'    1.1539       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95154       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=   7240.747     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      225 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .80963E-01    .58016E-01** at limit **
   2  Index         2.1852        7.0216        .50000       -.58224E-05
   3  Normalizat    1.1540        .70459E-03    .60530E-01    .70291E-04
   4  Prefactor     .95143        .50792E-03    .45659E-01    .85323E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.18517
  Normalizat = 1.15399
  Prefactor  = 0.951432
 **********
 **   18 **HESSE 
 **********

 FCN=   7240.747     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      260 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.099        .30740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1852        8.8289        .50000       -.59797    
   3  Normalizat    1.1540        .74552E-02    .26772E-03   -.88037    
   4  Prefactor     .95143        .53770E-02    .20924E-03   -.94366    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.16978e-08
Minuit parameter uncertainties:
  1  0.000105982
  2  121.899
  3  0.00745524
  4  0.00537702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431809': 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) = 7240.74748831
delta logL = 2.05418473342e-08

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.060e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.185e+00  1.219e+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:  9.514e-01  5.377e-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:  1.154e+00  7.455e-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/431809/cmap_HighResolution_432950401_433209601_4FGL_J1424.6+1447_daily_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2021-09-09 14:26:02.773486', job_id='431809', GAL2='0.95', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1631222762.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.05e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='747' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:26:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 431809: <4FGL_J1424.6+1447_daily_bin747> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin747 216.169 14.784 432950401 433209601 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 :                                   658.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             260.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            873 sec.

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

