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


Performing analysis on: 4FGL_J0231.8+1322_daily_bin1723
RA = 37.9616, Dec = 13.3692
tmin = 685929601, tmax = 686188801
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='430327', job_status='RUN', time_executed='2022-09-30 00:07:39.013256', time_epoch_executed='1664521659.01' WHERE source_name='4FGL J0231.8+1322' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430327

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430327/ft1_4FGL_J0231.8+1322_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430327/ft1_4FGL_J0231.8+1322_daily_bin1723.fits outfile=/scratch/kocevski/430327/ft1_filteredMKT_4FGL_J0231.8+1322_daily_bin1723.fits ra=37.9616 dec=13.3692 rad=12.0 tmin=685929601.0 tmax=686188801.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.95
user 3.36
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.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/430327/ft1_filteredMKT_4FGL_J0231.8+1322_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.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.54
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 727

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430327/ltcube_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.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/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits
.....................!
real 12.40
user 11.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430327/ltcube_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.fits outfile=/scratch/kocevski/430327/expmap_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.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/430327/ltcube_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.fits
.....................!
real 190.74
user 185.57
sys 4.83

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J0231.8+1322 @ 37.9616 13.3692

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.fits scfile=/scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits outfile=/scratch/kocevski/430327/cmap_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.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=37.9616 yref=13.3692 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.fits scfile=/scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits outfile=/scratch/kocevski/430327/cmap_HighResolution_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.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=37.9616 yref=13.3692 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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430327/Model_4FGL_J0231.8+1322_daily_bin1723.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/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.fits.....................!
real 98.36
user 96.68
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.fits', '/scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits', expMap='/scratch/kocevski/430327/expmap_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.fits', expCube='/scratch/kocevski/430327/ltcube_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430327/Model_4FGL_J0231.8+1322_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0231.8+1322'

4FGL J0231.8+1322
   Spectrum: PowerLaw
241    Prefactor:  4.772e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
242        Index:  2.678e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  5.510e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430327/ft1_filtered_4FGL_J0231.8+1322_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430327/ft2_4FGL_J0231.8+1322_daily_bin1723.fits
Exposure map: /scratch/kocevski/430327/expmap_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430327/ltcube_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430327/Model_4FGL_J0231.8+1322_daily_bin1723.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) = 7832.10041265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7300       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.209       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0828       1.0000          .0000       .10000E+07
     4 'norm      '    .32236E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .65837E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4544       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15920E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    11.217       1.0000          .0000       .10000E+07
     9 'Prefactor '    .67735E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    56.666       1.0000          .0000       .10000E+07
    11 'Prefactor '    .98365E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32235E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47754E-03   1.0000          .0000       .10000E+07
    14 'norm      '    1.2817       1.0000          .0000       .10000E+07
    15 'Prefactor '    28.974       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7472       1.0000          .0000       .10000E+07
    17 'norm      '    .34149E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .98407E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22149E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    17.598       1.0000          .0000       .10000E+07
    21 'Prefactor '    .14274E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .28892E-05   1.0000          .0000       .10000E+07
    23 'norm      '    5.9116       1.0000          .0000       .10000E+07
    24 'norm      '    .78291E-03   1.0000          .0000       .10000E+07
    25 'norm      '    5.7531       1.0000          .0000       .10000E+07
    26 'norm      '    .28244E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .59258E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    .71378       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0519       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7832.092     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2636 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7326        2.0777        .50009E-06    .68110E-02
   2  Prefactor     12.223        4.4107        .79973E-06    .10628    
   3  Prefactor     1.0888        3.1013        .35242E-06   -.22311E-02
   4  norm          .47962E-07    8.3596       -.69093E-06** at limit **
   5  Prefactor     .16098E-08    3.1275        .21054E-06** at limit **
   6  Prefactor     4.4552        2.7170       -.49117E-07    .26225E-02
   7  Prefactor     .73985E-06    81.016        .36541E-06** at limit **
   8  Prefactor     10.798        20.372        .15557E-05   -.13821E-01
   9  Prefactor     .55511E-10    24.464       -.88113E-07** at limit **
  10  Prefactor     56.287        13.199       -.66015E-06    .14526    
  11  Prefactor     .54956E-08    2.3984        .18606E-06** at limit **
  12  Prefactor     .55511E-09    7.5419       -.92680E-06** at limit **
  13  Prefactor     .11657E-08    3.6770        .62101E-07** at limit **
  14  norm          1.2817        .50623       -.25184E-07    .11546E-01
  15  Prefactor     29.188        22.150       -.62496E-06   -.64808E-01
  16  Prefactor     7.6940        5.4229        .73174E-06   -.23756E-01
  17  norm          .61062E-09    2.9728        .90761E-07** at limit **
  18  Prefactor     .18319E-08    4.8492        .15989E-05** at limit **
  19  Prefactor     .39913E-07    6.4878       -.46704E-06** at limit **
  20  Prefactor     17.607        2.1120       -.25528E-06   -.16197E-01
  21  Prefactor     .49183E-07    9.0561        .10005E-05** at limit **
  22  Prefactor     .38303E-08    4.2941       -.17163E-05** at limit **
  23  norm          5.9684        6.7803        .49775E-07   -.42998E-03
  24  norm          .11657E-08    3.9239        .56466E-06** at limit **
  25  norm          5.7529        3.5818        .74499E-07   -.26535E-02
  26  norm          .20428E-07    4.2276       -.17651E-07** at limit **
  27  Prefactor     .42744E-08    2.5055       -.21403E-06** at limit **
  28  Normalizat    .71449        .22494       -.54567E-05   -.19432E-04
  29  Prefactor     1.0518        .10112       -.13870E-05   -.78728E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.73264
  Prefactor  = 12.2226
  Prefactor  = 1.08876
  norm       = 4.79616e-08
  Prefactor  = 1.60982e-09
  Prefactor  = 4.45519
  Prefactor  = 7.39853e-07
  Prefactor  = 10.7979
  Prefactor  = 5.55112e-11
  Prefactor  = 56.2867
  Prefactor  = 5.4956e-09
  Prefactor  = 5.55112e-10
  Prefactor  = 1.16573e-09
  norm       = 1.28173
  Prefactor  = 29.1883
  Prefactor  = 7.69399
  norm       = 6.10623e-10
  Prefactor  = 1.83187e-09
  Prefactor  = 3.99125e-08
  Prefactor  = 17.6075
  Prefactor  = 4.91829e-08
  Prefactor  = 3.83027e-09
  norm       = 5.96836
  norm       = 1.16573e-09
  norm       = 5.75287
  norm       = 2.04281e-08
  Prefactor  = 4.27436e-09
  Normalizat = 0.714487
  Prefactor  = 1.05182
 **********
 **   18 **HESSE 
 **********

 FCN=   7832.092     FROM HESSE     STATUS=OK           603 CALLS     3239 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7326        10.595        .41937E-03   -1.5660    
   2  Prefactor     12.223        7.5423        .28644E-03   -1.5638    
   3  Prefactor     1.0888        3.1589        .11554E-02   -1.5687    
   4  norm          .47962E-07    10.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16098E-08    3.1604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4552        2.7259        .47686E-03   -1.5666    
   7  Prefactor     .73985E-06    81.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.798        32.743        .29889E-03   -1.5642    
   9  Prefactor     .55511E-10    24.480        .14894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     56.287        50.936        .13285E-03   -1.5558    
  11  Prefactor     .54956E-08    2.4515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-09    14.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11657E-08    3.7075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2817        .50879        .86680E-03   -1.5685    
  15  Prefactor     29.188        29.277        .18581E-03   -1.5600    
  16  Prefactor     7.6940        18.544        .36003E-03   -1.5652    
  17  norm          .61062E-09    2.9799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18319E-08    5.3359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .39913E-07    13.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.607        10.157        .23848E-03   -1.5624    
  21  Prefactor     .49183E-07    11.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .38303E-08    5.3971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.9684        6.7774        .41278E-03   -1.5659    
  24  norm          .11657E-08    3.9674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          5.7529        3.5853        .41851E-03   -1.5660    
  26  norm          .20428E-07    11.218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .42744E-08    2.5757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .71449        .22159        .91496E-01   -1.0332    
  29  Prefactor     1.0518        .92321E-01    .39803E-01   -.91021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23816e-06
