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


Performing analysis on: 4FGL_J0233.5+0654_daily_bin1719
RA = 38.3857, Dec = 6.9083
tmin = 684892801, tmax = 685152001
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='644236', job_status='RUN', time_executed='2022-09-18 00:08:03.722889', time_epoch_executed='1663484883.72' WHERE source_name='4FGL J0233.5+0654' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644236

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644236/ft1_4FGL_J0233.5+0654_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644236/ft1_4FGL_J0233.5+0654_daily_bin1719.fits outfile=/scratch/kocevski/644236/ft1_filteredMKT_4FGL_J0233.5+0654_daily_bin1719.fits ra=38.3857 dec=6.9083 rad=12.0 tmin=684892801.0 tmax=685152001.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.11
user 2.89
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.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/644236/ft1_filteredMKT_4FGL_J0233.5+0654_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 609

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/644236/ltcube_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.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/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits
.....................!
real 15.53
user 15.06
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/644236/ltcube_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.fits outfile=/scratch/kocevski/644236/expmap_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.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/644236/ltcube_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.fits
.....................!
real 192.73
user 186.56
sys 5.80

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

Setting source of interest to:
4FGL J0233.5+0654 @ 38.3857 6.9083

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.fits scfile=/scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits outfile=/scratch/kocevski/644236/cmap_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.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=38.3857 yref=6.9083 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.fits scfile=/scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits outfile=/scratch/kocevski/644236/cmap_HighResolution_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.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=38.3857 yref=6.9083 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/644236/Model_4FGL_J0233.5+0654_daily_bin1719.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/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.fits.....................!
real 89.48
user 88.01
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.fits', '/scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits', expMap='/scratch/kocevski/644236/expmap_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.fits', expCube='/scratch/kocevski/644236/ltcube_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644236/Model_4FGL_J0233.5+0654_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0233.5+0654'

4FGL J0233.5+0654
   Spectrum: PowerLaw
