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


Performing analysis on: 4FGL_J1324.9+4748_daily_bin1772
RA = 201.24, Dec = 47.8086
tmin = 698630401, tmax = 698889601
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='634479', job_status='RUN', time_executed='2023-02-24 01:46:12.698926', time_epoch_executed='1677231972.7' WHERE source_name='4FGL J1324.9+4748' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/634479

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/634479/ft1_4FGL_J1324.9+4748_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/634479/ft2_4FGL_J1324.9+4748_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/634479/ft1_4FGL_J1324.9+4748_daily_bin1772.fits outfile=/scratch/kocevski/634479/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin1772.fits ra=201.24 dec=47.8086 rad=12.0 tmin=698630401.0 tmax=698889601.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 2.98
user 2.76
sys 0.21

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

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

Number of photons that the gtmktime cut: 392

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/634479/ft1_filtered_4FGL_J1324.9+4748_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/634479/ft2_4FGL_J1324.9+4748_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/634479/ltcube_698630401_698889601_4FGL_J1324.9+4748_daily_bin1772.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/634479/ft2_4FGL_J1324.9+4748_daily_bin1772.fits
.....................!
real 12.98
user 12.59
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/634479/ft1_filtered_4FGL_J1324.9+4748_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/634479/ft2_4FGL_J1324.9+4748_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/634479/ltcube_698630401_698889601_4FGL_J1324.9+4748_daily_bin1772.fits outfile=/scratch/kocevski/634479/expmap_698630401_698889601_4FGL_J1324.9+4748_daily_bin1772.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/634479/ltcube_698630401_698889601_4FGL_J1324.9+4748_daily_bin1772.fits
.....................!
real 192.74
user 186.96
sys 5.47

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/634479/ft1_filtered_4FGL_J1324.9+4748_daily_bin1772.fits scfile=/scratch/kocevski/634479/ft2_4FGL_J1324.9+4748_daily_bin1772.fits outfile=/scratch/kocevski/634479/cmap_698630401_698889601_4FGL_J1324.9+4748_daily_bin1772.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/634479/ft1_filtered_4FGL_J1324.9+4748_daily_bin1772.fits scfile=/scratch/kocevski/634479/ft2_4FGL_J1324.9+4748_daily_bin1772.fits outfile=/scratch/kocevski/634479/cmap_HighResolution_698630401_698889601_4FGL_J1324.9+4748_daily_bin1772.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0532       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13125E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.917       1.0000          .0000       .10000E+07
     4 'norm      '    4.6297       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.944       1.0000          .0000       .10000E+07
     6 'norm      '    2.0501       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.136       1.0000          .0000       .10000E+07
     8 'Prefactor '    36.357       1.0000          .0000       .10000E+07
     9 'norm      '    5.2455       1.0000          .0000       .10000E+07
    10 'norm      '    4.6853       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23856E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    33.757       1.0000          .0000       .10000E+07
    13 'norm      '    1.7964       1.0000          .0000       .10000E+07
    14 'Prefactor '    .64789E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .54063       1.0000          .0000       .10000E+07
    16 'norm      '    .47390E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .21282E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .71922E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .32414E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.3589       1.0000          .0000       .10000E+07
    21 'Prefactor '    .32796E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.1929       1.0000          .0000       .10000E+07
    23 'Prefactor '    16.230       1.0000          .0000       .10000E+07
    24 'Prefactor '    .22062E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .97024       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .83040       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=   4394.655     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     2218 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4144        45.827        .13498E-04    .35060E-02
   2  Prefactor     .65503E-08    54.519       -.18705E-05** at limit **
   3  Prefactor     10.952        8.4369       -.56631E-07    .42452E-03
   4  norm          4.6197        3.8459        .24965E-07   -.19160E-03
   5  Prefactor     11.794        1.9615       -.25834E-06    .34507E-01
   6  norm          2.0504        2.0015       -.98196E-07   -.63380E-03
   7  Prefactor     12.171        10.353        .40219E-06    .23044E-02
   8  Prefactor     36.715        2.1884       -.34098E-07   -.17254E-02
   9  norm          5.2459        1.1676       -.16370E-06    .15900E-02
  10  norm          4.7231        4.7416       -.14599E-07   -.12093E-02
  11  Prefactor     .31006E-05    49.258       -.19359E-05** at limit **
  12  Prefactor     34.197        6.2208       -.39614E-06    .11767    
  13  norm          1.7977        3.0272        .66005E-07   -.57319E-03
  14  Prefactor     .24869E-07    43.168        .90170E-06** at limit **
  15  norm          .54226        1.0410        .24686E-07   -.12022E-02
  16  norm           .0000        1.2319        .77779E-07** at limit **
  17  norm          .55511E-10    5.4267        .31219E-06** at limit **
  18  Prefactor     .15543E-08    13.451        .54192E-06** at limit **
  19  Prefactor     .16653E-09    10.429       -.29289E-06** at limit **
  20  Prefactor     1.3684        4.3826        .47480E-06   -.42398E-03
  21  Prefactor      .0000        7.7360       -.39942E-06** at limit **
  22  Prefactor     2.1881        2.0678        .90521E-07    .99003E-03
  23  Prefactor     16.373        1.3468       -.28596E-07   -.82168E-03
  24  Prefactor     .23204E-07    23.555        .54501E-06** at limit **
  25  Normalizat    .96902        .20962       -.82126E-05   -.29080E-04
  26  Prefactor     .83064        .25494       -.27195E-05   -.27671E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.41437
  Prefactor  = 6.55032e-09
  Prefactor  = 10.9524
  norm       = 4.61973
  Prefactor  = 11.7942
  norm       = 2.05043
  Prefactor  = 12.1713
  Prefactor  = 36.7155
  norm       = 5.24593
  norm       = 4.72308
  Prefactor  = 3.10063e-06
  Prefactor  = 34.1969
  norm       = 1.79771
  Prefactor  = 2.4869e-08
  norm       = 0.542264
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 1.55431e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 1.36837
  Prefactor  = 0
  Prefactor  = 2.18807
  Prefactor  = 16.3726
  Prefactor  = 2.32037e-08
  Normalizat = 0.969019
  Prefactor  = 0.830644
 **********
 **   18 **HESSE 
 **********

 FCN=   4394.655     FROM HESSE     STATUS=OK           512 CALLS     2730 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4144        45.280        .12023E-02   -1.5684    
   2  Prefactor     .65503E-08    103.88        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.952        8.4406        .30298E-03   -1.5642    
   4  norm          4.6197        3.8541        .46752E-03   -1.5665    
   5  Prefactor     11.794        24.632        .28961E-03   -1.5639    
   6  norm          2.0504        2.0154        .72170E-03   -1.5679    
   7  Prefactor     12.171        10.370        .28730E-03   -1.5638    
   8  Prefactor     36.715        32.248        .16587E-03   -1.5587    
   9  norm          5.2459        16.466        .43864E-03   -1.5662    
  10  norm          4.7231        4.7683        .46467E-03   -1.5664    
  11  Prefactor     .31006E-05    106.72        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.197        35.563        .17214E-03   -1.5591    
  13  norm          1.7977        3.0615        .77983E-03   -1.5681    
  14  Prefactor     .24869E-07    43.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .54226        1.0689        .74723E-03   -1.5693    
  16  norm           .0000        1.2300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    5.4277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .15543E-08    13.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16653E-09    10.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3684        4.4293        .93679E-03   -1.5685    
  21  Prefactor      .0000        7.7324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.1881        2.4922        .69467E-03   -1.5678    
  23  Prefactor     16.373        31.898        .24834E-03   -1.5627    
  24  Prefactor     .23204E-07    23.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96902        .18149        .45793E-01   -.94076    
  26  Prefactor     .83064        .21784        .44112E-01   -.98608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.07195e-07
