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


Performing analysis on: 4FGL_J1424.6+1447_weekly_bin763
RA = 216.169, Dec = 14.784
tmin = 700444801, tmax = 701049601
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='431510', job_status='RUN', time_executed='2023-03-21 01:53:59.468128', time_epoch_executed='1679388839.47' WHERE source_name='4FGL J1424.6+1447' and cadence='weekly' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/431510

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/431510/ft1_4FGL_J1424.6+1447_weekly_bin763.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/431510/ft2_4FGL_J1424.6+1447_weekly_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/431510/ft1_4FGL_J1424.6+1447_weekly_bin763.fits outfile=/scratch/kocevski/431510/ft1_filteredMKT_4FGL_J1424.6+1447_weekly_bin763.fits ra=216.169 dec=14.784 rad=12.0 tmin=700444801.0 tmax=701049601.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 9.58
user 9.25
sys 0.29

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

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

Number of photons that the gtmktime cut: 1334

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/431510/ft1_filtered_4FGL_J1424.6+1447_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/431510/ft2_4FGL_J1424.6+1447_weekly_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/431510/ltcube_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.fits outfile=/scratch/kocevski/431510/expmap_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.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/431510/ltcube_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.fits
.....................!
real 190.30
user 185.34
sys 4.63

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/431510/ft1_filtered_4FGL_J1424.6+1447_weekly_bin763.fits scfile=/scratch/kocevski/431510/ft2_4FGL_J1424.6+1447_weekly_bin763.fits outfile=/scratch/kocevski/431510/cmap_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/431510/ft1_filtered_4FGL_J1424.6+1447_weekly_bin763.fits scfile=/scratch/kocevski/431510/ft2_4FGL_J1424.6+1447_weekly_bin763.fits outfile=/scratch/kocevski/431510/cmap_HighResolution_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/431510/ft1_filtered_4FGL_J1424.6+1447_weekly_bin763.fits', '/scratch/kocevski/431510/ft2_4FGL_J1424.6+1447_weekly_bin763.fits', expMap='/scratch/kocevski/431510/expmap_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.fits', expCube='/scratch/kocevski/431510/ltcube_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/431510/Model_4FGL_J1424.6+1447_weekly_bin763.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/431510/ft1_filtered_4FGL_J1424.6+1447_weekly_bin763.fits
Spacecraft file(s): /scratch/kocevski/431510/ft2_4FGL_J1424.6+1447_weekly_bin763.fits
Exposure map: /scratch/kocevski/431510/expmap_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.fits
Exposure cube: /scratch/kocevski/431510/ltcube_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/431510/Model_4FGL_J1424.6+1447_weekly_bin763.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 15273.3293111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50031E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .22997E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .98576E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.1265       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.243       1.0000          .0000       .10000E+07
     6 'norm      '    .82769E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    12.735       1.0000          .0000       .10000E+07
     8 'norm      '    3.1397       1.0000          .0000       .10000E+07
     9 'norm      '    .77116       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.624       1.0000          .0000       .10000E+07
    11 'norm      '    .24788E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .66559       1.0000          .0000       .10000E+07
    13 'Prefactor '    .21083       1.0000          .0000       .10000E+07
    14 'Prefactor '    29.458       1.0000          .0000       .10000E+07
    15 'Prefactor '    .61007E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    8.1975       1.0000          .0000       .10000E+07
    17 'norm      '    .33763       1.0000          .0000       .10000E+07
    18 'norm      '    .92215E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .76392       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2224       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=   15273.25     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1259 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    13.404        .39088E-06** at limit **
   2  Prefactor      .0000        2.3191        .57186E-07** at limit **
   3  Prefactor      .0000        3.3388       -.14861E-07** at limit **
   4  Prefactor     9.1250        9.4920        .26297E-07   -.15047E-02
   5  Prefactor     52.192        23.610       -.13392E-05    .24817E-01
   6  norm          .55511E-10    3.3233       -.52040E-07** at limit **
   7  Prefactor     12.721        6.4433       -.97077E-07   -.40820E-02
   8  norm          3.1408        1.5758        .81659E-07    .69661E-02
   9  norm          .77917        2.0139        .17693E-06    .10268E-02
  10  Prefactor     12.726        15.716        .76058E-06   -.13031E-01
  11  norm          .39413E-08    41.479        .75731E-05** at limit **
  12  norm          .66512        1.6567        .83090E-07    .74893E-03
  13  Prefactor     .38631E-05    8.9304        .31409E-05** at limit **
  14  Prefactor     29.466        2.5229        .13878E-06    .65101E-01
  15  Prefactor     .16653E-09    6.0893       -.77208E-06** at limit **
  16  Prefactor     8.3134        5.3156       -.95546E-07    .69074E-03
  17  norm          .33777        .10930        .37957E-08   -.20691E-01
  18  norm          .25535E-08    7.9345        .65428E-06** at limit **
  19  Normalizat    .76353        .16491        .28299E-05   -.11685E-03
  20  Prefactor     1.2222        .12116       -.11477E-05   -.19044E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.12497
  Prefactor  = 52.192
  norm       = 5.55112e-11
  Prefactor  = 12.7211
  norm       = 3.1408
  norm       = 0.779175
  Prefactor  = 12.7262
  norm       = 3.94129e-09
  norm       = 0.66512
  Prefactor  = 3.86308e-06
  Prefactor  = 29.466
  Prefactor  = 1.66533e-10
  Prefactor  = 8.31336
  norm       = 0.337775
  norm       = 2.55351e-09
  Normalizat = 0.763532
  Prefactor  = 1.22219
 **********
 **   18 **HESSE 
 **********

 FCN=   15273.25     FROM HESSE     STATUS=OK           337 CALLS     1596 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    13.547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.3125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.3418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.1250        9.5251        .33152E-03   -1.5648    
   5  Prefactor     52.192        24.722        .13971E-03   -1.5563    
   6  norm          .55511E-10    3.3285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.721        6.4493        .28044E-03   -1.5637    
   8  norm          3.1408        1.5821        .57185E-03   -1.5673    
   9  norm          .77917        2.0320        .55109E-03   -1.5690    
  10  Prefactor     12.726        16.198        .28167E-03   -1.5637    
  11  norm          .39413E-08    41.461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .66512        1.6666        .63547E-03   -1.5692    
  13  Prefactor     .38631E-05    8.9926        .11586E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.466        15.219        .18428E-03   -1.5599    
  15  Prefactor     .16653E-09    6.0718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.3134        5.3135        .34992E-03   -1.5650    
  17  norm          .33777        .11110        .50608E-03   -1.5696    
  18  norm          .25535E-08    7.9589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .76353        .14232        .75182E-01   -1.0144    
  20  Prefactor     1.2222        .10273        .34121E-01   -.85651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31621e-08
