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


Performing analysis on: 4FGL_J1739.5+4955_daily_bin1769
RA = 264.886, Dec = 49.932
tmin = 697852801, tmax = 698112001
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='439856', job_status='RUN', time_executed='2023-02-15 01:07:50.606453', time_epoch_executed='1676452070.61' WHERE source_name='4FGL J1739.5+4955' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439856

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439856/ft1_4FGL_J1739.5+4955_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439856/ft1_4FGL_J1739.5+4955_daily_bin1769.fits outfile=/scratch/kocevski/439856/ft1_filteredMKT_4FGL_J1739.5+4955_daily_bin1769.fits ra=264.886 dec=49.932 rad=12.0 tmin=697852801.0 tmax=698112001.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.35
user 4.17
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.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/439856/ft1_filteredMKT_4FGL_J1739.5+4955_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 743

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/439856/ltcube_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.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/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits
.....................!
real 11.91
user 11.59
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/439856/ltcube_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.fits outfile=/scratch/kocevski/439856/expmap_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.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/439856/ltcube_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.fits
.....................!
real 189.24
user 184.83
sys 4.11

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

Setting source of interest to:
4FGL J1739.5+4955 @ 264.886 49.932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits scfile=/scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits outfile=/scratch/kocevski/439856/cmap_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.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=264.886 yref=49.932 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits scfile=/scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits outfile=/scratch/kocevski/439856/cmap_HighResolution_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.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=264.886 yref=49.932 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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439856/Model_4FGL_J1739.5+4955_daily_bin1769.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/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits.....................!
real 65.57
user 64.36
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits', '/scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits', expMap='/scratch/kocevski/439856/expmap_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.fits', expCube='/scratch/kocevski/439856/ltcube_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/439856/Model_4FGL_J1739.5+4955_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1739.5+4955'

4FGL J1739.5+4955
   Spectrum: LogParabola
