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


Performing analysis on: 4FGL_J1324.9+4748_daily_bin1778
RA = 201.24, Dec = 47.8086
tmin = 700185601, tmax = 700444801
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='963456', job_status='RUN', time_executed='2023-03-14 01:04:14.998123', time_epoch_executed='1678781055.0' WHERE source_name='4FGL J1324.9+4748' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963456

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963456/ft1_4FGL_J1324.9+4748_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963456/ft2_4FGL_J1324.9+4748_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963456/ft1_4FGL_J1324.9+4748_daily_bin1778.fits outfile=/scratch/kocevski/963456/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1778.fits ra=201.24 dec=47.8086 rad=12.0 tmin=700185601.0 tmax=700444801.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.21
user 2.97
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963456/ft2_4FGL_J1324.9+4748_daily_bin1778.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/963456/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/963456/ft1_filtered_4FGL_J1324.9+4748_daily_bin1778.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.45
user 0.31
sys 0.13

Number of photons that the gtmktime cut: 520

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963456/ft1_filtered_4FGL_J1324.9+4748_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/963456/ft2_4FGL_J1324.9+4748_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/963456/ltcube_700185601_700444801_4FGL_J1324.9+4748_daily_bin1778.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/963456/ft2_4FGL_J1324.9+4748_daily_bin1778.fits
.....................!
real 11.46
user 11.16
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963456/ft1_filtered_4FGL_J1324.9+4748_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/963456/ft2_4FGL_J1324.9+4748_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/963456/ltcube_700185601_700444801_4FGL_J1324.9+4748_daily_bin1778.fits outfile=/scratch/kocevski/963456/expmap_700185601_700444801_4FGL_J1324.9+4748_daily_bin1778.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/963456/ltcube_700185601_700444801_4FGL_J1324.9+4748_daily_bin1778.fits
.....................!
real 152.83
user 149.18
sys 3.33

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/963456/ft1_filtered_4FGL_J1324.9+4748_daily_bin1778.fits scfile=/scratch/kocevski/963456/ft2_4FGL_J1324.9+4748_daily_bin1778.fits outfile=/scratch/kocevski/963456/cmap_700185601_700444801_4FGL_J1324.9+4748_daily_bin1778.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.49
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963456/ft1_filtered_4FGL_J1324.9+4748_daily_bin1778.fits scfile=/scratch/kocevski/963456/ft2_4FGL_J1324.9+4748_daily_bin1778.fits outfile=/scratch/kocevski/963456/cmap_HighResolution_700185601_700444801_4FGL_J1324.9+4748_daily_bin1778.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.48
user 0.32
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.590       1.0000          .0000       .10000E+07
     2 'Prefactor '    .95592E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4548       1.0000          .0000       .10000E+07
     4 'norm      '    3.5141       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13311E-04   1.0000          .0000       .10000E+07
     6 'norm      '    2.1467       1.0000          .0000       .10000E+07
     7 'Prefactor '    .95428E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .68073E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .55062E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .17408E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    18.522       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.9108       1.0000          .0000       .10000E+07
    13 'norm      '    .56532E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .32363E-06   1.0000          .0000       .10000E+07
    15 'norm      '    1.1320       1.0000          .0000       .10000E+07
    16 'norm      '    .21094E-08   1.0000          .0000       .10000E+07
    17 'norm      '    .26418E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    26.215       1.0000          .0000       .10000E+07
    19 'Prefactor '    .82311E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.1991       1.0000          .0000       .10000E+07
    21 'Prefactor '    19.363       1.0000          .0000       .10000E+07
    22 'Prefactor '    4.1004       1.0000          .0000       .10000E+07
    23 'Prefactor '    5.5133       1.0000          .0000       .10000E+07
    24 'Prefactor '    14.825       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4319       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .42870       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=   5749.662     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2243 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.595        7.4791        .39196E-06    .43530E-04
   2  Prefactor     .13323E-08    72.669       -.99095E-05** at limit **
   3  Prefactor     5.4587        5.8800        .48379E-06   -.97225E-03
   4  norm          3.5136        2.5266       -.27692E-06   -.32902E-03
   5  Prefactor      .0000        5.0010        .17854E-06** at limit **
   6  norm          2.1467        1.4349        .40336E-06    .24660E-02
   7  Prefactor      .0000        3.4260        .48674E-06** at limit **
   8  Prefactor     .22204E-09    41.303       -.20626E-05** at limit **
   9  norm           .0000        5.2709        .46702E-06** at limit **
  10  norm           .0000        1.7560        .40972E-06** at limit **
  11  Prefactor     18.902        33.634        .13531E-04    .63439E-01
  12  Prefactor     5.6916        35.219       -.20988E-04    .99747E-02
  13  norm           .0000        2.3013        .19663E-05** at limit **
  14  Prefactor     .99365E-08    32.381        .41111E-06** at limit **
  15  norm          1.1319        1.1742       -.27500E-06    .22993E-03
  16  norm          .55511E-10    .98751       -.11366E-05** at limit **
  17  norm           .0000        4.5026       -.10853E-05** at limit **
  18  Prefactor     26.221        2.9304       -.89980E-06   -.40007E-01
  19  Prefactor      .0000        18.924       -.85503E-06** at limit **
  20  Prefactor     4.2009        4.3060       -.58103E-06    .25804E-02
  21  Prefactor     19.360        2.2224       -.76807E-06   -.66992E-01
  22  Prefactor     4.0944        2.8513       -.14211E-05    .13215E-02
  23  Prefactor     5.7038        14.505        .10686E-04   -.53453E-02
  24  Prefactor     14.523        42.241       -.19299E-04    .35579E-01
  25  Normalizat    1.4318        .19629        .11868E-04    .16774E-03
  26  Prefactor     .42878        .22857       -.89546E-05    .65634E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.5946
  Prefactor  = 1.33227e-09
  Prefactor  = 5.4587
  norm       = 3.51363
  Prefactor  = 0
  norm       = 2.14671
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  norm       = 0
  norm       = 0
  Prefactor  = 18.9017
  Prefactor  = 5.6916
  norm       = 0
  Prefactor  = 9.9365e-09
  norm       = 1.13189
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 26.2211
  Prefactor  = 0
  Prefactor  = 4.20087
  Prefactor  = 19.3604
  Prefactor  = 4.09443
  Prefactor  = 5.70383
  Prefactor  = 14.5235
  Normalizat = 1.43181
  Prefactor  = 0.428781
 **********
 **   18 **HESSE 
 **********

 FCN=   5749.662     FROM HESSE     STATUS=OK           508 CALLS     2751 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.595        7.4901        .28206E-03   -1.5637    
   2  Prefactor     .13323E-08    72.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4587        5.8807        .42999E-03   -1.5661    
   4  norm          3.5136        2.5249        .53905E-03   -1.5670    
   5  Prefactor      .0000        5.0052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1467        1.4297        .70305E-03   -1.5679    
   7  Prefactor      .0000        3.4231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    40.101        .14882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        5.2798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.7479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.902        46.704        .23245E-03   -1.5621    
  12  Prefactor     5.6916        92.840        .41281E-03   -1.5660    
  13  norm           .0000        2.2971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99365E-08    32.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1319        1.1784        .10969E-03   -1.5687    
  16  norm          .55511E-10    .98752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        4.5077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.221        30.886        .19535E-03   -1.5606    
  19  Prefactor      .0000        18.948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.2009        4.4156        .49155E-03   -1.5667    
  21  Prefactor     19.360        22.552        .22733E-03   -1.5620    
  22  Prefactor     4.0944        3.4606        .49761E-03   -1.5667    
  23  Prefactor     5.7038        109.04        .42766E-03   -1.5660    
  24  Prefactor     14.523        88.363        .25987E-03   -1.5632    
  25  Normalizat    1.4318        .18622        .30783E-01   -.79713    
  26  Prefactor     .42878        .21462        .87559E-01   -1.1536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05151e-06