Minuit parameter uncertainties:
  1  0.00019213
  2  1.05029e-05
  3  1.14268e-05
  4  9.52514
  5  24.7217
  6  2.09913e-05
  7  6.44926
  8  1.58212
  9  2.03196
  10  16.198
  11  0.000808931
  12  1.66663
  13  0.011788
  14  15.2192
  15  6.01528e-05
  16  5.31351
  17  0.1111
  18  0.000284185
  19  0.142393
  20  0.102751
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.272e+01  6.449e+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.222e+00  1.028e-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:  7.635e-01  1.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.25
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 5.51e-08 +/- 2.79e-08
Energy Flux (Fixed Index): 2.61e-05 +/- 1.32e-05

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) = 15273.0064018
delta logL = 0.239083646838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15272.9933699
delta logL = 0.252115492152

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.422       1.0000          .0000       .10000E+07
     2 'Index     '    1.8514       1.0000          .0000       10.000    
     3 'Normalizat'    .78358       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2176       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=   15272.99     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      250 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.403        190.41        .27315E-03    .38857E-03
   2  Index         1.8500        5.8198        .17640        .62760E-04
   3  Normalizat    .78363        .15536        .74333E-01    .72856E-04
   4  Prefactor     1.2176        .53428E-01    .34228E-01   -.12808E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4026
  Index      = 1.84997
  Normalizat = 0.783628
  Prefactor  = 1.21757
 **********
 **   18 **HESSE 
 **********

 FCN=   15272.99     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.403        8.0004        .10926E-04   -1.5635    
   2  Index         1.8500        .49074        .10521E-01   -.68156    
   3  Normalizat    .78363        .16328        .32900E-03   -1.0068    
   4  Prefactor     1.2176        .11959        .19812E-03   -.85792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71988e-11
Minuit parameter uncertainties:
  1  8.00042
  2  0.492051
  3  0.16338
  4  0.119616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/431510': 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) = 15272.9933646
delta logL = 0.252120830328

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.340e+01  8.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  1.850e+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.218e+00  1.196e-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:  7.836e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.74
Ra Dec: 216.169 14.784
Photon Index (Free Index): 1.85 +/- 0.49
Photon Flux (Free Index): 3.17e-08 +/- 3.62e-08
Energy Flux (Free Index): 3.27e-05 +/- 2.36e-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/431510/cmap_HighResolution_700444801_701049601_4FGL_J1424.6+1447_weekly_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.51e-08', energy_flux2='3.27e-05', photon_flux_error='2.79e-08', dlogl='2.52e-01', energy_flux='2.61e-05', photon_flux2='3.17e-08', job_status='DONE', time_completed='2023-03-21 02:05:47.597570', photon_index_error2='0.49', photon_index2='1.85', ts='16.25', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='2.36e-05', EG='0.76', time_epoch_completed='1679389547.6', return_code='0', job_id='431510', GAL2='1.22', EG2='0.78', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='3.62e-08', ts2='16.74', photon_index='2.17' WHERE bin_id='763' AND source_name='4FGL J1424.6+1447' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 21 02:05:47 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 431510: <4FGL_J1424.6+1447_weekly_bin763> in cluster <slac> Done

Job <4FGL_J1424.6+1447_weekly_bin763> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 21 01:50:27 2023
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 21 01:50:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 21 01:50:28 2023
Terminated at Tue Mar 21 02:05:48 2023
Results reported at Tue Mar 21 02:05:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_weekly_bin763 216.169 14.784 700444801 701049601 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 :                                   708.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

