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


Performing analysis on: 4FGL_J1424.6+1447_weekly_bin762
RA = 216.169, Dec = 14.784
tmin = 699840001, tmax = 700444801
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='490', job_status='RUN', time_executed='2023-03-14 03:28:03.408695', time_epoch_executed='1678789683.41' WHERE source_name='4FGL J1424.6+1447' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/490

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/490/ft1_4FGL_J1424.6+1447_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/490/ft2_4FGL_J1424.6+1447_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/490/ft1_4FGL_J1424.6+1447_weekly_bin762.fits outfile=/scratch/kocevski/490/ft1_filteredMKT_4FGL_J1424.6+1447_weekly_bin762.fits ra=216.169 dec=14.784 rad=12.0 tmin=699840001.0 tmax=700444801.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.03
user 7.69
sys 0.30

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

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

Number of photons that the gtmktime cut: 1495

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/490/ft1_filtered_4FGL_J1424.6+1447_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/490/ft2_4FGL_J1424.6+1447_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/490/ltcube_699840001_700444801_4FGL_J1424.6+1447_weekly_bin762.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/490/ft2_4FGL_J1424.6+1447_weekly_bin762.fits
.....................!
real 26.57
user 26.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/490/ft1_filtered_4FGL_J1424.6+1447_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/490/ft2_4FGL_J1424.6+1447_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/490/ltcube_699840001_700444801_4FGL_J1424.6+1447_weekly_bin762.fits outfile=/scratch/kocevski/490/expmap_699840001_700444801_4FGL_J1424.6+1447_weekly_bin762.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/490/ltcube_699840001_700444801_4FGL_J1424.6+1447_weekly_bin762.fits
.....................!
real 191.43
user 185.76
sys 5.33

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/490/ft1_filtered_4FGL_J1424.6+1447_weekly_bin762.fits scfile=/scratch/kocevski/490/ft2_4FGL_J1424.6+1447_weekly_bin762.fits outfile=/scratch/kocevski/490/cmap_699840001_700444801_4FGL_J1424.6+1447_weekly_bin762.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/490/ft1_filtered_4FGL_J1424.6+1447_weekly_bin762.fits scfile=/scratch/kocevski/490/ft2_4FGL_J1424.6+1447_weekly_bin762.fits outfile=/scratch/kocevski/490/cmap_HighResolution_699840001_700444801_4FGL_J1424.6+1447_weekly_bin762.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.43
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.015       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20994E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.469       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.372       1.0000          .0000       .10000E+07
     5 'Prefactor '    89.353       1.0000          .0000       .10000E+07
     6 'norm      '    5.6245       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21654E-05   1.0000          .0000       .10000E+07
     8 'norm      '    3.8567       1.0000          .0000       .10000E+07
     9 'norm      '    3.0845       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.068       1.0000          .0000       .10000E+07
    11 'norm      '    .37825E-06   1.0000          .0000       .10000E+07
    12 'norm      '    1.7697       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90034E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.274       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29532E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .99296E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .13053       1.0000          .0000       .10000E+07
    18 'norm      '    .64321E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0364       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91672       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=   16970.59     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      943 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.867        30.244        .65631E-07   -.22470E-01
   2  Prefactor      .0000        1.0908        .93924E-08** at limit **
   3  Prefactor     11.392        3.7103        .20685E-07    .83419E-01
   4  Prefactor     11.586        7.3238        .33264E-08   -.24714E-01
   5  Prefactor     89.013        15.370        .51337E-07   -.22440    
   6  norm          5.5899        3.4069        .40526E-07    .46456E-02
   7  Prefactor     .66613E-09    2.7156       -.29515E-06** at limit **
   8  norm          3.8581        1.4023        .18558E-07    .27089E-02
   9  norm          3.0884        1.8092        .93585E-07    .66066E-02
  10  Prefactor     9.9554        8.5718        .49009E-07    .39965E-01
  11  norm          .88818E-09    3.4129       -.19813E-06** at limit **
  12  norm          1.7706        2.0293        .14418E-06    .36689E-02
  13  Prefactor     .59652E-06    6.1924        .51472E-07** at limit **
  14  Prefactor     25.294        4.6602       -.14590E-07   -.72466E-01
  15  Prefactor     .53709        73.854        .64498E-06    .19584E-02
  16  Prefactor     .14433E-08    4.3858       -.12145E-06** at limit **
  17  norm          .13055        .77253E-01   -.13052E-07** at limit **
  18  norm          .44842E-06    6.0218       -.26606E-07** at limit **
  19  Normalizat    1.0360        .15038       -.80601E-06    .16385E-03
  20  Prefactor     .91649        .10725        .12061E-05    .25055E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.8667
  Prefactor  = 0
  Prefactor  = 11.3917
  Prefactor  = 11.5864
  Prefactor  = 89.0133
  norm       = 5.58991
  Prefactor  = 6.66134e-10
  norm       = 3.85813
  norm       = 3.08839
  Prefactor  = 9.95539
  norm       = 8.88178e-10
  norm       = 1.77056
  Prefactor  = 5.96523e-07
  Prefactor  = 25.2938
  Prefactor  = 0.537087
  Prefactor  = 1.44329e-09
  norm       = 0.130546
  norm       = 4.48419e-07
  Normalizat = 1.03603
  Prefactor  = 0.916485
 **********
 **   18 **HESSE 
 **********

 FCN=   16970.59     FROM HESSE     STATUS=OK           341 CALLS     1284 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.867        30.709        .16438E-03   -1.5585    
   2  Prefactor      .0000        1.0868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.392        8.0217        .29557E-03   -1.5640    
   4  Prefactor     11.586        7.7072        .29683E-03   -1.5640    
   5  Prefactor     89.013        23.536        .10580E-03   -1.5519    
   6  norm          5.5899        10.194        .42335E-03   -1.5661    
   7  Prefactor     .66613E-09    2.7087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.8581        1.4017        .51362E-03   -1.5669    
   9  norm          3.0884        1.8166        .57724E-03   -1.5673    
  10  Prefactor     9.9554        9.9675        .31554E-03   -1.5645    
  11  norm          .88818E-09    3.4237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7706        2.0493        .78691E-03   -1.5681    
  13  Prefactor     .59652E-06    8.2663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.294        13.327        .19895E-03   -1.5607    
  15  Prefactor     .53709        6.9661        .12493E-01   -1.5693    
  16  Prefactor     .14433E-08    4.3888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .13055        .79239E-01    .60779E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .44842E-06    7.7138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0360        .12423        .62783E-01   -.91833    
  20  Prefactor     .91649        .87211E-01    .45218E-01   -.95567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67324e-07
