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 152 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_J0324.8-2043_daily_bin1711
RA = 51.2191, Dec = -20.7285
tmin = 682819201, tmax = 683078401
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='12663', job_status='RUN', time_executed='2022-09-16 10:48:39.552754', time_epoch_executed='1663350519.55' WHERE source_name='4FGL J0324.8-2043' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12663/ft1_4FGL_J0324.8-2043_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12663/ft1_4FGL_J0324.8-2043_daily_bin1711.fits outfile=/scratch/kocevski/12663/ft1_filteredMKT_4FGL_J0324.8-2043_daily_bin1711.fits ra=51.2191 dec=-20.7285 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.57
user 4.31
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.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/12663/ft1_filteredMKT_4FGL_J0324.8-2043_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.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.17

Number of photons that the gtmktime cut: 486

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/12663/ltcube_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.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/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits
.....................!
real 12.81
user 12.43
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/12663/ltcube_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.fits outfile=/scratch/kocevski/12663/expmap_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.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/12663/ltcube_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.fits
.....................!
real 190.79
user 185.49
sys 4.92

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/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.fits scfile=/scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits outfile=/scratch/kocevski/12663/cmap_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.fits scfile=/scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits outfile=/scratch/kocevski/12663/cmap_HighResolution_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/12663/Model_4FGL_J0324.8-2043_daily_bin1711.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/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.fits.....................!
real 121.11
user 119.46
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.fits', '/scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits', expMap='/scratch/kocevski/12663/expmap_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.fits', expCube='/scratch/kocevski/12663/ltcube_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/12663/Model_4FGL_J0324.8-2043_daily_bin1711.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/12663/ft1_filtered_4FGL_J0324.8-2043_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/12663/ft2_4FGL_J0324.8-2043_daily_bin1711.fits
Exposure map: /scratch/kocevski/12663/expmap_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.fits
Exposure cube: /scratch/kocevski/12663/ltcube_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/12663/Model_4FGL_J0324.8-2043_daily_bin1711.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) = 5549.16948722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47951E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.3033       1.0000          .0000       .10000E+07
     3 'norm      '    6.3816       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1148       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16653E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.6194       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.8167       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10061E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19072E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .37535E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    18.031       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4048       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51722E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.9829       1.0000          .0000       .10000E+07
    15 'norm      '    3.2684       1.0000          .0000       .10000E+07
    16 'Prefactor '    27.084       1.0000          .0000       .10000E+07
    17 'norm      '    .11119E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .98288E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    7.6138       1.0000          .0000       .10000E+07
    20 'norm      '    17.250       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.9834       1.0000          .0000       .10000E+07
    22 'Normalizat'    .76633       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1180       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=   5549.089     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1508 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .92933        .43842E-08** at limit **
   2  Prefactor     1.2938        11.539        .87165E-07    .27608E-03
   3  norm          6.4216        3.6174        .18687E-07    .51471E-03
   4  Prefactor     3.3145        12.214        .27009E-06    .71510E-03
   5  Prefactor      .0000        4.2697       -.42175E-08** at limit **
   6  Prefactor     .28008E-05    537.87        .67991E-06** at limit **
   7  Prefactor     5.7976        4.6407       -.18805E-07   -.12998E-03
   8  Prefactor     .16653E-09    16.052        .18617E-07** at limit **
   9  Prefactor      .0000        3.0003       -.17379E-07** at limit **
  10  Prefactor     .17097E-07    21.582        .74074E-07** at limit **
  11  Prefactor     14.987        61.193        .16437E-05    .39922E-02
  12  Prefactor     1.4033        2.2624       -.13182E-08   -.15923E-03
  13  Prefactor      .0000        2.3045        .12588E-07** at limit **
  14  Prefactor     4.9966        3.8152        .10852E-07   -.42989E-03
  15  norm          3.2805        1.1538       -.99146E-08    .35843E-03
  16  Prefactor     28.207        25.823       -.55087E-08    .19832E-03
  17  norm           .0000        .41933       -.98775E-08** at limit **
  18  Prefactor     .61062E-08    47.683        .28406E-06** at limit **
  19  Prefactor     7.6044        3.0874       -.28265E-07   -.21248E-02
  20  norm          17.501        13.401        .27396E-07   -.26492E-01
  21  Prefactor     4.3335        5.3571       -.11438E-06    .49263E-01
  22  Normalizat    .76712        .20702       -.22101E-05   -.18534E-04
  23  Prefactor     1.1167        .19134        .68898E-06   -.12269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.29378
  norm       = 6.42157
  Prefactor  = 3.31453
  Prefactor  = 0
  Prefactor  = 2.80076e-06
  Prefactor  = 5.79759
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 1.70974e-08
  Prefactor  = 14.9872
  Prefactor  = 1.40334
  Prefactor  = 0
  Prefactor  = 4.9966
  norm       = 3.28047
  Prefactor  = 28.2069
  norm       = 0
  Prefactor  = 6.10623e-09
  Prefactor  = 7.60442
  norm       = 17.5012
  Prefactor  = 4.33351
  Normalizat = 0.767123
  Prefactor  = 1.1167
 **********
 **   18 **HESSE 
 **********

 FCN=   5549.089     FROM HESSE     STATUS=OK           418 CALLS     1926 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .92581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2938        11.543        .96695E-03   -1.5685    
   3  norm          6.4216        3.6149        .39708E-03   -1.5657    
   4  Prefactor     3.3145        12.235        .57426E-03   -1.5672    
   5  Prefactor      .0000        4.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .28008E-05    543.33        .83144E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.7976        4.6424        .41618E-03   -1.5660    
   8  Prefactor     .16653E-09    16.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.0087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17097E-07    21.779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.987        62.198        .23559E-03   -1.5631    
  12  Prefactor     1.4033        2.2977        .91451E-03   -1.5684    
  13  Prefactor      .0000        2.3024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.9966        3.8321        .45028E-03   -1.5663    
  15  norm          3.2805        1.1558        .55989E-03   -1.5672    
  16  Prefactor     28.207        25.848        .19219E-03   -1.5602    
  17  norm           .0000        .41863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .61062E-08    47.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.6044        3.1001        .36320E-03   -1.5653    
  20  norm          17.501        14.550        .24088E-03   -1.5624    
  21  Prefactor     4.3335        31.338        .50510E-03   -1.5666    
  22  Normalizat    .76712        .18242        .62965E-01   -1.0130    
  23  Prefactor     1.1167        .16741        .36940E-01   -.88935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60123e-07
