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


Performing analysis on: 4FGL_J1319.8+7759_daily_bin1770
RA = 199.966, Dec = 77.9882
tmin = 698112001, tmax = 698371201
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='486574', job_status='RUN', time_executed='2023-02-18 00:51:43.423195', time_epoch_executed='1676710303.42' WHERE source_name='4FGL J1319.8+7759' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/486574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/486574/ft1_4FGL_J1319.8+7759_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/486574/ft1_4FGL_J1319.8+7759_daily_bin1770.fits outfile=/scratch/kocevski/486574/ft1_filteredMKT_4FGL_J1319.8+7759_daily_bin1770.fits ra=199.966 dec=77.9882 rad=12.0 tmin=698112001.0 tmax=698371201.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.36
user 3.14
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.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/486574/ft1_filteredMKT_4FGL_J1319.8+7759_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.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.41
user 0.27
sys 0.13

Number of photons that the gtmktime cut: 781

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/486574/ltcube_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.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/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits
.....................!
real 9.27
user 8.96
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/486574/ltcube_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.fits outfile=/scratch/kocevski/486574/expmap_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.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/486574/ltcube_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.fits
.....................!
real 145.40
user 141.64
sys 3.49

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

Setting source of interest to:
4FGL J1319.8+7759 @ 199.966 77.9882

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.fits scfile=/scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits outfile=/scratch/kocevski/486574/cmap_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.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=199.966 yref=77.9882 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.45
user 0.31
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.fits scfile=/scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits outfile=/scratch/kocevski/486574/cmap_HighResolution_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.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=199.966 yref=77.9882 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.45
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/486574/Model_4FGL_J1319.8+7759_daily_bin1770.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/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.fits.....................!
real 74.69
user 73.59
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.fits', '/scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits', expMap='/scratch/kocevski/486574/expmap_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.fits', expCube='/scratch/kocevski/486574/ltcube_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/486574/Model_4FGL_J1319.8+7759_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1319.8+7759'

4FGL J1319.8+7759
   Spectrum: PowerLaw
