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


Performing analysis on: 4FGL_J0324.8-2043_daily_bin1718
RA = 51.2191, Dec = -20.7285
tmin = 684633601, tmax = 684892801
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='12677', job_status='RUN', time_executed='2022-09-16 10:46:55.944877', time_epoch_executed='1663350415.94' WHERE source_name='4FGL J0324.8-2043' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12677

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12677/ft1_4FGL_J0324.8-2043_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12677/ft1_4FGL_J0324.8-2043_daily_bin1718.fits outfile=/scratch/kocevski/12677/ft1_filteredMKT_4FGL_J0324.8-2043_daily_bin1718.fits ra=51.2191 dec=-20.7285 rad=12.0 tmin=684633601.0 tmax=684892801.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.96
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.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/12677/ft1_filteredMKT_4FGL_J0324.8-2043_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.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 1.66
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 411

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/12677/ltcube_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.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/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits
.....................!
real 13.30
user 12.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/12677/ltcube_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.fits outfile=/scratch/kocevski/12677/expmap_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.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/12677/ltcube_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.fits
.....................!
real 193.31
user 185.26
sys 5.11

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 167 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0324.8-2043 @ 51.2191 -20.7285

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.fits scfile=/scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits outfile=/scratch/kocevski/12677/cmap_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.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=51.2191 yref=-20.7285 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.fits scfile=/scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits outfile=/scratch/kocevski/12677/cmap_HighResolution_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.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=51.2191 yref=-20.7285 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/12677/Model_4FGL_J0324.8-2043_daily_bin1718.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.fits.....................!
real 105.05
user 102.47
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.fits', '/scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits', expMap='/scratch/kocevski/12677/expmap_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.fits', expCube='/scratch/kocevski/12677/ltcube_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/12677/Model_4FGL_J0324.8-2043_daily_bin1718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8-2043'

4FGL J0324.8-2043
   Spectrum: PowerLaw
265    Prefactor:  7.558e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
266        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.862e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/12677/ft1_filtered_4FGL_J0324.8-2043_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/12677/ft2_4FGL_J0324.8-2043_daily_bin1718.fits
Exposure map: /scratch/kocevski/12677/expmap_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.fits
Exposure cube: /scratch/kocevski/12677/ltcube_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/12677/Model_4FGL_J0324.8-2043_daily_bin1718.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) = 4604.75570448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9241       1.0000          .0000       .10000E+07
     2 'Prefactor '    .61274E-04   1.0000          .0000       .10000E+07
     3 'norm      '    5.1064       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45322E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.3146       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.6180       1.0000          .0000       .10000E+07
     7 'Prefactor '    .35327E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    20.997       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7239       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12505E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5574       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1318       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1828       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.8568       1.0000          .0000       .10000E+07
    15 'norm      '    1.4181       1.0000          .0000       .10000E+07
    16 'Prefactor '    .51564E-02   1.0000          .0000       .10000E+07
    17 'norm      '    2.4213       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14061E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .69469       1.0000          .0000       .10000E+07
    20 'norm      '    15.179       1.0000          .0000       .10000E+07
    21 'Prefactor '    .61497E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    .70748       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.4201       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4604.725     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2064 TOTAL
                     EDM=   .45E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9111        3.7291        .42107E-07   -.25243E-04
   2  Prefactor      .0000        5.9668        .13987E-06** at limit **
   3  norm          5.1403        5.4217        .16169E-07    .47096E-04
   4  Prefactor     .55511E-10    24.567       -.16774E-06** at limit **
   5  Prefactor     7.1446        8.1740        .65188E-07    .22666E-03
   6  Prefactor     .26090E-08    5169.7       -.18635E-04** at limit **
   7  Prefactor      .0000        1.8190        .24457E-07** at limit **
   8  Prefactor     21.514        27.377        .72133E-07    .62946E-03
   9  Prefactor     1.7439        39.528       -.61808E-06   -.51690E-04
  10  Prefactor     .55511E-10    19.149        .16706E-06** at limit **
  11  Prefactor     1.9225        2.9143       -.28434E-07   -.17379E-02
  12  Prefactor     2.1321        2.1088       -.22734E-07    .47350E-03
  13  Prefactor     1.1936        5.8774        .16799E-06    .13427E-03
  14  Prefactor     3.8497        4.8131       -.82577E-07    .13898E-03
  15  norm          1.4163        .89726       -.63895E-08   -.95996E-03
  16  Prefactor      .0000        14.689       -.76227E-07** at limit **
  17  norm          2.4205        1.5084       -.75587E-10    .16734E-03
  18  Prefactor      .0000        31.993       -.29263E-06** at limit **
  19  Prefactor     .69394        1.9263        .18354E-07   -.94348E-04
  20  norm          15.183        12.228        .78433E-08    .13935E-05
  21  Prefactor      .0000        8.2464        .26244E-07** at limit **
  22  Normalizat    .70709        .25824       -.11495E-05    .26306E-04
  23  Prefactor     1.4207        .23040       -.37469E-06    .38683E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.91114
  Prefactor  = 0
  norm       = 5.14035
  Prefactor  = 5.55112e-11
  Prefactor  = 7.14459
  Prefactor  = 2.60902e-09
  Prefactor  = 0
  Prefactor  = 21.5138
  Prefactor  = 1.74385
  Prefactor  = 5.55112e-11
  Prefactor  = 1.92249
  Prefactor  = 2.13211
  Prefactor  = 1.1936
  Prefactor  = 3.84968
  norm       = 1.41632
  Prefactor  = 0
  norm       = 2.42051
  Prefactor  = 0
  Prefactor  = 0.693936
  norm       = 15.1827
  Prefactor  = 0
  Normalizat = 0.70709
  Prefactor  = 1.42072
 **********
 **   18 **HESSE 
 **********

 FCN=   4604.725     FROM HESSE     STATUS=OK           422 CALLS     2486 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9111        3.7848        .74869E-03   -1.5680    
   2  Prefactor      .0000        5.9663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.1403        5.4447        .44469E-03   -1.5663    
   4  Prefactor     .55511E-10    24.659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.1446        8.2423        .37062E-03   -1.5655    
   6  Prefactor     .26090E-08    5170.3        .36310E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.8213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.514        27.435        .21830E-03   -1.5615    
   9  Prefactor     1.7439        40.422        .79960E-03   -1.5682    
  10  Prefactor     .55511E-10    19.258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9225        83.522        .85260E-03   -1.5680    
  12  Prefactor     2.1321        2.1308        .70584E-03   -1.5679    
  13  Prefactor     1.1936        6.8679        .10499E-02   -1.5686    
  14  Prefactor     3.8497        5.1468        .51361E-03   -1.5669    
  15  norm          1.4163        .91339        .90844E-03   -1.5684    
  16  Prefactor      .0000        14.698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4205        1.5196        .65750E-03   -1.5677    
  18  Prefactor      .0000        31.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .69394        1.9489        .61141E-03   -1.5691    
  20  norm          15.183        12.248        .25682E-03   -1.5630    
  21  Prefactor      .0000        8.2379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .70709        .22858        .71373E-01   -1.0361    
  23  Prefactor     1.4207        .20025        .50300E-01   -.79785    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7597e-07
