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


Performing analysis on: 4FGL_J1324.9+4748_daily_bin1765
RA = 201.24, Dec = 47.8086
tmin = 696816001, tmax = 697075201
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='635459', job_status='RUN', time_executed='2023-02-03 01:04:08.043274', time_epoch_executed='1675415048.04' WHERE source_name='4FGL J1324.9+4748' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635459

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635459/ft1_4FGL_J1324.9+4748_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635459/ft2_4FGL_J1324.9+4748_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635459/ft1_4FGL_J1324.9+4748_daily_bin1765.fits outfile=/scratch/kocevski/635459/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1765.fits ra=201.24 dec=47.8086 rad=12.0 tmin=696816001.0 tmax=697075201.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.71
user 3.48
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/635459/ft2_4FGL_J1324.9+4748_daily_bin1765.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/635459/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/635459/ft1_filtered_4FGL_J1324.9+4748_daily_bin1765.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: 563

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635459/ft1_filtered_4FGL_J1324.9+4748_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/635459/ft2_4FGL_J1324.9+4748_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/635459/ltcube_696816001_697075201_4FGL_J1324.9+4748_daily_bin1765.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/635459/ft2_4FGL_J1324.9+4748_daily_bin1765.fits
.....................!
real 16.79
user 16.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635459/ft1_filtered_4FGL_J1324.9+4748_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/635459/ft2_4FGL_J1324.9+4748_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/635459/ltcube_696816001_697075201_4FGL_J1324.9+4748_daily_bin1765.fits outfile=/scratch/kocevski/635459/expmap_696816001_697075201_4FGL_J1324.9+4748_daily_bin1765.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/635459/ltcube_696816001_697075201_4FGL_J1324.9+4748_daily_bin1765.fits
.....................!
real 191.56
user 186.39
sys 4.70

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/635459/ft1_filtered_4FGL_J1324.9+4748_daily_bin1765.fits scfile=/scratch/kocevski/635459/ft2_4FGL_J1324.9+4748_daily_bin1765.fits outfile=/scratch/kocevski/635459/cmap_696816001_697075201_4FGL_J1324.9+4748_daily_bin1765.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/635459/ft1_filtered_4FGL_J1324.9+4748_daily_bin1765.fits scfile=/scratch/kocevski/635459/ft2_4FGL_J1324.9+4748_daily_bin1765.fits outfile=/scratch/kocevski/635459/cmap_HighResolution_696816001_697075201_4FGL_J1324.9+4748_daily_bin1765.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.57
user 0.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5090       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28852E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.1371       1.0000          .0000       .10000E+07
     4 'norm      '    .14717E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46420E-02   1.0000          .0000       .10000E+07
     6 'norm      '    1.5967       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13253E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    21.863       1.0000          .0000       .10000E+07
     9 'norm      '    9.1107       1.0000          .0000       .10000E+07
    10 'norm      '    .19520E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    61.950       1.0000          .0000       .10000E+07
    12 'Prefactor '    .80593E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .91733E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9781       1.0000          .0000       .10000E+07
    15 'norm      '    .21283E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .44315       1.0000          .0000       .10000E+07
    17 'norm      '    13.735       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.5505       1.0000          .0000       .10000E+07
    19 'Prefactor '    29.453       1.0000          .0000       .10000E+07
    20 'Prefactor '    .32502E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .10002       1.0000          .0000       .10000E+07
    22 'Prefactor '    2.1040       1.0000          .0000       .10000E+07
    23 'Prefactor '    .77929E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .12704E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .94912       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0852       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=   6184.755     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     2264 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5282        4.4311       -.40436E-06    .77529E-03
   2  Prefactor     .12768E-08    5.0127        .10696E-05** at limit **
   3  Prefactor     8.1494        5.4603       -.13731E-06    .44570E-02
   4  norm          .55511E-10    1.2033       -.23709E-08** at limit **
   5  Prefactor     .38858E-09    7.6922        .22050E-06** at limit **
   6  norm          1.5991        1.3087        .47129E-07   -.66777E-02
   7  Prefactor     .11102E-09    3.5260       -.71097E-06** at limit **
   8  Prefactor     21.968        5.0899       -.90344E-06    .79187E-01
   9  norm          9.1323        2.5949        .75312E-06    .64370E-01
  10  norm           .0000        1.2426        .66162E-08** at limit **
  11  Prefactor     63.487        33.998       -.30524E-05    .55602E-01
  12  Prefactor     .14322E-07    16.634        .25569E-05** at limit **
  13  norm          .11102E-09    3.0868        .13188E-05** at limit **
  14  Prefactor     12.094        63.805        .10466E-04   -.37033E-02
  15  norm           .0000        .40450        .57435E-07** at limit **
  16  norm          .40468        9.7840       -.72310E-05   -.69474E-03
  17  norm          13.869        2.2967       -.66861E-06   -.28780E-01
  18  Prefactor     3.5537        1.2770        .55150E-06   -.58656E-02
  19  Prefactor     30.006        14.651       -.15712E-05   -.84591E-01
  20  Prefactor     .55511E-10    1.9145        .13165E-06** at limit **
  21  Prefactor     .51459E-07    51.823        .24468E-05** at limit **
  22  Prefactor     2.1062        2.2659        .27555E-06   -.29086E-02
  23  Prefactor     .18985E-07    11.736       -.74711E-05** at limit **
  24  Prefactor     .43243E-07    12.163        .64415E-05** at limit **
  25  Normalizat    .94446        .18545       -.13115E-04    .17720E-03
  26  Prefactor     1.0870        .22507        .18871E-04    .68152E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.52817
  Prefactor  = 1.27676e-09
  Prefactor  = 8.14942
  norm       = 5.55112e-11
  Prefactor  = 3.88578e-10
  norm       = 1.59913
  Prefactor  = 1.11022e-10
  Prefactor  = 21.9682
  norm       = 9.13234
  norm       = 0
  Prefactor  = 63.4867
  Prefactor  = 1.43219e-08
  norm       = 1.11022e-10
  Prefactor  = 12.0945
  norm       = 0
  norm       = 0.404678
  norm       = 13.8686
  Prefactor  = 3.55369
  Prefactor  = 30.0062
  Prefactor  = 5.55112e-11
  Prefactor  = 5.14588e-08
  Prefactor  = 2.10616
  Prefactor  = 1.89848e-08
  Prefactor  = 4.32432e-08
  Normalizat = 0.944457
  Prefactor  = 1.08705
 **********
 **   18 **HESSE 
 **********

 FCN=   6184.755     FROM HESSE     STATUS=OK           520 CALLS     2784 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5282        4.4370        .53946E-03   -1.5670    
   2  Prefactor     .12768E-08    5.0186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.1494        5.4646        .35123E-03   -1.5651    
   4  norm          .55511E-10    1.2028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38858E-09    7.6808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5991        1.3013        .83896E-03   -1.5683    
   7  Prefactor     .11102E-09    3.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.968        21.018        .21392E-03   -1.5614    
   9  norm          9.1323        10.011        .33180E-03   -1.5648    
  10  norm           .0000        1.2358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     63.487        37.181        .12706E-03   -1.5549    
  12  Prefactor     .14322E-07    16.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11102E-09    3.0559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.094        64.572        .35474E-03   -1.5638    
  15  norm           .0000        .40370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .40468        2.4643        .63067E-02   -1.5695    
  17  norm          13.869        14.254        .27001E-03   -1.5633    
  18  Prefactor     3.5537        48.305        .53616E-03   -1.5670    
  19  Prefactor     30.006        32.823        .18429E-03   -1.5598    
  20  Prefactor     .55511E-10    1.9069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .51459E-07    12.118        .94527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.1062        2.3144        .71111E-03   -1.5679    
  23  Prefactor     .18985E-07    12.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .43243E-07    12.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .94446        .15814        .45526E-01   -.94915    
  26  Prefactor     1.0870        .18928        .59965E-01   -.89882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.01767e-07
