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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1780
RA = 207.715, Dec = 30.5588
tmin = 700704001, tmax = 700963201
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='65253', job_status='RUN', time_executed='2023-03-20 01:01:01.265872', time_epoch_executed='1679299261.27' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/65253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/65253/ft1_4FGL_J1350.8+3033_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/65253/ft2_4FGL_J1350.8+3033_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/65253/ft1_4FGL_J1350.8+3033_daily_bin1780.fits outfile=/scratch/kocevski/65253/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1780.fits ra=207.715 dec=30.5588 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.10
user 3.84
sys 0.22

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

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

Number of photons that the gtmktime cut: 607

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/65253/ft1_filtered_4FGL_J1350.8+3033_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/65253/ft2_4FGL_J1350.8+3033_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/65253/ltcube_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.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/65253/ft2_4FGL_J1350.8+3033_daily_bin1780.fits
.....................!
real 12.42
user 12.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/65253/ft1_filtered_4FGL_J1350.8+3033_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/65253/ft2_4FGL_J1350.8+3033_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/65253/ltcube_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.fits outfile=/scratch/kocevski/65253/expmap_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.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/65253/ltcube_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.fits
.....................!
real 191.48
user 185.62
sys 5.34

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/65253/ft1_filtered_4FGL_J1350.8+3033_daily_bin1780.fits scfile=/scratch/kocevski/65253/ft2_4FGL_J1350.8+3033_daily_bin1780.fits outfile=/scratch/kocevski/65253/cmap_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/65253/ft1_filtered_4FGL_J1350.8+3033_daily_bin1780.fits scfile=/scratch/kocevski/65253/ft2_4FGL_J1350.8+3033_daily_bin1780.fits outfile=/scratch/kocevski/65253/cmap_HighResolution_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.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.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/65253/ft1_filtered_4FGL_J1350.8+3033_daily_bin1780.fits', '/scratch/kocevski/65253/ft2_4FGL_J1350.8+3033_daily_bin1780.fits', expMap='/scratch/kocevski/65253/expmap_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.fits', expCube='/scratch/kocevski/65253/ltcube_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/65253/Model_4FGL_J1350.8+3033_daily_bin1780.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/65253/ft1_filtered_4FGL_J1350.8+3033_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/65253/ft2_4FGL_J1350.8+3033_daily_bin1780.fits
Exposure map: /scratch/kocevski/65253/expmap_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.fits
Exposure cube: /scratch/kocevski/65253/ltcube_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/65253/Model_4FGL_J1350.8+3033_daily_bin1780.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) = 6853.61088131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.434       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58203       1.0000          .0000       .10000E+07
     3 'Prefactor '    15.454       1.0000          .0000       .10000E+07
     4 'norm      '    .19800E-03   1.0000          .0000       .10000E+07
     5 'norm      '    11.777       1.0000          .0000       .10000E+07
     6 'norm      '    14.939       1.0000          .0000       .10000E+07
     7 'norm      '    .45096E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .54031E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .40826E-02   1.0000          .0000       .10000E+07
    10 'norm      '    31.629       1.0000          .0000       .10000E+07
    11 'Prefactor '    .97931E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .58590       1.0000          .0000       .10000E+07
    13 'Prefactor '    .32262E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    27.338       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.0925       1.0000          .0000       .10000E+07
    16 'Prefactor '    13.965       1.0000          .0000       .10000E+07
    17 'norm      '    10.347       1.0000          .0000       .10000E+07
    18 'norm      '    .24911E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    29.059       1.0000          .0000       .10000E+07
    20 'Prefactor '    .12028E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    13.047       1.0000          .0000       .10000E+07
    22 'norm      '    .20363E-02   1.0000          .0000       .10000E+07
    23 'norm      '    4.8917       1.0000          .0000       .10000E+07
    24 'norm      '    .47631E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    207.08       1.0000          .0000       .10000E+07
    26 'Normalizat'    .85737       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .89924       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=   6853.608     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2521 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.499        6.1266        .16663E-06   -.97934E-03
   2  Prefactor     .19862E-06    149.87        .35058E-06** at limit **
   3  Prefactor     15.623        7.2985        .46076E-07   -.45940E-01
   4  norm          .11657E-08    6.2606       -.28338E-05** at limit **
   5  norm          11.820        4.5076       -.93546E-07    .23623E-01
   6  norm          14.861        4.3555        .36473E-07   -.52698E-01
   7  norm          .66058E-08    6.9275       -.38274E-06** at limit **
   8  Prefactor      .0000        1.9124       -.87240E-06** at limit **
   9  Prefactor     .62284E-07    15.056       -.22042E-05** at limit **
  10  norm          31.643        8.1012       -.12138E-06   -.19167E-04
  11  Prefactor     .11102E-09    28.217       -.35204E-06** at limit **
  12  norm          .57211        3.0232       -.34818E-06   -.21692E-02
  13  Prefactor     .36804E-07    10.534       -.23795E-05** at limit **
  14  Prefactor     27.296        9.0603       -.11657E-05   -.11439    
  15  Prefactor     7.0520        4.7081       -.19911E-06   -.77069E-03
  16  Prefactor     13.962        1.9751        .14009E-06    .75264E-02
  17  norm          10.355        1.6068        .10248E-07   -.19669E-02
  18  norm          .27200E-08    5.5633       -.73918E-06** at limit **
  19  Prefactor     29.079        5.2453       -.76242E-06   -.77584E-01
  20  Prefactor     .16431E-07    10.277        .27366E-05** at limit **
  21  Prefactor     13.024        5.0098       -.19636E-06   -.22388E-02
  22  norm          .11102E-09    4.6756       -.10161E-05** at limit **
  23  norm          4.8908        2.7830       -.66469E-06   -.10054E-02
  24  norm          .16653E-09    2.4854        .63960E-07** at limit **
  25  Prefactor     206.78        67.116       -.39129E-05    .61456E-01
  26  Normalizat    .85796        .20302        .17114E-04   -.50876E-04
  27  Prefactor     .89902        .21073       -.23270E-04   -.64950E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.499
  Prefactor  = 1.98619e-07
  Prefactor  = 15.6232
  norm       = 1.16573e-09
  norm       = 11.8201
  norm       = 14.8608
  norm       = 6.60583e-09
  Prefactor  = 0
  Prefactor  = 6.22835e-08
  norm       = 31.6433
  Prefactor  = 1.11022e-10
  norm       = 0.57211
  Prefactor  = 3.68039e-08
  Prefactor  = 27.2963
  Prefactor  = 7.05195
  Prefactor  = 13.9624
  norm       = 10.3549
  norm       = 2.72005e-09
  Prefactor  = 29.0795
  Prefactor  = 1.64313e-08
  Prefactor  = 13.0238
  norm       = 1.11022e-10
  norm       = 4.89081
  norm       = 1.66533e-10
  Prefactor  = 206.778
  Normalizat = 0.857961
  Prefactor  = 0.899024
 **********
 **   18 **HESSE 
 **********

 FCN=   6853.608     FROM HESSE     STATUS=OK           542 CALLS     3063 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.499        6.1646        .26338E-03   -1.5632    
   2  Prefactor     .19862E-06    146.12        .70853E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.623        19.232        .25451E-03   -1.5629    
   4  norm          .11657E-08    6.2337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.820        8.5994        .29167E-03   -1.5639    
   6  norm          14.861        15.077        .25887E-03   -1.5631    
   7  norm          .66058E-08    6.9827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.9009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .62284E-07    16.771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          31.643        10.805        .17784E-03   -1.5595    
  11  Prefactor     .11102E-09    28.051        .13985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .57211        19.271        .70501E-03   -1.5693    
  13  Prefactor     .36804E-07    10.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.296        26.152        .19129E-03   -1.5603    
  15  Prefactor     7.0520        4.7066        .37643E-03   -1.5655    
  16  Prefactor     13.962        15.678        .26777E-03   -1.5633    
  17  norm          10.355        12.784        .31125E-03   -1.5644    
  18  norm          .27200E-08    5.5318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     29.079        14.996        .18554E-03   -1.5600    
  20  Prefactor     .16431E-07    11.734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.024        5.0408        .27706E-03   -1.5636    
  22  norm          .11102E-09    4.6863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.8908        2.7782        .45455E-03   -1.5664    
  24  norm          .16653E-09    2.4915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     206.78        71.380        .69500E-04   -1.5420    
  26  Normalizat    .85796        .18176        .44354E-01   -.97953    
  27  Prefactor     .89902        .18490        .44995E-01   -.96175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16794e-06