Minuit parameter uncertainties:
  1  10.5954
  2  7.54228
  3  3.15892
  4  0.00143958
  5  0.000143185
  6  2.72594
  7  0.0155727
  8  32.7433
  9  8.64582e-05
  10  50.9365
  11  0.000232267
  12  0.000177616
  13  0.00013078
  14  0.508787
  15  29.2772
  16  18.5439
  17  8.38767e-05
  18  0.000198102
  19  0.00148594
  20  10.157
  21  0.00151302
  22  0.000287159
  23  6.77737
  24  0.000137567
  25  3.58527
  26  0.000957526
  27  0.000209534
  28  0.22187
  29  0.0923346
Done.

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

Extracting fit parameters...

4FGL J0231.8+1322
   Spectrum: PowerLaw
241    Prefactor:  5.496e-09  2.323e-04  0.000e+00  1.000e+06 ( 1.000e-12)
242        Index:  2.678e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  5.510e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  1.052e+00  9.233e-02  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  7.145e-01  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 37.962 13.369
Photon Flux Upper Limit: 6.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430327/likelihoodResults_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7832.09232549
delta logL = -0.000268329585197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7832.09205745
delta logL = -2.94990968541e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7832.092     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      238 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0250        .42118E-03** at limit **
   2  Index         2.3039        1.2147        .23191E-04     .0000    
   3  Normalizat    .71449        1.0542        .54550E-05    .62760E-04
   4  Prefactor     1.0518        1.1892       -.54878E-05    .33654E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.30388
  Normalizat = 0.714486
  Prefactor  = 1.05183
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7832.092     FROM HESSE     STATUS=FAILED         9 CALLS      247 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59135        1.8271        .23191E-04   -.56952    
   3  Normalizat    .71449        1.0542        .54550E-05   -1.0332    
   4  Prefactor     1.0518        1.1892       -.54878E-05   -.91021    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.76341e-11
Minuit parameter uncertainties:
  1  1.74384e-05
  2  1.23224
  3  1.08656
  4  1.22118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430327': 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) = 7832.09205716
delta logL = 1.09594111564e-09

Extracting fit parameters...

4FGL J0231.8+1322
   Spectrum: PowerLaw
241    Prefactor:  0.000e+00  1.744e-05  0.000e+00  1.000e+06 ( 1.000e-12)
242        Index:  2.304e+00  1.232e+00  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  5.510e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  1.052e+00  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  7.145e-01  1.087e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 37.962 13.369

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/430327/cmap_HighResolution_685929601_686188801_4FGL_J0231.8+1322_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-03', job_status='DONE', photon_flux_upper_limit='6.85e-08', time_completed='2022-09-30 00:20:33.820590', job_id='430327', GAL2='1.05', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1664522433.82', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.10e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1723' AND source_name='4FGL J0231.8+1322' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:20:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 430327: <4FGL_J0231.8+1322_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0231.8+1322_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:11 2022
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:33 2022
Terminated at Fri Sep 30 00:20:34 2022
Results reported at Fri Sep 30 00:20:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0231.8+1322_daily_bin1723 37.9616 13.3692 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0231.8+1322 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   775.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            923 sec.

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