347         norm:  3.625e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
348        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
349         beta:  8.485e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  6.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/439856/ft1_filtered_4FGL_J1739.5+4955_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/439856/ft2_4FGL_J1739.5+4955_daily_bin1769.fits
Exposure map: /scratch/kocevski/439856/expmap_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.fits
Exposure cube: /scratch/kocevski/439856/ltcube_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/439856/Model_4FGL_J1739.5+4955_daily_bin1769.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) = 7862.70945083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97845E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.0544       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.272       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.6281       1.0000          .0000       .10000E+07
     5 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.0997       1.0000          .0000       .10000E+07
     7 'Prefactor '    51.749       1.0000          .0000       .10000E+07
     8 'norm      '    .22982E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.0465       1.0000          .0000       .10000E+07
    10 'norm      '    .23315E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26296E-03   1.0000          .0000       .10000E+07
    12 'norm      '    13.652       1.0000          .0000       .10000E+07
    13 'Prefactor '    .21686E-03   1.0000          .0000       .10000E+07
    14 'norm      '    7.7055       1.0000          .0000       .10000E+07
    15 'Prefactor '    .30172E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24478E-05   1.0000          .0000       .10000E+07
    17 'norm      '    10.504       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.260       1.0000          .0000       .10000E+07
    19 'norm      '    12.645       1.0000          .0000       .10000E+07
    20 'Prefactor '    .87869E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .21594E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .12969E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .36776       1.0000          .0000       .10000E+07
    24 'Prefactor '    15.045       1.0000          .0000       .10000E+07
    25 'norm      '    .13936E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .10456E-02   1.0000          .0000       .10000E+07
    27 'norm      '    1.0013       1.0000          .0000       .10000E+07
    28 'norm      '    25.407       1.0000          .0000       .10000E+07
    29 'norm      '    .35850E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .45043E-01   1.0000          .0000       .10000E+07
    31 'Normalizat'    .58179       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.1103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7862.579     FROM MIGRAD    STATUS=CONVERGED    295 CALLS     2603 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-08    13.649        .35881E-06** at limit **
   2  Prefactor     4.9848        4.5901       -.75848E-07   -.22067E-03
   3  Prefactor     10.278        9.0661        .23784E-06    .20067E-02
   4  Prefactor     3.6797        3.9272       -.53360E-07   -.34503E-04
   5  Prefactor     .33307E-09    5.1767       -.51727E-07** at limit **
   6  Prefactor     3.1264        6.8781        .71768E-07    .42923E-03
   7  Prefactor     52.587        5.7549       -.11862E-06    .51744E-01
   8  norm           .0000        1.3867       -.29459E-06** at limit **
   9  Prefactor     1.0724        6.2099        .17564E-06    .54836E-03
  10  norm           .0000        .22896       -.39909E-07** at limit **
  11  Prefactor     .55511E-10    3.5795        .15438E-06** at limit **
  12  norm          13.650        8.4977       -.11424E-06   -.31979E-02
  13  Prefactor     .55511E-10    2.9243        .18852E-06** at limit **
  14  norm          7.7066        2.1359       -.54430E-07   -.89690E-03
  15  Prefactor     .13637E-05    2.9995        .43537E-06** at limit **
  16  Prefactor     .15760E-06    42.821        .16333E-05** at limit **
  17  norm          10.371        8.6602        .23499E-06    .96032E-03
  18  Prefactor     13.762        165.73        .69884E-06   -.14811E-03
  19  norm          12.653        6.4273       -.81290E-07    .72207E-03
  20  Prefactor     .10936E-07    27.962        .41243E-06** at limit **
  21  Prefactor      .0000        1.9891       -.10529E-07** at limit **
  22  Prefactor     .30365E-07    86.945       -.13471E-05** at limit **
  23  Prefactor     .17930E-07    118.36       -.20271E-05** at limit **
  24  Prefactor     15.203        7.0484       -.11812E-07    .25428E-01
  25  norm           .0000        1.9111        .11703E-06** at limit **
  26  Prefactor     .66613E-09    13.305       -.74270E-06** at limit **
  27  norm          1.0200        6.1937        .37144E-06   -.64568E-02
  28  norm          25.691        10.195        .10082E-06    .17181E-01
  29  norm          .22204E-09    4.1247        .16340E-06** at limit **
  30  Prefactor     .52039E-01    16.813       -.12536E-05** at limit **
  31  Normalizat    .57963        .22682        .15532E-04    .31054E-04
  32  Prefactor     1.1104        .15273       -.55896E-05    .65574E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-09
  Prefactor  = 4.98477
  Prefactor  = 10.2779
  Prefactor  = 3.67966
  Prefactor  = 3.33067e-10
  Prefactor  = 3.12636
  Prefactor  = 52.5866
  norm       = 0
  Prefactor  = 1.07241
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 13.6498
  Prefactor  = 5.55112e-11
  norm       = 7.70665
  Prefactor  = 1.36374e-06
  Prefactor  = 1.57596e-07
  norm       = 10.3712
  Prefactor  = 13.7621
  norm       = 12.653
  Prefactor  = 1.09357e-08
  Prefactor  = 0
  Prefactor  = 3.03646e-08
  Prefactor  = 1.79301e-08
  Prefactor  = 15.2028
  norm       = 0
  Prefactor  = 6.66134e-10
  norm       = 1.01996
  norm       = 25.6911
  norm       = 2.22045e-10
  Prefactor  = 0.0520391
  Normalizat = 0.57963
  Prefactor  = 1.11037
 **********
 **   18 **HESSE 
 **********

 FCN=   7862.579     FROM HESSE     STATUS=OK           741 CALLS     3344 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-08    13.688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9848        4.6204        .44702E-03   -1.5663    
   3  Prefactor     10.278        9.2814        .31238E-03   -1.5644    
   4  Prefactor     3.6797        4.0496        .53016E-03   -1.5670    
   5  Prefactor     .33307E-09    5.0570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1264        6.9209        .57574E-03   -1.5673    
   7  Prefactor     52.587        31.032        .13902E-03   -1.5563    
   8  norm           .0000        .64321        .20552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0724        6.5624        .12150E-02   -1.5687    
  10  norm           .0000        .22579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    3.5879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.650        8.5191        .27083E-03   -1.5634    
  13  Prefactor     .55511E-10    2.9725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.7066        2.1461        .36101E-03   -1.5652    
  15  Prefactor     .13637E-05    1.7742        .63589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15760E-06    45.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.371        8.7700        .30890E-03   -1.5644    
  18  Prefactor     13.762        168.30        .29830E-03   -1.5634    
  19  norm          12.653        6.6035        .28143E-03   -1.5637    
  20  Prefactor     .10936E-07    28.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        1.9991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .30365E-07    87.889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .17930E-07    118.41        .93321E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     15.203        11.483        .25796E-03   -1.5630    
  25  norm           .0000        1.9232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .66613E-09    13.353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.0200        7.2278        .43810E-03   -1.5688    
  28  norm          25.691        11.449        .19843E-03   -1.5607    
  29  norm          .22204E-09    4.1622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .52039E-01    1.2112        .54230E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .57963        .20942        .81683E-01   -1.0886    
  32  Prefactor     1.1104        .13568        .37208E-01   -.89136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.23794e-08