258    Prefactor:  5.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
259        Index:  2.332e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
260        Scale:  1.095e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/644236/ft1_filtered_4FGL_J0233.5+0654_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/644236/ft2_4FGL_J0233.5+0654_daily_bin1719.fits
Exposure map: /scratch/kocevski/644236/expmap_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.fits
Exposure cube: /scratch/kocevski/644236/ltcube_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644236/Model_4FGL_J0233.5+0654_daily_bin1719.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) = 6944.24697316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5852       1.0000          .0000       .10000E+07
     2 'norm      '    .69989E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5830       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14982E-06   1.0000          .0000       .10000E+07
     5 'norm      '    7.3575       1.0000          .0000       .10000E+07
     6 'Prefactor '    .57784       1.0000          .0000       .10000E+07
     7 'norm      '    2.9943       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22593E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    44.310       1.0000          .0000       .10000E+07
    10 'Prefactor '    25.114       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.4322       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.6523       1.0000          .0000       .10000E+07
    13 'Prefactor '    20.517       1.0000          .0000       .10000E+07
    14 'norm      '    .87065       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6297       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.174       1.0000          .0000       .10000E+07
    17 'norm      '    .43354E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    7.3620       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10270E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .14815       1.0000          .0000       .10000E+07
    21 'Prefactor '    32.072       1.0000          .0000       .10000E+07
    22 'Prefactor '    4.0780       1.0000          .0000       .10000E+07
    23 'norm      '    15.915       1.0000          .0000       .10000E+07
    24 'norm      '    2.4269       1.0000          .0000       .10000E+07
    25 'Prefactor '    .89226E-04   1.0000          .0000       .10000E+07
    26 'norm      '    .43636E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    6.0575       1.0000          .0000       .10000E+07
    28 'Prefactor '    .23176E-05   1.0000          .0000       .10000E+07
    29 'Normalizat'    .79621       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6944.235     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2820 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6030        1.8889        .22911E-07   -.81349E-03
   2  norm          .66591E-06    5.3062        .24967E-07** at limit **
   3  Prefactor     7.6066        8.0226       -.15592E-06   -.24248E-02
   4  Prefactor      .0000        .94314       -.83750E-07** at limit **
   5  norm          7.3121        5.6776        .63163E-07    .46426E-03
   6  Prefactor     .55122        6.8992       -.27562E-06   -.10381E-02
   7  norm          2.9925        1.5448        .10925E-07    .16934E-02
   8  Prefactor     .67002E-07    20.266       -.29490E-07** at limit **
   9  Prefactor     42.818        40.019       -.33138E-06   -.85428E-01
  10  Prefactor     26.898        48.754        .51377E-06   -.53501E-01
  11  Prefactor     2.4803        5.0908       -.24976E-07    .95875E-02
  12  Prefactor     2.5994        4.0161       -.36033E-07   -.23921E-02
  13  Prefactor     20.427        4.6725        .35479E-07   -.10587    
  14  norm          .87322        .52528       -.33072E-09    .28784E-02
  15  Prefactor     1.5825        1.4760       -.61396E-08    .99851E-02
  16  Prefactor     11.154        1.2562       -.66265E-08   -.16154E-01
  17  norm          .51292E-07    6.7114       -.21803E-06** at limit **
  18  Prefactor     7.3655        1.9136        .36920E-07   -.24898E-01
  19  Prefactor     .84710E-07    22.023       -.14559E-06** at limit **
  20  Prefactor     .35194E-07    46.796       -.11423E-05** at limit **
  21  Prefactor     32.003        2.4961        .40341E-08   -.36188E-01
  22  Prefactor     4.0799        6.7186        .21768E-07   -.67164E-03
  23  norm          15.916        1.2066        .39410E-08   -.35289E-02
  24  norm          2.4195        3.2559        .36297E-07    .89924E-03
  25  Prefactor     .14710E-06    8.0219       -.15826E-06** at limit **
  26  norm          .65187E-06    4.6086        .38930E-07** at limit **
  27  Prefactor     6.0547        7.9466        .44019E-08    .41410E-01
  28  Prefactor     .27756E-09    2.0188        .10986E-06** at limit **
  29  Normalizat    .79683        .25219        .11947E-05    .15512E-04
  30  Prefactor     1.0647        .11502       -.10189E-06    .35407E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.60296
  norm       = 6.65912e-07
  Prefactor  = 7.60663
  Prefactor  = 0
  norm       = 7.3121
  Prefactor  = 0.551218
  norm       = 2.99252
  Prefactor  = 6.7002e-08
  Prefactor  = 42.8181
  Prefactor  = 26.8976
  Prefactor  = 2.48034
  Prefactor  = 2.59944
  Prefactor  = 20.4268
  norm       = 0.873217
  Prefactor  = 1.58249
  Prefactor  = 11.1536
  norm       = 5.12923e-08
  Prefactor  = 7.36548
  Prefactor  = 8.471e-08
  Prefactor  = 3.51941e-08
  Prefactor  = 32.0026
  Prefactor  = 4.07988
  norm       = 15.9165
  norm       = 2.41945
  Prefactor  = 1.47105e-07
  norm       = 6.51867e-07
  Prefactor  = 6.05465
  Prefactor  = 2.77556e-10
  Normalizat = 0.796834
  Prefactor  = 1.06467
 **********
 **   18 **HESSE 
 **********

 FCN=   6944.235     FROM HESSE     STATUS=OK           656 CALLS     3476 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6030        14.013        .53345E-03   -1.5670    
   2  norm          .66591E-06    8.7862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6066        8.0664        .36394E-03   -1.5653    
   4  Prefactor      .0000        .94207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.3121        5.7258        .36953E-03   -1.5654    
   6  Prefactor     .55122        7.2636        .71237E-03   -1.5693    
   7  norm          2.9925        1.5474        .58638E-03   -1.5673    
   8  Prefactor     .67002E-07    20.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     42.818        60.648        .15024E-03   -1.5577    
  10  Prefactor     26.898        66.154        .19959E-03   -1.5604    
  11  Prefactor     2.4803        14.568        .65588E-03   -1.5676    
  12  Prefactor     2.5994        46.330        .62568E-03   -1.5676    
  13  Prefactor     20.427        16.133        .22084E-03   -1.5618    
  14  norm          .87322        .60598        .47811E-03   -1.5689    
  15  Prefactor     1.5825        371.59        .82808E-03   -1.5683    
  16  Prefactor     11.154        21.470        .29945E-03   -1.5641    
  17  norm          .51292E-07    6.8949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.3655        23.068        .36941E-03   -1.5654    
  19  Prefactor     .84710E-07    22.716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .35194E-07    46.862        .12783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.003        20.385        .17660E-03   -1.5595    
  22  Prefactor     4.0799        6.9086        .49902E-03   -1.5668    
  23  norm          15.916        13.576        .25079E-03   -1.5628    
  24  norm          2.4195        3.3094        .65666E-03   -1.5677    
  25  Prefactor     .14710E-06    8.3460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .65187E-06    9.5731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     6.0547        9.6577        .40771E-03   -1.5659    
  28  Prefactor     .27756E-09    2.0189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .79683        .25059        .95222E-01   -1.0019    
  30  Prefactor     1.0647        .10629        .39125E-01   -.90604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08591e-06
