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


Performing analysis on: 4FGL_J0328.4-4736_daily_bin1764
RA = 52.101, Dec = -47.6158
tmin = 696556801, tmax = 696816001
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='434499', job_status='RUN', time_executed='2023-01-31 00:09:18.542944', time_epoch_executed='1675152558.54' WHERE source_name='4FGL J0328.4-4736' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434499

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434499/ft1_4FGL_J0328.4-4736_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434499/ft1_4FGL_J0328.4-4736_daily_bin1764.fits outfile=/scratch/kocevski/434499/ft1_filteredMKT_4FGL_J0328.4-4736_daily_bin1764.fits ra=52.101 dec=-47.6158 rad=12.0 tmin=696556801.0 tmax=696816001.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.76
user 3.47
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.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/434499/ft1_filteredMKT_4FGL_J0328.4-4736_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.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.55
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 543

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434499/ltcube_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.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/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits
.....................!
real 15.20
user 14.65
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434499/ltcube_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.fits outfile=/scratch/kocevski/434499/expmap_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.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/434499/ltcube_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.fits
.....................!
real 192.25
user 187.03
sys 4.68

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 186 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 J0328.4-4736 @ 52.101 -47.6158

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.fits scfile=/scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits outfile=/scratch/kocevski/434499/cmap_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.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=52.101 yref=-47.6158 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.fits scfile=/scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits outfile=/scratch/kocevski/434499/cmap_HighResolution_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.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=52.101 yref=-47.6158 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434499/Model_4FGL_J0328.4-4736_daily_bin1764.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/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.fits.....................!
real 123.86
user 121.64
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.fits', '/scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits', expMap='/scratch/kocevski/434499/expmap_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.fits', expCube='/scratch/kocevski/434499/ltcube_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434499/Model_4FGL_J0328.4-4736_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0328.4-4736'

4FGL J0328.4-4736
   Spectrum: PowerLaw
269    Prefactor:  3.763e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.389e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  9.405e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/434499/ft1_filtered_4FGL_J0328.4-4736_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434499/ft2_4FGL_J0328.4-4736_daily_bin1764.fits
Exposure map: /scratch/kocevski/434499/expmap_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434499/ltcube_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434499/Model_4FGL_J0328.4-4736_daily_bin1764.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) = 5882.24125269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .90711E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .72300E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    15.129       1.0000          .0000       .10000E+07
     4 'norm      '    .29057       1.0000          .0000       .10000E+07
     5 'Prefactor '    .23472E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    19.443       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.198       1.0000          .0000       .10000E+07
     8 'Prefactor '    .60673E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    21.724       1.0000          .0000       .10000E+07
    10 'Prefactor '    42.083       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.773       1.0000          .0000       .10000E+07
    12 'norm      '    .61271E-04   1.0000          .0000       .10000E+07
    13 'norm      '    2.0401       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21895E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.480       1.0000          .0000       .10000E+07
    16 'norm      '    20.672       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13165E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    47.133       1.0000          .0000       .10000E+07
    19 'norm      '    1.5838       1.0000          .0000       .10000E+07
    20 'Prefactor '    .20026E-05   1.0000          .0000       .10000E+07
    21 'Normalizat'    .92711       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94884       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5882.227     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1736 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.5787        .74492E-07** at limit **
   2  Prefactor      .0000        7.6764        .92827E-07** at limit **
   3  Prefactor     15.118        4.2138        .21762E-08   -.12690E-01
   4  norm          .29059        .62072        .18508E-07   -.32897E-04
   5  Prefactor      .0000        2.3666       -.63583E-07** at limit **
   6  Prefactor     19.419        12.882       -.17002E-07   -.13229E-02
   7  Prefactor     16.305        3.1773       -.49514E-08    .36085E-02
   8  Prefactor      .0000        5.8996        .38268E-06** at limit **
   9  Prefactor     21.876        4.3079        .17219E-07   -.23656E-01
  10  Prefactor     40.522        53.434        .64563E-07    .10726E-02
  11  Prefactor     11.773        2.3514       -.13623E-08   -.13983E-01
  12  norm           .0000        3.2875       -.19071E-07** at limit **
  13  norm          2.0390        .87550       -.15920E-07    .51437E-03
  14  Prefactor     .55511E-10    14.827       -.36917E-07** at limit **
  15  Prefactor     10.575        2.3303       -.16605E-07    .29597E-01
  16  norm          20.671        9.4842       -.39279E-08   -.29722E-02
  17  Prefactor     .11102E-09    9.9166        .45735E-07** at limit **
  18  Prefactor     47.611        40.548        .11969E-06    .53273E-02
  19  norm          1.5832        2.5403       -.51382E-07    .92830E-04
  20  Prefactor     .16653E-09    21.647        .13138E-06** at limit **
  21  Normalizat    .92660        .20310       -.96344E-06    .12967E-04
  22  Prefactor     .94955        .21871       -.68045E-06    .11391E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 15.1177
  norm       = 0.290588
  Prefactor  = 0
  Prefactor  = 19.4188
  Prefactor  = 16.3052
  Prefactor  = 0
  Prefactor  = 21.876
  Prefactor  = 40.5215
  Prefactor  = 11.7728
  norm       = 0
  norm       = 2.03897
  Prefactor  = 5.55112e-11
  Prefactor  = 10.5751
  norm       = 20.6712
  Prefactor  = 1.11022e-10
  Prefactor  = 47.6113
  norm       = 1.58323
  Prefactor  = 1.66533e-10
  Normalizat = 0.926603
  Prefactor  = 0.949553
 **********
 **   18 **HESSE 
 **********

 FCN=   5882.227     FROM HESSE     STATUS=OK           390 CALLS     2126 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.5789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        7.6882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.118        13.154        .25724E-03   -1.5630    
   4  norm          .29059        .69718        .20585E-02   -1.5697    
   5  Prefactor      .0000        2.3603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.419        14.090        .22686E-03   -1.5620    
   7  Prefactor     16.305        21.452        .24859E-03   -1.5627    
   8  Prefactor      .0000        5.8896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.876        22.737        .21461E-03   -1.5614    
  10  Prefactor     40.522        53.608        .15417E-03   -1.5581    
  11  Prefactor     11.773        12.238        .29170E-03   -1.5639    
  12  norm           .0000        3.2451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0390        .88248        .72373E-03   -1.5679    
  14  Prefactor     .55511E-10    14.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.575        21.091        .30926E-03   -1.5643    
  16  norm          20.671        9.5406        .22001E-03   -1.5617    
  17  Prefactor     .11102E-09    9.9158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     47.611        40.744        .14567E-03   -1.5570    
  19  norm          1.5832        2.5722        .84334E-03   -1.5683    
  20  Prefactor     .16653E-09    21.925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .92660        .17449        .45247E-01   -.95532    
  22  Prefactor     .94955        .18647        .45625E-01   -.94430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80798e-08