Minuit parameter uncertainties:
  1  0.000249098
  2  4.62042
  3  9.2814
  4  4.0496
  5  8.10892e-05
  6  6.92087
  7  31.0318
  8  1.28617e-06
  9  5.3057
  10  1.72409e-07
  11  3.35516e-05
  12  8.51909
  13  2.00495e-05
  14  2.14605
  15  0.00311097
  16  0.00533009
  17  8.77005
  18  96.2577
  19  6.60347
  20  0.00111426
  21  4.10295e-06
  22  0.00326692
  23  0.00291585
  24  11.4831
  25  5.38078e-06
  26  0.000187387
  27  5.4303
  28  11.4493
  29  5.94018e-05
  30  0.502115
  31  0.209711
  32  0.135719
Done.

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

Extracting fit parameters...

4FGL J1739.5+4955
   Spectrum: LogParabola
347         norm:  1.265e+01  6.603e+00  0.000e+00  1.000e+06 ( 1.000e-12)
348        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
349         beta:  8.485e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  6.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.110e+00  1.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  5.796e-01  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.30
Ra Dec: 264.886 49.932
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.77e-08 +/- 3.53e-08
Energy Flux (Fixed Index): 2.49e-05 +/- 1.30e-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) = 7862.55589757
delta logL = 0.0233665222031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7862.55316506
delta logL = 0.0260990279685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.101       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1571       1.0000          .0000       5.0000    
     3 'Normalizat'    .58683       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1074       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7862.553     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.104        147.85        .27648E-03    .72353E-03
   2  alpha         2.1569        3.3524        .37107        .21416E-04
   3  Normalizat    .58693        .11096        .81203E-01    .45644E-04
   4  Prefactor     1.1074        .65480E-01    .37311E-01    .36519E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 13.1045
  alpha      = 2.15691
  Normalizat = 0.586926
  Prefactor  = 1.10736
 **********
 **   18 **HESSE 
 **********

 FCN=   7862.553     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.104        6.9754        .11059E-04   -1.5636    
   2  alpha         2.1569        .49151        .13341E-01   -.13767    
   3  Normalizat    .58693        .20782        .35960E-03   -1.0854    
   4  Prefactor     1.1074        .14886        .19301E-03   -.89232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93226e-10
Minuit parameter uncertainties:
  1  6.97539
  2  0.494799
  3  0.208093
  4  0.148915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439856': 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) = 7862.55316481
delta logL = 0.0260992772892

Extracting fit parameters...

4FGL J1739.5+4955
   Spectrum: LogParabola
347         norm:  1.310e+01  6.975e+00  0.000e+00  1.000e+06 ( 1.000e-12)
348        alpha:  2.157e+00  4.948e-01  0.000e+00  5.000e+00 ( 1.000e+00)
349         beta:  8.485e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
350           Eb:  6.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.107e+00  1.489e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  5.869e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.33
Ra Dec: 264.886 49.932
Photon Index (Free Index): 2.16 +/- 0.49
Photon Flux (Free Index): 6.22e-08 +/- 4.03e-08
Energy Flux (Free Index): 2.64e-05 +/- 1.58e-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/439856/cmap_HighResolution_697852801_698112001_4FGL_J1739.5+4955_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.77e-08', energy_flux2='2.64e-05', photon_flux_error='3.53e-08', dlogl='2.61e-02', energy_flux='2.49e-05', photon_flux2='6.22e-08', job_status='DONE', time_completed='2023-02-15 01:21:44.500576', photon_index_error2='0.49', photon_index2='2.16', ts='7.30', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='0.58', time_epoch_completed='1676452904.5', return_code='0', job_id='439856', GAL2='1.11', EG2='0.59', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='4.03e-08', ts2='7.33', photon_index='2.27' WHERE bin_id='1769' AND source_name='4FGL J1739.5+4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:21:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 439856: <4FGL_J1739.5+4955_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1739.5+4955_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 01:05:46 2023
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:05:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:05:47 2023
Terminated at Wed Feb 15 01:21:45 2023
Results reported at Wed Feb 15 01:21:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1739.5+4955_daily_bin1769 264.886 49.932 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1739.5+4955 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   836.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             298.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            959 sec.

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

