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


Performing analysis on: 4FGL_J1324.9+4748_daily_bin1735
RA = 201.24, Dec = 47.8086
tmin = 689040001, tmax = 689299201
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='987830', job_status='RUN', time_executed='2022-11-05 08:33:16.237683', time_epoch_executed='1667662396.24' WHERE source_name='4FGL J1324.9+4748' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/987830

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/987830/ft1_4FGL_J1324.9+4748_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/987830/ft1_4FGL_J1324.9+4748_daily_bin1735.fits outfile=/scratch/kocevski/987830/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1735.fits ra=201.24 dec=47.8086 rad=12.0 tmin=689040001.0 tmax=689299201.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.67
user 3.44
sys 0.18

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

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

Number of photons that the gtmktime cut: 472

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/987830/ft1_filtered_4FGL_J1324.9+4748_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/987830/ltcube_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.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/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits
.....................!
real 12.08
user 11.69
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/987830/ft1_filtered_4FGL_J1324.9+4748_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/987830/ltcube_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.fits outfile=/scratch/kocevski/987830/expmap_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.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/987830/ltcube_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.fits
.....................!
real 190.22
user 184.78
sys 5.08

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/987830/ft1_filtered_4FGL_J1324.9+4748_daily_bin1735.fits scfile=/scratch/kocevski/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits outfile=/scratch/kocevski/987830/cmap_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/987830/ft1_filtered_4FGL_J1324.9+4748_daily_bin1735.fits scfile=/scratch/kocevski/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits outfile=/scratch/kocevski/987830/cmap_HighResolution_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/987830/ft1_filtered_4FGL_J1324.9+4748_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/987830/Model_4FGL_J1324.9+4748_daily_bin1735.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/987830/ft1_filtered_4FGL_J1324.9+4748_daily_bin1735.fits.....................!
real 44.71
user 42.81
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/987830/ft1_filtered_4FGL_J1324.9+4748_daily_bin1735.fits', '/scratch/kocevski/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits', expMap='/scratch/kocevski/987830/expmap_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.fits', expCube='/scratch/kocevski/987830/ltcube_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/987830/Model_4FGL_J1324.9+4748_daily_bin1735.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/987830/ft1_filtered_4FGL_J1324.9+4748_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/987830/ft2_4FGL_J1324.9+4748_daily_bin1735.fits
Exposure map: /scratch/kocevski/987830/expmap_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.fits
Exposure cube: /scratch/kocevski/987830/ltcube_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/987830/Model_4FGL_J1324.9+4748_daily_bin1735.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) = 5067.55618867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.407       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8863       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.8405       1.0000          .0000       .10000E+07
     4 'norm      '    2.3334       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.834       1.0000          .0000       .10000E+07
     6 'norm      '    .23711E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .59691E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    37.347       1.0000          .0000       .10000E+07
     9 'norm      '    35.897       1.0000          .0000       .10000E+07
    10 'norm      '    .11866E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    21.657       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12348E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .29096E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    22.901       1.0000          .0000       .10000E+07
    15 'norm      '    .14691E-05   1.0000          .0000       .10000E+07
    16 'norm      '    2.9244       1.0000          .0000       .10000E+07
    17 'norm      '    .13720E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .40752E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .49438E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .44963E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11153E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .24293E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    5.4070       1.0000          .0000       .10000E+07
    24 'Prefactor '    .12651       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1977       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .78663       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=   5067.552     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2303 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.370        8.7612        .46647E-07   -.22204E-02
   2  Prefactor     6.8939        3.3436       -.55436E-07    .12036E-01
   3  Prefactor     9.8339        6.9715        .69624E-07    .18039E-02
   4  norm          2.3337        2.2684        .25765E-07    .15698E-02
   5  Prefactor     15.830        1.3494        .15777E-07   -.26328E-01
   6  norm          .55054E-01    16.325       -.13454E-06** at limit **
   7  Prefactor     .41017E-06    214.81        .14969E-05** at limit **
   8  Prefactor     37.422        9.5263       -.93757E-07    .75900E-01
   9  norm          35.863        4.9610        .50196E-07   -.12848    
  10  norm           .0000        1.3521        .13026E-07** at limit **
  11  Prefactor     21.740        23.310        .27588E-06    .68823E-01
  12  Prefactor     .18707E-07    32.180       -.10603E-05** at limit **
  13  norm           .0000        1.6373        .30112E-07** at limit **
  14  Prefactor     23.001        2.2884       -.52260E-08    .15947E-01
  15  norm           .0000        1.7180        .45336E-07** at limit **
  16  norm          2.9251        2.8131       -.31373E-08   -.25018E-04
  17  norm           .0000        4.9374       -.12884E-07** at limit **
  18  Prefactor      .0000        22.548        .71688E-07** at limit **
  19  Prefactor     .16653E-09    11.623        .13409E-06** at limit **
  20  Prefactor      .0000        1.7174       -.10466E-06** at limit **
  21  Prefactor     .33307E-09    9.4942       -.14736E-06** at limit **
  22  Prefactor      .0000        1.1508        .18569E-07** at limit **
  23  Prefactor     5.5679        12.138       -.21339E-06    .22069E-01
  24  Prefactor      .0000        31.326        .12777E-06** at limit **
  25  Normalizat    1.1976        .19621       -.85186E-06    .10140E-03
  26  Prefactor     .78644        .24119        .26318E-05    .78382E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.3698
  Prefactor  = 6.89387
  Prefactor  = 9.83394
  norm       = 2.33366
  Prefactor  = 15.8299
  norm       = 0.055054
  Prefactor  = 4.10172e-07
  Prefactor  = 37.4217
  norm       = 35.8633
  norm       = 0
  Prefactor  = 21.7397
  Prefactor  = 1.87073e-08
  norm       = 0
  Prefactor  = 23.0007
  norm       = 0
  norm       = 2.9251
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 5.56793
  Prefactor  = 0
  Normalizat = 1.19762
  Prefactor  = 0.786436
 **********
 **   18 **HESSE 
 **********

 FCN=   5067.552     FROM HESSE     STATUS=OK           526 CALLS     2829 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.370        10.024        .27330E-03   -1.5635    
   2  Prefactor     6.8939        23.265        .38209E-03   -1.5655    
   3  Prefactor     9.8339        6.9866        .31920E-03   -1.5645    
   4  norm          2.3337        2.2657        .67103E-03   -1.5677    
   5  Prefactor     15.830        15.900        .25143E-03   -1.5628    
   6  norm          .55054E-01    1.2656        .46431E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .41017E-06    14.725        .63178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.422        25.074        .16365E-03   -1.5586    
   9  norm          35.863        19.913        .16692E-03   -1.5588    
  10  norm           .0000        1.3511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.740        31.375        .21494E-03   -1.5615    
  12  Prefactor     .18707E-07    32.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.6371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.001        44.176        .20902E-03   -1.5612    
  15  norm           .0000        .80468        .22044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9251        2.8214        .59378E-03   -1.5674    
  17  norm           .0000        4.9391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        22.599        .15930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16653E-09    11.589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        1.7150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .33307E-09    9.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        1.1471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.5679        32.034        .43192E-03   -1.5661    
  24  Prefactor      .0000        31.397        .13266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1976        .17685        .34947E-01   -.86676    
  26  Prefactor     .78644        .21153        .69118E-01   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.29858e-07