Minuit parameter uncertainties:
  1  16.0054
  2  0.00165163
  3  8.44059
  4  3.85415
  5  24.6325
  6  2.01537
  7  10.3704
  8  32.248
  9  16.4658
  10  4.76831
  11  0.0363827
  12  35.5629
  13  3.06151
  14  0.0020779
  15  1.06889
  16  1.0305e-06
  17  3.0239e-05
  18  0.000287143
  19  7.82221e-05
  20  4.4293
  21  1.20358e-05
  22  2.49217
  23  31.8988
  24  0.00148222
  25  0.181602
  26  0.218068
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  8.306e-01  2.181e-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.690e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/634479/likelihoodResults_698630401_698889601_4FGL_J1324.9+4748_daily_bin1772.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) = 4394.65992543
delta logL = -0.00493357628511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4394.65499349
delta logL = -1.63860295288e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16358E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.8259       1.0000          .0000       10.000    
     3 'Normalizat'    .96884       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83073       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4394.655     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      220 TOTAL
                     EDM=   .70E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        99.013        .42118E-03** at limit **
   2  Index         2.2537        .93371        .72934E-04     .0000    
   3  Normalizat    .96902        1.3006        .31692E-05   -.74299E-05
   4  Prefactor     .83064        1.1784       -.86749E-05   -.23849E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.25367
  Normalizat = 0.969019
  Prefactor  = 0.830644
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4394.655     FROM HESSE     STATUS=FAILED         9 CALLS      229 TOTAL
                     EDM=   .70E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        99.013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .56344        1.7597        .72934E-04   -.58148    
   3  Normalizat    .96902        1.3006        .31692E-05   -.94076    
   4  Prefactor     .83064        1.1784       -.86749E-05   -.98608    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.99182e-14
Minuit parameter uncertainties:
  1  2.11917e-06
  2  0.94166
  3  1.34714
  4  1.21751
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/634479': 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): 101
logL (Free Index) = 4394.65499184
delta logL = 1.44709701999e-08

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  2.119e-06  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.254e+00  9.417e-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:  8.306e-01  1.218e+00  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.690e-01  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.80e-03', job_status='DONE', photon_flux_upper_limit='8.66e-08', time_completed='2023-02-24 01:55:46.390851', job_id='634479', GAL2='0.83', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1677232546.39', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.45e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1772' AND source_name='4FGL J1324.9+4748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:55:46 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 634479: <4FGL_J1324.9+4748_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1324.9+4748_daily_bin1772> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Feb 24 01:45:14 2023
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:45:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:45:15 2023
Terminated at Fri Feb 24 01:55:47 2023
Results reported at Fri Feb 24 01:55:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1324.9+4748_daily_bin1772 201.24 47.8086 698630401 698889601 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 :                                   575.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            633 sec.

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

