aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 67 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin1772
RA = 216.169, Dec = 14.784
tmin = 698630401, tmax = 698889601
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='636936', job_status='RUN', time_executed='2023-02-24 01:56:33.416086', time_epoch_executed='1677232593.42' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636936

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636936/ft1_4FGL_J1424.6+1447_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636936/ft1_4FGL_J1424.6+1447_daily_bin1772.fits outfile=/scratch/kocevski/636936/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1772.fits ra=216.169 dec=14.784 rad=12.0 tmin=698630401.0 tmax=698889601.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 2.98
user 2.78
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.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/636936/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/636936/ft1_filtered_4FGL_J1424.6+1447_daily_bin1772.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.31
sys 0.16

Number of photons that the gtmktime cut: 603

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636936/ft1_filtered_4FGL_J1424.6+1447_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/636936/ltcube_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.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/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.fits
.....................!
real 12.54
user 12.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636936/ft1_filtered_4FGL_J1424.6+1447_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/636936/ltcube_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.fits outfile=/scratch/kocevski/636936/expmap_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.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/636936/ltcube_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.fits
.....................!
real 191.63
user 186.13
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/636936/ft1_filtered_4FGL_J1424.6+1447_daily_bin1772.fits scfile=/scratch/kocevski/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.fits outfile=/scratch/kocevski/636936/cmap_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636936/ft1_filtered_4FGL_J1424.6+1447_daily_bin1772.fits scfile=/scratch/kocevski/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.fits outfile=/scratch/kocevski/636936/cmap_HighResolution_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636936/ft1_filtered_4FGL_J1424.6+1447_daily_bin1772.fits', '/scratch/kocevski/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.fits', expMap='/scratch/kocevski/636936/expmap_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.fits', expCube='/scratch/kocevski/636936/ltcube_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636936/Model_4FGL_J1424.6+1447_daily_bin1772.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  0.000e+00  1.000e+06 ( 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/636936/ft1_filtered_4FGL_J1424.6+1447_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/636936/ft2_4FGL_J1424.6+1447_daily_bin1772.fits
Exposure map: /scratch/kocevski/636936/expmap_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.fits
Exposure cube: /scratch/kocevski/636936/ltcube_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636936/Model_4FGL_J1424.6+1447_daily_bin1772.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) = 6582.26641671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.069       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10186E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.4943       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.4699       1.0000          .0000       .10000E+07
     5 'Prefactor '    84.482       1.0000          .0000       .10000E+07
     6 'norm      '    .28270E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.8871       1.0000          .0000       .10000E+07
     8 'norm      '    3.2433       1.0000          .0000       .10000E+07
     9 'norm      '    .20095E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .41589E-06   1.0000          .0000       .10000E+07
    11 'norm      '    14.521       1.0000          .0000       .10000E+07
    12 'norm      '    3.8567       1.0000          .0000       .10000E+07
    13 'Prefactor '    .59494       1.0000          .0000       .10000E+07
    14 'Prefactor '    28.057       1.0000          .0000       .10000E+07
    15 'Prefactor '    37.430       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.7399       1.0000          .0000       .10000E+07
    17 'norm      '    .55651       1.0000          .0000       .10000E+07
    18 'norm      '    23.434       1.0000          .0000       .10000E+07
    19 'Normalizat'    .96214       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0251       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6582.253     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1498 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.345        29.121        .22423E-05   -.19283    
   2  Prefactor      .0000        1.3739       -.95219E-06** at limit **
   3  Prefactor     9.4529        9.2449        .29347E-06   -.53084E-03
   4  Prefactor     7.5927        2.0693        .37301E-06    .32838E-01
   5  Prefactor     84.144        17.341        .33155E-06   -.12360    
   6  norm          .55511E-10    10.729        .13304E-05** at limit **
   7  Prefactor     4.8919        5.2986       -.14593E-06    .29939E-03
   8  norm          3.2449        2.4685       -.13350E-06   -.22440E-03
   9  norm           .0000        1.3742       -.30721E-06** at limit **
  10  Prefactor     .92149E-08    19.720        .36518E-05** at limit **
  11  norm          14.587        14.140       -.31282E-05    .13169E-02
  12  norm          3.8572        3.8075        .34192E-06   -.10730E-02
  13  Prefactor     .89219        91.551       -.11701E-05    .11526E-01
  14  Prefactor     28.055        2.6288       -.41940E-06   -.57387E-01
  15  Prefactor     37.544        19.242       -.20995E-05   -.17347    
  16  Prefactor     5.7917        7.0953        .37493E-06    .31116E-03
  17  norm          .55660        .17414        .28472E-07    .37712E-02
  18  norm          23.672        15.010       -.21820E-05   -.45715E-01
  19  Normalizat    .96160        .24460       -.11286E-04    .37598E-04
  20  Prefactor     1.0249        .18059        .15825E-04    .29444E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.3447
  Prefactor  = 0
  Prefactor  = 9.45291
  Prefactor  = 7.59268
  Prefactor  = 84.1438
  norm       = 5.55112e-11
  Prefactor  = 4.89186
  norm       = 3.24486
  norm       = 0
  Prefactor  = 9.21485e-09
  norm       = 14.5872
  norm       = 3.85718
  Prefactor  = 0.892194
  Prefactor  = 28.0548
  Prefactor  = 37.5441
  Prefactor  = 5.79174
  norm       = 0.556603
  norm       = 23.6721
  Normalizat = 0.961595
  Prefactor  = 1.0249
 **********
 **   18 **HESSE 
 **********

 FCN=   6582.253     FROM HESSE     STATUS=OK           337 CALLS     1835 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.345        59.661        .15606E-03   -1.5579    
   2  Prefactor      .0000        1.3717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.4529        9.2665        .32499E-03   -1.5646    
   4  Prefactor     7.5927        17.967        .36671E-03   -1.5653    
   5  Prefactor     84.144        35.860        .10880E-03   -1.5525    
   6  norm          .55511E-10    10.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8919        5.3165        .45476E-03   -1.5664    
   8  norm          3.2449        2.4743        .56217E-03   -1.5672    
   9  norm           .0000        1.3632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .92149E-08    19.692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.587        14.249        .26258E-03   -1.5632    
  12  norm          3.8572        3.8151        .51362E-03   -1.5669    
  13  Prefactor     .89219        148.98        .69683E-03   -1.5689    
  14  Prefactor     28.055        18.000        .18882E-03   -1.5602    
  15  Prefactor     37.544        26.277        .16347E-03   -1.5585    
  16  Prefactor     5.7917        7.1067        .41900E-03   -1.5660    
  17  norm          .55660        .17514        .41319E-03   -1.5693    
  18  norm          23.672        26.463        .20663E-03   -1.5611    
  19  Normalizat    .96160        .21357        .67097E-01   -.94328    
  20  Prefactor     1.0249        .14956        .41668E-01   -.91904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3548e-06
