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


Performing analysis on: 4FGL_J1351.0+0029_weekly_bin758
RA = 207.757, Dec = 0.4873
tmin = 697420801, tmax = 698025601
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='94835', job_status='RUN', time_executed='2023-02-14 01:41:00.278493', time_epoch_executed='1676367660.28' WHERE source_name='4FGL J1351.0+0029' and cadence='weekly' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94835

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94835/ft1_4FGL_J1351.0+0029_weekly_bin758.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94835/ft1_4FGL_J1351.0+0029_weekly_bin758.fits outfile=/scratch/kocevski/94835/ft1_filteredMKT_4FGL_J1351.0+0029_weekly_bin758.fits ra=207.757 dec=0.4873 rad=12.0 tmin=697420801.0 tmax=698025601.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.91
user 7.61
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.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/94835/ft1_filteredMKT_4FGL_J1351.0+0029_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.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.37
sys 0.16

Number of photons that the gtmktime cut: 1442

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/94835/ltcube_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.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/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits
.....................!
real 26.37
user 25.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/94835/ltcube_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.fits outfile=/scratch/kocevski/94835/expmap_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.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/94835/ltcube_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.fits
.....................!
real 192.92
user 188.08
sys 4.52

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 156 point sources and 0 extended sources

Setting source of interest to:
4FGL J1351.0+0029 @ 207.757 0.4873

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.fits scfile=/scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits outfile=/scratch/kocevski/94835/cmap_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.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=207.757 yref=0.4873 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/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.fits scfile=/scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits outfile=/scratch/kocevski/94835/cmap_HighResolution_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.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=207.757 yref=0.4873 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94835/Model_4FGL_J1351.0+0029_weekly_bin758.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/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.fits.....................!
real 109.31
user 107.76
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.fits', '/scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits', expMap='/scratch/kocevski/94835/expmap_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.fits', expCube='/scratch/kocevski/94835/ltcube_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94835/Model_4FGL_J1351.0+0029_weekly_bin758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1351.0+0029'

4FGL J1351.0+0029
   Spectrum: PowerLaw
252    Prefactor:  3.616e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
253        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  9.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/94835/ft1_filtered_4FGL_J1351.0+0029_weekly_bin758.fits
Spacecraft file(s): /scratch/kocevski/94835/ft2_4FGL_J1351.0+0029_weekly_bin758.fits
Exposure map: /scratch/kocevski/94835/expmap_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.fits
Exposure cube: /scratch/kocevski/94835/ltcube_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94835/Model_4FGL_J1351.0+0029_weekly_bin758.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) = 15766.1929563

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0418       1.0000          .0000       .10000E+07
     2 'norm      '    3.9193       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27880E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .73739E-05   1.0000          .0000       .10000E+07
     5 'norm      '    3.7721       1.0000          .0000       .10000E+07
     6 'Prefactor '    24.224       1.0000          .0000       .10000E+07
     7 'norm      '    .13690E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .37192E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15254E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .54468E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .60246E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .90972E-06   1.0000          .0000       .10000E+07
    13 'norm      '    24.994       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.867       1.0000          .0000       .10000E+07
    15 'norm      '    2.7525       1.0000          .0000       .10000E+07
    16 'norm      '    .20162E-04   1.0000          .0000       .10000E+07
    17 'norm      '    4.9867       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.034       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3074       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .86134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15766.10     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     1543 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0485        5.2816        .35332E-03    .23026E-02
   2  norm          3.9832        4.5353        .50936E-03   -.16808E-02
   3  Prefactor      .0000        3.1943        .42118E-03** at limit **
   4  Prefactor      .0000        2.2269        .42118E-03** at limit **
   5  norm          3.7701        1.1046        .51955E-03    .51806E-02
   6  Prefactor     22.759        30.665        .20322E-03    .86960E-03
   7  norm           .0000        5.4989        .42118E-03** at limit **
   8  Prefactor      .0000        .50288        .42118E-03** at limit **
   9  Prefactor     .11102E-09    4.6842        .42118E-03** at limit **
  10  Prefactor      .0000        1.2935        .42118E-03** at limit **
  11  norm          .55511E-10    4.1763        .42118E-03** at limit **
  12  Prefactor      .0000        1.7180        .42118E-03** at limit **
  13  norm          24.989        3.0616        .20006E-03    .48062E-02
  14  Prefactor     13.875        11.308        .26871E-03    .96912E-02
  15  norm          2.7521        3.5724        .61332E-03    .35979E-02
  16  norm           .0000        4.7506        .42118E-03** at limit **
  17  norm          4.9884        7.1526        .45010E-03    .11323E-02
  18  Prefactor     12.854        26.183        .26710E-03   -.75762E-03
  19  Normalizat    1.3078        .13561        .62641E-01   -.21016E-03
  20  Prefactor     .86149        .94704E-01    .44510E-01    .11499E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.04854
  norm       = 3.98324
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.77007
  Prefactor  = 22.7591
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 24.9895
  Prefactor  = 13.8748
  norm       = 2.75209
  norm       = 0
  norm       = 4.98839
  Prefactor  = 12.8543
  Normalizat = 1.30778
  Prefactor  = 0.86149
 **********
 **   18 **HESSE 
 **********

 FCN=   15766.10     FROM HESSE     STATUS=OK           291 CALLS     1834 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0485        5.2803        .14133E-04   -1.5651    
   2  norm          3.9832        4.5361        .20374E-04   -1.5668    
   3  Prefactor      .0000        3.1957        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.2306        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.7701        1.1043        .68294E-05   -1.5669    
   6  Prefactor     22.759        30.673        .40645E-04   -1.5613    
   7  norm           .0000        5.5000        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .50355        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    4.6883        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.3061        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    4.2009        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.7189        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          24.989        3.0617        .36918E-04   -1.5608    
  14  Prefactor     13.875        11.315        .10749E-04   -1.5633    
  15  norm          2.7521        3.5658        .24533E-04   -1.5675    
  16  norm           .0000        4.7757        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.9884        7.1464        .18004E-04   -1.5663    
  18  Prefactor     12.854        26.181        .10684E-04   -1.5636    
  19  Normalizat    1.3078        .16317        .27707E-03   -.83334    
  20  Prefactor     .86149        .11379        .23332E-03   -.97500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14767e-09