Minuit parameter uncertainties:
  1  4.43703
  2  0.000160262
  3  5.4646
  4  1.86169e-05
  5  0.000107169
  6  1.30129
  7  4.31453e-05
  8  21.0176
  9  10.011
  10  5.58234e-06
  11  37.1814
  12  0.000978652
  13  3.63573e-05
  14  55.8926
  15  4.38148e-06
  16  1.99723
  17  14.2538
  18  26.2041
  19  32.8232
  20  2.33878e-05
  21  0.00157949
  22  2.31442
  23  0.000956419
  24  0.00148148
  25  0.15822
  26  0.189398
Done.

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

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  6.349e+01  3.718e+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:  1.087e+00  1.894e-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:  9.445e-01  1.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.26
Ra Dec: 201.240 47.809
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 6.75e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 9.72e-06

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) = 6184.64771915
delta logL = 0.107328084207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6184.64216598
delta logL = 0.112881254673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.370       1.0000          .0000       .10000E+07
     2 'Index     '    2.9576       1.0000          .0000       10.000    
     3 'Normalizat'    .93039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0992       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6184.642     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      281 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.365        46.881        .56933E-05    .33699E-02
   2  Index         2.9573        .67658        .55214E-02    .16298E-03
   3  Normalizat    .93039        .18206        .22554E-03   -.45930E-03
   4  Prefactor     1.0993        .22552        .26393E-03   -.41760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.3648
  Index      = 2.95734
  Normalizat = 0.93039
  Prefactor  = 1.09927
 **********
 **   18 **HESSE 
 **********

 FCN=   6184.642     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.365        43.259        .11387E-05   -1.5567    
   2  Index         2.9573        .62396        .22086E-03   -.42085    
   3  Normalizat    .93039        .18209        .45107E-04   -.95400    
   4  Prefactor     1.0993        .22552        .52785E-04   -.89490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14676e-10