Minuit parameter uncertainties:
  1  2.58392e-05
  2  1.88642e-05
  3  13.1545
  4  0.697176
  5  7.93337e-07
  6  14.0904
  7  21.452
  8  5.64899e-06
  9  22.7371
  10  53.6083
  11  12.2382
  12  2.62557e-06
  13  0.882476
  14  6.59552e-05
  15  21.0915
  16  9.54056
  17  5.83013e-05
  18  40.7438
  19  2.5722
  20  0.000128837
  21  0.174593
  22  0.186599
Done.

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

Extracting fit parameters...

4FGL J0328.4-4736
   Spectrum: PowerLaw
269    Prefactor:  1.177e+01  1.224e+01  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  2.389e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  9.405e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  9.496e-01  1.866e-01  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.266e-01  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.78
Ra Dec: 52.101 -47.616
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.79e-08 +/- 1.86e-08
Energy Flux (Fixed Index): 5.97e-06 +/- 6.20e-06

TS (Fixed Index): 2.78
Ra Dec: 52.101 -47.616
Photon Flux Upper Limit: 7.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434499/likelihoodResults_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.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) = 5880.98744162
delta logL = 1.23936360163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5880.93212884
delta logL = 1.29467638649

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5880.932     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.318        13.310        .24794E-03   -.23027E-03
   2  Index         1.3419        .37873        .20864       -.57585E-04
   3  Normalizat    .94321        .16487        .45450E-01    .44085E-05
   4  Prefactor     .93478        .18419        .45448E-01    .13066E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3181
  Index      = 1.34189
  Normalizat = 0.943211
  Prefactor  = 0.934784
 **********
 **   18 **HESSE 
 **********

 FCN=   5880.932     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.318        15.140        .99175E-05   -1.5627    
   2  Index         1.3419        .47707        .83336E-02   -.82070    
   3  Normalizat    .94321        .19279        .23395E-03   -.94958    
   4  Prefactor     .93478        .21540        .26113E-03   -.94936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20422e-09
Minuit parameter uncertainties:
  1  15.1397
  2  0.478646
  3  0.192937
  4  0.215602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434499': 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) = 5880.93212214
delta logL = 1.29468308481

Extracting fit parameters...

4FGL J0328.4-4736
   Spectrum: PowerLaw
269    Prefactor:  1.632e+01  1.514e+01  0.000e+00  1.000e+06 ( 1.000e-13)
270        Index:  1.342e+00  4.786e-01  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  9.405e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  9.348e-01  2.156e-01  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  9.432e-01  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.37
Ra Dec: 52.101 -47.616
Photon Index (Free Index): 1.34 +/- 0.48
Photon Flux (Free Index): 8.75e-09 +/- 8.19e-09
Energy Flux (Free Index): 4.68e-05 +/- 6.41e-05

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/434499/cmap_HighResolution_696556801_696816001_4FGL_J0328.4-4736_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', comment='SUCCESS', photon_flux='1.79e-08', energy_flux2='4.68e-05', photon_flux_error='1.86e-08', dlogl='1.29e+00', energy_flux='5.97e-06', photon_flux2='8.75e-09', job_status='DONE', time_completed='2023-01-31 00:20:41.082808', photon_index_error2='0.48', photon_index2='1.34', ts='2.78', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='7.32e-08', energy_flux_error2='6.41e-05', EG='0.93', time_epoch_completed='1675153241.08', return_code='0', job_id='434499', GAL2='0.93', EG2='0.94', return_code2='0', energy_flux_error='6.20e-06', photon_flux_error2='8.19e-09', ts2='5.37', photon_index='2.39' WHERE bin_id='1764' AND source_name='4FGL J0328.4-4736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:20:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 434499: <4FGL_J0328.4-4736_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0328.4-4736_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:05:00 2023
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:08:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:08:57 2023
Terminated at Tue Jan 31 00:20:41 2023
Results reported at Tue Jan 31 00:20:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0328.4-4736_daily_bin1764 52.101 -47.6158 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0328.4-4736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   672.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            941 sec.

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

