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


Performing analysis on: 4FGL_J0325.7+2225_daily_bin1713
RA = 51.4421, Dec = 22.4326
tmin = 683337601, tmax = 683596801
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='12720', job_status='RUN', time_executed='2022-09-16 10:46:31.721514', time_epoch_executed='1663350391.72' WHERE source_name='4FGL J0325.7+2225' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12720

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12720/ft1_4FGL_J0325.7+2225_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12720/ft1_4FGL_J0325.7+2225_daily_bin1713.fits outfile=/scratch/kocevski/12720/ft1_filteredMKT_4FGL_J0325.7+2225_daily_bin1713.fits ra=51.4421 dec=22.4326 rad=12.0 tmin=683337601.0 tmax=683596801.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.58
user 3.30
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.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/12720/ft1_filteredMKT_4FGL_J0325.7+2225_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.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.35
sys 0.15

Number of photons that the gtmktime cut: 1333

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/12720/ltcube_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.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/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits
.....................!
real 12.52
user 12.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/12720/ltcube_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.fits outfile=/scratch/kocevski/12720/expmap_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.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/12720/ltcube_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.fits
.....................!
real 190.74
user 185.18
sys 4.85

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J0325.7+2225 @ 51.4421 22.4326

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.fits scfile=/scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits outfile=/scratch/kocevski/12720/cmap_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.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.4421 yref=22.4326 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.fits scfile=/scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits outfile=/scratch/kocevski/12720/cmap_HighResolution_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.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.4421 yref=22.4326 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.59
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/12720/Model_4FGL_J0325.7+2225_daily_bin1713.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.fits.....................!
real 224.53
user 222.76
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.fits', '/scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits', expMap='/scratch/kocevski/12720/expmap_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.fits', expCube='/scratch/kocevski/12720/ltcube_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/12720/Model_4FGL_J0325.7+2225_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0325.7+2225'

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  2.137e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
327        alpha:  2.537e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.671e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/12720/ft1_filtered_4FGL_J0325.7+2225_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/12720/ft2_4FGL_J0325.7+2225_daily_bin1713.fits
Exposure map: /scratch/kocevski/12720/expmap_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.fits
Exposure cube: /scratch/kocevski/12720/ltcube_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/12720/Model_4FGL_J0325.7+2225_daily_bin1713.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) = 14213.2216524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7476       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.552       1.0000          .0000       .10000E+07
     3 'Prefactor '    .45397E-06   1.0000          .0000       .10000E+07
     4 'norm      '    10.389       1.0000          .0000       .10000E+07
     5 'Prefactor '    .53676E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .70818       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.1786       1.0000          .0000       .10000E+07
     8 'norm      '    4.8479       1.0000          .0000       .10000E+07
     9 'norm      '    .49429E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .10781E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .31496       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24909E-02   1.0000          .0000       .10000E+07
    13 'Normalizat'    .66989       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0852       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14213.17     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      748 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7827        3.9565        .14935E-07   -.44043E-01
   2  Prefactor     13.703        8.1469       -.84696E-07    .11754E-02
   3  Prefactor      .0000        8.1710       -.37441E-07** at limit **
   4  norm          10.410        8.1360       -.54296E-07   -.19247E-01
   5  Prefactor      .0000        1.8512        .77073E-07** at limit **
   6  Prefactor     .64070        .58844        .18326E-07    .10396E-02
   7  Prefactor     3.1785        1.9685       -.23537E-07   -.80737E-03
   8  norm          4.8484        2.1603       -.23888E-07   -.37226E-03
   9  norm          .54916E-01    16.082       -.33192E-06** at limit **
  10  norm           .0000        1.4847       -.85106E-07** at limit **
  11  norm          .92315E-07    102.74        .81455E-08** at limit **
  12  Prefactor     .19429E-08    14.793        .35496E-06** at limit **
  13  Normalizat    .66919        .23504        .41552E-05   -.59797E-05
  14  Prefactor     1.0853        .67873E-01   -.53666E-06   -.69633E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.78268
  Prefactor  = 13.703
  Prefactor  = 0
  norm       = 10.4101
  Prefactor  = 0
  Prefactor  = 0.640701
  Prefactor  = 3.17848
  norm       = 4.84841
  norm       = 0.0549161
  norm       = 0
  norm       = 9.2315e-08
  Prefactor  = 1.94289e-09
  Normalizat = 0.669187
  Prefactor  = 1.08526
 **********
 **   18 **HESSE 
 **********

 FCN=   14213.17     FROM HESSE     STATUS=OK           198 CALLS      946 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7827        14.024        .33867E-03   -1.5649    
   2  Prefactor     13.703        8.1613        .27183E-03   -1.5634    
   3  Prefactor      .0000        8.2389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.410        8.3374        .31061E-03   -1.5643    
   5  Prefactor      .0000        1.8490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .64070        29.149        .60047E-03   -1.5692    
   7  Prefactor     3.1785        1.9752        .56815E-03   -1.5672    
   8  norm          4.8484        2.1594        .45664E-03   -1.5664    
   9  norm          .54916E-01    .54571        .68385E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.4823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .92315E-07    104.11        .10009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .19429E-08    14.864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .66919        .22736        .13484       -1.0512    
  14  Prefactor     1.0853        .64030E-01    .38180E-01   -.89939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70399e-08
