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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1751
RA = 207.715, Dec = 30.5588
tmin = 693187201, tmax = 693446401
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='79100', job_status='RUN', time_executed='2022-12-23 00:45:37.539350', time_epoch_executed='1671785137.54' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79100

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79100/ft1_4FGL_J1350.8+3033_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79100/ft1_4FGL_J1350.8+3033_daily_bin1751.fits outfile=/scratch/kocevski/79100/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1751.fits ra=207.715 dec=30.5588 rad=12.0 tmin=693187201.0 tmax=693446401.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.61
user 3.40
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.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/79100/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 699

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/79100/ltcube_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.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/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits
.....................!
real 12.16
user 11.81
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/79100/ltcube_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.fits outfile=/scratch/kocevski/79100/expmap_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.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/79100/ltcube_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.fits
.....................!
real 190.24
user 185.72
sys 4.18

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

Setting source of interest to:
4FGL J1350.8+3033 @ 207.715 30.5588

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.fits scfile=/scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits outfile=/scratch/kocevski/79100/cmap_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.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.715 yref=30.5588 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.fits scfile=/scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits outfile=/scratch/kocevski/79100/cmap_HighResolution_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.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.715 yref=30.5588 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/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/79100/Model_4FGL_J1350.8+3033_daily_bin1751.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/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.fits.....................!
real 55.34
user 54.03
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.fits', '/scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits', expMap='/scratch/kocevski/79100/expmap_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.fits', expCube='/scratch/kocevski/79100/ltcube_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79100/Model_4FGL_J1350.8+3033_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1350.8+3033'

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.772e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/79100/ft1_filtered_4FGL_J1350.8+3033_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/79100/ft2_4FGL_J1350.8+3033_daily_bin1751.fits
Exposure map: /scratch/kocevski/79100/expmap_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.fits
Exposure cube: /scratch/kocevski/79100/ltcube_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79100/Model_4FGL_J1350.8+3033_daily_bin1751.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) = 7359.30729939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5696       1.0000          .0000       .10000E+07
     2 'Prefactor '    43.003       1.0000          .0000       .10000E+07
     3 'Prefactor '    .48932E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .15030E-04   1.0000          .0000       .10000E+07
     5 'norm      '    30.042       1.0000          .0000       .10000E+07
     6 'norm      '    16.919       1.0000          .0000       .10000E+07
     7 'norm      '    46.126       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7720       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14355E-02   1.0000          .0000       .10000E+07
    10 'norm      '    38.317       1.0000          .0000       .10000E+07
    11 'Prefactor '    .77908E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .14461E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.949       1.0000          .0000       .10000E+07
    14 'Prefactor '    24.276       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.2184       1.0000          .0000       .10000E+07
    16 'Prefactor '    27.101       1.0000          .0000       .10000E+07
    17 'norm      '    6.0807       1.0000          .0000       .10000E+07
    18 'norm      '    5.9824       1.0000          .0000       .10000E+07
    19 'Prefactor '    .81215E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .33246E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    39.755       1.0000          .0000       .10000E+07
    22 'norm      '    .41571E-03   1.0000          .0000       .10000E+07
    23 'norm      '    6.6418       1.0000          .0000       .10000E+07
    24 'norm      '    .58884E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    119.17       1.0000          .0000       .10000E+07
    26 'Normalizat'    .60598       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3157       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7359.255     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     2404 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5766        4.5375        .62899E-07   -.17926E-02
   2  Prefactor     43.023        6.0819       -.64149E-06    .69666E-01
   3  Prefactor     .38858E-09    10.713       -.11323E-06** at limit **
   4  norm          .22926E-07    5.9282       -.11472E-05** at limit **
   5  norm          30.041        5.6630       -.14169E-07    .30007E-01
   6  norm          16.925        4.0506        .10426E-06   -.36670E-01
   7  norm          46.261        1.7170        .32614E-07   -.15115E-01
   8  Prefactor     1.7794        2.8956        .38212E-07    .66397E-02
   9  Prefactor     .26534E-07    5.0582       -.13914E-05** at limit **
  10  norm          38.384        9.6885       -.10903E-05   -.82048E-01
  11  Prefactor     .13700E-06    24.230        .32617E-05** at limit **
  12  norm          .11879E-07    4.3743        .64251E-06** at limit **
  13  Prefactor     10.965        1.6200        .11506E-06    .75056E-02
  14  Prefactor     24.221        1.4244        .22367E-07    .43098E-02
  15  Prefactor     5.2279        3.7369       -.38175E-07    .18052E-02
  16  Prefactor     27.064        7.3400       -.51808E-06    .13917    
  17  norm          6.0744        9.2448        .12250E-05    .17192E-01
  18  norm          5.9761        4.2446       -.60282E-08    .58069E-02
  19  Prefactor     .13622E-06    24.029       -.41439E-05** at limit **
  20  Prefactor     .92704E-08    40.461        .12914E-06** at limit **
  21  Prefactor     39.823        7.3272       -.72162E-07    .76834E-02
  22  norm          .17208E-07    3.7204        .11807E-05** at limit **
  23  norm          6.6424        2.9298        .42775E-08    .62619E-02
  24  norm          .21816E-07    15.143        .47925E-06** at limit **
  25  Prefactor     122.69        77.782        .30107E-06   -.48123E-02
  26  Normalizat    .60472        .20663        .69169E-05    .30097E-03
  27  Prefactor     1.3158        .22674       -.64647E-06    .19254E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.57656
  Prefactor  = 43.0228
  Prefactor  = 3.88578e-10
  norm       = 2.29261e-08
  norm       = 30.0413
  norm       = 16.9247
  norm       = 46.2614
  Prefactor  = 1.77941
  Prefactor  = 2.65343e-08
  norm       = 38.384
  Prefactor  = 1.37002e-07
  norm       = 1.18794e-08
  Prefactor  = 10.9651
  Prefactor  = 24.2208
  Prefactor  = 5.2279
  Prefactor  = 27.0641
  norm       = 6.07443
  norm       = 5.97609
  Prefactor  = 1.36224e-07
  Prefactor  = 9.27036e-09
  Prefactor  = 39.8227
  norm       = 1.72085e-08
  norm       = 6.64243
  norm       = 2.18159e-08
  Prefactor  = 122.689
  Normalizat = 0.604716
  Prefactor  = 1.31582
 **********
 **   18 **HESSE 
 **********

 FCN=   7359.255     FROM HESSE     STATUS=OK           556 CALLS     2960 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5766        4.7665        .53467E-03   -1.5670    
   2  Prefactor     43.023        31.081        .15251E-03   -1.5577    
   3  Prefactor     .38858E-09    10.727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .22926E-07    5.9054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          30.041        9.0461        .18247E-03   -1.5598    
   6  norm          16.925        13.801        .24323E-03   -1.5626    
   7  norm          46.261        25.644        .14725E-03   -1.5572    
   8  Prefactor     1.7794        2.9450        .78629E-03   -1.5681    
   9  Prefactor     .26534E-07    5.1627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          38.384        10.254        .16156E-03   -1.5584    
  11  Prefactor     .13700E-06    25.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11879E-07    4.4256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.965        10.374        .30253E-03   -1.5642    
  14  Prefactor     24.221        16.955        .20301E-03   -1.5610    
  15  Prefactor     5.2279        3.7366        .43980E-03   -1.5662    
  16  Prefactor     27.064        14.932        .19213E-03   -1.5604    
  17  norm          6.0744        9.4025        .40692E-03   -1.5659    
  18  norm          5.9761        4.2662        .41030E-03   -1.5659    
  19  Prefactor     .13622E-06    26.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .92704E-08    11.220        .88898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     39.823        7.3553        .15862E-03   -1.5582    
  22  norm          .17208E-07    3.7884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.6424        2.9249        .38914E-03   -1.5656    
  24  norm          .21816E-07    15.183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     122.69        77.619        .91611E-04   -1.5486    
  26  Normalizat    .60472        .18443        .75390E-01   -1.0778    
  27  Prefactor     1.3158        .19613        .60841E-01   -.82838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.461e-07
