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


Performing analysis on: 4FGL_J1324.9+4748_daily_bin1762
RA = 201.24, Dec = 47.8086
tmin = 696038401, tmax = 696297601
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='110541', job_status='RUN', time_executed='2023-01-25 01:01:37.520187', time_epoch_executed='1674637297.52' WHERE source_name='4FGL J1324.9+4748' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110541

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110541/ft1_4FGL_J1324.9+4748_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110541/ft2_4FGL_J1324.9+4748_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110541/ft1_4FGL_J1324.9+4748_daily_bin1762.fits outfile=/scratch/kocevski/110541/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1762.fits ra=201.24 dec=47.8086 rad=12.0 tmin=696038401.0 tmax=696297601.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.65
user 3.41
sys 0.22

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

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

Number of photons that the gtmktime cut: 489

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110541/ft1_filtered_4FGL_J1324.9+4748_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/110541/ft2_4FGL_J1324.9+4748_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/110541/ltcube_696038401_696297601_4FGL_J1324.9+4748_daily_bin1762.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/110541/ft2_4FGL_J1324.9+4748_daily_bin1762.fits
.....................!
real 12.88
user 12.49
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110541/ft1_filtered_4FGL_J1324.9+4748_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110541/ft2_4FGL_J1324.9+4748_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/110541/ltcube_696038401_696297601_4FGL_J1324.9+4748_daily_bin1762.fits outfile=/scratch/kocevski/110541/expmap_696038401_696297601_4FGL_J1324.9+4748_daily_bin1762.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/110541/ltcube_696038401_696297601_4FGL_J1324.9+4748_daily_bin1762.fits
.....................!
real 192.91
user 186.88
sys 5.65

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/110541/ft1_filtered_4FGL_J1324.9+4748_daily_bin1762.fits scfile=/scratch/kocevski/110541/ft2_4FGL_J1324.9+4748_daily_bin1762.fits outfile=/scratch/kocevski/110541/cmap_696038401_696297601_4FGL_J1324.9+4748_daily_bin1762.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110541/ft1_filtered_4FGL_J1324.9+4748_daily_bin1762.fits scfile=/scratch/kocevski/110541/ft2_4FGL_J1324.9+4748_daily_bin1762.fits outfile=/scratch/kocevski/110541/cmap_HighResolution_696038401_696297601_4FGL_J1324.9+4748_daily_bin1762.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.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12558E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .72981E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2888       1.0000          .0000       .10000E+07
     4 'norm      '    .33266E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15513E-02   1.0000          .0000       .10000E+07
     6 'norm      '    4.6009       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37146E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.5910       1.0000          .0000       .10000E+07
     9 'norm      '    .40634E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .24732       1.0000          .0000       .10000E+07
    11 'Prefactor '    50.166       1.0000          .0000       .10000E+07
    12 'Prefactor '    .40842E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .27385E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    34.069       1.0000          .0000       .10000E+07
    15 'norm      '    3.0743       1.0000          .0000       .10000E+07
    16 'norm      '    8.7316       1.0000          .0000       .10000E+07
    17 'norm      '    18.248       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12721E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    30.092       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.4527       1.0000          .0000       .10000E+07
    21 'Prefactor '    .35570E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .28355E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    .83548E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .54613E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0440       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .76322       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=   5484.186     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     2257 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.6618        .74940E-07** at limit **
   2  Prefactor     .14418E-05    9.0325       -.53458E-07** at limit **
   3  Prefactor     3.2590        5.1756       -.70616E-07   -.51529E-03
   4  norm           .0000        1.8734       -.27207E-07** at limit **
   5  Prefactor      .0000        6.2072       -.42120E-07** at limit **
   6  norm          4.6138        2.4799       -.41316E-07   -.15631E-02
   7  Prefactor     .16577E-05    53.495       -.26820E-06** at limit **
   8  Prefactor     8.6349        4.5128        .20324E-07    .35792E-01
   9  norm           .0000        6.1178       -.82951E-07** at limit **
  10  norm          .24427        6.8781        .11663E-06** at limit **
  11  Prefactor     50.590        3.7405        .16930E-08   -.84237E-02
  12  Prefactor     .20745E-06    26.601        .16841E-06** at limit **
  13  norm           .0000        1.2726       -.25460E-07** at limit **
  14  Prefactor     41.937        54.583       -.12508E-06   -.17867E-01
  15  norm          3.0849        1.6301        .26397E-07    .25360E-02
  16  norm          8.6396        4.3801       -.25355E-07   -.23956E-03
  17  norm          18.610        15.159        .27424E-07    .80115E-02
  18  Prefactor     .44409E-09    13.392       -.42490E-06** at limit **
  19  Prefactor     32.728        22.790       -.27192E-08    .59240E-01
  20  Prefactor     3.4238        3.6756       -.30339E-07   -.67704E-03
  21  Prefactor     .14532E-05    9.5351       -.89145E-07** at limit **
  22  Prefactor      .0000        .59650        .79992E-08** at limit **
  23  Prefactor     .55511E-10    7.2837        .22011E-06** at limit **
  24  Prefactor     .14100E-07    34.827       -.29860E-06** at limit **
  25  Normalizat    1.0366        .19193        .15547E-05    .31721E-04
  26  Prefactor     .76638        .22563       -.10829E-05    .12838E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.44185e-06
  Prefactor  = 3.25903
  norm       = 0
  Prefactor  = 0
  norm       = 4.61383
  Prefactor  = 1.65767e-06
  Prefactor  = 8.63488
  norm       = 0
  norm       = 0.244272
  Prefactor  = 50.5901
  Prefactor  = 2.07445e-07
  norm       = 0
  Prefactor  = 41.9368
  norm       = 3.0849
  norm       = 8.63963
  norm       = 18.6101
  Prefactor  = 4.44089e-10
  Prefactor  = 32.7281
  Prefactor  = 3.4238
  Prefactor  = 1.45317e-06
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.40998e-08
  Normalizat = 1.03656
  Prefactor  = 0.766375
 **********
 **   18 **HESSE 
 **********

 FCN=   5484.186     FROM HESSE     STATUS=OK           518 CALLS     2775 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.6689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14418E-05    17.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2590        5.2558        .55807E-03   -1.5672    
   4  norm           .0000        1.8715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.6138        2.4858        .46902E-03   -1.5665    
   7  Prefactor     .16577E-05    7.4927        .63393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.6349        22.014        .34176E-03   -1.5649    
   9  norm           .0000        6.1183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .24427        2.8474        .38072E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     50.590        34.661        .14120E-03   -1.5566    
  12  Prefactor     .20745E-06    27.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.2697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.937        55.459        .17135E-03   -1.5578    
  15  norm          3.0849        1.6318        .57825E-03   -1.5673    
  16  norm          8.6396        4.3959        .33898E-03   -1.5649    
  17  norm          18.610        15.208        .23418E-03   -1.5622    
  18  Prefactor     .44409E-09    13.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     32.728        45.131        .18232E-03   -1.5594    
  20  Prefactor     3.4238        3.7699        .54403E-03   -1.5671    
  21  Prefactor     .14532E-05    17.517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        .59792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    7.2751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .14100E-07    36.082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0366        .16585        .40979E-01   -.91815    
  26  Prefactor     .76638        .19386        .66480E-01   -1.0098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93516e-07