Minuit parameter uncertainties:
  1  14.0242
  2  8.16127
  3  2.00378e-05
  4  8.33742
  5  3.51914e-06
  6  8.64319
  7  1.97516
  8  2.15944
  9  0.346226
  10  3.6716e-06
  11  0.00620056
  12  0.000339659
  13  0.227683
  14  0.064034
Done.

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

Extracting fit parameters...

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  4.848e+00  2.159e+00  0.000e+00  1.000e+06 ( 1.000e-11)
327        alpha:  2.537e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.671e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.085e+00  6.403e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  6.692e-01  2.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.46
Ra Dec: 51.442 22.433
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 4.86e-08
Energy Flux (Fixed Index): 2.83e-05 +/- 1.26e-05

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) = 14212.5892142
delta logL = 0.58346551119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14212.5493259
delta logL = 0.623353724572

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4569       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0417       1.0000          .0000       5.0000    
     3 'Normalizat'    .70335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0780       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14212.55     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4572        3.4209        .42991E-03    .60046E-02
   2  alpha         2.0418        .51085        .42061       -.30049E-04
   3  Normalizat    .70333        .21817        .13170        .81618E-04
   4  Prefactor     1.0780        .63273E-01    .38489E-01   -.23065E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.4572
  alpha      = 2.04182
  Normalizat = 0.70333
  Prefactor  = 1.07801
 **********
 **   18 **HESSE 
 **********

 FCN=   14212.55     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4572        2.3980        .11766E-04   -1.5661    
   2  alpha         2.0418        .41062        .16804E-01   -.18431    
   3  Normalizat    .70333        .23055        .58451E-03   -1.0376    
   4  Prefactor     1.0780        .66944E-01    .13935E-03   -.90172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47612e-12
Minuit parameter uncertainties:
  1  2.39805
  2  0.412559
  3  0.23087
  4  0.0669492
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12720': 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) = 14212.5493259
delta logL = 0.623353766314

Extracting fit parameters...

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  5.457e+00  2.398e+00  0.000e+00  1.000e+06 ( 1.000e-11)
327        alpha:  2.042e+00  4.126e-01  0.000e+00  5.000e+00 ( 1.000e+00)
328         beta:  1.671e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.078e+00  6.695e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.033e-01  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.64
Ra Dec: 51.442 22.433
Photon Index (Free Index): 2.04 +/- 0.41
Photon Flux (Free Index): 8.82e-08 +/- 4.44e-08
Energy Flux (Free Index): 3.46e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/12720/cmap_HighResolution_683337601_683596801_4FGL_J0325.7+2225_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='3.46e-05', photon_flux_error='4.86e-08', dlogl='6.23e-01', energy_flux='2.83e-05', photon_flux2='8.82e-08', job_status='DONE', time_completed='2022-09-16 10:58:44.125615', photon_index_error2='0.41', photon_index2='2.04', ts='9.46', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.67', time_epoch_completed='1663351124.13', return_code='0', job_id='12720', GAL2='1.08', EG2='0.70', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='4.44e-08', ts2='10.64', photon_index='2.54' WHERE bin_id='1713' AND source_name='4FGL J0325.7+2225' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:58:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 12720: <4FGL_J0325.7+2225_daily_bin1713> in cluster <slac> Done

Job <4FGL_J0325.7+2225_daily_bin1713> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 10:45:27 2022
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:46:17 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:46:17 2022
Terminated at Fri Sep 16 10:58:45 2022
Results reported at Fri Sep 16 10:58:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0325.7+2225_daily_bin1713 51.4421 22.4326 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0325.7+2225 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             447.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            798 sec.

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

