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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1765
RA = 207.715, Dec = 30.5588
tmin = 696816001, tmax = 697075201
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='636810', job_status='RUN', time_executed='2023-02-03 01:07:26.577442', time_epoch_executed='1675415246.58' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636810

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636810/ft1_4FGL_J1350.8+3033_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636810/ft2_4FGL_J1350.8+3033_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636810/ft1_4FGL_J1350.8+3033_daily_bin1765.fits outfile=/scratch/kocevski/636810/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1765.fits ra=207.715 dec=30.5588 rad=12.0 tmin=696816001.0 tmax=697075201.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.68
user 3.43
sys 0.21

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

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

Number of photons that the gtmktime cut: 699

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636810/ft1_filtered_4FGL_J1350.8+3033_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/636810/ft2_4FGL_J1350.8+3033_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/636810/ltcube_696816001_697075201_4FGL_J1350.8+3033_daily_bin1765.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/636810/ft2_4FGL_J1350.8+3033_daily_bin1765.fits
.....................!
real 16.53
user 15.97
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636810/ft1_filtered_4FGL_J1350.8+3033_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636810/ft2_4FGL_J1350.8+3033_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/636810/ltcube_696816001_697075201_4FGL_J1350.8+3033_daily_bin1765.fits outfile=/scratch/kocevski/636810/expmap_696816001_697075201_4FGL_J1350.8+3033_daily_bin1765.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/636810/ltcube_696816001_697075201_4FGL_J1350.8+3033_daily_bin1765.fits
.....................!
real 194.82
user 188.01
sys 5.00

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/636810/ft1_filtered_4FGL_J1350.8+3033_daily_bin1765.fits scfile=/scratch/kocevski/636810/ft2_4FGL_J1350.8+3033_daily_bin1765.fits outfile=/scratch/kocevski/636810/cmap_696816001_697075201_4FGL_J1350.8+3033_daily_bin1765.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636810/ft1_filtered_4FGL_J1350.8+3033_daily_bin1765.fits scfile=/scratch/kocevski/636810/ft2_4FGL_J1350.8+3033_daily_bin1765.fits outfile=/scratch/kocevski/636810/cmap_HighResolution_696816001_697075201_4FGL_J1350.8+3033_daily_bin1765.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.61
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9765       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19997E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.347       1.0000          .0000       .10000E+07
     4 'norm      '    4.8067       1.0000          .0000       .10000E+07
     5 'norm      '    48.430       1.0000          .0000       .10000E+07
     6 'norm      '    .98122E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .42152E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .68096E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .27734       1.0000          .0000       .10000E+07
    10 'norm      '    79.055       1.0000          .0000       .10000E+07
    11 'Prefactor '    53.411       1.0000          .0000       .10000E+07
    12 'norm      '    .20064E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .57653E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10993E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    11.794       1.0000          .0000       .10000E+07
    16 'Prefactor '    .59423E-03   1.0000          .0000       .10000E+07
    17 'norm      '    11.646       1.0000          .0000       .10000E+07
    18 'norm      '    1.5773       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21748E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.381       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.642       1.0000          .0000       .10000E+07
    22 'norm      '    .26518E-03   1.0000          .0000       .10000E+07
    23 'norm      '    1.7850       1.0000          .0000       .10000E+07
    24 'norm      '    4.3445       1.0000          .0000       .10000E+07
    25 'Prefactor '    217.82       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0443       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0762       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=   7522.309     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     2391 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9674        4.9758        .18650E-07   -.99473E-04
   2  Prefactor     .27439E-06    126.66        .13906E-05** at limit **
   3  Prefactor     14.350        2.7345       -.24016E-07    .53340E-02
   4  norm          4.7990        4.1627       -.30166E-08   -.62178E-04
   5  norm          48.568        7.6315       -.35160E-07   -.49820E-03
   6  norm          .43299E-08    8.8663       -.20724E-06** at limit **
   7  norm          .37192E-08    17.239        .11430E-06** at limit **
   8  Prefactor      .0000        2.1727       -.38207E-07** at limit **
   9  Prefactor     .13267E-07    1.0261       -.10808E-06** at limit **
  10  norm          79.045        1.6560       -.18698E-08   -.37097E-02
  11  Prefactor     53.522        4.1687       -.86737E-08   -.55325E-01
  12  norm           .0000        3.4198       -.13358E-06** at limit **
  13  Prefactor     .37685E-02    12.588        .98660E-07** at limit **
  14  Prefactor     .22204E-09    6.4430       -.31484E-06** at limit **
  15  Prefactor     11.893        5.0295        .37953E-08   -.76644E-03
  16  Prefactor     .66613E-09    7.5124       -.12978E-06** at limit **
  17  norm          11.630        1.2405        .46220E-08   -.61117E-03
  18  norm          1.5827        3.7349        .74448E-08    .18909E-05
  19  Prefactor     .40523E-08    10.169       -.33788E-06** at limit **
  20  Prefactor     11.373        10.015       -.53154E-07   -.20990E-01
  21  Prefactor     12.599        4.6258        .89526E-08   -.64684E-03
  22  norm          .14821E-07    14.416       -.23294E-06** at limit **
  23  norm          1.7853        1.9030       -.10727E-08   -.11228E-03
  24  norm          4.3909        6.9617        .24778E-06   -.48035E-03
  25  Prefactor     217.80        1.8074       -.53779E-09    .51933E-01
  26  Normalizat    1.0437        .22221        .13562E-05   -.49837E-04
  27  Prefactor     1.0765        .23487        .99575E-07   -.42489E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.96737
  Prefactor  = 2.74392e-07
  Prefactor  = 14.3499
  norm       = 4.79903
  norm       = 48.5679
  norm       = 4.32987e-09
  norm       = 3.71925e-09
  Prefactor  = 0
  Prefactor  = 1.32672e-08
  norm       = 79.0446
  Prefactor  = 53.5221
  norm       = 0
  Prefactor  = 0.00376846
  Prefactor  = 2.22045e-10
  Prefactor  = 11.8931
  Prefactor  = 6.66134e-10
  norm       = 11.6305
  norm       = 1.58274
  Prefactor  = 4.05231e-09
  Prefactor  = 11.3734
  Prefactor  = 12.5994
  norm       = 1.48215e-08
  norm       = 1.78534
  norm       = 4.39091
  Prefactor  = 217.799
  Normalizat = 1.04369
  Prefactor  = 1.07654
 **********
 **   18 **HESSE 
 **********

 FCN=   7522.309     FROM HESSE     STATUS=OK           554 CALLS     2945 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9674        4.9958        .50555E-03   -1.5668    
   2  Prefactor     .27439E-06    127.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.350        20.200        .26417E-03   -1.5632    
   4  norm          4.7990        4.2590        .45863E-03   -1.5664    
   5  norm          48.568        7.7283        .14371E-03   -1.5569    
   6  norm          .43299E-08    12.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .37192E-08    17.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.1771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .13267E-07    8.3225        .10535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          79.045        13.683        .11248E-03   -1.5530    
  11  Prefactor     53.522        59.634        .13684E-03   -1.5562    
  12  norm           .0000        3.4322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .37685E-02    12.961        .10432E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    6.4537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.893        5.0350        .29145E-03   -1.5639    
  16  Prefactor     .66613E-09    7.5339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.630        13.687        .29331E-03   -1.5640    
  18  norm          1.5827        3.7856        .84560E-03   -1.5683    
  19  Prefactor     .40523E-08    11.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.373        15.204        .29671E-03   -1.5641    
  21  Prefactor     12.599        4.6339        .28147E-03   -1.5637    
  22  norm          .14821E-07    15.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.7853        1.9017        .78283E-03   -1.5681    
  24  norm          4.3909        6.9964        .48302E-03   -1.5666    
  25  Prefactor     217.80        64.230        .67764E-04   -1.5413    
  26  Normalizat    1.0437        .19019        .64379E-01   -.91581    
  27  Prefactor     1.0765        .19434        .68862E-01   -.90220    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28082e-07
