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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1773
RA = 207.715, Dec = 30.5588
tmin = 698889601, tmax = 699148801
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='790688', job_status='RUN', time_executed='2023-02-27 09:48:21.331292', time_epoch_executed='1677520101.33' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790688

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790688/ft1_4FGL_J1350.8+3033_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790688/ft1_4FGL_J1350.8+3033_daily_bin1773.fits outfile=/scratch/kocevski/790688/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1773.fits ra=207.715 dec=30.5588 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.91
user 2.72
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.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/790688/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.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: 481

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/790688/ltcube_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.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/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits
.....................!
real 13.20
user 12.88
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/790688/ltcube_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.fits outfile=/scratch/kocevski/790688/expmap_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.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/790688/ltcube_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.fits
.....................!
real 191.64
user 187.56
sys 3.74

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/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.fits scfile=/scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits outfile=/scratch/kocevski/790688/cmap_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.fits scfile=/scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits outfile=/scratch/kocevski/790688/cmap_HighResolution_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790688/Model_4FGL_J1350.8+3033_daily_bin1773.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/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.fits.....................!
real 43.83
user 42.62
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.fits', '/scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits', expMap='/scratch/kocevski/790688/expmap_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.fits', expCube='/scratch/kocevski/790688/ltcube_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790688/Model_4FGL_J1350.8+3033_daily_bin1773.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/790688/ft1_filtered_4FGL_J1350.8+3033_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/790688/ft2_4FGL_J1350.8+3033_daily_bin1773.fits
Exposure map: /scratch/kocevski/790688/expmap_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.fits
Exposure cube: /scratch/kocevski/790688/ltcube_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790688/Model_4FGL_J1350.8+3033_daily_bin1773.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8349       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17257       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10868E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .72909E-01   1.0000          .0000       .10000E+07
     5 'norm      '    63.325       1.0000          .0000       .10000E+07
     6 'norm      '    .24174E-02   1.0000          .0000       .10000E+07
     7 'norm      '    13.743       1.0000          .0000       .10000E+07
     8 'Prefactor '    .77494E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3436       1.0000          .0000       .10000E+07
    10 'norm      '    15.301       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15689       1.0000          .0000       .10000E+07
    12 'norm      '    3.9912       1.0000          .0000       .10000E+07
    13 'Prefactor '    .37203E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    10.416       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54815       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4126       1.0000          .0000       .10000E+07
    17 'norm      '    21.198       1.0000          .0000       .10000E+07
    18 'norm      '    .22532E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    12.804       1.0000          .0000       .10000E+07
    20 'Prefactor '    .47015       1.0000          .0000       .10000E+07
    21 'Prefactor '    19.167       1.0000          .0000       .10000E+07
    22 'norm      '    .67072E-01   1.0000          .0000       .10000E+07
    23 'norm      '    4.8094       1.0000          .0000       .10000E+07
    24 'norm      '    .71420E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    175.74       1.0000          .0000       .10000E+07
    26 'Normalizat'    .83270       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1963       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=   5323.739     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1477 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7113        7.9867       -.11873E-06   -.41140E-02
   2  Prefactor     .71314E-05    98.526        .72917E-05** at limit **
   3  Prefactor     .34855E-06    48.304        .18023E-06** at limit **
   4  norm          .42504E-05    3.6751        .65878E-06** at limit **
   5  norm          63.288        10.377       -.10892E-07    .12167    
   6  norm          .91593E-08    12.927        .59213E-06** at limit **
   7  norm          13.655        4.5627        .66310E-06   -.65713E-01
   8  Prefactor     .55511E-10    2.3781        .23123E-06** at limit **
   9  Prefactor     4.5514        5.8154        .65221E-07   -.73753E-01
  10  norm          15.306        6.1058        .11351E-06    .17977E-01
  11  Prefactor     .35499E-05    6.3587        .14581E-05** at limit **
  12  norm          4.0298        6.7354        .32791E-06   -.62243E-02
  13  Prefactor     .13434E-07    7.6036       -.13379E-05** at limit **
  14  Prefactor     10.696        10.547       -.15704E-05    .10357    
  15  Prefactor     .47843        11.821        .14746E-06   -.26450E-03
  16  Prefactor     4.0487        2.9700       -.24970E-07    .22649E-01
  17  norm          20.844        2.5692        .93073E-07   -.14295E-01
  18  norm          .29976E-08    12.075        .25929E-06** at limit **
  19  Prefactor     11.958        24.977       -.24113E-05    .73288E-02
  20  Prefactor     1.7235        130.44        .20662E-04    .98066E-02
  21  Prefactor     19.158        6.4134        .40761E-07    .39695E-02
  22  norm          .38858E-09    36.659       -.14647E-05** at limit **
  23  norm          4.8054        2.7902       -.29034E-07   -.61583E-03
  24  norm           .0000        3.1925       -.19768E-06** at limit **
  25  Prefactor     177.82        63.742        .16427E-05   -.35275E-01
  26  Normalizat    .83192        .25667       -.12494E-04   -.84445E-04
  27  Prefactor     1.1978        .26619        .36117E-05   -.79187E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.71133
  Prefactor  = 7.13135e-06
  Prefactor  = 3.48555e-07
  norm       = 4.25038e-06
  norm       = 63.2882
  norm       = 9.15934e-09
  norm       = 13.6548
  Prefactor  = 5.55112e-11
  Prefactor  = 4.55135
  norm       = 15.3058
  Prefactor  = 3.54994e-06
  norm       = 4.02982
  Prefactor  = 1.34337e-08
  Prefactor  = 10.6961
  Prefactor  = 0.478429
  Prefactor  = 4.04875
  norm       = 20.8444
  norm       = 2.9976e-09
  Prefactor  = 11.9578
  Prefactor  = 1.72354
  Prefactor  = 19.1578
  norm       = 3.88578e-10
  norm       = 4.80537
  norm       = 0
  Prefactor  = 177.819
  Normalizat = 0.831919
  Prefactor  = 1.19776
 **********
 **   18 **HESSE 
 **********

 FCN=   5323.739     FROM HESSE     STATUS=OK           562 CALLS     2039 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7113        8.0753        .60370E-03   -1.5675    
   2  Prefactor     .71314E-05    138.71        .12286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .34855E-06    48.548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .42504E-05    4.7365        .93279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          63.288        11.752        .12567E-03   -1.5549    
   6  norm          .91593E-08    13.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.655        24.750        .26993E-03   -1.5634    
   8  Prefactor     .55511E-10    2.3880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5514        14.140        .48307E-03   -1.5665    
  10  norm          15.306        12.616        .25579E-03   -1.5630    
  11  Prefactor     .35499E-05    127.37        .12600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.0298        12.133        .50459E-03   -1.5668    
  13  Prefactor     .13434E-07    7.6732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.696        23.185        .31021E-03   -1.5643    
  15  Prefactor     .47843        11.843        .74007E-03   -1.5694    
  16  Prefactor     4.0487        17.350        .47918E-03   -1.5668    
  17  norm          20.844        16.554        .21726E-03   -1.5617    
  18  norm          .29976E-08    11.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.958        37.669        .27968E-03   -1.5639    
  20  Prefactor     1.7235        287.39        .81771E-03   -1.5682    
  21  Prefactor     19.158        6.4381        .22849E-03   -1.5620    
  22  norm          .38858E-09    12.251        .82453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.8054        2.7899        .45850E-03   -1.5664    
  24  norm           .0000        3.1913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     177.82        64.428        .75441E-04   -1.5441    
  26  Normalizat    .83192        .21840        .66055E-01   -.98895    
  27  Prefactor     1.1978        .22256        .61659E-01   -.86400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74536e-06
