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 30 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_J1324.9+4748_daily_bin1746
RA = 201.24, Dec = 47.8086
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='727277', job_status='RUN', time_executed='2022-12-08 00:55:54.344105', time_epoch_executed='1670489754.34' WHERE source_name='4FGL J1324.9+4748' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/727277

Creating custom pfile directory:
/scratch/kocevski/727277/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/727277/ft1_4FGL_J1324.9+4748_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/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/727277/ft1_4FGL_J1324.9+4748_daily_bin1746.fits outfile=/scratch/kocevski/727277/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1746.fits ra=201.24 dec=47.8086 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.79
user 4.53
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_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/727277/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/727277/ft1_filtered_4FGL_J1324.9+4748_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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 619

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/727277/ft1_filtered_4FGL_J1324.9+4748_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/727277/ltcube_691891201_692150401_4FGL_J1324.9+4748_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/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits
.....................!
real 12.06
user 11.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/727277/ft1_filtered_4FGL_J1324.9+4748_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/727277/ltcube_691891201_692150401_4FGL_J1324.9+4748_daily_bin1746.fits outfile=/scratch/kocevski/727277/expmap_691891201_692150401_4FGL_J1324.9+4748_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/727277/ltcube_691891201_692150401_4FGL_J1324.9+4748_daily_bin1746.fits
.....................!
real 191.31
user 185.72
sys 5.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 211 point sources and 0 extended sources

Setting source of interest to:
4FGL J1324.9+4748 @ 201.24 47.8086

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/727277/ft1_filtered_4FGL_J1324.9+4748_daily_bin1746.fits scfile=/scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits outfile=/scratch/kocevski/727277/cmap_691891201_692150401_4FGL_J1324.9+4748_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=201.24 yref=47.8086 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.59
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/727277/ft1_filtered_4FGL_J1324.9+4748_daily_bin1746.fits scfile=/scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits outfile=/scratch/kocevski/727277/cmap_HighResolution_691891201_692150401_4FGL_J1324.9+4748_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=201.24 yref=47.8086 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/727277/ft1_filtered_4FGL_J1324.9+4748_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/727277/Model_4FGL_J1324.9+4748_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/727277/ft1_filtered_4FGL_J1324.9+4748_daily_bin1746.fits.....................!
real 56.11
user 54.71
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/727277/ft1_filtered_4FGL_J1324.9+4748_daily_bin1746.fits', '/scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits', expMap='/scratch/kocevski/727277/expmap_691891201_692150401_4FGL_J1324.9+4748_daily_bin1746.fits', expCube='/scratch/kocevski/727277/ltcube_691891201_692150401_4FGL_J1324.9+4748_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/727277/Model_4FGL_J1324.9+4748_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1324.9+4748'

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  9.462e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.674e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  6.942e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/727277/ft1_filtered_4FGL_J1324.9+4748_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/727277/ft2_4FGL_J1324.9+4748_daily_bin1746.fits
Exposure map: /scratch/kocevski/727277/expmap_691891201_692150401_4FGL_J1324.9+4748_daily_bin1746.fits
Exposure cube: /scratch/kocevski/727277/ltcube_691891201_692150401_4FGL_J1324.9+4748_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/727277/Model_4FGL_J1324.9+4748_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) = 6817.21833115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6158       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17911E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.5762       1.0000          .0000       .10000E+07
     4 'norm      '    .51492E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29396E-02   1.0000          .0000       .10000E+07
     6 'norm      '    2.1948       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10594E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11817E-02   1.0000          .0000       .10000E+07
     9 'norm      '    16.144       1.0000          .0000       .10000E+07
    10 'norm      '    .61434E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .77673       1.0000          .0000       .10000E+07
    12 'Prefactor '    .33189E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .15491E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9796       1.0000          .0000       .10000E+07
    15 'norm      '    1.4108       1.0000          .0000       .10000E+07
    16 'norm      '    .58409E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .15116E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17343E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10353E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .95439E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12143E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .30124E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .61970E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .33705E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1200       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .95294       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6817.015     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1825 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6901        6.8150        .44514E-06    .16506E-03
   2  Prefactor     .20411E-05    11.164       -.17286E-05** at limit **
   3  Prefactor     6.5269        5.1586        .17457E-06    .23579E-02
   4  norm           .0000        3.4723       -.28701E-06** at limit **
   5  Prefactor     .49988E-06    6.7313        .43761E-05** at limit **
   6  norm          2.1948        1.5263       -.41355E-06   -.39115E-02
   7  Prefactor      .0000        9.3015       -.66954E-07** at limit **
   8  Prefactor     .90777E-06    8.6295       -.15175E-05** at limit **
   9  norm          16.339        10.268        .29041E-05    .12174    
  10  norm          .55511E-10    3.6786       -.32450E-06** at limit **
  11  Prefactor     .62793E-05    385.75       -.15534E-04** at limit **
  12  Prefactor     .33146E-06    6.8432        .16896E-05** at limit **
  13  norm           .0000        4.1268       -.73429E-06** at limit **
  14  Prefactor     7.7797        9.1593        .32315E-05   -.17961E-01
  15  norm          1.4109        .98092        .65051E-07    .21857E-02
  16  norm          .16653E-09    8.6474       -.60217E-06** at limit **
  17  norm           .0000        3.8985       -.19117E-06** at limit **
  18  Prefactor     .55511E-10    10.388       -.76925E-07** at limit **
  19  Prefactor     .29207E-05    56.314        .93906E-05** at limit **
  20  Prefactor      .0000        4.2872       -.66334E-06** at limit **
  21  Prefactor     .30405E-05    52.057       -.11764E-04** at limit **
  22  Prefactor     .55511E-10    1.8173       -.58000E-07** at limit **
  23  Prefactor     .56116E-06    6.7578        .10129E-06** at limit **
  24  Prefactor     .26421E-05    16.756        .28541E-06** at limit **
  25  Normalizat    1.1208        .17354       -.13299E-04    .25015E-05
  26  Prefactor     .95238        .21743       -.14192E-04   -.13219E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.69015
  Prefactor  = 2.04109e-06
  Prefactor  = 6.52692
  norm       = 0
  Prefactor  = 4.99878e-07
  norm       = 2.19481
  Prefactor  = 0
  Prefactor  = 9.07774e-07
  norm       = 16.3385
  norm       = 5.55112e-11
  Prefactor  = 6.27931e-06
  Prefactor  = 3.31457e-07
  norm       = 0
  Prefactor  = 7.77972
  norm       = 1.41092
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.92066e-06
  Prefactor  = 0
  Prefactor  = 3.04046e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 5.61162e-07
  Prefactor  = 2.64205e-06
  Normalizat = 1.12079
  Prefactor  = 0.952385
 **********
 **   18 **HESSE 
 **********

 FCN=   6817.015     FROM HESSE     STATUS=OK           508 CALLS     2333 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6901        6.8465        .63039E-03   -1.5675    
   2  Prefactor     .20411E-05    19.787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.5269        5.1727        .39109E-03   -1.5657    
   4  norm           .0000        3.3905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49988E-06    14.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1948        1.5282        .69433E-03   -1.5678    
   7  Prefactor      .0000        9.2972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .90777E-06    16.473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.339        16.503        .24901E-03   -1.5627    
  10  norm          .55511E-10    3.6599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .62793E-05    21.322        .99833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33146E-06    15.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        4.0899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.7797        54.528        .35471E-03   -1.5652    
  15  norm          1.4109        .99339        .91172E-03   -1.5684    
  16  norm          .16653E-09    1.6469        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        3.9055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    13.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .29207E-05    63.450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        4.2525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .30405E-05    58.150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    1.8015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .56116E-06    21.117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .26421E-05    22.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1208        .15118        .37241E-01   -.89087    
  26  Prefactor     .95238        .18726        .45676E-01   -.94334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.67938e-07