Minuit parameter uncertainties:
  1  5.28029
  2  4.53607
  3  1.33687e-05
  4  9.50783e-06
  5  1.1043
  6  30.6734
  7  2.34651e-05
  8  5.97474e-06
  9  4.87693e-05
  10  6.73196e-07
  11  2.90025e-05
  12  1.34209e-05
  13  3.06168
  14  11.3153
  15  3.56584
  16  1.7045e-05
  17  7.14645
  18  26.1809
  19  0.163235
  20  0.113823
Done.

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

Extracting fit parameters...

4FGL J1351.0+0029
   Spectrum: PowerLaw
252    Prefactor:  1.110e-10  4.877e-05  0.000e+00  1.000e+06 ( 1.000e-13)
253        Index:  2.437e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  9.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  8.615e-01  1.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  1.308e+00  1.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 207.757 0.487
Photon Flux Upper Limit: 3.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94835/likelihoodResults_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.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) = 15766.099842
delta logL = -0.000274641637589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15766.0995675
delta logL = -5.89025148656e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12884E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1037       1.0000          .0000       10.000    
     3 'Normalizat'    1.3078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86147       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15766.10     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      265 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .19092E-01    .42118E-03** at limit **
   2  Index         3.3124        8.1962        .37449        .54644E-09
   3  Normalizat    1.3078        .32550E-03    .62641E-01    .84126E-03
   4  Prefactor     .86149        .22899E-03    .44512E-01    .10168E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 3.31244
  Normalizat = 1.30779
  Prefactor  = 0.861489
 **********
 **   18 **HESSE 
 **********

 FCN=   15766.10     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      294 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .58804E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3124        7.5098        .50000       -.34427    
   3  Normalizat    1.3078        .56919E-03    .27707E-03   -.83334    
   4  Prefactor     .86149        .40059E-03    .23332E-03   -.97500    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.67729e-12
Minuit parameter uncertainties:
  1  8.69995e-06
  2  4215.89
  3  0.000569192
  4  0.000400586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94835': 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): 102
logL (Free Index) = 15766.0995674
delta logL = -2.03726813197e-10

Extracting fit parameters...

4FGL J1351.0+0029
   Spectrum: PowerLaw
252    Prefactor:  3.331e-10  8.700e-06  0.000e+00  1.000e+06 ( 1.000e-13)
253        Index:  3.312e+00  4.216e+03  0.000e+00  1.000e+01 (-1.000e+00)
254        Scale:  9.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  8.615e-01  4.006e-04  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  1.308e+00  5.692e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 207.757 0.487

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/94835/cmap_HighResolution_697420801_698025601_4FGL_J1351.0+0029_weekly_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-03', job_status='DONE', photon_flux_upper_limit='3.62e-08', time_completed='2023-02-14 01:55:27.877909', job_id='94835', GAL2='0.86', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1676368527.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='-2.04e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='758' AND source_name='4FGL J1351.0+0029' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 14 01:55:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 94835: <4FGL_J1351.0+0029_weekly_bin758> in cluster <slac> Done

Job <4FGL_J1351.0+0029_weekly_bin758> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 14 01:40:34 2023
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 14 01:40:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 14 01:40:36 2023
Terminated at Tue Feb 14 01:55:28 2023
Results reported at Tue Feb 14 01:55:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.0+0029_weekly_bin758 207.757 0.4873 697420801 698025601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.0+0029 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   869.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            894 sec.

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

