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


Performing analysis on: 4FGL_J1424.6+1447_weekly_bin759
RA = 216.169, Dec = 14.784
tmin = 698025601, tmax = 698630401
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='592304', job_status='RUN', time_executed='2023-02-21 03:42:54.456115', time_epoch_executed='1676979774.46' WHERE source_name='4FGL J1424.6+1447' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592304

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592304/ft1_4FGL_J1424.6+1447_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592304/ft2_4FGL_J1424.6+1447_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592304/ft1_4FGL_J1424.6+1447_weekly_bin759.fits outfile=/scratch/kocevski/592304/ft1_filteredMKT_4FGL_J1424.6+1447_weekly_bin759.fits ra=216.169 dec=14.784 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.51
user 8.18
sys 0.30

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

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

Number of photons that the gtmktime cut: 1313

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592304/ft1_filtered_4FGL_J1424.6+1447_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/592304/ft2_4FGL_J1424.6+1447_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/592304/ltcube_698025601_698630401_4FGL_J1424.6+1447_weekly_bin759.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/592304/ft2_4FGL_J1424.6+1447_weekly_bin759.fits
.....................!
real 27.36
user 26.94
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592304/ft1_filtered_4FGL_J1424.6+1447_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/592304/ft2_4FGL_J1424.6+1447_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/592304/ltcube_698025601_698630401_4FGL_J1424.6+1447_weekly_bin759.fits outfile=/scratch/kocevski/592304/expmap_698025601_698630401_4FGL_J1424.6+1447_weekly_bin759.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/592304/ltcube_698025601_698630401_4FGL_J1424.6+1447_weekly_bin759.fits
.....................!
real 190.55
user 185.14
sys 5.05

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/592304/ft1_filtered_4FGL_J1424.6+1447_weekly_bin759.fits scfile=/scratch/kocevski/592304/ft2_4FGL_J1424.6+1447_weekly_bin759.fits outfile=/scratch/kocevski/592304/cmap_698025601_698630401_4FGL_J1424.6+1447_weekly_bin759.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592304/ft1_filtered_4FGL_J1424.6+1447_weekly_bin759.fits scfile=/scratch/kocevski/592304/ft2_4FGL_J1424.6+1447_weekly_bin759.fits outfile=/scratch/kocevski/592304/cmap_HighResolution_698025601_698630401_4FGL_J1424.6+1447_weekly_bin759.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41869E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.4869       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34103E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12166E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    49.113       1.0000          .0000       .10000E+07
     6 'norm      '    8.8368       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45738E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .30724       1.0000          .0000       .10000E+07
     9 'norm      '    .38303E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .31052E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .59236E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .11202E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17311E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .30476E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .68544       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.1092       1.0000          .0000       .10000E+07
    17 'norm      '    .26688       1.0000          .0000       .10000E+07
    18 'norm      '    5.9365       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.5345       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .76831       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=   14238.43     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1223 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    34.354       -.32429E-06** at limit **
   2  Prefactor     2.4931        2.3637       -.41374E-06   -.56669E-03
   3  Prefactor     .27756E-09    2.8411       -.75019E-07** at limit **
   4  Prefactor      .0000        4.4425        .23910E-06** at limit **
   5  Prefactor     48.289        17.416       -.54024E-06   -.13928    
   6  norm          8.7943        4.0265       -.17631E-06   -.82302E-01
   7  Prefactor     .11352E-06    2.2813       -.29713E-06** at limit **
   8  norm          .30422        1.1616        .34539E-06    .88094E-03
   9  norm           .0000        1.0865       -.36761E-06** at limit **
  10  Prefactor     .12679E-06    10.538       -.16523E-05** at limit **
  11  norm          .30131E-06    10.905       -.70864E-06** at limit **
  12  norm           .0000        1.2295        .17977E-06** at limit **
  13  Prefactor     .29643E-07    3.5034       -.85439E-07** at limit **
  14  Prefactor     .20278E-06    2.2098       -.61065E-06** at limit **
  15  Prefactor     .52789        38.246       -.35771E-05    .35043E-01
  16  Prefactor     2.1545        3.5931        .30291E-06    .53742E-03
  17  norm          .26680        .95806E-01   -.45585E-07   -.13830E-01
  18  norm          5.9050        1.6147       -.99210E-07   -.12788E-01
  19  Normalizat    1.5353        .16354        .53441E-05    .15156E-03
  20  Prefactor     .76825        .11777        .13406E-06    .97476E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 2.49314
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 48.2887
  norm       = 8.79433
  Prefactor  = 1.1352e-07
  norm       = 0.304218
  norm       = 0
  Prefactor  = 1.26787e-07
  norm       = 3.01315e-07
  norm       = 0
  Prefactor  = 2.9643e-08
  Prefactor  = 2.02782e-07
  Prefactor  = 0.527888
  Prefactor  = 2.15453
  norm       = 0.266796
  norm       = 5.90495
  Normalizat = 1.53528
  Prefactor  = 0.768253
 **********
 **   18 **HESSE 
 **********

 FCN=   14238.43     FROM HESSE     STATUS=OK           329 CALLS     1552 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    33.881        .15880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4931        2.3703        .64794E-03   -1.5676    
   3  Prefactor     .27756E-09    2.8497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.5528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     48.289        21.280        .14270E-03   -1.5569    
   6  norm          8.7943        11.670        .33694E-03   -1.5649    
   7  Prefactor     .11352E-06    4.3200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .30422        1.1612        .10113E-02   -1.5697    
   9  norm           .0000        1.0801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12679E-06    12.066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .30131E-06    13.154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.2399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29643E-07    3.6442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .20278E-06    3.8471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .52789        73.806        .61898E-03   -1.5693    
  16  Prefactor     2.1545        3.6128        .71010E-03   -1.5679    
  17  norm          .26680        .96626E-01    .48354E-03   -1.5698    
  18  norm          5.9050        13.811        .41190E-03   -1.5659    
  19  Normalizat    1.5353        .13544        .54912E-01   -.76792    
  20  Prefactor     .76825        .97970E-01    .43303E-01   -1.0091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.79275e-07
