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 19 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0231.8+1322_daily_bin1692
RA = 37.9616, Dec = 13.3692
tmin = 677894401, tmax = 678153601
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='403667', job_status='RUN', time_executed='2022-06-29 04:02:37.242867', time_epoch_executed='1656500557.24' WHERE source_name='4FGL J0231.8+1322' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403667

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403667/ft1_4FGL_J0231.8+1322_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403667/ft2_4FGL_J0231.8+1322_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403667/ft1_4FGL_J0231.8+1322_daily_bin1692.fits outfile=/scratch/kocevski/403667/ft1_filteredMKT_4FGL_J0231.8+1322_daily_bin1692.fits ra=37.9616 dec=13.3692 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.86
user 4.20
sys 0.26

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

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

Number of photons that the gtmktime cut: 837

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403667/ft1_filtered_4FGL_J0231.8+1322_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/403667/ft2_4FGL_J0231.8+1322_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/403667/ltcube_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.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/403667/ft2_4FGL_J0231.8+1322_daily_bin1692.fits
.....................!
real 14.37
user 13.94
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403667/ft1_filtered_4FGL_J0231.8+1322_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403667/ft2_4FGL_J0231.8+1322_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/403667/ltcube_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.fits outfile=/scratch/kocevski/403667/expmap_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.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/403667/ltcube_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.fits
.....................!
real 194.72
user 188.14
sys 6.17

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/403667/ft1_filtered_4FGL_J0231.8+1322_daily_bin1692.fits scfile=/scratch/kocevski/403667/ft2_4FGL_J0231.8+1322_daily_bin1692.fits outfile=/scratch/kocevski/403667/cmap_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/403667/ft1_filtered_4FGL_J0231.8+1322_daily_bin1692.fits scfile=/scratch/kocevski/403667/ft2_4FGL_J0231.8+1322_daily_bin1692.fits outfile=/scratch/kocevski/403667/cmap_HighResolution_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.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.55
user 0.37
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/403667/ft1_filtered_4FGL_J0231.8+1322_daily_bin1692.fits', '/scratch/kocevski/403667/ft2_4FGL_J0231.8+1322_daily_bin1692.fits', expMap='/scratch/kocevski/403667/expmap_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.fits', expCube='/scratch/kocevski/403667/ltcube_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/403667/Model_4FGL_J0231.8+1322_daily_bin1692.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  1.000e-04  1.000e+04 ( 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/403667/ft1_filtered_4FGL_J0231.8+1322_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/403667/ft2_4FGL_J0231.8+1322_daily_bin1692.fits
Exposure map: /scratch/kocevski/403667/expmap_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.fits
Exposure cube: /scratch/kocevski/403667/ltcube_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/403667/Model_4FGL_J0231.8+1322_daily_bin1692.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) = 8867.47713681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10162E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5913       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2350       1.0000         .10000E-03   10000.    
     4 'norm      '    9.4806       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1808       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0682       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11038E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5307       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5071       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2964       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16530E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.660       1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.925       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13726E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.7854       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    8.8058       1.0000         .10000E-03   10000.    
    27 'norm      '    3.8240       1.0000         .10000E-03   10000.    
    28 'norm      '    1.9014       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .11810E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.4629       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .90436       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8867.437     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     3733 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.9944       -.11106E-06** at limit **
   2  Prefactor     3.5926        3.7097       -.37183E-06    .22893E-04
   3  Prefactor     3.2360        2.4414        .83667E-07   -.35237E-04
   4  norm          9.4814        4.9291       -.53745E-07   -.95516E-04
   5  Prefactor     .10000E-03    6.7903       -.17450E-06** at limit **
   6  Prefactor     1.1813        2.3664        .11405E-06   -.19806E-03
   7  Prefactor     .10000E-03    12.042        .34217E-06** at limit **
   8  Prefactor     .10000E-03    22.901       -.35356E-06** at limit **
   9  Prefactor     2.0702        7.1542        .75305E-05   -.10991E-03
  10  Prefactor     .10000E-03    31.294        .15505E-05** at limit **
  11  Prefactor     .10000E-03    23.027       -.38026E-06** at limit **
  12  Prefactor     .10000E-03    10.012       -.30319E-07** at limit **
  13  Prefactor     6.5433        22.404       -.90168E-06   -.78452E-04
  14  Prefactor     4.5000        9.9361        .17770E-05   -.15921E-03
  15  Prefactor     .10000E-03    5.9628       -.51564E-07** at limit **
  16  norm          1.2959        .52728       -.19820E-07   -.83587E-03
  17  Prefactor     .10000E-03    54.800       -.25602E-05** at limit **
  18  Prefactor     22.654        20.078        .40101E-06   -.42767E-04
  19  norm          .10000E-03    3.2768       -.39767E-07** at limit **
  20  Prefactor     13.934        15.518        .88056E-07   -.89145E-04
  21  Prefactor     .10003E-03    141.36       -.11301E-05** at limit **
  22  Prefactor     2.7907        10.361        .99369E-06    .26650E-05
  23  Prefactor     .10000E-03    8.0044       -.67592E-07** at limit **
  24  Prefactor     .10000E-03    4.1096       -.34584E-07** at limit **
  25  norm          .10000E-03    6.3562       -.15509E-06** at limit **
  26  norm          8.8063        8.9359        .94668E-07   -.12057E-04
  27  norm          3.8237        3.7137        .98738E-07   -.10280E-03
  28  norm          1.9028        7.2657        .57598E-06   -.76737E-04
  29  Prefactor     .10000E-03    85.713        .10891E-05** at limit **
  30  Prefactor     .10000E-03    5.7568       -.11806E-06** at limit **
  31  Normalizat    1.4625        .20971       -.15504E-05   -.43762E-03
  32  Prefactor     .90432        .89064E-01   -.49293E-06   -.73476E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.59256
  Prefactor  = 3.23596
  norm       = 9.48144
  Prefactor  = 0.0001
  Prefactor  = 1.18131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.07018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.54329
  Prefactor  = 4.49997
  Prefactor  = 0.0001
  norm       = 1.29592
  Prefactor  = 0.0001
  Prefactor  = 22.6536
  norm       = 0.0001
  Prefactor  = 13.9343
  Prefactor  = 0.000100028
  Prefactor  = 2.79073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.80627
  norm       = 3.82373
  norm       = 1.9028
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.46254
  Prefactor  = 0.904321
 **********
 **   18 **HESSE 
 **********

 FCN=   8867.437     FROM HESSE     STATUS=OK           651 CALLS     4384 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.5926        3.7138        .89631E-03   -1.5329    
   3  Prefactor     3.2360        2.4397        .12235E-03   -1.5348    
   4  norm          9.4814        4.9201        .13015E-03   -1.5092    
   5  Prefactor     .10000E-03    7.0580        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1813        2.3385        .19335E-03   -1.5491    
   7  Prefactor     .10000E-03    12.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.0702        7.1594        .14364E-02   -1.5420    
  10  Prefactor     .10000E-03    31.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.5433        22.333        .15704E-03   -1.5196    
  14  Prefactor     4.5000        9.9072        .94822E-03   -1.5284    
  15  Prefactor     .10000E-03    6.0476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2959        .52789        .40783E-04   -1.5480    
  17  Prefactor     .10000E-03    55.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.654        20.135        .84145E-04   -1.4756    
  19  norm          .10000E-03    3.2804        .16645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.934        15.543        .10734E-03   -1.4961    
  21  Prefactor     .10003E-03    145.97        .41079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.7907        10.366        .24380E-03   -1.5374    
  23  Prefactor     .10000E-03    8.0224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.1972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    6.4014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          8.8063        8.9329        .13507E-03   -1.5114    
  27  norm          3.8237        3.7083        .17205E-03   -1.5317    
  28  norm          1.9028        7.2814        .30161E-03   -1.5432    
  29  Prefactor     .10000E-03    85.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    6.0122        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.4625        .23692        .33285E-03   -.78837    
  32  Prefactor     .90432        .10078        .18234E-03   -.95990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.42143e-10