Minuit parameter uncertainties:
  1  7.49007
  2  0.00062361
  3  5.88074
  4  2.52487
  5  9.60416e-06
  6  1.42972
  7  1.08035e-05
  8  0.000189752
  9  1.6622e-05
  10  3.6449e-06
  11  46.7049
  12  45.9752
  13  1.11646e-05
  14  0.00113522
  15  1.17845
  16  1.38944e-05
  17  1.44881e-05
  18  30.8866
  19  2.66153e-05
  20  4.41558
  21  22.5516
  22  3.46064
  23  49.8794
  24  71.6492
  25  0.186305
  26  0.215025
Done.

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

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  1.890e+01  4.670e+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:  4.288e-01  2.150e-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.432e+00  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/963456/likelihoodResults_700185601_700444801_4FGL_J1324.9+4748_daily_bin1778.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) = 5749.65554932
delta logL = 0.00674206352687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5749.65119459
delta logL = 0.0110967928167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.285       1.0000          .0000       .10000E+07
     2 'Index     '    2.9304       1.0000          .0000       10.000    
     3 'Normalizat'    1.4266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43387       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=   5749.651     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      258 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.292        48.701        .10237E-04    .18625E-02
   2  Index         2.9347        2.1633        .13121E-01    .75369E-04
   3  Normalizat    1.4264        .20074        .19083E-03    .13335E-02
   4  Prefactor     .43392        .23203        .38579E-03    .49570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2919
  Index      = 2.93468
  Normalizat = 1.42642
  Prefactor  = 0.433921
 **********
 **   18 **HESSE 
 **********

 FCN=   5749.651     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.292        39.899        .40947E-06   -1.5630    
   2  Index         2.9347        1.7925        .52485E-03   -.42582    
   3  Normalizat    1.4264        .20009        .38166E-04   -.79868    
   4  Prefactor     .43392        .23095        .15431E-04   -1.1511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3671e-09
Minuit parameter uncertainties:
  1  39.8993
  2  1.84233
  3  0.2002
  4  0.231445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963456': 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) = 5749.65118834
delta logL = 0.0111030436865

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  1.529e+01  3.990e+01  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.935e+00  1.842e+00  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:  4.339e-01  2.314e-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.426e+00  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
Ra Dec: 201.240 47.809

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/963456/cmap_HighResolution_700185601_700444801_4FGL_J1324.9+4748_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.41e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2023-03-14 01:13:34.294041', job_id='963456', GAL2='0.43', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1678781614.29', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.43', dlogl='1.11e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1778' AND source_name='4FGL J1324.9+4748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:13:34 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 963456: <4FGL_J1324.9+4748_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1324.9+4748_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 01:00:27 2023
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:00:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 01:00:28 2023
Terminated at Tue Mar 14 01:13:35 2023
Results reported at Tue Mar 14 01:13:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1324.9+4748_daily_bin1778 201.24 47.8086 700185601 700444801 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 :                                   560.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             230.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            788 sec.

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

