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


Performing analysis on: 4FGL_J0231.8+1322_daily_bin1751
RA = 37.9616, Dec = 13.3692
tmin = 693187201, tmax = 693446401
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='196904', job_status='RUN', time_executed='2022-12-23 08:31:57.672484', time_epoch_executed='1671813117.67' WHERE source_name='4FGL J0231.8+1322' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196904

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196904/ft1_4FGL_J0231.8+1322_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196904/ft1_4FGL_J0231.8+1322_daily_bin1751.fits outfile=/scratch/kocevski/196904/ft1_filteredMKT_4FGL_J0231.8+1322_daily_bin1751.fits ra=37.9616 dec=13.3692 rad=12.0 tmin=693187201.0 tmax=693446401.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.67
user 3.37
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.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/196904/ft1_filteredMKT_4FGL_J0231.8+1322_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/196904/ft1_filtered_4FGL_J0231.8+1322_daily_bin1751.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.32
sys 0.17

Number of photons that the gtmktime cut: 821

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196904/ft1_filtered_4FGL_J0231.8+1322_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/196904/ltcube_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.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/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.fits
.....................!
real 11.98
user 11.49
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196904/ft1_filtered_4FGL_J0231.8+1322_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/196904/ltcube_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.fits outfile=/scratch/kocevski/196904/expmap_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.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/196904/ltcube_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.fits
.....................!
real 195.26
user 188.25
sys 5.64

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/196904/ft1_filtered_4FGL_J0231.8+1322_daily_bin1751.fits scfile=/scratch/kocevski/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.fits outfile=/scratch/kocevski/196904/cmap_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196904/ft1_filtered_4FGL_J0231.8+1322_daily_bin1751.fits scfile=/scratch/kocevski/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.fits outfile=/scratch/kocevski/196904/cmap_HighResolution_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/196904/ft1_filtered_4FGL_J0231.8+1322_daily_bin1751.fits', '/scratch/kocevski/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.fits', expMap='/scratch/kocevski/196904/expmap_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.fits', expCube='/scratch/kocevski/196904/ltcube_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/196904/Model_4FGL_J0231.8+1322_daily_bin1751.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/196904/ft1_filtered_4FGL_J0231.8+1322_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/196904/ft2_4FGL_J0231.8+1322_daily_bin1751.fits
Exposure map: /scratch/kocevski/196904/expmap_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.fits
Exposure cube: /scratch/kocevski/196904/ltcube_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/196904/Model_4FGL_J0231.8+1322_daily_bin1751.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) = 9123.38130649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32107       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.8173       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0071       1.0000          .0000       .10000E+07
     4 'norm      '    10.559       1.0000          .0000       .10000E+07
     5 'Prefactor '    .66724E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5586       1.0000          .0000       .10000E+07
     7 'Prefactor '    .36049E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.1208       1.0000          .0000       .10000E+07
     9 'Prefactor '    .26099E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    115.36       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20890E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21775E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14963E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .63427       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17302E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .98808E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .78384E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .27262E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    35.077       1.0000          .0000       .10000E+07
    20 'Prefactor '    .28281E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16970E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .17032E-02   1.0000          .0000       .10000E+07
    23 'norm      '    3.5126       1.0000          .0000       .10000E+07
    24 'norm      '    42.553       1.0000          .0000       .10000E+07
    25 'norm      '    5.0448       1.0000          .0000       .10000E+07
    26 'norm      '    .17049E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    2.8742       1.0000          .0000       .10000E+07
    28 'Normalizat'    .90232       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0061       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=   9123.376     FROM MIGRAD    STATUS=CONVERGED    203 CALLS     2661 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22907        2.2324       -.17542E-05** at limit **
   2  Prefactor     3.7725        5.6516       -.76573E-06    .65044E-06
   3  Prefactor     4.0083        3.4390       -.41096E-06    .41854E-03
   4  norm          10.585        6.0271        .29096E-06   -.13478E-03
   5  Prefactor      .0000        2.6017        .41983E-06** at limit **
   6  Prefactor     2.5572        2.2097        .67739E-07   -.29093E-03
   7  Prefactor     .74329E-07    13.664        .23318E-06** at limit **
   8  Prefactor     5.6891        41.999        .81553E-05   -.10643E-01
   9  Prefactor     .55511E-10    28.688       -.19007E-05** at limit **
  10  Prefactor     114.57        69.614       -.46882E-05    .10283E-01
  11  Prefactor     .71204E-06    8.5495        .31891E-05** at limit **
  12  Prefactor     .11546E-07    33.927       -.54324E-05** at limit **
  13  Prefactor     .14311E-06    6.5837       -.24552E-05** at limit **
  14  norm          .63434        .42320       -.86133E-08    .23116E-02
  15  Prefactor      .0000        27.166        .74380E-06** at limit **
  16  Prefactor     .40579E-07    3.8545       -.13283E-05** at limit **
  17  norm          .14377E-07    18.731       -.12140E-05** at limit **
  18  Prefactor     .57893E-06    5.4651       -.20832E-05** at limit **
  19  Prefactor     35.038        15.702       -.18216E-05   -.10363E-01
  20  Prefactor     .18041E-06    7.0833        .18711E-05** at limit **
  21  Prefactor     .76222E-06    4.7026        .96119E-06** at limit **
  22  Prefactor     .56455E-07    6.7879       -.55578E-06** at limit **
  23  norm          3.5872        6.7890        .57461E-06   -.41419E-03
  24  norm          42.514        1.3288       -.75060E-07    .10249E-01
  25  norm          5.0456        4.1585       -.77382E-06   -.37463E-03
  26  norm           .0000        4.4339       -.37288E-06** at limit **
  27  Prefactor     2.8804        3.2135        .22347E-06    .32938E-04
  28  Normalizat    .90331        .20977        .98037E-05    .14489E-04
  29  Prefactor     1.0060        .93530E-01    .52228E-05    .48551E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 0.229074
  Prefactor  = 3.77254
  Prefactor  = 4.00832
  norm       = 10.5853
  Prefactor  = 0
  Prefactor  = 2.55724
  Prefactor  = 7.43294e-08
  Prefactor  = 5.68912
  Prefactor  = 5.55112e-11
  Prefactor  = 114.566
  Prefactor  = 7.12042e-07
  Prefactor  = 1.15463e-08
  Prefactor  = 1.43108e-07
  norm       = 0.634341
  Prefactor  = 0
  Prefactor  = 4.05787e-08
  norm       = 1.43774e-08
  Prefactor  = 5.78926e-07
  Prefactor  = 35.0378
  Prefactor  = 1.80411e-07
  Prefactor  = 7.62224e-07
  Prefactor  = 5.64548e-08
  norm       = 3.58717
  norm       = 42.514
  norm       = 5.04558
  norm       = 0
  Prefactor  = 2.88041
  Normalizat = 0.903311
  Prefactor  = 1.00605
 **********
 **   18 **HESSE 
 **********

 FCN=   9123.376     FROM HESSE     STATUS=OK           611 CALLS     3272 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22907        9.4963        .99268E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7725        5.6788        .51635E-03   -1.5669    
   3  Prefactor     4.0083        3.4462        .50355E-03   -1.5668    
   4  norm          10.585        6.0413        .30809E-03   -1.5643    
   5  Prefactor      .0000        2.6007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5572        2.2212        .63799E-03   -1.5676    
   7  Prefactor     .74329E-07    13.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6891        55.968        .40557E-03   -1.5660    
   9  Prefactor     .55511E-10    28.682        .16664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     114.57        70.217        .93112E-04   -1.5494    
  11  Prefactor     .71204E-06    11.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11546E-07    33.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14311E-06    7.0756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .63434        .42889        .66213E-03   -1.5692    
  15  Prefactor      .0000        27.098        .17221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .40579E-07    9.3249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .14377E-07    18.870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .57893E-06    8.7966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     35.038        35.577        .16887E-03   -1.5590    
  20  Prefactor     .18041E-06    7.7238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .76222E-06    9.8175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .56455E-07    6.9448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.5872        6.7938        .53917E-03   -1.5670    
  24  norm          42.514        16.572        .15331E-03   -1.5578    
  25  norm          5.0456        4.2250        .44745E-03   -1.5663    
  26  norm           .0000        4.4245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.8804        3.2113        .59929E-03   -1.5674    
  28  Normalizat    .90331        .19393        .87792E-01   -.96344    
  29  Prefactor     1.0060        .84432E-01    .43963E-01   -.92528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33353e-07