383    Prefactor:  8.394e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
384        Index:  2.047e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
385        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/486574/ft1_filtered_4FGL_J1319.8+7759_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/486574/ft2_4FGL_J1319.8+7759_daily_bin1770.fits
Exposure map: /scratch/kocevski/486574/expmap_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.fits
Exposure cube: /scratch/kocevski/486574/ltcube_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/486574/Model_4FGL_J1319.8+7759_daily_bin1770.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) = 8380.64081343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.540       1.0000          .0000       .10000E+07
     2 'Prefactor '    .81105E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76871E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .85844E-02   1.0000          .0000       .10000E+07
     5 'norm      '    8.1417       1.0000          .0000       .10000E+07
     6 'Prefactor '    .30886E-04   1.0000          .0000       .10000E+07
     7 'norm      '    4.3011       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71800E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.9043       1.0000          .0000       .10000E+07
    10 'Prefactor '    29.554       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.239       1.0000          .0000       .10000E+07
    12 'norm      '    9.0094       1.0000          .0000       .10000E+07
    13 'norm      '    .65725E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.7391       1.0000          .0000       .10000E+07
    15 'Prefactor '    50.934       1.0000          .0000       .10000E+07
    16 'Prefactor '    32.921       1.0000          .0000       .10000E+07
    17 'Prefactor '    .74849E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .86390E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    7.9789       1.0000          .0000       .10000E+07
    20 'Prefactor '    37.103       1.0000          .0000       .10000E+07
    21 'Prefactor '    .16375E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    9.7967       1.0000          .0000       .10000E+07
    23 'Prefactor '    .14925E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .40270E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .30642E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    .14545E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .92770       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .89749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8380.637     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     2480 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.531        10.053        .10498E-06    .18819E-01
   2  Prefactor     .18392E-03    499.04        .21162E-06** at limit **
   3  Prefactor     .27894E-06    7.6662        .16167E-06** at limit **
   4  Prefactor     .79936E-07    20.559       -.96007E-06** at limit **
   5  norm          8.1255        4.2987       -.16117E-06   -.11419E-02
   6  Prefactor     .11102E-08    4.9555       -.45934E-07** at limit **
   7  norm          4.3006        1.1346        .30331E-07    .31131E-02
   8  Prefactor      .0000        5.4406       -.81222E-06** at limit **
   9  Prefactor     2.9090        3.6972       -.10087E-06   -.13178E-02
  10  Prefactor     29.544        3.1631       -.69558E-07   -.54805E-01
  11  Prefactor     20.032        9.0651        .81686E-08    .43680E-01
  12  norm          8.8593        5.3851        .11114E-06   -.96513E-04
  13  norm           .0000        1.9502       -.64496E-07** at limit **
  14  Prefactor     4.2542        20.410        .74877E-08    .68496E-01
  15  Prefactor     50.833        4.2081        .22301E-07   -.13708    
  16  Prefactor     32.912        1.4826       -.27525E-07   -.26933E-01
  17  Prefactor     .43410E-06    6.1358       -.12081E-05** at limit **
  18  Prefactor     .30642E-07    6.9100        .61396E-06** at limit **
  19  Prefactor     7.9843        1.3759       -.29680E-07   -.32143E-02
  20  Prefactor     36.966        6.0174        .22367E-07   -.64493E-01
  21  Prefactor      .0000        22.537        .37926E-06** at limit **
  22  Prefactor     9.8563        1.6796        .18292E-07   -.44097E-02
  23  Prefactor     .35044E-06    5.2481       -.76909E-06** at limit **
  24  norm          .37298E-06    7.3978       -.12164E-05** at limit **
  25  Prefactor      .0000        .84842        .11856E-06** at limit **
  26  Prefactor     .71981E-06    6.6250       -.50744E-06** at limit **
  27  Normalizat    .92848        .15499       -.80348E-05   -.33525E-04
  28  Prefactor     .89735        .11764        .30284E-05    .37672E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5314
  Prefactor  = 0.00018392
  Prefactor  = 2.78944e-07
  Prefactor  = 7.99361e-08
  norm       = 8.12546
  Prefactor  = 1.11022e-09
  norm       = 4.30064
  Prefactor  = 0
  Prefactor  = 2.90896
  Prefactor  = 29.5442
  Prefactor  = 20.0316
  norm       = 8.85931
  norm       = 0
  Prefactor  = 4.25416
  Prefactor  = 50.833
  Prefactor  = 32.9121
  Prefactor  = 4.34097e-07
  Prefactor  = 3.06422e-08
  Prefactor  = 7.98432
  Prefactor  = 36.9658
  Prefactor  = 0
  Prefactor  = 9.8563
  Prefactor  = 3.50442e-07
  norm       = 3.72979e-07
  Prefactor  = 0
  Prefactor  = 7.19813e-07
  Normalizat = 0.928481
  Prefactor  = 0.897347
 **********
 **   18 **HESSE 
 **********

 FCN=   8380.637     FROM HESSE     STATUS=OK           577 CALLS     3057 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.531        10.071        .29465E-03   -1.5640    
   2  Prefactor     .18392E-03    8.6104        .74819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27894E-06    8.3050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .79936E-07    20.750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.1255        4.4308        .35113E-03   -1.5651    
   6  Prefactor     .11102E-08    5.0173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3006        1.1459        .48552E-03   -1.5666    
   8  Prefactor      .0000        5.5204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9090        3.7099        .59597E-03   -1.5674    
  10  Prefactor     29.544        12.072        .18397E-03   -1.5599    
  11  Prefactor     20.032        66.027        .22235E-03   -1.5618    
  12  norm          8.8593        5.3936        .33368E-03   -1.5648    
  13  norm           .0000        1.9472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.2542        293.44        .46197E-03   -1.5667    
  15  Prefactor     50.833        38.321        .14013E-03   -1.5565    
  16  Prefactor     32.912        15.891        .17431E-03   -1.5593    
  17  Prefactor     .43410E-06    13.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .30642E-07    7.3108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.9843        16.794        .35472E-03   -1.5651    
  20  Prefactor     36.966        46.902        .16419E-03   -1.5586    
  21  Prefactor      .0000        22.127        .17288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.8563        28.832        .31991E-03   -1.5645    
  23  Prefactor     .35044E-06    11.502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .37298E-06    14.163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        .85421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .71981E-06    10.335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .92848        .14688        .45255E-01   -.95466    
  28  Prefactor     .89735        .10730        .44973E-01   -.96234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97315e-06