Minuit parameter uncertainties:
  1  2.45822e-07
  2  7.72892
  3  3.61487
  4  12.2354
  5  1.78335e-06
  6  0.0780262
  7  4.6424
  8  9.95582e-05
  9  2.42256e-07
  10  0.00122057
  11  61.0641
  12  2.29768
  13  1.07163e-06
  14  3.83207
  15  1.15578
  16  25.848
  17  3.76863e-07
  18  0.00107904
  19  3.10007
  20  14.5498
  21  23.3073
  22  0.182562
  23  0.167492
Done.

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

Extracting fit parameters...

4FGL J0324.8-2043
   Spectrum: PowerLaw
265    Prefactor:  2.801e-06  7.803e-02  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.117e+00  1.675e-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.671e-01  1.826e-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: 4.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/12663/likelihoodResults_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.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) = 5549.09017238
delta logL = -0.000900925700989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 5547.4907085
delta logL = 1.59856294856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     2 'Index     '    9.9751       1.0000          .0000       10.000    
     3 'Normalizat'    .66297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1815       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=   5549.089     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      669 TOTAL
                     EDM=   .12E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        132.46        .42118E-03** at limit **
   2  Index         1.1732        1.0273       -.73358E-06     .0000    
   3  Normalizat    .76712        1.0731       -.46119E-05    .11442E-05
   4  Prefactor     1.1167        1.0825        .25161E-05    .73437E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.17325
  Normalizat = 0.767123
  Prefactor  = 1.1167
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        132.46        .42118E-03    .41999E+06
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2312        1.8577       -.73358E-06    .42983E+09
   3  Normalizat    .76712        1.0731       -.46119E-05    29.287    
   4  Prefactor     1.1167        1.0825        .25161E-05    22.880    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.17817e-13
Minuit parameter uncertainties:
  1  4.0624e-05
  2  1.04557
  3  1.10501
  4  1.10501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12663': 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) = 5549.08927145
delta logL = 2.56204657489e-09

Extracting fit parameters...

4FGL J0324.8-2043
   Spectrum: PowerLaw
265    Prefactor:  0.000e+00  4.062e-05  0.000e+00  1.000e+06 ( 1.000e-15)
266        Index:  1.173e+00  1.046e+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.117e+00  1.105e+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.671e-01  1.105e+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/12663/cmap_HighResolution_682819201_683078401_4FGL_J0324.8-2043_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-03', job_status='DONE', photon_flux_upper_limit='4.66e-08', time_completed='2022-09-16 10:58:59.059202', job_id='12663', GAL2='1.12', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1663351139.06', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.56e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.89' WHERE bin_id='1711' AND source_name='4FGL J0324.8-2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:58:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 12663: <4FGL_J0324.8-2043_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0324.8-2043_daily_bin1711> 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) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:45:58 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:58 2022
Terminated at Fri Sep 16 10:58:59 2022
Results reported at Fri Sep 16 10:58:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0324.8-2043_daily_bin1711 51.2191 -20.7285 682819201 683078401 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 :                                   621.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            815 sec.

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