Minuit parameter uncertainties:
  1  2.94982
  2  5.67885
  3  3.4462
  4  6.04126
  5  2.63897e-06
  6  2.22123
  7  0.00203784
  8  35.6885
  9  8.73199e-05
  10  70.2176
  11  0.00566415
  12  0.00125001
  13  0.00201262
  14  0.428893
  15  1.04326e-05
  16  0.00123028
  17  0.00104257
  18  0.0045133
  19  35.5771
  20  0.00236107
  21  0.00547103
  22  0.00125261
  23  6.79386
  24  16.5721
  25  4.22499
  26  3.19926e-06
  27  3.21126
  28  0.194083
  29  0.0844432
Done.

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

Extracting fit parameters...

4FGL J0231.8+1322
   Spectrum: PowerLaw
241    Prefactor:  7.120e-07  5.664e-03  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.006e+00  8.444e-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:  9.033e-01  1.941e-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: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196904/likelihoodResults_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.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) = 9123.37603783
delta logL = -0.000316444395139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9123.37572139
delta logL = -3.81078280043e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79936E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.8304       1.0000          .0000       10.000    
     3 'Normalizat'    .90326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0061       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=   9123.376     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      279 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.8079        .42118E-03** at limit **
   2  Index         3.6694        1.2794       -.11128E-04     .0000    
   3  Normalizat    .90331        1.2385       -.31222E-04   -.99395E-04
   4  Prefactor     1.0060        1.2806        .58503E-05   -.11026E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.66939
  Normalizat = 0.903309
  Prefactor  = 1.00605
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9123.376     FROM HESSE     STATUS=FAILED         9 CALLS      288 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.8079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4859        2.2313       -.11128E-04   -.26937    
   3  Normalizat    .90331        1.2385       -.31222E-04   -.96344    
   4  Prefactor     1.0060        1.2806        .58503E-05   -.92528    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.15011e-11
Minuit parameter uncertainties:
  1  4.51126e-06
  2  1.2949
  3  1.28117
  4  1.32285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196904': 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) = 9123.37572135
delta logL = 3.14794306178e-08

Extracting fit parameters...

4FGL J0231.8+1322
   Spectrum: PowerLaw
241    Prefactor:  0.000e+00  4.511e-06  0.000e+00  1.000e+06 ( 1.000e-12)
242        Index:  3.669e+00  1.295e+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.006e+00  1.323e+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:  9.033e-01  1.281e+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/196904/cmap_HighResolution_693187201_693446401_4FGL_J0231.8+1322_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.30e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-12-23 08:46:02.550855', job_id='196904', GAL2='1.01', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1671813962.55', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.15e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1751' AND source_name='4FGL J0231.8+1322' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 08:46:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 196904: <4FGL_J0231.8+1322_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0231.8+1322_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 08:30:20 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 08:30:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 08:30:22 2022
Terminated at Fri Dec 23 08:46:03 2022
Results reported at Fri Dec 23 08:46:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0231.8+1322_daily_bin1751 37.9616 13.3692 693187201 693446401 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 :                                   840.35 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             318.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            943 sec.

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