Minuit parameter uncertainties:
  1  6.65547e-06
  2  0.0101805
  3  5.25585
  4  2.27803e-06
  5  1.07668e-05
  6  2.48578
  7  0.00704857
  8  22.0139
  9  8.68555e-06
  10  1.66797
  11  34.6612
  12  0.00477868
  13  2.34758e-06
  14  55.4593
  15  1.63183
  16  4.39593
  17  15.2084
  18  0.000158992
  19  45.1316
  20  3.76988
  21  0.0100907
  22  3.98193e-07
  23  3.53276e-05
  24  0.00142757
  25  0.165931
  26  0.194027
Done.

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

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  5.059e+01  3.466e+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.664e-01  1.940e-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.037e+00  1.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.75
Ra Dec: 201.240 47.809
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 5.38e-08 +/- 3.68e-08
Energy Flux (Fixed Index): 1.32e-05 +/- 9.06e-06

TS (Fixed Index): 3.75
Ra Dec: 201.240 47.809
Photon Flux Upper Limit: 1.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110541/likelihoodResults_696038401_696297601_4FGL_J1324.9+4748_daily_bin1762.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) = 5484.0042091
delta logL = 0.181826028791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5483.93140198
delta logL = 0.254633147825

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.093       1.0000          .0000       .10000E+07
     2 'Index     '    2.2451       1.0000          .0000       10.000    
     3 'Normalizat'    1.0534       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75114       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=   5483.931     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      273 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.081        47.164        .48837E-05    .13967E-03
   2  Index         2.2446        .56223        .75163E-02    .95522E-04
   3  Normalizat    1.0538        .18636        .21000E-03   -.62690E-04
   4  Prefactor     .75048        .22463        .29680E-03    .33822E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.0808
  Index      = 2.2446
  Normalizat = 1.05382
  Prefactor  = 0.750477
 **********
 **   18 **HESSE 
 **********

 FCN=   5483.931     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.081        46.868        .97674E-06   -1.5544    
   2  Index         2.2446        .55858        .15033E-02   -.58366    
   3  Normalizat    1.0538        .18651        .84000E-05   -.91249    
   4  Prefactor     .75048        .22480        .11872E-04   -1.0158    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29356e-11
Minuit parameter uncertainties:
  1  46.8685
  2  0.56026
  3  0.186627
  4  0.225075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110541': 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) = 5483.93139647
delta logL = 0.254638661034

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  6.708e+01  4.687e+01  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.245e+00  5.603e-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.505e-01  2.251e-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.054e+00  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.24
Ra Dec: 201.240 47.809
Photon Index (Free Index): 2.24 +/- 0.56
Photon Flux (Free Index): 4.17e-08 +/- 3.51e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.44e-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/110541/cmap_HighResolution_696038401_696297601_4FGL_J1324.9+4748_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='5.38e-08', energy_flux2='1.73e-05', photon_flux_error='3.68e-08', dlogl='2.55e-01', energy_flux='1.32e-05', photon_flux2='4.17e-08', job_status='DONE', time_completed='2023-01-25 01:12:41.880758', photon_index_error2='0.56', photon_index2='2.24', ts='3.75', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.31e-07', energy_flux_error2='1.44e-05', EG='1.04', time_epoch_completed='1674637961.88', return_code='0', job_id='110541', GAL2='0.75', EG2='1.05', return_code2='0', energy_flux_error='9.06e-06', photon_flux_error2='3.51e-08', ts2='4.24', photon_index='2.67' WHERE bin_id='1762' AND source_name='4FGL J1324.9+4748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:12:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 110541: <4FGL_J1324.9+4748_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1324.9+4748_daily_bin1762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jan 25 01:00:25 2023
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:00:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:00:35 2023
Terminated at Wed Jan 25 01:12:42 2023
Results reported at Wed Jan 25 01:12:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1324.9+4748_daily_bin1762 201.24 47.8086 696038401 696297601 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.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            737 sec.

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