Minuit parameter uncertainties:
  1  4.99581
  2  0.0118081
  3  20.1999
  4  4.25895
  5  7.72828
  6  0.000464647
  7  0.000512209
  8  3.81688e-06
  9  0.000664648
  10  13.6829
  11  59.6343
  12  1.54088e-05
  13  0.442002
  14  7.98381e-05
  15  5.03495
  16  0.000143226
  17  13.6872
  18  3.78565
  19  0.000426026
  20  15.2038
  21  4.6339
  22  0.000949443
  23  1.90167
  24  6.99644
  25  64.2302
  26  0.190318
  27  0.194466
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.189e+01  5.035e+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.077e+00  1.945e-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:  1.044e+00  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.84
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 9.65e-08 +/- 4.08e-08
Energy Flux (Fixed Index): 3.10e-05 +/- 1.31e-05

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) = 7522.04099744
delta logL = 0.268289860764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7522.04088116
delta logL = 0.26840614136

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.680       1.0000          .0000       .10000E+07
     2 'Index     '    2.1405       1.0000          .0000       10.000    
     3 'Normalizat'    1.0687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0565       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=   7522.041     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      269 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.671        129.05        .27056E-03    .57017E-03
   2  Index         2.1398        6.0501        .15925        .34722E-04
   3  Normalizat    1.0688        .25040        .63700E-01    .19238E-04
   4  Prefactor     1.0565        .25297        .69398E-01    .15742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6706
  Index      = 2.13982
  Normalizat = 1.06881
  Prefactor  = 1.05648
 **********
 **   18 **HESSE 
 **********

 FCN=   7522.041     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.671        6.0639        .10822E-04   -1.5634    
   2  Index         2.1398        .35875        .62911E-02   -.60899    
   3  Normalizat    1.0688        .21584        .28176E-03   -.90760    
   4  Prefactor     1.0565        .23249        .30702E-03   -.90870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.87179e-13
Minuit parameter uncertainties:
  1  6.06394
  2  0.359211
  3  0.216017
  4  0.232716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636810': 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) = 7522.04087763
delta logL = 0.268409672758

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.367e+01  6.064e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  2.140e+00  3.592e-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.056e+00  2.327e-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:  1.069e+00  2.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.21
Ra Dec: 207.715 30.559
Photon Index (Free Index): 2.14 +/- 0.36
Photon Flux (Free Index): 8.02e-08 +/- 4.14e-08
Energy Flux (Free Index): 4.05e-05 +/- 2.51e-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/636810/cmap_HighResolution_696816001_697075201_4FGL_J1350.8+3033_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.65e-08', energy_flux2='4.05e-05', photon_flux_error='4.08e-08', dlogl='2.68e-01', energy_flux='3.10e-05', photon_flux2='8.02e-08', job_status='DONE', time_completed='2023-02-03 01:19:15.935582', photon_index_error2='0.36', photon_index2='2.14', ts='11.84', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.51e-05', EG='1.04', time_epoch_completed='1675415955.94', return_code='0', job_id='636810', GAL2='1.06', EG2='1.07', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='4.14e-08', ts2='12.21', photon_index='2.42' WHERE bin_id='1765' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:19:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 636810: <4FGL_J1350.8+3033_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:05:23 2023
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:05:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:05:42 2023
Terminated at Fri Feb  3 01:19:16 2023
Results reported at Fri Feb  3 01:19:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1765 207.715 30.5588 696816001 697075201 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 :                                   708.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            833 sec.

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

