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


Performing analysis on: 4FGL_J1424.6+1447_weekly_bin760
RA = 216.169, Dec = 14.784
tmin = 698630401, tmax = 699235201
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='24857', job_status='RUN', time_executed='2023-02-28 01:22:24.688287', time_epoch_executed='1677576144.69' WHERE source_name='4FGL J1424.6+1447' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24857

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=698630401.0 && nMetStart<699235201.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<699235201.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24857/ft1_4FGL_J1424.6+1447_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24857/ft2_4FGL_J1424.6+1447_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24857/ft1_4FGL_J1424.6+1447_weekly_bin760.fits outfile=/scratch/kocevski/24857/ft1_filteredMKT_4FGL_J1424.6+1447_weekly_bin760.fits ra=216.169 dec=14.784 rad=12.0 tmin=698630401.0 tmax=699235201.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 4.79
user 4.51
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/24857/ft2_4FGL_J1424.6+1447_weekly_bin760.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/24857/ft1_filteredMKT_4FGL_J1424.6+1447_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/24857/ft1_filtered_4FGL_J1424.6+1447_weekly_bin760.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.45
user 0.30
sys 0.14

Number of photons that the gtmktime cut: 1348

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24857/ft1_filtered_4FGL_J1424.6+1447_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/24857/ft2_4FGL_J1424.6+1447_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/24857/ltcube_698630401_699235201_4FGL_J1424.6+1447_weekly_bin760.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/24857/ft2_4FGL_J1424.6+1447_weekly_bin760.fits
.....................!
real 22.05
user 21.70
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24857/ft1_filtered_4FGL_J1424.6+1447_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/24857/ft2_4FGL_J1424.6+1447_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/24857/ltcube_698630401_699235201_4FGL_J1424.6+1447_weekly_bin760.fits outfile=/scratch/kocevski/24857/expmap_698630401_699235201_4FGL_J1424.6+1447_weekly_bin760.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/24857/ltcube_698630401_699235201_4FGL_J1424.6+1447_weekly_bin760.fits
.....................!
real 145.21
user 140.85
sys 4.06

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/24857/ft1_filtered_4FGL_J1424.6+1447_weekly_bin760.fits scfile=/scratch/kocevski/24857/ft2_4FGL_J1424.6+1447_weekly_bin760.fits outfile=/scratch/kocevski/24857/cmap_698630401_699235201_4FGL_J1424.6+1447_weekly_bin760.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.48
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24857/ft1_filtered_4FGL_J1424.6+1447_weekly_bin760.fits scfile=/scratch/kocevski/24857/ft2_4FGL_J1424.6+1447_weekly_bin760.fits outfile=/scratch/kocevski/24857/cmap_HighResolution_698630401_699235201_4FGL_J1424.6+1447_weekly_bin760.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.48
user 0.32
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .91215E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .20187E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.6279       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11027E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    80.143       1.0000          .0000       .10000E+07
     6 'norm      '    5.9427       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7574       1.0000          .0000       .10000E+07
     8 'norm      '    3.1435       1.0000          .0000       .10000E+07
     9 'norm      '    .28960E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .68471E-04   1.0000          .0000       .10000E+07
    11 'norm      '    10.409       1.0000          .0000       .10000E+07
    12 'norm      '    1.5201       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10180E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.025       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.868       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.6311       1.0000          .0000       .10000E+07
    17 'norm      '    .55340       1.0000          .0000       .10000E+07
    18 'norm      '    13.821       1.0000          .0000       .10000E+07
    19 'Normalizat'    .95591       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1001       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=   14911.14     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     1571 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    41.220        .17504E-06** at limit **
   2  Prefactor      .0000        2.9378        .46741E-08** at limit **
   3  Prefactor     5.6534        5.4402       -.12602E-07    .57831E-02
   4  Prefactor      .0000        12.991        .31511E-07** at limit **
   5  Prefactor     79.952        24.647       -.90999E-07   -.13845E-02
   6  norm          5.9529        12.365        .89203E-07    .23976E-03
   7  Prefactor     4.7640        3.5832        .65078E-08   -.38898E-03
   8  norm          3.1432        1.5519        .29640E-09   -.39968E-03
   9  norm           .0000        .72450       -.10725E-08** at limit **
  10  Prefactor      .0000        8.0609       -.96775E-07** at limit **
  11  norm          10.440        8.5643       -.71911E-07   -.99420E-03
  12  norm          1.5199        2.1136        .33518E-08   -.36783E-02
  13  Prefactor      .0000        6.5152        .49026E-07** at limit **
  14  Prefactor     18.024        11.512        .33656E-06    .51347E-02
  15  Prefactor     10.853        10.460       -.36697E-06   -.41778E-02
  16  Prefactor     3.6403        2.6679        .94570E-07   -.36176E-01
  17  norm          .55341        .11773       -.14430E-08   -.24832E-02
  18  norm          13.824        15.748       -.55771E-08   -.46745E-04
  19  Normalizat    .95592        .13854        .14774E-06   -.31104E-04
  20  Prefactor     1.1001        .10138       -.77583E-07   -.11308E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 5.6534
  Prefactor  = 0
  Prefactor  = 79.952
  norm       = 5.95286
  Prefactor  = 4.76399
  norm       = 3.14318
  norm       = 0
  Prefactor  = 0
  norm       = 10.4404
  norm       = 1.51991
  Prefactor  = 0
  Prefactor  = 18.0243
  Prefactor  = 10.8532
  Prefactor  = 3.64033
  norm       = 0.553408
  norm       = 13.8237
  Normalizat = 0.95592
  Prefactor  = 1.10008
 **********
 **   18 **HESSE 
 **********

 FCN=   14911.14     FROM HESSE     STATUS=OK           291 CALLS     1862 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    41.859        .28343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.0210        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.6534        5.4841        .84644E-04   -1.5660    
   4  Prefactor      .0000        13.062        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     79.952        24.700        .44684E-05   -1.5529    
   6  norm          5.9529        12.363        .16467E-04   -1.5659    
   7  Prefactor     4.7640        3.5805        .18442E-04   -1.5664    
   8  norm          3.1432        1.5515        .10356E-04   -1.5673    
   9  norm           .0000        .73052        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        8.0604        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.440        8.5702        .12412E-04   -1.5643    
  12  norm          1.5199        2.0955        .20319E-04   -1.5683    
  13  Prefactor      .0000        6.5254        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.024        11.597        .94254E-05   -1.5623    
  15  Prefactor     10.853        10.547        .12146E-04   -1.5642    
  16  Prefactor     3.6403        4.4983        .10599E-03   -1.5670    
  17  norm          .55341        .11747        .18573E-05   -1.5693    
  18  norm          13.824        15.752        .10767E-04   -1.5634    
  19  Normalizat    .95592        .16711        .30089E-03   -.94522    
  20  Prefactor     1.1001        .12288        .20642E-03   -.89464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78564e-09
