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


Performing analysis on: 4FGL_J1351.0+0029_daily_bin1772
RA = 207.757, Dec = 0.4873
tmin = 698630401, tmax = 698889601
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='635693', job_status='RUN', time_executed='2023-02-24 01:51:16.185333', time_epoch_executed='1677232276.19' WHERE source_name='4FGL J1351.0+0029' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635693

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635693/ft1_4FGL_J1351.0+0029_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635693/ft1_4FGL_J1351.0+0029_daily_bin1772.fits outfile=/scratch/kocevski/635693/ft1_filteredMKT_4FGL_J1351.0+0029_daily_bin1772.fits ra=207.757 dec=0.4873 rad=12.0 tmin=698630401.0 tmax=698889601.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 3.00
user 2.79
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.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/635693/ft1_filteredMKT_4FGL_J1351.0+0029_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/635693/ft1_filtered_4FGL_J1351.0+0029_daily_bin1772.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 493

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635693/ft1_filtered_4FGL_J1351.0+0029_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/635693/ltcube_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.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/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.fits
.....................!
real 12.62
user 12.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635693/ft1_filtered_4FGL_J1351.0+0029_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/635693/ltcube_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.fits outfile=/scratch/kocevski/635693/expmap_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.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/635693/ltcube_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.fits
.....................!
real 190.89
user 185.49
sys 5.09

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/635693/ft1_filtered_4FGL_J1351.0+0029_daily_bin1772.fits scfile=/scratch/kocevski/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.fits outfile=/scratch/kocevski/635693/cmap_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/635693/ft1_filtered_4FGL_J1351.0+0029_daily_bin1772.fits scfile=/scratch/kocevski/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.fits outfile=/scratch/kocevski/635693/cmap_HighResolution_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/635693/ft1_filtered_4FGL_J1351.0+0029_daily_bin1772.fits', '/scratch/kocevski/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.fits', expMap='/scratch/kocevski/635693/expmap_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.fits', expCube='/scratch/kocevski/635693/ltcube_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/635693/Model_4FGL_J1351.0+0029_daily_bin1772.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/635693/ft1_filtered_4FGL_J1351.0+0029_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/635693/ft2_4FGL_J1351.0+0029_daily_bin1772.fits
Exposure map: /scratch/kocevski/635693/expmap_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.fits
Exposure cube: /scratch/kocevski/635693/ltcube_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/635693/Model_4FGL_J1351.0+0029_daily_bin1772.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) = 5454.53663934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    57.811       1.0000          .0000       .10000E+07
     2 'norm      '    .16997E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    56.979       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30385E-04   1.0000          .0000       .10000E+07
     5 'norm      '    3.4938       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.119       1.0000          .0000       .10000E+07
     7 'norm      '    .88311E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2539       1.0000          .0000       .10000E+07
     9 'Prefactor '    .35855E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .40701E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .64301E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.7550       1.0000          .0000       .10000E+07
    13 'norm      '    30.284       1.0000          .0000       .10000E+07
    14 'Prefactor '    .19159E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .20410E-02   1.0000          .0000       .10000E+07
    16 'norm      '    10.720       1.0000          .0000       .10000E+07
    17 'norm      '    .70756E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .98434E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    .58096       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2157       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5454.534     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1592 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          57.759        3.3740        .30717E-07   -.12322    
   2  norm          .19109E-03    144.72       -.64392E-05** at limit **
   3  Prefactor     57.008        6.5031        .68382E-07    .74699E-01
   4  Prefactor      .0000        26.726        .75174E-06** at limit **
   5  norm          3.4950        1.8595       -.63460E-07    .67881E-03
   6  Prefactor     16.928        58.878        .41575E-05   -.66777E-01
   7  norm           .0000        45.931        .76214E-06** at limit **
   8  Prefactor     3.2637        4.5670        .40406E-09   -.53448E-03
   9  Prefactor     .15571E-06    22.797        .91662E-06** at limit **
  10  Prefactor      .0000        1.5889       -.42428E-08** at limit **
  11  norm          .12601E-07    12.343       -.24784E-06** at limit **
  12  Prefactor     4.7012        10.535        .36231E-07   -.35980E-03
  13  norm          30.201        5.2292       -.27772E-06    .48264E-02
  14  Prefactor     .55511E-09    34.860        .24763E-05** at limit **
  15  norm          .22204E-09    10.927       -.17658E-05** at limit **
  16  norm          11.106        9.7907        .12693E-06    .65021E-03
  17  norm          .19373E-07    12.508        .14457E-05** at limit **
  18  Prefactor     .19334E-02    330.30        .99077E-06** at limit **
  19  Normalizat    .58042        .28272       -.27253E-04   -.39455E-04
  20  Prefactor     1.2157        .19792        .19617E-04   -.15439E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 57.7585
  norm       = 0.000191094
  Prefactor  = 57.0082
  Prefactor  = 0
  norm       = 3.49501
  Prefactor  = 16.928
  norm       = 0
  Prefactor  = 3.26369
  Prefactor  = 1.55709e-07
  Prefactor  = 0
  norm       = 1.2601e-08
  Prefactor  = 4.70117
  norm       = 30.2005
  Prefactor  = 5.55112e-10
  norm       = 2.22045e-10
  norm       = 11.1065
  norm       = 1.93734e-08
  Prefactor  = 0.00193336
  Normalizat = 0.580423
  Prefactor  = 1.21569
 **********
 **   18 **HESSE 
 **********

 FCN=   5454.534     FROM HESSE     STATUS=OK           341 CALLS     1933 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          57.759        25.154        .13153E-03   -1.5556    
   2  norm          .19109E-03    176.96        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     57.008        36.306        .13249E-03   -1.5557    
   4  Prefactor      .0000        26.703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.4950        1.8680        .54068E-03   -1.5671    
   6  Prefactor     16.928        67.314        .26630E-03   -1.5626    
   7  norm           .0000        45.649        .14254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2637        4.5824        .56120E-03   -1.5672    
   9  Prefactor     .15571E-06    22.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.5847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12601E-07    12.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.7012        10.553        .46118E-03   -1.5665    
  13  norm          30.201        5.2386        .18174E-03   -1.5598    
  14  Prefactor     .55511E-09    33.748        .17093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .22204E-09    10.928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.106        9.8067        .30576E-03   -1.5641    
  17  norm          .19373E-07    12.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19334E-02    55.735        .18810E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .58042        .25894        .90037E-01   -1.0882    
  20  Prefactor     1.2157        .17682        .34271E-01   -.85850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69519e-06
