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


Performing analysis on: 4FGL_J0239.5+1326_daily_bin1745
RA = 39.8847, Dec = 13.4366
tmin = 691632001, tmax = 691891201
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='637193', job_status='RUN', time_executed='2022-12-05 00:06:56.435783', time_epoch_executed='1670227616.44' WHERE source_name='4FGL J0239.5+1326' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637193

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637193/ft1_4FGL_J0239.5+1326_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637193/ft1_4FGL_J0239.5+1326_daily_bin1745.fits outfile=/scratch/kocevski/637193/ft1_filteredMKT_4FGL_J0239.5+1326_daily_bin1745.fits ra=39.8847 dec=13.4366 rad=12.0 tmin=691632001.0 tmax=691891201.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.75
user 2.16
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.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/637193/ft1_filteredMKT_4FGL_J0239.5+1326_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.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.83
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 143

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/637193/ltcube_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.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/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits
.....................!
real 18.52
user 17.89
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637193/ltcube_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.fits outfile=/scratch/kocevski/637193/expmap_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.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/637193/ltcube_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.fits
.....................!
real 193.77
user 187.60
sys 5.49

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

Setting source of interest to:
4FGL J0239.5+1326 @ 39.8847 13.4366

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.fits scfile=/scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits outfile=/scratch/kocevski/637193/cmap_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.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=39.8847 yref=13.4366 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.71
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.fits scfile=/scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits outfile=/scratch/kocevski/637193/cmap_HighResolution_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.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=39.8847 yref=13.4366 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.65
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/637193/Model_4FGL_J0239.5+1326_daily_bin1745.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/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.fits.....................!
real 32.30
user 30.91
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.fits', '/scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits', expMap='/scratch/kocevski/637193/expmap_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.fits', expCube='/scratch/kocevski/637193/ltcube_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/637193/Model_4FGL_J0239.5+1326_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0239.5+1326'

4FGL J0239.5+1326
   Spectrum: PowerLaw
248    Prefactor:  3.221e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
250        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/637193/ft1_filtered_4FGL_J0239.5+1326_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/637193/ft2_4FGL_J0239.5+1326_daily_bin1745.fits
Exposure map: /scratch/kocevski/637193/expmap_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.fits
Exposure cube: /scratch/kocevski/637193/ltcube_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/637193/Model_4FGL_J0239.5+1326_daily_bin1745.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) = 1675.85221476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.613       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.8951       1.0000          .0000       .10000E+07
     3 'norm      '    .34586E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .70406E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.468       1.0000          .0000       .10000E+07
     6 'Prefactor '    .44370E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    85.716       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31531E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    86.602       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.568       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45706E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.3833       1.0000          .0000       .10000E+07
    13 'norm      '    .18302E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .53821E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12510E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .47629E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    64.509       1.0000          .0000       .10000E+07
    18 'Prefactor '    .22351E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .17427E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    14.829       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3444       1.0000          .0000       .10000E+07
    22 'norm      '    .42339E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .17168E-01   1.0000          .0000       .10000E+07
    24 'norm      '    17.689       1.0000          .0000       .10000E+07
    25 'Prefactor '    .57245E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .25791E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    .22262E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .20584E-04   1.0000          .0000       .10000E+07
    29 'Normalizat'    .73709       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .87931       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1675.579     FROM MIGRAD    STATUS=CONVERGED    267 CALLS     2887 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.912        6.4270        .59383E-07    .25894E-01
   2  Prefactor     4.8813        5.2788       -.29172E-07    .11524E-02
   3  norm          .33307E-09    14.491       -.16113E-06** at limit **
   4  Prefactor     .25535E-06    21.722        .41594E-05** at limit **
   5  Prefactor     11.478        7.5127       -.10950E-06    .36084E-02
   6  Prefactor     .11193E-05    200.83       -.54327E-05** at limit **
   7  Prefactor     95.070        113.56        .38464E-05    .15854E-01
   8  Prefactor     .11102E-09    100.07        .67846E-06** at limit **
   9  Prefactor     81.746        79.211        .61278E-05    .43858E-01
  10  Prefactor     11.981        18.168       -.21138E-05    .58246E-01
  11  Prefactor     .55511E-10    33.289        .19581E-06** at limit **
  12  Prefactor     6.6503        21.263        .19317E-05   -.17702E-03
  13  norm           .0000        1.2493       -.66072E-08** at limit **
  14  Prefactor     .55511E-10    60.085        .24422E-06** at limit **
  15  Prefactor     .44409E-09    11.560        .11879E-06** at limit **
  16  norm          .23817E-05    18.400       -.35487E-05** at limit **
  17  Prefactor     64.887        40.208       -.30484E-05    .24890E-01
  18  Prefactor      .0000        72.077       -.91721E-07** at limit **
  19  Prefactor     .28311E-08    15.359       -.43537E-06** at limit **
  20  Prefactor     14.509        46.481        .10051E-04   -.36548E-01
  21  Prefactor     1.3949        23.907        .52155E-06    .39200E-03
  22  norm          .55511E-10    16.512        .51770E-06** at limit **
  23  norm          .16653E-09    29.888       -.36464E-06** at limit **
  24  norm          17.347        14.268        .17160E-06    .20333E-02
  25  Prefactor      .0000        5.6793       -.21123E-06** at limit **
  26  norm          .19901E-05    20.730        .17352E-05** at limit **
  27  Prefactor      .0000        6.2921       -.14222E-06** at limit **
  28  Prefactor     .66613E-09    61.609        .96084E-07** at limit **
  29  Normalizat    .72918        .51188        .11490E-05    .97519E-04
  30  Prefactor     .87945        .22264       -.98099E-05    .19230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.912
  Prefactor  = 4.88135
  norm       = 3.33067e-10
  Prefactor  = 2.55351e-07
  Prefactor  = 11.4776
  Prefactor  = 1.11933e-06
  Prefactor  = 95.0698
  Prefactor  = 1.11022e-10
  Prefactor  = 81.7465
  Prefactor  = 11.9813
  Prefactor  = 5.55112e-11
  Prefactor  = 6.65027
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  norm       = 2.38165e-06
  Prefactor  = 64.8868
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  Prefactor  = 14.5086
  Prefactor  = 1.39487
  norm       = 5.55112e-11
  norm       = 1.66533e-10
  norm       = 17.3467
  Prefactor  = 0
  norm       = 1.99013e-06
  Prefactor  = 0
  Prefactor  = 6.66134e-10
  Normalizat = 0.729182
  Prefactor  = 0.87945
 **********
 **   18 **HESSE 
 **********

 FCN=   1675.579     FROM HESSE     STATUS=OK           640 CALLS     3527 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.912        19.859        .18698E-03   -1.5600    
   2  Prefactor     4.8813        5.2850        .45438E-03   -1.5664    
   3  norm          .33307E-09    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .25535E-06    22.508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.478        7.5279        .29558E-03   -1.5640    
   6  Prefactor     .11193E-05    222.64        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     95.070        114.58        .10802E-03   -1.5513    
   8  Prefactor     .11102E-09    100.04        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     81.746        87.128        .10746E-03   -1.5527    
  10  Prefactor     11.981        25.591        .29429E-03   -1.5639    
  11  Prefactor     .55511E-10    33.193        .15716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.6503        22.855        .39703E-03   -1.5656    
  13  norm           .0000        1.2425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    60.118        .15391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .44409E-09    11.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .23817E-05    24.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     64.887        86.692        .12451E-03   -1.5547    
  18  Prefactor      .0000        72.126        .16887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .28311E-08    15.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.509        234.37        .25983E-03   -1.5632    
  21  Prefactor     1.3949        24.004        .94430E-03   -1.5684    
  22  norm          .55511E-10    16.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .16653E-09    29.027        .17231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          17.347        14.312        .23786E-03   -1.5625    
  25  Prefactor      .0000        5.6854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .19901E-05    25.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        6.2911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .66613E-09    61.591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .72918        .49159        .96784E-01   -1.0275    
  30  Prefactor     .87945        .20542        .44741E-01   -.96863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08606e-06