Minuit parameter uncertainties:
  1  30.7087
  2  2.90647e-06
  3  8.0217
  4  7.70723
  5  23.5359
  6  10.1938
  7  8.60908e-05
  8  1.40168
  9  1.81656
  10  9.96756
  11  0.000111228
  12  2.04931
  13  0.00444119
  14  13.3266
  15  3.86855
  16  0.000159875
  17  0.0792385
  18  0.00371978
  19  0.124265
  20  0.087224
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.661e-10  8.609e-05  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.165e-01  8.722e-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.036e+00  1.243e-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.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/490/likelihoodResults_699840001_700444801_4FGL_J1424.6+1447_weekly_bin762.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) = 16970.5889289
delta logL = -0.00133507801729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16970.3379858
delta logL = 0.249608067061

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36321E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.0796       1.0000          .0000       10.000    
     3 'Normalizat'    1.0049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93105       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=   16970.59     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      412 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .98370E-01    .42118E-03** at limit **
   2  Index         .18044        .27295       -.23251E-04     .0000    
   3  Normalizat    1.0360        1.3526        .72205E-04    .97220E-03
   4  Prefactor     .91648        1.2654       -.69220E-04    .10467E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.18044
  Normalizat = 1.03604
  Prefactor  = 0.916485
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16970.59     FROM HESSE     STATUS=FAILED         9 CALLS      421 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .98370E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4436        1.1607       -.23251E-04   -14.407    
   3  Normalizat    1.0360        1.3526        .72205E-04   -.91833    
   4  Prefactor     .91648        1.2654       -.69220E-04   -.95567    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.22305e-09
Minuit parameter uncertainties:
  1  8.07152e-07
  2  0.274896
  3  1.40199
  4  1.30991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/490': 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) = 16970.5875938
delta logL = -1.01863406599e-10

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  0.000e+00  8.072e-07  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  1.804e-01  2.749e-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:  9.165e-01  1.310e+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.036e+00  1.402e+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/490/cmap_HighResolution_699840001_700444801_4FGL_J1424.6+1447_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.64e-03', job_status='DONE', photon_flux_upper_limit='3.48e-08', time_completed='2023-03-14 03:41:02.392644', job_id='490', GAL2='0.92', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1678790462.39', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.02e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='762' AND source_name='4FGL J1424.6+1447' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 03:41:02 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 490: <4FGL_J1424.6+1447_weekly_bin762> in cluster <slac> Done

Job <4FGL_J1424.6+1447_weekly_bin762> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Mar 14 03:25:24 2023
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 03:25:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 03:25:24 2023
Terminated at Tue Mar 14 03:41:03 2023
Results reported at Tue Mar 14 03:41:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_weekly_bin762 216.169 14.784 699840001 700444801 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 :                                   779.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            939 sec.

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