Minuit parameter uncertainties:
  1  0.000315627
  2  2.37027
  3  5.37915e-05
  4  1.33617e-05
  5  21.2796
  6  11.6696
  7  0.00140048
  8  1.1612
  9  1.70136e-06
  10  0.00247361
  11  0.00398176
  12  5.16479e-06
  13  0.000657147
  14  0.00176659
  15  12.484
  16  3.61281
  17  0.0966259
  18  13.8113
  19  0.135472
  20  0.0979921
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.135e-07  1.400e-03  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:  7.683e-01  9.799e-02  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.535e+00  1.355e-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: 4.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592304/likelihoodResults_698025601_698630401_4FGL_J1424.6+1447_weekly_bin759.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) = 14238.5567527
delta logL = -0.125754617038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 14238.0774987
delta logL = 0.353499359331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68279E-08   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    1.5074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78170       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14238.43     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      786 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .17852        .42118E-03** at limit **
   2  Index         .30018        .53805        .26068E-05     .0000    
   3  Normalizat    1.5353        1.0569       -.10387E-03    .44635E-03
   4  Prefactor     .76825        1.1218       -.20141E-03   -.30025E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.300185
  Normalizat = 1.53528
  Prefactor  = 0.768253
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   14238.43     FROM HESSE     STATUS=FAILED         9 CALLS      795 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .17852        .42118E-03   -59937.    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65246E-01    .53805        .26068E-05   -.29369E+07
   3  Normalizat    1.5353        1.0569       -.10387E-03   -57.317    
   4  Prefactor     .76825        1.1218       -.20141E-03   -1013.7    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07801e-10
Minuit parameter uncertainties:
  1  2.81647e-06
  2  0.547391
  3  1.07276
  4  1.1579
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592304': 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): 101
logL (Free Index) = 14238.430998
delta logL = 1.30003172671e-08

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  0.000e+00  2.816e-06  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  3.002e-01  5.474e-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:  7.683e-01  1.158e+00  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.535e+00  1.073e+00  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/592304/cmap_HighResolution_698025601_698630401_4FGL_J1424.6+1447_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.17e-08', time_completed='2023-02-21 03:56:22.671516', job_id='592304', GAL2='0.77', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1676980582.67', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.30e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='759' AND source_name='4FGL J1424.6+1447' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:56:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 592304: <4FGL_J1424.6+1447_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1424.6+1447_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:40:27 2023
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:40:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:40:27 2023
Terminated at Tue Feb 21 03:56:23 2023
Results reported at Tue Feb 21 03:56:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_weekly_bin759 216.169 14.784 698025601 698630401 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 :                                   809.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            956 sec.

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