Minuit parameter uncertainties:
  1  43.259
  2  0.625923
  3  0.182213
  4  0.225714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635459': 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) = 6184.64216557
delta logL = 0.112881662976

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  4.936e+01  4.326e+01  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.957e+00  6.259e-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:  1.099e+00  2.257e-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:  9.304e-01  1.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.50
Ra Dec: 201.240 47.809
Photon Index (Free Index): 2.96 +/- 0.63
Photon Flux (Free Index): 7.78e-08 +/- 4.70e-08
Energy Flux (Free Index): 1.59e-05 +/- 9.09e-06

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/635459/cmap_HighResolution_696816001_697075201_4FGL_J1324.9+4748_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.75e-08', energy_flux2='1.59e-05', photon_flux_error='3.95e-08', dlogl='1.13e-01', energy_flux='1.66e-05', photon_flux2='7.78e-08', job_status='DONE', time_completed='2023-02-03 01:15:12.834904', photon_index_error2='0.63', photon_index2='2.96', ts='4.26', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='9.09e-06', EG='0.94', time_epoch_completed='1675415712.83', return_code='0', job_id='635459', GAL2='1.10', EG2='0.93', return_code2='0', energy_flux_error='9.72e-06', photon_flux_error2='4.70e-08', ts2='4.50', photon_index='2.67' WHERE bin_id='1765' AND source_name='4FGL J1324.9+4748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:15:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 635459: <4FGL_J1324.9+4748_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1324.9+4748_daily_bin1765> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Feb  3 01:00:26 2023
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:01:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:01:26 2023
Terminated at Fri Feb  3 01:15:13 2023
Results reported at Fri Feb  3 01:15:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1324.9+4748_daily_bin1765 201.24 47.8086 696816001 697075201 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 :                                   666.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            887 sec.

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