Minuit parameter uncertainties:
  1  7.80492e-06
  2  3.71403
  3  2.43979
  4  4.92036
  5  7.28637e-05
  6  2.3387
  7  2.74055e-05
  8  2.52238e-05
  9  7.16241
  10  3.41086e-05
  11  4.61007e-06
  12  1.39941e-05
  13  22.3611
  14  9.91078
  15  7.06275e-06
  16  0.527895
  17  0.000128328
  18  20.1412
  19  4.83872e-06
  20  15.5473
  21  0.00403403
  22  10.3729
  23  1.41552e-06
  24  4.76827e-06
  25  1.34797e-05
  26  8.93429
  27  3.70854
  28  7.2848
  29  3.46113e-05
  30  3.62318e-05
  31  0.237098
  32  0.100805
Done.

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

Extracting fit parameters...

4FGL J0231.8+1322
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  1.399e-05  1.000e-04  1.000e+04 ( 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:  9.043e-01  1.008e-01  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:  1.463e+00  2.371e-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.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/403667/likelihoodResults_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.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) = 8867.43743264
delta logL = -0.000464787557576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8867.43696876
delta logL = -9.05227352632e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11924E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6610       1.0000          .0000       10.000    
     3 'Normalizat'    1.4625       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90435       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8867.437     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10099E-03    147.15        .18142E-02** at limit **
   2  Index         2.6075        7.1174        .50000        .10872E-04
   3  Normalizat    1.4625        .21411E-01    .33285E-03   -.42353E-05
   4  Prefactor     .90432        .95618E-02    .18234E-03   -.12470E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100988
  Index      = 2.60748
  Normalizat = 1.46254
  Prefactor  = 0.904321
 **********
 **   18 **HESSE 
 **********

 FCN=   8867.437     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10099E-03    609.37        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6075        7.6232        .50000       -.49895    
   3  Normalizat    1.4625        .46279E-01    .13314E-04   -.78836    
   4  Prefactor     .90432        .20668E-01    .72936E-05   -.95990    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.90198e-08
Minuit parameter uncertainties:
  1  0.049586
  2  897.017
  3  0.0462806
  4  0.0206685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403667': 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): 102
logL (Free Index) = 8867.43696769
delta logL = 1.68947735801e-07

Extracting fit parameters...

4FGL J0231.8+1322
   Spectrum: PowerLaw
241    Prefactor:  1.010e-04  4.959e-02  1.000e-04  1.000e+04 ( 1.000e-12)
242        Index:  2.607e+00  8.970e+02  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:  9.043e-01  2.067e-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:  1.463e+00  4.628e-02  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/403667/cmap_HighResolution_677894401_678153601_4FGL_J0231.8+1322_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2022-06-29 04:25:56.897951', job_id='403667', GAL2='0.90', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1656501956.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.69e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1692' AND source_name='4FGL J0231.8+1322' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:25:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 403667: <4FGL_J0231.8+1322_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0231.8+1322_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:05:07 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:02:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:02:01 2022
Terminated at Wed Jun 29 04:25:57 2022
Results reported at Wed Jun 29 04:25:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0231.8+1322_daily_bin1692 37.9616 13.3692 677894401 678153601 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 :                                   1072.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1436 sec.
    Turnaround time :                            15650 sec.

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