Minuit parameter uncertainties:
  1  14.0133
  2  0.00483779
  3  8.06641
  4  9.1934e-06
  5  5.7258
  6  4.00192
  7  1.54738
  8  0.00236877
  9  60.6485
  10  66.1561
  11  12.0223
  12  21.9486
  13  16.1333
  14  0.605979
  15  48.5021
  16  21.4705
  17  0.00118937
  18  23.0688
  19  0.00277463
  20  0.00256828
  21  20.3851
  22  6.9086
  23  13.5757
  24  3.3094
  25  0.00221595
  26  0.00499627
  27  9.65777
  28  4.51864e-05
  29  0.250954
  30  0.106313
Done.

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

Extracting fit parameters...

4FGL J0233.5+0654
   Spectrum: PowerLaw
258    Prefactor:  2.599e+00  2.195e+01  0.000e+00  1.000e+06 ( 1.000e-13)
259        Index:  2.332e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
260        Scale:  1.095e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.065e+00  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.968e-01  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 38.386 6.908
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/644236/likelihoodResults_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.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) = 6944.23350698
delta logL = 0.00151934811311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6944.23316581
delta logL = 0.00186051722903

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2095       1.0000          .0000       .10000E+07
     2 'Index     '    2.1875       1.0000          .0000       10.000    
     3 'Normalizat'    .79766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+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=   6944.233     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      277 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2210        48.850        .22611E-04   -.19740E-02
   2  Index         2.1847        2.1936        .12548E-01   -.84108E-04
   3  Normalizat    .79726        .24138        .42183E-03    .16221E-02
   4  Prefactor     1.0644        .11327        .17251E-03    .37613E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.22099
  Index      = 2.18471
  Normalizat = 0.797265
  Prefactor  = 1.06442
 **********
 **   18 **HESSE 
 **********

 FCN=   6944.233     FROM HESSE     STATUS=OK            23 CALLS      300 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2210        46.369        .90444E-06   -1.5672    
   2  Index         2.1847        2.1437        .50191E-03   -.59808    
   3  Normalizat    .79726        .24150        .84365E-04   -1.0017    
   4  Prefactor     1.0644        .11329        .34503E-04   -.90612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12236e-08
Minuit parameter uncertainties:
  1  24.4425
  2  2.25376
  3  0.241825
  4  0.113313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644236': 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) = 6944.23315499
delta logL = 0.00187134300904

Extracting fit parameters...

4FGL J0233.5+0654
   Spectrum: PowerLaw
258    Prefactor:  3.221e+00  2.444e+01  0.000e+00  1.000e+06 ( 1.000e-13)
259        Index:  2.185e+00  2.254e+00  0.000e+00  1.000e+01 (-1.000e+00)
260        Scale:  1.095e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.064e+00  1.133e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  7.973e-01  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 38.386 6.908

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/644236/cmap_HighResolution_684892801_685152001_4FGL_J0233.5+0654_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.91e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2022-09-18 00:20:23.516409', job_id='644236', GAL2='1.06', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1663485623.52', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.87e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1719' AND source_name='4FGL J0233.5+0654' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:20:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 644236: <4FGL_J0233.5+0654_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0233.5+0654_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:05:00 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:06:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:06:37 2022
Terminated at Sun Sep 18 00:20:24 2022
Results reported at Sun Sep 18 00:20:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0233.5+0654_daily_bin1719 38.3857 6.9083 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0233.5+0654 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   740.08 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             324.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            924 sec.

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

