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


Performing analysis on: 4FGL_J0324.8+3412_daily_bin1742
RA = 51.2058, Dec = 34.2119
tmin = 690854401, tmax = 691113601
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='217538', job_status='RUN', time_executed='2022-11-26 00:15:53.378507', time_epoch_executed='1669450553.38' WHERE source_name='4FGL J0324.8+3412' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217538

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217538/ft1_4FGL_J0324.8+3412_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217538/ft1_4FGL_J0324.8+3412_daily_bin1742.fits outfile=/scratch/kocevski/217538/ft1_filteredMKT_4FGL_J0324.8+3412_daily_bin1742.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=690854401.0 tmax=691113601.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.91
user 2.72
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.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/217538/ft1_filteredMKT_4FGL_J0324.8+3412_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.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.52
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217538/ltcube_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.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/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits
.....................!
real 17.23
user 16.81
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217538/ltcube_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.fits outfile=/scratch/kocevski/217538/expmap_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.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/217538/ltcube_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.fits
.....................!
real 191.90
user 186.82
sys 4.41

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 HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 157 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+3412 @ 51.2058 34.2119

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.fits scfile=/scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits outfile=/scratch/kocevski/217538/cmap_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.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.2058 yref=34.2119 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.fits scfile=/scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits outfile=/scratch/kocevski/217538/cmap_HighResolution_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.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.2058 yref=34.2119 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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217538/Model_4FGL_J0324.8+3412_daily_bin1742.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
adding source HB 9
Working on...
/scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.fits..........................!
real 22.62
user 21.18
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.fits', '/scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits', expMap='/scratch/kocevski/217538/expmap_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.fits', expCube='/scratch/kocevski/217538/ltcube_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217538/Model_4FGL_J0324.8+3412_daily_bin1742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/217538/ft1_filtered_4FGL_J0324.8+3412_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217538/ft2_4FGL_J0324.8+3412_daily_bin1742.fits
Exposure map: /scratch/kocevski/217538/expmap_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217538/ltcube_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217538/Model_4FGL_J0324.8+3412_daily_bin1742.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 635.432303639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 628.120528091

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52415E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.9030       1.0000          .0000       .10000E+07
     3 'norm      '    2.5182       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15167E-01   1.0000          .0000       .10000E+07
     5 'norm      '    3.8117       1.0000          .0000       .10000E+07
     6 'Prefactor '    25.535       1.0000          .0000       .10000E+07
     7 'norm      '    130.85       1.0000          .0000       .10000E+07
     8 'norm      '    104.73       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.3338       1.0000          .0000       .10000E+07
    10 'norm      '    7.8549       1.0000          .0000       .10000E+07
    11 'norm      '    1.9302       1.0000          .0000       .10000E+07
    12 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0739       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   602.0349     FROM MIGRAD    STATUS=CONVERGED    285 CALLS      517 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44409E-09    2.3043       -.86051E-06** at limit **
   2  Prefactor     .31086E-08    345.82       -.46272E-05** at limit **
   3  norm          .18874E-07    107.78       -.15566E-05** at limit **
   4  Prefactor     .20539E-08    19.302       -.26205E-06** at limit **
   5  norm          2.5809        2.5365        .23896E-06   -.20914E-02
   6  Prefactor     16.246        24.190       -.42651E-06    .44583E-02
   7  norm          139.03        116.09       -.71743E-07   -.23557E-03
   8  norm          101.92        76.669       -.12318E-05    .14979E-02
   9  Prefactor     145.91        5254.2       -.13531E-03    .63928E-06
  10  norm          7.8549        1.0020         .0000         .0000    
  11  norm          .10000E+07    49219.       -.72255E-05** at limit **
  12  Normalizat    .10000E-01    .17710        .50427E-04** at limit **
  13  Prefactor     .85965        .18673        .52415E-05   -.32250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44089e-10
  Prefactor  = 3.10862e-09
  norm       = 1.88738e-08
  Prefactor  = 2.05391e-09
  norm       = 2.58094
  Prefactor  = 16.2463
  norm       = 139.029
  norm       = 101.924
  Prefactor  = 145.908
  norm       = 7.85489
  norm       = 1e+06
  Normalizat = 0.01
  Prefactor  = 0.859652
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   602.0349     FROM HESSE     STATUS=FAILED        47 CALLS      564 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44409E-09    2.2608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .31086E-08    356.28        .35643E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .18874E-07    113.64        .64353E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .20539E-08    19.081        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.5809        2.5111        .51675E-03   -1.5676    
   6  Prefactor     16.246        22.729        .19794E-03   -1.5627    
   7  norm          139.03        115.37        .87426E-04   -1.5472    
   8  norm          101.92        70.979        .97723E-04   -1.5910    
   9  Prefactor     145.91        4828.4        .32779E-03   -1.5950    
  10  norm          30645.        30637.         .0000       -1.5652    
  11  norm          .10000E+07    .13962       -.72255E-05    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .10000E-01    .25505        .50427E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .85965        1.0573        .52415E-05   -.97566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.6467e-10
