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


Performing analysis on: 4FGL_J1318.2+6754_daily_bin1746
RA = 199.556, Dec = 67.9152
tmin = 691891201, tmax = 692150401
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='727241', job_status='RUN', time_executed='2022-12-08 00:56:15.694014', time_epoch_executed='1670489775.69' WHERE source_name='4FGL J1318.2+6754' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/727241

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/727241/ft1_4FGL_J1318.2+6754_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/727241/ft1_4FGL_J1318.2+6754_daily_bin1746.fits outfile=/scratch/kocevski/727241/ft1_filteredMKT_4FGL_J1318.2+6754_daily_bin1746.fits ra=199.556 dec=67.9152 rad=12.0 tmin=691891201.0 tmax=692150401.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.76
user 4.52
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.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/727241/ft1_filteredMKT_4FGL_J1318.2+6754_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 654

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/727241/ltcube_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.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/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits
.....................!
real 12.12
user 11.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/727241/ltcube_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.fits outfile=/scratch/kocevski/727241/expmap_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.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/727241/ltcube_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.fits
.....................!
real 191.10
user 185.76
sys 4.98

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

Setting source of interest to:
4FGL J1318.2+6754 @ 199.556 67.9152

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.fits scfile=/scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits outfile=/scratch/kocevski/727241/cmap_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.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.556 yref=67.9152 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/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.fits scfile=/scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits outfile=/scratch/kocevski/727241/cmap_HighResolution_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.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.556 yref=67.9152 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/727241/Model_4FGL_J1318.2+6754_daily_bin1746.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/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.fits.....................!
real 67.85
user 66.46
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.fits', '/scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits', expMap='/scratch/kocevski/727241/expmap_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.fits', expCube='/scratch/kocevski/727241/ltcube_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/727241/Model_4FGL_J1318.2+6754_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.2+6754'

4FGL J1318.2+6754
   Spectrum: PowerLaw
391    Prefactor:  6.773e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
392        Index:  2.168e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  1.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/727241/ft1_filtered_4FGL_J1318.2+6754_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/727241/ft2_4FGL_J1318.2+6754_daily_bin1746.fits
Exposure map: /scratch/kocevski/727241/expmap_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.fits
Exposure cube: /scratch/kocevski/727241/ltcube_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/727241/Model_4FGL_J1318.2+6754_daily_bin1746.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) = 7228.49507659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.769       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.2089       1.0000          .0000       .10000E+07
     3 'norm      '    2.1424       1.0000          .0000       .10000E+07
     4 'norm      '    3.3293       1.0000          .0000       .10000E+07
     5 'Prefactor '    .91456       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32503E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    20.174       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12200E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .36091E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.4622       1.0000          .0000       .10000E+07
    11 'norm      '    2.0428       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.897       1.0000          .0000       .10000E+07
    13 'Prefactor '    .86051E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .78510E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .22151E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.787       1.0000          .0000       .10000E+07
    17 'Prefactor '    .26985       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.352       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.3927       1.0000          .0000       .10000E+07
    20 'Prefactor '    .41090E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .25845E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .15838       1.0000          .0000       .10000E+07
    23 'Prefactor '    .25080E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    26.715       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0814       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .78561       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7228.443     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1782 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.737        3.7270       -.13941E-06   -.62754E-01
   2  Prefactor     4.2090        3.1286       -.12521E-06    .12438E-03
   3  norm          2.0976        11.880        .42337E-06   -.30766E-02
   4  norm          3.2103        5.0299        .41107E-06    .87345E-02
   5  Prefactor     .99838        2.1229       -.25797E-06   -.38330E-01
   6  Prefactor     .50071E-07    5.1883       -.95562E-06** at limit **
   7  Prefactor     20.881        4.4006        .94003E-07    .71704E-02
   8  Prefactor     .16653E-09    3.3368       -.55439E-06** at limit **
   9  norm           .0000        3.6901       -.17593E-06** at limit **
  10  Prefactor     5.4608        4.8260       -.14603E-06   -.47173E-03
  11  norm          2.0418        1.7081        .28504E-06    .26719E-02
  12  Prefactor     27.662        35.560        .50068E-06   -.43880E-01
  13  Prefactor     .33760E-05    5.0845       -.74256E-07** at limit **
  14  Prefactor     .16927E-05    36.392       -.10176E-05** at limit **
  15  Prefactor     .11331E-05    13.910        .19376E-05** at limit **
  16  Prefactor     17.779        2.6664       -.94771E-07    .31829E-02
  17  Prefactor     .27055        6.1741        .16315E-05   -.41492E-05
  18  Prefactor     15.245        11.895       -.48791E-06    .18553E-01
  19  Prefactor     7.3913        4.2357       -.31693E-06   -.25147E-01
  20  Prefactor     .20555E-05    5.0334       -.47520E-06** at limit **
  21  Prefactor     .68495E-05    10.702       -.18466E-05** at limit **
  22  Prefactor     .18908        7.7609        .30442E-06** at limit **
  23  Prefactor     .26915E-05    116.07       -.19947E-05** at limit **
  24  Prefactor     26.948        1.4953        .33673E-07   -.88147E-02
  25  Normalizat    1.0812        .16450        .15999E-05    .66121E-04
  26  Prefactor     .78525        .17608       -.19788E-05    .41382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.7372
  Prefactor  = 4.20895
  norm       = 2.09763
  norm       = 3.21027
  Prefactor  = 0.998379
  Prefactor  = 5.00711e-08
  Prefactor  = 20.8809
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 5.46076
  norm       = 2.04177
  Prefactor  = 27.6622
  Prefactor  = 3.37602e-06
  Prefactor  = 1.6927e-06
  Prefactor  = 1.13315e-06
  Prefactor  = 17.7788
  Prefactor  = 0.270551
  Prefactor  = 15.2454
  Prefactor  = 7.39128
  Prefactor  = 2.05547e-06
  Prefactor  = 6.84947e-06
  Prefactor  = 0.189084
  Prefactor  = 2.69151e-06
  Prefactor  = 26.9476
  Normalizat = 1.08119
  Prefactor  = 0.78525
 **********
 **   18 **HESSE 
 **********

 FCN=   7228.443     FROM HESSE     STATUS=OK           528 CALLS     2310 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.737        13.650        .30506E-03   -1.5642    
   2  Prefactor     4.2090        3.1407        .49096E-03   -1.5667    
   3  norm          2.0976        12.245        .70386E-03   -1.5679    
   4  norm          3.2103        6.4410        .55450E-03   -1.5672    
   5  Prefactor     .99838        10.077        .44759E-03   -1.5688    
   6  Prefactor     .50071E-07    19.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.881        30.502        .22271E-03   -1.5617    
   8  Prefactor     .16653E-09    3.3469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        3.6181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.4608        4.8240        .42970E-03   -1.5661    
  11  norm          2.0418        1.7121        .72319E-03   -1.5679    
  12  Prefactor     27.662        37.487        .19654E-03   -1.5603    
  13  Prefactor     .33760E-05    19.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16927E-05    38.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11331E-05    15.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.779        19.695        .23720E-03   -1.5624    
  17  Prefactor     .27055        1.4798        .56135E-02   -1.5698    
  18  Prefactor     15.245        13.107        .25536E-03   -1.5630    
  19  Prefactor     7.3913        12.794        .36864E-03   -1.5654    
  20  Prefactor     .20555E-05    18.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .68495E-05    20.517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .18908        7.9843        .91808E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .26915E-05    14.894        .11655E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     26.948        27.122        .19351E-03   -1.5604    
  25  Normalizat    1.0812        .14222        .38813E-01   -.90358    
  26  Prefactor     .78525        .15281        .43530E-01   -1.0027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09841e-06