Minuit parameter uncertainties:
  1  6.16465
  2  0.0107746
  3  19.2322
  4  0.000170899
  5  8.59946
  6  15.0774
  7  0.000429526
  8  9.57136e-06
  9  0.00204411
  10  10.8047
  11  0.000123686
  12  6.64082
  13  0.00126814
  14  26.1521
  15  4.70661
  16  15.6785
  17  12.784
  18  0.000246028
  19  14.9955
  20  0.000878661
  21  5.0408
  22  4.48302e-05
  23  2.77816
  24  4.31457e-05
  25  71.3803
  26  0.181889
  27  0.185034
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  7.052e+00  4.707e+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:  8.990e-01  1.850e-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.580e-01  1.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.79
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 5.72e-08 +/- 3.82e-08
Energy Flux (Fixed Index): 1.84e-05 +/- 1.23e-05

TS (Fixed Index): 3.79
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/65253/likelihoodResults_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.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) = 6851.22668798
delta logL = 2.38116887019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6851.22199435
delta logL = 2.38586250383

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8057       1.0000          .0000       .10000E+07
     2 'Index     '    3.9628       1.0000          .0000       10.000    
     3 'Normalizat'    .73325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99475       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=   6851.222     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      252 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8063        9.9518        .77742E-03    .63252E-02
   2  Index         3.9628        2.5829        .93930E-01    .18534E-03
   3  Normalizat    .73318        .60280E-01    .63348E-01   -.11391E-04
   4  Prefactor     .99482        .65107E-01    .46201E-01   -.20090E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80629
  Index      = 3.96275
  Normalizat = 0.733184
  Prefactor  = 0.994817
 **********
 **   18 **HESSE 
 **********

 FCN=   6851.222     FROM HESSE     STATUS=OK            33 CALLS      285 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8063        6.8380        .43924E-05   -1.5681    
   2  Index         3.9628        2.2895        .38700E-02   -.20897    
   3  Normalizat    .73318        .20380        .28024E-03   -1.0260    
   4  Prefactor     .99482        .21988        .26545E-03   -.92902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83732e-10