Minuit parameter uncertainties:
  1  10.0237
  2  23.2652
  3  6.98664
  4  2.26565
  5  15.8997
  6  0.527931
  7  0.00491508
  8  25.0741
  9  19.9132
  10  4.41848e-07
  11  31.3756
  12  0.00155769
  13  1.00961e-07
  14  44.1771
  15  3.84943e-07
  16  2.8214
  17  3.46859e-06
  18  1.12559e-05
  19  9.22172e-05
  20  6.01316e-06
  21  0.000115828
  22  8.08298e-07
  23  26.7106
  24  1.50652e-06
  25  0.17694
  26  0.211747
Done.

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

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  2.174e+01  3.138e+01  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:  7.864e-01  2.117e-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.198e+00  1.769e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.69
Ra Dec: 201.240 47.809
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/987830/likelihoodResults_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.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) = 5066.72786433
delta logL = 0.823650071168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5066.71024263
delta logL = 0.841271766197

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.041       1.0000          .0000       .10000E+07
     2 'Index     '    1.3717       1.0000          .0000       10.000    
     3 'Normalizat'    1.2230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76613       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=   5066.710     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      213 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.983        19.575        .24235E-03    .63417E-03
   2  Index         1.3707        .45511        .24207       -.58358E-04
   3  Normalizat    1.2227        .17039        .34350E-01   -.40234E-03
   4  Prefactor     .76632        .21008        .69846E-01   -.19725E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9833
  Index      = 1.37071
  Normalizat = 1.22272
  Prefactor  = 0.766318
 **********
 **   18 **HESSE 
 **********

 FCN=   5066.710     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.983        26.110        .96941E-05   -1.5626    
   2  Index         1.3707        .70983        .91335E-02   -.81228    
   3  Normalizat    1.2227        .19491        .20423E-03   -.85904    
   4  Prefactor     .76632        .23982        .30906E-03   -1.0098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63774e-10
Minuit parameter uncertainties:
  1  26.1098
  2  0.714973
  3  0.195026
  4  0.240148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/987830': 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) = 5066.71023866
delta logL = 0.841275737338

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  1.698e+01  2.611e+01  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  1.371e+00  7.150e-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:  7.663e-01  2.401e-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.223e+00  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.37
Ra Dec: 201.240 47.809
Photon Index (Free Index): 1.37 +/- 0.71
Photon Flux (Free Index): 6.02e-09 +/- 8.75e-09
Energy Flux (Free Index): 2.93e-05 +/- 5.41e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/987830/cmap_HighResolution_689040001_689299201_4FGL_J1324.9+4748_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.28e-03', comment='SUCCESS', energy_flux2='2.93e-05', dlogl='8.41e-01', photon_flux2='6.02e-09', job_status='DONE', time_completed='2022-11-05 08:43:51.998722', photon_index_error2='0.71', photon_index2='1.37', ts='0.69', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='5.41e-05', EG='1.20', time_epoch_completed='1667663032.0', return_code='0', job_id='987830', GAL2='0.77', EG2='1.22', return_code2='0', photon_flux_error2='8.75e-09', ts2='2.37', photon_index='2.67' WHERE bin_id='1735' AND source_name='4FGL J1324.9+4748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 08:43:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 987830: <4FGL_J1324.9+4748_daily_bin1735> in cluster <slac> Done

Job <4FGL_J1324.9+4748_daily_bin1735> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Nov  5 08:30:19 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 08:30:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 08:30:21 2022
Terminated at Sat Nov  5 08:43:52 2022
Results reported at Sat Nov  5 08:43:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1324.9+4748_daily_bin1735 201.24 47.8086 689040001 689299201 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 :                                   637.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

