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


Performing analysis on: 4FGL_J1424.6+1447_weekly_bin735
RA = 216.169, Dec = 14.784
tmin = 683510401, tmax = 684115201
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='270856', job_status='RUN', time_executed='2022-09-17 01:19:27.213306', time_epoch_executed='1663402767.21' WHERE source_name='4FGL J1424.6+1447' and cadence='weekly' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/270856

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/270856/ft1_4FGL_J1424.6+1447_weekly_bin735.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/270856/ft2_4FGL_J1424.6+1447_weekly_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/270856/ft1_4FGL_J1424.6+1447_weekly_bin735.fits outfile=/scratch/kocevski/270856/ft1_filteredMKT_4FGL_J1424.6+1447_weekly_bin735.fits ra=216.169 dec=14.784 rad=12.0 tmin=683510401.0 tmax=684115201.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 7.42
user 7.13
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/270856/ft1_filtered_4FGL_J1424.6+1447_weekly_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/270856/ft2_4FGL_J1424.6+1447_weekly_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/270856/ltcube_683510401_684115201_4FGL_J1424.6+1447_weekly_bin735.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/270856/ft2_4FGL_J1424.6+1447_weekly_bin735.fits
.....................!
real 32.29
user 31.87
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/270856/ft1_filtered_4FGL_J1424.6+1447_weekly_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/270856/ft2_4FGL_J1424.6+1447_weekly_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/270856/ltcube_683510401_684115201_4FGL_J1424.6+1447_weekly_bin735.fits outfile=/scratch/kocevski/270856/expmap_683510401_684115201_4FGL_J1424.6+1447_weekly_bin735.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/270856/ltcube_683510401_684115201_4FGL_J1424.6+1447_weekly_bin735.fits
.....................!
real 192.11
user 186.76
sys 4.94

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/270856/ft1_filtered_4FGL_J1424.6+1447_weekly_bin735.fits scfile=/scratch/kocevski/270856/ft2_4FGL_J1424.6+1447_weekly_bin735.fits outfile=/scratch/kocevski/270856/cmap_683510401_684115201_4FGL_J1424.6+1447_weekly_bin735.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.63
user 0.43
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/270856/ft1_filtered_4FGL_J1424.6+1447_weekly_bin735.fits scfile=/scratch/kocevski/270856/ft2_4FGL_J1424.6+1447_weekly_bin735.fits outfile=/scratch/kocevski/270856/cmap_HighResolution_683510401_684115201_4FGL_J1424.6+1447_weekly_bin735.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.61
user 0.44
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87296       1.0000          .0000       .10000E+07
     2 'Prefactor '    .42055       1.0000          .0000       .10000E+07
     3 'Prefactor '    .79502       1.0000          .0000       .10000E+07
     4 'Prefactor '    .57609E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    40.681       1.0000          .0000       .10000E+07
     6 'norm      '    .41837E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .41047E-02   1.0000          .0000       .10000E+07
     8 'norm      '    3.6369       1.0000          .0000       .10000E+07
     9 'norm      '    1.9539       1.0000          .0000       .10000E+07
    10 'Prefactor '    26.185       1.0000          .0000       .10000E+07
    11 'norm      '    .94265E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.3685       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.1134       1.0000          .0000       .10000E+07
    14 'Prefactor '    20.957       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28520E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .40534E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .27674       1.0000          .0000       .10000E+07
    18 'norm      '    .35555       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2109       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90742       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=   14104.27     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1238 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        208.09        .53282E-05** at limit **
   2  Prefactor     .42029        1.3333        .13530E-06   -.49756E-03
   3  Prefactor     .90205        .79574        .32823E-07   -.35552E-02
   4  Prefactor     .33307E-09    3.4314       -.13999E-06** at limit **
   5  Prefactor     40.527        1.8123       -.19118E-07    .36694E-01
   6  norm          .63394E-07    8.7382        .58553E-06** at limit **
   7  Prefactor     .55406E-06    3.5408       -.30967E-06** at limit **
   8  norm          3.6355        1.4876        .39641E-07    .88582E-03
   9  norm          1.9516        1.4635        .47017E-07   -.55880E-03
  10  Prefactor     25.935        4.0467        .37874E-07    .58427E-01
  11  norm           .0000        10.890       -.11520E-06** at limit **
  12  norm          1.3677        1.5111       -.21227E-07   -.28033E-03
  13  Prefactor     9.0122        10.731        .10089E-06   -.33363E-02
  14  Prefactor     20.644        1.8221       -.21294E-07    .17669E-01
  15  Prefactor     .14588E-06    6.5380       -.30183E-06** at limit **
  16  Prefactor     .19446E-06    5.9121        .12929E-07** at limit **
  17  norm          .27694        .11337        .66519E-08   -.23338E-02
  18  norm          .70222E-07    105.18       -.14160E-05** at limit **
  19  Normalizat    1.2110        .15673        .23232E-05   -.76344E-04
  20  Prefactor     .90788        .11622       -.13219E-05   -.11353E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.420289
  Prefactor  = 0.902054
  Prefactor  = 3.33067e-10
  Prefactor  = 40.5272
  norm       = 6.33937e-08
  Prefactor  = 5.54057e-07
  norm       = 3.63545
  norm       = 1.95164
  Prefactor  = 25.9347
  norm       = 0
  norm       = 1.36774
  Prefactor  = 9.01222
  Prefactor  = 20.6441
  Prefactor  = 1.45883e-07
  Prefactor  = 1.94456e-07
  norm       = 0.276944
  norm       = 7.02216e-08
  Normalizat = 1.21105
  Prefactor  = 0.90788
 **********
 **   18 **HESSE 
 **********

 FCN=   14104.27     FROM HESSE     STATUS=OK           341 CALLS     1579 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        204.92        .47648E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .42029        1.1893        .55858E-02   -1.5695    
   3  Prefactor     .90205        13.495        .53307E-03   -1.5689    
   4  Prefactor     .33307E-09    3.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.527        21.008        .15680E-03   -1.5581    
   6  norm          .63394E-07    9.2464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55406E-06    7.8718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6355        1.4951        .52950E-03   -1.5670    
   9  norm          1.9516        1.4767        .74202E-03   -1.5680    
  10  Prefactor     25.935        22.614        .19546E-03   -1.5606    
  11  norm           .0000        11.049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3677        1.5203        .93197E-03   -1.5685    
  13  Prefactor     9.0122        10.789        .33176E-03   -1.5648    
  14  Prefactor     20.644        16.172        .21850E-03   -1.5617    
  15  Prefactor     .14588E-06    7.9303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .19446E-06    7.2717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .27694        .11721        .55950E-03   -1.5697    
  18  norm          .70222E-07    106.08        .94828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2110        .13113        .58421E-01   -.86262    
  20  Prefactor     .90788        .96082E-01    .45100E-01   -.95866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47016e-07