Minuit parameter uncertainties:
  1  59.6623
  2  5.39969e-06
  3  9.26656
  4  17.9674
  5  35.8597
  6  5.89441e-05
  7  5.31647
  8  2.47426
  9  1.07782e-06
  10  0.000850696
  11  14.2486
  12  3.81509
  13  23.0583
  14  17.9996
  15  26.2771
  16  7.10669
  17  0.175142
  18  26.4632
  19  0.213759
  20  0.149623
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.892e+00  5.316e+00  0.000e+00  1.000e+06 ( 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.025e+00  1.496e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  9.616e-01  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.46
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 2.12e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 1.00e-05 +/- 1.09e-05

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

Saving results to:
/scratch/kocevski/636936/likelihoodResults_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.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) = 6582.14922067
delta logL = 0.103690000647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6582.14471191
delta logL = 0.108198756177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7480       1.0000          .0000       .10000E+07
     2 'Index     '    1.8495       1.0000          .0000       10.000    
     3 'Normalizat'    .96815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0218       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=   6582.145     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      246 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7518        319.17        .38603E-03    .60503E-03
   2  Index         1.8504        5.1358        .18592        .52397E-04
   3  Normalizat    .96842        .11631        .66889E-01    .10290E-04
   4  Prefactor     1.0216        .66693E-01    .41970E-01   -.16581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75176
  Index      = 1.85043
  Normalizat = 0.968416
  Prefactor  = 1.02161
 **********
 **   18 **HESSE 
 **********

 FCN=   6582.145     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7518        7.6844        .15441E-04   -1.5656    
   2  Index         1.8504        .66222        .10270E-01   -.68144    
   3  Normalizat    .96842        .24348        .29588E-03   -.94096    
   4  Prefactor     1.0216        .17891        .21090E-03   -.92013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84921e-12
Minuit parameter uncertainties:
  1  7.68441
  2  0.665476
  3  0.243758
  4  0.179018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636936': 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) = 6582.14470949
delta logL = 0.108201178839

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.752e+00  7.684e+00  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  1.850e+00  6.655e-01  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.022e+00  1.790e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  9.684e-01  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.85 +/- 0.67
Photon Flux (Free Index): 1.60e-08 +/- 2.02e-08
Energy Flux (Free Index): 1.65e-05 +/- 2.65e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/636936/cmap_HighResolution_698630401_698889601_4FGL_J1424.6+1447_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', comment='SUCCESS', photon_flux='2.12e-08', energy_flux2='1.65e-05', photon_flux_error='2.30e-08', dlogl='1.08e-01', energy_flux='1.00e-05', photon_flux2='1.60e-08', job_status='DONE', time_completed='2023-02-24 02:05:06.706969', photon_index_error2='0.67', photon_index2='1.85', ts='1.46', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='8.28e-08', energy_flux_error2='2.65e-05', EG='0.96', time_epoch_completed='1677233106.71', return_code='0', job_id='636936', GAL2='1.02', EG2='0.97', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='2.02e-08', ts2='1.68', photon_index='2.17' WHERE bin_id='1772' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:05:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 636936: <4FGL_J1424.6+1447_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 01:55:17 2023
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:55:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:55:18 2023
Terminated at Fri Feb 24 02:05:07 2023
Results reported at Fri Feb 24 02:05:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1772 216.169 14.784 698630401 698889601 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 :                                   515.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            590 sec.

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

