aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 8 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1424.6+1447_weekly_bin511
RA = 216.169, Dec = 14.784
tmin = 548035201, tmax = 548640001
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='362166', job_status='RUN', time_executed='2021-07-21 18:08:30.561457', time_epoch_executed='1626916110.56' WHERE source_name='4FGL J1424.6+1447' and cadence='weekly' and bin_id='511'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362166

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362166/ft1_4FGL_J1424.6+1447_weekly_bin511.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362166/ft1_4FGL_J1424.6+1447_weekly_bin511.fits outfile=/scratch/kocevski/362166/ft1_filteredMKT_4FGL_J1424.6+1447_weekly_bin511.fits ra=216.169 dec=14.784 rad=12.0 tmin=548035201.0 tmax=548640001.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.21
user 7.90
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.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/362166/ft1_filteredMKT_4FGL_J1424.6+1447_weekly_bin511.fits evtable="EVENTS" outfile="/scratch/kocevski/362166/ft1_filtered_4FGL_J1424.6+1447_weekly_bin511.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.55
user 0.39
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362166/ft1_filtered_4FGL_J1424.6+1447_weekly_bin511.fits" evtable="EVENTS" scfile=/scratch/kocevski/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.fits sctable="SC_DATA" outfile=/scratch/kocevski/362166/ltcube_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.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/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.fits
.....................!
real 28.54
user 28.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362166/ft1_filtered_4FGL_J1424.6+1447_weekly_bin511.fits evtable="EVENTS" scfile=/scratch/kocevski/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.fits sctable="SC_DATA" expcube=/scratch/kocevski/362166/ltcube_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.fits outfile=/scratch/kocevski/362166/expmap_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.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/362166/ltcube_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.fits
.....................!
real 191.08
user 185.23
sys 5.39

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/362166/ft1_filtered_4FGL_J1424.6+1447_weekly_bin511.fits scfile=/scratch/kocevski/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.fits outfile=/scratch/kocevski/362166/cmap_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.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/362166/ft1_filtered_4FGL_J1424.6+1447_weekly_bin511.fits scfile=/scratch/kocevski/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.fits outfile=/scratch/kocevski/362166/cmap_HighResolution_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.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.59
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/362166/ft1_filtered_4FGL_J1424.6+1447_weekly_bin511.fits', '/scratch/kocevski/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.fits', expMap='/scratch/kocevski/362166/expmap_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.fits', expCube='/scratch/kocevski/362166/ltcube_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/362166/Model_4FGL_J1424.6+1447_weekly_bin511.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  1.000e-04  1.000e+04 ( 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/362166/ft1_filtered_4FGL_J1424.6+1447_weekly_bin511.fits
Spacecraft file(s): /scratch/kocevski/362166/ft2_4FGL_J1424.6+1447_weekly_bin511.fits
Exposure map: /scratch/kocevski/362166/expmap_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.fits
Exposure cube: /scratch/kocevski/362166/ltcube_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/362166/Model_4FGL_J1424.6+1447_weekly_bin511.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) = 4834.33289229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8255       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6737       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    68.099       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.436       1.0000         .10000E-03   10000.    
     9 'norm      '    11.701       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14530E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    6.4771       1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.560       1.0000         .10000E-03   10000.    
    13 'norm      '    .10079E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.428       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.236       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .77319       1.0000         .10000E-03   10000.    
    22 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0646       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93429       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4834.214     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2721 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.690        .82875E-05** at limit **
   2  Prefactor     4.8239        8.1057       -.50718E-06   -.17017E-03
   3  Prefactor     1.6703        53.108       -.32969E-05   -.83600E-04
   4  Prefactor     .10000E-03    5.7861       -.25713E-06** at limit **
   5  Prefactor     .10000E-03    16.252       -.72823E-05** at limit **
   6  Prefactor     .10000E-03    32.987       -.12335E-04** at limit **
   7  norm          68.112        36.482        .70465E-05    .42545E-04
   8  Prefactor     12.491        13.477        .10741E-05    .68325E-03
   9  norm          11.701        5.2310        .24834E-05    .70442E-04
  10  Prefactor     .10117E-03    8.1003       -.25502E-05** at limit **
  11  norm          6.4824        4.5145       -.53005E-06    .32607E-03
  12  Prefactor     53.536        38.650       -.14271E-04   -.28400E-03
  13  norm          .10007E-03    64.040        .19132E-04** at limit **
  14  norm          13.427        8.4568       -.14230E-07    .69714E-06
  15  Prefactor     .10000E-03    14.152        .60686E-05** at limit **
  16  Prefactor     22.226        24.780       -.12367E-05   -.42634E-04
  17  Prefactor     .10000E-03    59.440        .15233E-04** at limit **
  18  Prefactor     .10000E-03    13.385       -.23018E-05** at limit **
  19  Prefactor     .10000E-03    28.102        .11854E-05** at limit **
  20  Prefactor     .10000E-03    5.7015       -.22859E-06** at limit **
  21  norm          .77318        .25015        .29999E-07   -.54419E-03
  22  norm          .10000E-03    48.946        .12220E-05** at limit **
  23  Normalizat    1.0647        .23961        .59819E-06    .19187E-03
  24  Prefactor     .93430        .17088        .17556E-06    .15059E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.82393
  Prefactor  = 1.67026
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 68.1116
  Prefactor  = 12.4907
  norm       = 11.701
  Prefactor  = 0.000101167
  norm       = 6.48238
  Prefactor  = 53.5364
  norm       = 0.000100072
  norm       = 13.4268
  Prefactor  = 0.0001
  Prefactor  = 22.226
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.773184
  norm       = 0.0001
  Normalizat = 1.06475
  Prefactor  = 0.934302
 **********
 **   18 **HESSE 
 **********

 FCN=   4834.214     FROM HESSE     STATUS=OK           391 CALLS     3112 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.8239        8.0819        .18313E-03   -1.5269    
   3  Prefactor     1.6703        53.315        .32577E-03   -1.5449    
   4  Prefactor     .10000E-03    5.8003        .16333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    33.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          68.112        36.406        .48639E-04   -1.4055    
   8  Prefactor     12.491        12.260        .11359E-03   -1.5001    
   9  norm          11.701        5.2086        .10191E-03   -1.5024    
  10  Prefactor     .10117E-03    82.169        .33418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.4824        4.4803        .11687E-03   -1.5199    
  12  Prefactor     53.536        39.079        .54805E-04   -1.4243    
  13  norm          .10007E-03    67.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.427        8.4583        .10931E-03   -1.4975    
  15  Prefactor     .10000E-03    14.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.226        24.779        .84943E-04   -1.4765    
  17  Prefactor     .10000E-03    60.931        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.7084        .16215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .77318        .24989        .18793E-04   -1.5532    
  22  norm          .10000E-03    48.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0647        .28003        .29774E-03   -.90892    
  24  Prefactor     .93430        .20145        .22483E-03   -.94953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54004e-08