Minuit parameter uncertainties:
  1  13.6496
  2  3.14067
  3  10.1362
  4  6.44101
  5  6.3436
  6  0.00197593
  7  30.502
  8  4.66753e-05
  9  1.50297e-05
  10  4.82403
  11  1.71207
  12  37.4874
  13  0.0163645
  14  0.0162129
  15  0.00839862
  16  19.6948
  17  1.2655
  18  13.1073
  19  12.7943
  20  0.0122403
  21  0.0237095
  22  2.45739
  23  0.0126632
  24  27.1216
  25  0.142274
  26  0.152893
Done.

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

Extracting fit parameters...

4FGL J1318.2+6754
   Spectrum: PowerLaw
391    Prefactor:  1.693e-06  1.621e-02  0.000e+00  1.000e+06 ( 1.000e-14)
392        Index:  2.168e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  1.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
734    Prefactor:  7.853e-01  1.529e-01  0.000e+00  1.000e+01 ( 1.000e+00)
735        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
736        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
733   Normalization:  1.081e+00  1.423e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.556 67.915
Photon Flux Upper Limit: 3.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/727241/likelihoodResults_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.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) = 7228.45568922
delta logL = -0.0124765063811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7228.4431097
delta logL = 0.000103020802271

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7228.443     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      276 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    2.3883        .42118E-03** at limit **
   2  Index         .23178        5.4760        .50000       -.50022E-10
   3  Normalizat    1.0812        .13799        .38878E-01    .68036E-04
   4  Prefactor     .78525        .15071        .43536E-01    .32115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 0.231778
  Normalizat = 1.08119
  Prefactor  = 0.78525
 **********
 **   18 **HESSE 
 **********

 FCN=   7228.443     FROM HESSE     STATUS=OK            29 CALLS      305 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.3514        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .23178        5.4634        .51000       -1.2651    
   3  Normalizat    1.0812        .16009        .20645E-03   -.90358    
   4  Prefactor     .78525        .17477        .25917E-03   -1.0027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93422e-11
Minuit parameter uncertainties:
  1  1.67538e-05
  2  1.50515
  3  0.160161
  4  0.174894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/727241': 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) = 7228.4432127
delta logL = 2.17705746763e-08

Extracting fit parameters...

4FGL J1318.2+6754
   Spectrum: PowerLaw
391    Prefactor:  5.551e-11  1.675e-05  0.000e+00  1.000e+06 ( 1.000e-14)
392        Index:  2.318e-01  1.505e+00  0.000e+00  1.000e+01 (-1.000e+00)
393        Scale:  1.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
734    Prefactor:  7.852e-01  1.749e-01  0.000e+00  1.000e+01 ( 1.000e+00)
735        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
736        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
733   Normalization:  1.081e+00  1.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.556 67.915

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/727241/cmap_HighResolution_691891201_692150401_4FGL_J1318.2+6754_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.93e-03', job_status='DONE', photon_flux_upper_limit='3.85e-08', time_completed='2022-12-08 01:09:18.175655', job_id='727241', GAL2='0.79', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1670490558.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1746' AND source_name='4FGL J1318.2+6754' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:09:18 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 727241: <4FGL_J1318.2+6754_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1318.2+6754_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:55:14 2022
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:55:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:55:15 2022
Terminated at Thu Dec  8 01:09:18 2022
Results reported at Thu Dec  8 01:09:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1318.2+6754_daily_bin1746 199.556 67.9152 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1318.2+6754 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   783.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             335.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            844 sec.

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