Minuit parameter uncertainties:
  1  0.000107769
  2  1.18926
  3  6.97795
  4  6.99725e-05
  5  21.008
  6  0.00153106
  7  0.00417678
  8  1.49508
  9  1.47675
  10  22.6139
  11  4.9366e-06
  12  1.52028
  13  10.7895
  14  16.1721
  15  0.00215122
  16  0.00237821
  17  0.117205
  18  0.00545956
  19  0.131162
  20  0.0961003
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  5.541e-07  4.177e-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:  9.079e-01  9.610e-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.211e+00  1.312e-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: 3.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/270856/likelihoodResults_683510401_684115201_4FGL_J1424.6+1447_weekly_bin735.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) = 14104.3642166
delta logL = -0.0902569258142

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14104.2686004
delta logL = 0.00535925368058

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12375       1.0000          .0000       .10000E+07
     2 'Index     '    2.7977       1.0000          .0000       10.000    
     3 'Normalizat'    1.2091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90839       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=   14104.27     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      247 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13053        .71386        .48665E-02** at limit **
   2  Index         2.7904        .25300        .50000        .16662E-05
   3  Normalizat    1.2094        .37853E-02    .58455E-01   -.48832E-05
   4  Prefactor     .90811        .27933E-02    .45112E-01   -.16851E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.130528
  Index      = 2.79038
  Normalizat = 1.20935
  Prefactor  = 0.908113
 **********
 **   18 **HESSE 
 **********

 FCN=   14104.27     FROM HESSE     STATUS=OK            35 CALLS      282 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13053        12.730        .16768E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7904        6.3946        .56004E-02   -.45774    
   3  Normalizat    1.2094        .15794        .25852E-03   -.86314    
   4  Prefactor     .90811        .11567        .21557E-03   -.95858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8877e-07
Minuit parameter uncertainties:
  1  2.57811
  2  4.89889
  3  0.158004
  4  0.115697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/270856': 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) = 14104.268586
delta logL = 0.00537361811621

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.305e-01  2.578e+00  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  2.790e+00  4.899e+00  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  9.081e-01  1.157e-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.209e+00  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/270856/cmap_HighResolution_683510401_684115201_4FGL_J1424.6+1447_weekly_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-03', job_status='DONE', photon_flux_upper_limit='3.79e-08', time_completed='2022-09-17 01:32:04.046801', job_id='270856', GAL2='0.91', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1663403524.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.37e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='735' AND source_name='4FGL J1424.6+1447' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 01:32:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 270856: <4FGL_J1424.6+1447_weekly_bin735> in cluster <slac> Done

Job <4FGL_J1424.6+1447_weekly_bin735> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 17 01:15:26 2022
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 01:15:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 01:15:57 2022
Terminated at Sat Sep 17 01:32:05 2022
Results reported at Sat Sep 17 01:32:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_weekly_bin735 216.169 14.784 683510401 684115201 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 :                                   757.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            999 sec.

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