Minuit parameter uncertainties:
  1  10.0715
  2  0.0795897
  3  0.00304405
  4  0.00257538
  5  4.43084
  6  0.000147962
  7  1.14588
  8  5.76922e-06
  9  3.70993
  10  12.0722
  11  66.0296
  12  5.39361
  13  1.89007e-06
  14  70.6673
  15  38.3212
  16  15.8905
  17  0.00477471
  18  0.00094641
  19  16.7943
  20  46.9029
  21  3.23142e-05
  22  28.8328
  23  0.00401523
  24  0.00459682
  25  5.81387e-06
  26  0.00545498
  27  0.146943
  28  0.107325
Done.

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

Extracting fit parameters...

4FGL J1319.8+7759
   Spectrum: PowerLaw
383    Prefactor:  5.083e+01  3.832e+01  0.000e+00  1.000e+06 ( 1.000e-14)
384        Index:  2.047e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
385        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  8.973e-01  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.285e-01  1.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.50
Ra Dec: 199.966 77.988
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 2.00e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.24e-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) = 8379.90926811
delta logL = 0.727824008936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8379.88383714
delta logL = 0.753254981113

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8379.884     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      249 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.742        53.909        .25458E-04   -.62519E-04
   2  Index         1.4037        .51296        .97625E-02   -.88378E-04
   3  Normalizat    .94213        .15140        .26909E-03   -.13350E-04
   4  Prefactor     .89466        .11524        .20856E-03    .78932E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.7424
  Index      = 1.40371
  Normalizat = 0.942125
  Prefactor  = 0.89466
 **********
 **   18 **HESSE 
 **********

 FCN=   8379.884     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.742        54.451        .10183E-05   -1.5551    
   2  Index         1.4037        .51813        .19525E-02   -.80273    
   3  Normalizat    .94213        .15149        .10764E-04   -.94995    
   4  Prefactor     .89466        .11531        .83423E-05   -.96328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46102e-11
Minuit parameter uncertainties:
  1  54.4513
  2  0.520071
  3  0.151556
  4  0.115344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/486574': 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) = 8379.88383706
delta logL = 0.753255058053

Extracting fit parameters...

4FGL J1319.8+7759
   Spectrum: PowerLaw
383    Prefactor:  6.174e+01  5.445e+01  0.000e+00  1.000e+06 ( 1.000e-14)
384        Index:  1.404e+00  5.201e-01  0.000e+00  1.000e+01 (-1.000e+00)
385        Scale:  2.178e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  8.947e-01  1.153e-01  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  9.421e-01  1.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.00
Ra Dec: 199.966 77.988
Photon Index (Free Index): 1.40 +/- 0.52
Photon Flux (Free Index): 1.08e-08 +/- 1.30e-08
Energy Flux (Free Index): 4.73e-05 +/- 5.59e-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/486574/cmap_HighResolution_698112001_698371201_4FGL_J1319.8+7759_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='4.73e-05', photon_flux_error='2.00e-08', dlogl='7.53e-01', energy_flux='1.64e-05', photon_flux2='1.08e-08', job_status='DONE', time_completed='2023-02-18 01:02:31.451989', photon_index_error2='0.52', photon_index2='1.40', ts='10.50', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='5.59e-05', EG='0.93', time_epoch_completed='1676710951.45', return_code='0', job_id='486574', GAL2='0.89', EG2='0.94', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='1.30e-08', ts2='12.00', photon_index='2.05' WHERE bin_id='1770' AND source_name='4FGL J1319.8+7759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:02:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 486574: <4FGL_J1319.8+7759_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1319.8+7759_daily_bin1770> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Feb 18 00:50:17 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:50:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:50:18 2023
Terminated at Sat Feb 18 01:02:32 2023
Results reported at Sat Feb 18 01:02:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1319.8+7759_daily_bin1770 199.966 77.9882 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1319.8+7759 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   648.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            735 sec.

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