Minuit parameter uncertainties:
  1  25.1537
  2  0.367796
  3  36.3059
  4  4.16039e-06
  5  1.86803
  6  67.3166
  7  3.27772e-05
  8  4.58236
  9  0.00377478
  10  1.07364e-06
  11  0.000787757
  12  10.553
  13  5.23864
  14  0.000277598
  15  0.000103473
  16  9.80674
  17  0.000987013
  18  0.656529
  19  0.259479
  20  0.176907
Done.

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

Extracting fit parameters...

4FGL J1351.0+0029
   Spectrum: PowerLaw
252    Prefactor:  1.557e-07  3.775e-03  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:  1.216e+00  1.769e-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:  5.804e-01  2.595e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/635693/likelihoodResults_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.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) = 5454.55549447
delta logL = -0.021378222139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5454.53411626
delta logL = -9.94168658508e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5454.534     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      201 TOTAL
                     EDM=   .29E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        24.946       -.33232E-07** at limit **
   2  Index         2.3689        3.5353       -.83266E-06     .0000    
   3  Normalizat    .58042        .27618        .49688E-05    .13118E-04
   4  Prefactor     1.2157        .19677       -.91641E-06    .25036E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.36895
  Normalizat = 0.580422
  Prefactor  = 1.21569
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5454.534     FROM HESSE     STATUS=FAILED        11 CALLS      212 TOTAL
                     EDM=   .29E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        24.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .62815        1.8630       -.83266E-06   -.55414    
   3  Normalizat    .58042        .91698        .49688E-05   -1.0882    
   4  Prefactor     1.2157        1.0981       -.91641E-06   -.85850    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.8982e-13
Minuit parameter uncertainties:
  1  1.75973e-06
  2  1.30067
  3  0.942753
  4  1.1199
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635693': 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) = 5454.53411625
delta logL = 3.41424311046e-09

Extracting fit parameters...

4FGL J1351.0+0029
   Spectrum: PowerLaw
252    Prefactor:  0.000e+00  1.760e-06  0.000e+00  1.000e+06 ( 1.000e-13)
253        Index:  2.369e+00  1.301e+00  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:  1.216e+00  1.120e+00  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:  5.804e-01  9.428e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/635693/cmap_HighResolution_698630401_698889601_4FGL_J1351.0+0029_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.94e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2023-02-24 01:59:33.294439', job_id='635693', GAL2='1.22', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1677232773.29', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='3.41e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1772' AND source_name='4FGL J1351.0+0029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:59:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 635693: <4FGL_J1351.0+0029_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1351.0+0029_daily_bin1772> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb 24 01:50:13 2023
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:50:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:50:15 2023
Terminated at Fri Feb 24 01:59:34 2023
Results reported at Fri Feb 24 01:59:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.0+0029_daily_bin1772 207.757 0.4873 698630401 698889601 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 :                                   499.30 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             346.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            561 sec.

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