Minuit parameter uncertainties:
  1  0.000105907
  2  5.32527e-07
  3  5.48406
  4  1.14213e-05
  5  24.7005
  6  12.3631
  7  3.58051
  8  1.55148
  9  1.79301e-07
  10  2.26105e-05
  11  8.57025
  12  2.09546
  13  2.48547e-05
  14  11.597
  15  10.547
  16  4.49827
  17  0.117473
  18  15.7522
  19  0.167203
  20  0.12291
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.764e+00  3.581e+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.100e+00  1.229e-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.559e-01  1.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.41
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 2.06e-08 +/- 1.55e-08
Energy Flux (Fixed Index): 9.77e-06 +/- 7.34e-06

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) = 14910.4379018
delta logL = 0.698233904159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14910.3791407
delta logL = 0.756995078849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3651       1.0000          .0000       .10000E+07
     2 'Index     '    1.5524       1.0000          .0000       10.000    
     3 'Normalizat'    .96453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0980       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=   14910.38     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3634        166.20        .39760E-03   -.44356E-02
   2  Index         1.5524        5.5110        .29238       -.14986E-04
   3  Normalizat    .96448        .86355E-01    .67756E-01    .18600E-03
   4  Prefactor     1.0980        .47747E-01    .37664E-01    .14285E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.36341
  Index      = 1.55245
  Normalizat = 0.96448
  Prefactor  = 1.09804
 **********
 **   18 **HESSE 
 **********

 FCN=   14910.38     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3634        4.9837        .79521E-04   -1.5658    
   2  Index         1.5524        .49059        .11342E-01   -.76081    
   3  Normalizat    .96448        .16530        .29972E-03   -.94230    
   4  Prefactor     1.0980        .12154        .20661E-03   -.89529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.70618e-11
Minuit parameter uncertainties:
  1  4.98374
  2  0.492104
  3  0.165385
  4  0.121569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24857': 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) = 14910.3791404
delta logL = 0.75699536114

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.363e+00  4.984e+00  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  1.552e+00  4.921e-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.098e+00  1.216e-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.645e-01  1.654e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.92
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.55 +/- 0.49
Photon Flux (Free Index): 9.67e-09 +/- 1.04e-08
Energy Flux (Free Index): 2.56e-05 +/- 3.02e-05

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/24857/cmap_HighResolution_698630401_699235201_4FGL_J1424.6+1447_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.06e-08', energy_flux2='2.56e-05', photon_flux_error='1.55e-08', dlogl='7.57e-01', energy_flux='9.77e-06', photon_flux2='9.67e-09', job_status='DONE', time_completed='2023-02-28 01:31:53.128355', photon_index_error2='0.49', photon_index2='1.55', ts='4.41', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='3.02e-05', EG='0.96', time_epoch_completed='1677576713.13', return_code='0', job_id='24857', GAL2='1.10', EG2='0.96', return_code2='0', energy_flux_error='7.34e-06', photon_flux_error2='1.04e-08', ts2='5.92', photon_index='2.17' WHERE bin_id='760' AND source_name='4FGL J1424.6+1447' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:31:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 24857: <4FGL_J1424.6+1447_weekly_bin760> in cluster <slac> Done

Job <4FGL_J1424.6+1447_weekly_bin760> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 28 01:20:26 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 01:20:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 01:20:28 2023
Terminated at Tue Feb 28 01:32:01 2023
Results reported at Tue Feb 28 01:32:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_weekly_bin760 216.169 14.784 698630401 699235201 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 :                                   560.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            703 sec.

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