Minuit parameter uncertainties:
  1  19.859
  2  5.28497
  3  0.000140244
  4  0.00479457
  5  7.52791
  6  0.0315736
  7  114.581
  8  0.000210694
  9  87.1295
  10  25.5911
  11  8.59682e-05
  12  22.8553
  13  1.41353e-06
  14  0.000126755
  15  0.000146779
  16  0.0153148
  17  86.6942
  18  4.64534e-05
  19  0.000416304
  20  116.631
  21  11.573
  22  6.15541e-05
  23  0.000128672
  24  14.3122
  25  1.53498e-05
  26  0.0143122
  27  1.43996e-06
  28  0.000408485
  29  0.49461
  30  0.205602
Done.

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

Extracting fit parameters...

4FGL J0239.5+1326
   Spectrum: PowerLaw
248    Prefactor:  5.551e-11  1.268e-04  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
250        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
485    Prefactor:  8.794e-01  2.056e-01  0.000e+00  1.000e+01 ( 1.000e+00)
486        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
487        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
484   Normalization:  7.292e-01  4.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 39.885 13.437
Photon Flux Upper Limit: 2.50e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.90e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/637193/likelihoodResults_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.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) = 1675.58716976
delta logL = -0.0079325318361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1675.57923811
delta logL = -8.88292106538e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1675.579     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      263 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    15.098        .42118E-03** at limit **
   2  Index         .79180        5.1807        .50000       -.17053E-10
   3  Normalizat    .72918        .66782E-02    .96783E-01    .23758E-04
   4  Prefactor     .87945        .30366E-02    .44739E-01   -.12046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 0.791802
  Normalizat = 0.729181
  Prefactor  = 0.879449
 **********
 **   18 **HESSE 
 **********

 FCN=   1675.579     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      290 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    75.384        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .79180        5.3837        .50000       -1.0003    
   3  Normalizat    .72918        .14888E-01    .42892E-03   -1.0275    
   4  Prefactor     .87945        .67902E-02    .17781E-03   -.96863    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09494e-12
Minuit parameter uncertainties:
  1  0.000338195
  2  351924
  3  0.0148881
  4  0.00679022
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637193': 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) = 1675.57923722
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J0239.5+1326
   Spectrum: PowerLaw
248    Prefactor:  3.886e-10  3.382e-04  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  7.918e-01  3.519e+05  0.000e+00  1.000e+01 (-1.000e+00)
250        Scale:  2.311e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
485    Prefactor:  8.794e-01  6.790e-03  0.000e+00  1.000e+01 ( 1.000e+00)
486        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
487        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
484   Normalization:  7.292e-01  1.489e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 39.885 13.437

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/637193/cmap_HighResolution_691632001_691891201_4FGL_J0239.5+1326_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-02', job_status='DONE', photon_flux_upper_limit='2.50e-07', time_completed='2022-12-05 00:14:08.754497', job_id='637193', GAL2='0.88', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1670228048.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1745' AND source_name='4FGL J0239.5+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:14:08 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 637193: <4FGL_J0239.5+1326_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0239.5+1326_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:05:02 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:05:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:05:03 2022
Terminated at Mon Dec  5 00:14:09 2022
Results reported at Mon Dec  5 00:14:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0239.5+1326_daily_bin1745 39.8847 13.4366 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0239.5+1326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   429.20 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   546 sec.
    Turnaround time :                            547 sec.

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