Minuit parameter uncertainties:
  1  6.18059e-05
  2  0.00209649
  3  0.002929
  4  0.000396572
  5  2.51108
  6  22.7293
  7  115.374
  8  70.9792
  9  1680.17
  10  1.00204
  11  0.000494152
  12  5.06327e-06
  13  1.08415
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 602.034937892

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.625e+01  2.273e+01  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.597e-01  1.084e+00  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.000e-02  5.063e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.76
Ra Dec: 51.206 34.212
Photon Flux Upper Limit: 3.36e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.66e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217538/likelihoodResults_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.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) = 601.47403793
delta logL = 0.560899961171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 601.384162929
delta logL = 0.650774962662

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   601.3842     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      214 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.823        26.944        .19293E-03    .35268E-03
   2  Index         1.8870        .60123        .85612E-01   -.61668E-05
   3  Normalizat    .10000E-01    .17533        .14471    ** at limit **
   4  Prefactor     .84228        .18194        .44261E-01    .57232E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.8228
  Index      = 1.88703
  Normalizat = 0.01
  Prefactor  = 0.842276
 **********
 **   18 **HESSE 
 **********

 FCN=   601.3842     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.823        27.994        .38586E-04   -1.5604    
   2  Index         1.8870        .64081        .36930E-02   -.67205    
   3  Normalizat    .10000E-01    .17713        .63182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .84228        .18077        .15411E-03   -.98188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8375e-13
Minuit parameter uncertainties:
  1  27.994
  2  0.643713
  3  6.64956e-08
  4  0.180895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217538': 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) = 601.384157529
delta logL = 0.650780362572

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  2.682e+01  2.799e+01  0.000e+00  1.000e+06 ( 1.000e-11)
275        Index:  1.887e+00  6.437e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.423e-01  1.809e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.000e-02  6.650e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.11
Ra Dec: 51.206 34.212
Photon Index (Free Index): 1.89 +/- 0.64
Photon Flux (Free Index): 5.47e-07 +/- 6.27e-07
Energy Flux (Free Index): 5.08e-04 +/- 8.11e-04

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/217538/cmap_HighResolution_690854401_691113601_4FGL_J0324.8+3412_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.66e-01', comment='SUCCESS', energy_flux2='5.08e-04', dlogl='6.51e-01', photon_flux2='5.47e-07', job_status='DONE', time_completed='2022-11-26 00:21:24.863010', photon_index_error2='0.64', photon_index2='1.89', ts='0.76', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='3.36e-06', energy_flux_error2='8.11e-04', EG='0.01', time_epoch_completed='1669450884.86', return_code='101', job_id='217538', GAL2='0.84', EG2='0.01', return_code2='0', photon_flux_error2='6.27e-07', ts2='2.11', photon_index='2.82' WHERE bin_id='1742' AND source_name='4FGL J0324.8+3412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:21:24 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 217538: <4FGL_J0324.8+3412_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0324.8+3412_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:05:09 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:15:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:15:27 2022
Terminated at Sat Nov 26 00:21:25 2022
Results reported at Sat Nov 26 00:21:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0324.8+3412_daily_bin1742 51.2058 34.2119 690854401 691113601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0324.8+3412 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   333.36 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             413.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   358 sec.
    Turnaround time :                            976 sec.

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