Minuit parameter uncertainties:
  1  2.64234e-06
  2  8.08377
  3  18.8911
  4  1.10424e-06
  5  1.59186e-06
  6  0.000127236
  7  36.4183
  8  12.2627
  9  5.20875
  10  0.0196079
  11  4.48049
  12  39.0975
  13  0.00441883
  14  8.45904
  15  6.62655e-06
  16  24.7909
  17  0.000397152
  18  1.10528e-05
  19  1.45872e-05
  20  2.09969e-06
  21  0.249886
  22  6.88069e-06
  23  0.280425
  24  0.201616
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.249e+01  1.226e+01  1.000e-04  1.000e+04 ( 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.343e-01  2.016e-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.065e+00  2.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 5.41e-08 +/- 5.31e-08
Energy Flux (Fixed Index): 2.56e-05 +/- 2.51e-05

TS (Fixed Index): 1.47
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 1.70e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.29e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362166/likelihoodResults_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.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) = 4834.20484448
delta logL = 0.00958400504442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4834.19636214
delta logL = 0.0180663413066

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.448       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3203       1.0000          .0000       10.000    
     3 'Normalizat'    1.0552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93881       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4834.196     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      254 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.439        18.041        .12396E-03   -.64199E-05
   2  Index         2.3215        .94520        .66190E-02   -.57483E-04
   3  Normalizat    1.0552        .28300        .29891E-03    .18975E-03
   4  Prefactor     .93882        .20037        .22435E-03   -.92073E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4391
  Index      = 2.32152
  Normalizat = 1.05523
  Prefactor  = 0.938816
 **********
 **   18 **HESSE 
 **********

 FCN=   4834.196     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.439        15.618        .49583E-05   -1.5062    
   2  Index         2.3215        .81877        .26476E-03   -.56533    
   3  Normalizat    1.0552        .28171        .11956E-04   -.91203    
   4  Prefactor     .93882        .19969        .89742E-05   -.94798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.56895e-10
Minuit parameter uncertainties:
  1  15.6245
  2  0.823992
  3  0.282111
  4  0.199843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362166': 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) = 4834.19636053
delta logL = 0.0180679537043

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.044e+01  1.562e+01  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.322e+00  8.240e-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.388e-01  1.998e-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.055e+00  2.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.49
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.32 +/- 0.82
Photon Flux (Free Index): 6.16e-08 +/- 6.91e-08
Energy Flux (Free Index): 2.25e-05 +/- 2.62e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/362166/cmap_HighResolution_548035201_548640001_4FGL_J1424.6+1447_weekly_bin511.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', photon_flux='5.41e-08', energy_flux2='2.25e-05', photon_flux_error='5.31e-08', dlogl='1.81e-02', energy_flux='2.56e-05', photon_flux2='6.16e-08', job_status='DONE', time_completed='2021-07-21 18:20:13.192019', photon_index_error2='0.82', photon_index2='2.32', ts='1.47', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.70e-07', energy_flux_error2='2.62e-05', EG='1.06', time_epoch_completed='1626916813.19', return_code='0', job_id='362166', GAL2='0.94', EG2='1.06', return_code2='0', energy_flux_error='2.51e-05', photon_flux_error2='6.91e-08', ts2='1.49', photon_index='2.17' WHERE bin_id='511' AND source_name='4FGL J1424.6+1447' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 18:20:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 362166: <4FGL_J1424.6+1447_weekly_bin511> in cluster <slac> Done

Job <4FGL_J1424.6+1447_weekly_bin511> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 21 18:06:52 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 18:08:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 21 18:08:14 2021
Terminated at Wed Jul 21 18:20:13 2021
Results reported at Wed Jul 21 18:20:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_weekly_bin511 216.169 14.784 548035201 548640001 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 :                                   581.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            801 sec.

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