Minuit parameter uncertainties:
  1  6.83799
  2  2.38261
  3  0.204014
  4  0.220076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/65253': 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) = 6851.22199418
delta logL = 2.38586267341

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.806e+00  6.838e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  3.963e+00  2.383e+00  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:  9.948e-01  2.201e-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:  7.332e-01  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.20
Ra Dec: 207.715 30.559
Photon Index (Free Index): 3.96 +/- 2.38
Photon Flux (Free Index): 1.47e-07 +/- 6.50e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/65253/cmap_HighResolution_700704001_700963201_4FGL_J1350.8+3033_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='5.72e-08', energy_flux2='2.21e-05', photon_flux_error='3.82e-08', dlogl='2.39e+00', energy_flux='1.84e-05', photon_flux2='1.47e-07', job_status='DONE', time_completed='2023-03-20 01:12:22.202331', photon_index_error2='2.38', photon_index2='3.96', ts='3.79', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.15e-05', EG='0.86', time_epoch_completed='1679299942.2', return_code='0', job_id='65253', GAL2='0.99', EG2='0.73', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='6.50e-08', ts2='9.20', photon_index='2.42' WHERE bin_id='1780' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:12:22 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 65253: <4FGL_J1350.8+3033_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1780> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Mar 20 01:00:26 2023
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:00:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:00:27 2023
Terminated at Mon Mar 20 01:12:23 2023
Results reported at Mon Mar 20 01:12:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1780 207.715 30.5588 700704001 700963201 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            717 sec.

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