Minuit parameter uncertainties:
  1  6.84656
  2  0.0127101
  3  5.17267
  4  1.86918e-05
  5  0.00536066
  6  1.52817
  7  2.43444e-05
  8  0.00773408
  9  16.5031
  10  2.52844e-05
  11  0.023142
  12  0.00457877
  13  1.15754e-05
  14  41.1932
  15  0.993388
  16  3.23686e-05
  17  1.05932e-05
  18  4.50451e-05
  19  0.0272266
  20  1.68141e-05
  21  0.0265938
  22  2.05038e-05
  23  0.00688475
  24  0.0153509
  25  0.151234
  26  0.187385
Done.

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

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  6.279e-06  2.314e-02  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.674e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  6.942e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.524e-01  1.874e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  1.121e+00  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 201.240 47.809
Photon Flux Upper Limit: 6.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/727277/likelihoodResults_691891201_692150401_4FGL_J1324.9+4748_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): 102
logL (Free Index) = 6817.01691548
delta logL = -0.00240195427432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6817.01452445
delta logL = -1.09218544821e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18605E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.6744       1.0000          .0000       10.000    
     3 'Normalizat'    1.1206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95222       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6817.015     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      276 TOTAL
                     EDM=   .88E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85014E-05    .70046        .96391E-02** at limit **
   2  Index         2.4846        7.1119        .50000        .30013E-08
   3  Normalizat    1.1208        .55774E-03    .37219E-01   -.86937E-03
   4  Prefactor     .95238        .69952E-03    .45667E-01   -.68581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.50142e-06
  Index      = 2.48459
  Normalizat = 1.12078
  Prefactor  = 0.952385
 **********
 **   18 **HESSE 
 **********

 FCN=   6817.015     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      315 TOTAL
                     EDM=   .51E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85014E-05    .40773        .12340E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4846        7.3592        .50000       -.52716    
   3  Normalizat    1.1208        .50380E-03    .20803E-03   -.89087    
   4  Prefactor     .95238        .63165E-03    .27914E-03   -.94334    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.05425e-13
Minuit parameter uncertainties:
  1  0.0037236
  2  94.7218
  3  0.000503804
  4  0.000631652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/727277': 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): 102
logL (Free Index) = 6817.01451352
delta logL = 6.04177330388e-09

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  8.501e-06  3.724e-03  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.485e+00  9.472e+01  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  6.942e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  9.524e-01  6.317e-04  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  1.121e+00  5.038e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 201.240 47.809

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/727277/cmap_HighResolution_691891201_692150401_4FGL_J1324.9+4748_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.75e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2022-12-08 01:07:39.500717', job_id='727277', GAL2='0.95', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1670490459.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='6.04e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1746' AND source_name='4FGL J1324.9+4748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:07:39 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 727277: <4FGL_J1324.9+4748_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1324.9+4748_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:55:16 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:55:16 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:16 2022
Terminated at Thu Dec  8 01:07:40 2022
Results reported at Thu Dec  8 01:07:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1324.9+4748_daily_bin1746 201.24 47.8086 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1324.9+4748 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   707.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             363.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            744 sec.

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