Minuit parameter uncertainties:
  1  3.78481
  2  2.48517e-06
  3  5.44471
  4  8.104e-05
  5  8.24229
  6  0.0073331
  7  1.01603e-06
  8  27.4352
  9  16.7917
  10  7.45707e-05
  11  25.3436
  12  2.13084
  13  5.72628
  14  5.14678
  15  0.91339
  16  2.79479e-06
  17  1.51962
  18  2.97031e-05
  19  1.94894
  20  12.2478
  21  8.10489e-07
  22  0.228893
  23  0.200362
Done.

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

Extracting fit parameters...

4FGL J0324.8-2043
   Spectrum: PowerLaw
265    Prefactor:  2.609e-09  7.333e-03  0.000e+00  1.000e+06 ( 1.000e-15)
266        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.862e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.421e+00  2.004e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  7.071e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 51.219 -20.729
Photon Flux Upper Limit: 8.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/12677/likelihoodResults_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.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): 102
logL (Free Index) = 4604.72472906
delta logL = -9.95707641778e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 4602.51169924
delta logL = 2.21293024456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69666E-07   1.0000          .0000       .10000E+07
     2 'Index     '    8.8718       1.0000          .0000       10.000    
     3 'Normalizat'    .57170       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5057       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4604.725     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      707 TOTAL
                     EDM=   .70E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        628.27        .42118E-03** at limit **
   2  Index         1.6968        1.3434       -.46469E-06     .0000    
   3  Normalizat    .70709        1.0040       -.30753E-05   -.87358E-05
   4  Prefactor     1.4207        1.0232        .37676E-05   -.26271E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.69679
  Normalizat = 0.70709
  Prefactor  = 1.42072
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4604.725     FROM HESSE     STATUS=FAILED         9 CALLS      716 TOTAL
                     EDM=   .70E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        628.27        .42118E-03   -29708.    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.9495        2.0339       -.46469E-06   -.24334E+09
   3  Normalizat    .70709        1.0040       -.30753E-05   -14.672    
   4  Prefactor     1.4207        1.0232        .37676E-05   -341.64    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.04386e-13
Minuit parameter uncertainties:
  1  0.000106679
  2  1.37384
  3  1.03209
  4  1.03842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12677': 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) = 4604.72462949
delta logL = 9.09494701773e-13

Extracting fit parameters...

4FGL J0324.8-2043
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  1.067e-04  0.000e+00  1.000e+06 ( 1.000e-15)
266        Index:  1.697e+00  1.374e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  3.862e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.421e+00  1.038e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  7.071e-01  1.032e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 51.219 -20.729

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/12677/cmap_HighResolution_684633601_684892801_4FGL_J0324.8-2043_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', job_status='DONE', photon_flux_upper_limit='8.08e-08', time_completed='2022-09-16 10:56:57.680817', job_id='12677', GAL2='1.42', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1663351017.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='1718' AND source_name='4FGL J0324.8-2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:56:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 12677: <4FGL_J0324.8-2043_daily_bin1718> in cluster <slac> Done

Job <4FGL_J0324.8-2043_daily_bin1718> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 10:45:24 2022
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:45:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:45:59 2022
Terminated at Fri Sep 16 10:56:58 2022
Results reported at Fri Sep 16 10:56:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0324.8-2043_daily_bin1718 51.2191 -20.7285 684633601 684892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0324.8-2043 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   596.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            694 sec.

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