Minuit parameter uncertainties:
  1  4.76654
  2  31.0806
  3  0.000125547
  4  0.00073554
  5  9.04615
  6  13.8014
  7  25.6444
  8  2.94497
  9  0.000739879
  10  10.2545
  11  0.00377113
  12  0.000458555
  13  10.374
  14  16.9555
  15  3.73663
  16  14.9325
  17  9.40257
  18  4.26616
  19  0.00378836
  20  0.000644975
  21  7.35534
  22  0.000510571
  23  2.92488
  24  0.00115177
  25  77.6198
  26  0.184616
  27  0.196241
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.228e+00  3.737e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.316e+00  1.962e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  6.047e-01  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.38
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 4.24e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 9.74e-06

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) = 7359.18868987
delta logL = 0.066736267454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7359.18496079
delta logL = 0.0704653412267

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7359.185     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0550        144.90        .44688E-03    .62516E-03
   2  Index         2.0837        5.2957        .25324       -.22995E-04
   3  Normalizat    .62692        .14082        .74113E-01    .21975E-04
   4  Prefactor     1.3016        .10207        .61117E-01   -.25057E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.055
  Index      = 2.08372
  Normalizat = 0.626919
  Prefactor  = 1.30161
 **********
 **   18 **HESSE 
 **********

 FCN=   7359.185     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0550        4.5948        .15085E-04   -1.5663    
   2  Index         2.0837        .91708        .10789E-01   -.62273    
   3  Normalizat    .62692        .20281        .32810E-03   -1.0685    
   4  Prefactor     1.3016        .22569        .27026E-03   -.83259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70935e-10
Minuit parameter uncertainties:
  1  4.59481
  2  0.925055
  3  0.20305
  4  0.225855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79100': 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) = 7359.18496033
delta logL = 0.0704658036557

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.055e+00  4.595e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  2.084e+00  9.251e-01  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.302e+00  2.259e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  6.269e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.46
Ra Dec: 207.715 30.559
Photon Index (Free Index): 2.08 +/- 0.93
Photon Flux (Free Index): 2.79e-08 +/- 4.45e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.67e-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/79100/cmap_HighResolution_693187201_693446401_4FGL_J1350.8+3033_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.24e-08', energy_flux2='1.59e-05', photon_flux_error='3.03e-08', dlogl='7.05e-02', energy_flux='1.36e-05', photon_flux2='2.79e-08', job_status='DONE', time_completed='2022-12-23 00:56:30.790321', photon_index_error2='0.93', photon_index2='2.08', ts='5.38', fit_tolerance='1e-08', GAL='1.32', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='0.60', time_epoch_completed='1671785790.79', return_code='0', job_id='79100', GAL2='1.30', EG2='0.63', return_code2='0', energy_flux_error='9.74e-06', photon_flux_error2='4.45e-08', ts2='5.46', photon_index='2.42' WHERE bin_id='1751' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:56:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 79100: <4FGL_J1350.8+3033_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:45:26 2022
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:45:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:45:27 2022
Terminated at Fri Dec 23 00:56:31 2022
Results reported at Fri Dec 23 00:56:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1751 207.715 30.5588 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1350.8+3033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   656.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            665 sec.

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