Minuit parameter uncertainties:
  1  8.07532
  2  0.0629033
  3  0.00822726
  4  0.00897374
  5  11.7523
  6  0.000703164
  7  24.7499
  8  1.98929e-05
  9  14.1403
  10  12.6157
  11  0.042528
  12  12.133
  13  0.000642015
  14  23.1856
  15  4.76069
  16  16.7628
  17  16.5539
  18  0.000377753
  19  37.6694
  20  44.5144
  21  6.43813
  22  0.000133617
  23  2.7899
  24  1.33531e-05
  25  64.4281
  26  0.218633
  27  0.222738
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  4.784e-01  4.761e+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.198e+00  2.227e-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:  8.319e-01  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790688/likelihoodResults_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.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) = 5323.08639823
delta logL = 0.652873481067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5323.07943738
delta logL = 0.659834327801

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0772       1.0000          .0000       .10000E+07
     2 'Index     '    1.0809       1.0000          .0000       10.000    
     3 'Normalizat'    .82738       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1977       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=   5323.079     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      255 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0786        1.9542        .22431E-02    .14743E-02
   2  Index         1.0809        .46317        .22896       -.10159E-03
   3  Normalizat    .82763        .19677        .66158E-01    .15627E-04
   4  Prefactor     1.1976        .21730        .61629E-01   -.40885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07862
  Index      = 1.08087
  Normalizat = 0.827628
  Prefactor  = 1.19755
 **********
 **   18 **HESSE 
 **********

 FCN=   5323.079     FROM HESSE     STATUS=OK            35 CALLS      290 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0786        2.5701        .11397E-03   -1.5687    
   2  Index         1.0809        .79698        .90796E-02   -.90080    
   3  Normalizat    .82763        .23539        .29268E-03   -.99052    
   4  Prefactor     1.1976        .26015        .27256E-03   -.86407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.30104e-11
Minuit parameter uncertainties:
  1  2.57012
  2  0.806002
  3  0.23568
  4  0.260425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790688': 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) = 5323.07943574
delta logL = 0.659835968202

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.079e+00  2.570e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  1.081e+00  8.060e-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.198e+00  2.604e-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:  8.276e-01  2.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 207.715 30.559
Photon Index (Free Index): 1.08 +/- 0.81
Photon Flux (Free Index): 4.77e-09 +/- 7.99e-09
Energy Flux (Free Index): 5.60e-05 +/- 9.66e-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/790688/cmap_HighResolution_698889601_699148801_4FGL_J1350.8+3033_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.74e-03', comment='SUCCESS', energy_flux2='5.60e-05', dlogl='6.60e-01', photon_flux2='4.77e-09', job_status='DONE', time_completed='2023-02-27 09:57:54.154789', photon_index_error2='0.81', photon_index2='1.08', ts='0.01', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='9.66e-05', EG='0.83', time_epoch_completed='1677520674.15', return_code='0', job_id='790688', GAL2='1.20', EG2='0.83', return_code2='0', photon_flux_error2='7.99e-09', ts2='1.33', photon_index='2.42' WHERE bin_id='1773' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:57:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 790688: <4FGL_J1350.8+3033_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 09:45:28 2023
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:45:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:45:29 2023
Terminated at Mon Feb 27 09:57:55 2023
Results reported at Mon Feb 27 09:57:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1773 207.715 30.5588 698889601 699148801 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 :                                   574.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            747 sec.

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

