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


Performing analysis on: 4FGL_J2235.8-3627_daily_bin1766
RA = 338.971, Dec = -36.4605
tmin = 697075201, tmax = 697334401
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='860767', job_status='RUN', time_executed='2023-02-06 01:34:15.528846', time_epoch_executed='1675676055.53' WHERE source_name='4FGL J2235.8-3627' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/860767

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/860767/ft1_4FGL_J2235.8-3627_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/860767/ft1_4FGL_J2235.8-3627_daily_bin1766.fits outfile=/scratch/kocevski/860767/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1766.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=697075201.0 tmax=697334401.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.71
user 3.48
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.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/860767/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 408

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/860767/ltcube_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.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/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits
.....................!
real 15.53
user 15.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/860767/ltcube_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.fits outfile=/scratch/kocevski/860767/expmap_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.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/860767/ltcube_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.fits
.....................!
real 192.01
user 185.96
sys 5.69

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

Setting source of interest to:
4FGL J2235.8-3627 @ 338.971 -36.4605

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.fits scfile=/scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits outfile=/scratch/kocevski/860767/cmap_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.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=338.971 yref=-36.4605 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.fits scfile=/scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits outfile=/scratch/kocevski/860767/cmap_HighResolution_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.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=338.971 yref=-36.4605 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.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/860767/Model_4FGL_J2235.8-3627_daily_bin1766.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/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.fits.....................!
real 40.52
user 38.60
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.fits', '/scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits', expMap='/scratch/kocevski/860767/expmap_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.fits', expCube='/scratch/kocevski/860767/ltcube_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/860767/Model_4FGL_J2235.8-3627_daily_bin1766.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.8-3627'

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.910e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/860767/ft1_filtered_4FGL_J2235.8-3627_daily_bin1766.fits
Spacecraft file(s): /scratch/kocevski/860767/ft2_4FGL_J2235.8-3627_daily_bin1766.fits
Exposure map: /scratch/kocevski/860767/expmap_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.fits
Exposure cube: /scratch/kocevski/860767/ltcube_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/860767/Model_4FGL_J2235.8-3627_daily_bin1766.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) = 4531.0442783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9318       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14860E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .59906E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .11424E-05   1.0000          .0000       .10000E+07
     5 'norm      '    1.6054       1.0000          .0000       .10000E+07
     6 'Prefactor '    .65442E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8719       1.0000          .0000       .10000E+07
     8 'norm      '    .61988E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19505E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.5300       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16055E-01   1.0000          .0000       .10000E+07
    12 'norm      '    5.9128       1.0000          .0000       .10000E+07
    13 'Prefactor '    .88390E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.4195       1.0000          .0000       .10000E+07
    15 'Prefactor '    .91543E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .39606E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27123E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    25.899       1.0000          .0000       .10000E+07
    19 'norm      '    1.0210       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16892E-06   1.0000          .0000       .10000E+07
    21 'norm      '    .27184E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .31751E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .18088E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    23.242       1.0000          .0000       .10000E+07
    25 'Prefactor '    20.769       1.0000          .0000       .10000E+07
    26 'norm      '    1.7282       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.5517       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .45285       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4530.953     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2532 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9429        10.332        .14416E-07    .20401E-01
   2  Prefactor     .55511E-10    3.3837        .78908E-07** at limit **
   3  norm          .55511E-10    2.7238        .67024E-07** at limit **
   4  norm          .20761E-07    3.8686        .26182E-07** at limit **
   5  norm          1.6061        .49390        .23160E-08    .14314E-02
   6  Prefactor     .77716E-09    6.0400        .62554E-07** at limit **
   7  Prefactor     2.9037        4.7676       -.45695E-07   -.28768E-03
   8  norm          .14710E-07    10.256        .15581E-06** at limit **
   9  Prefactor     .91593E-08    63.646        .21644E-07** at limit **
  10  Prefactor     6.6183        1.3403        .54626E-08    .26375E-02
  11  Prefactor     .27756E-09    15.708        .29741E-06** at limit **
  12  norm          5.9200        3.3878        .10786E-07    .10882E-02
  13  Prefactor     .48295E-08    52.310       -.68119E-07** at limit **
  14  Prefactor     4.5272        3.9723        .51321E-08    .31684E-01
  15  Prefactor     .11158E-07    3.4520        .34595E-07** at limit **
  16  norm          .27756E-09    5.0230        .38879E-07** at limit **
  17  Prefactor     .16098E-08    23.580        .62037E-07** at limit **
  18  Prefactor     25.853        5.4217       -.11104E-07   -.47491E-01
  19  norm          1.0228        .72930        .79595E-10   -.40878E-03
  20  Prefactor     .11996E-06    3.0141        .46188E-07** at limit **
  21  norm          .38303E-08    6.6531       -.32467E-07** at limit **
  22  norm           .0000        1.9739        .11026E-07** at limit **
  23  norm          .25702E-07    18.617        .17749E-06** at limit **
  24  Prefactor     28.651        55.407        .18598E-06   -.10697E-02
  25  Prefactor     20.725        1.2215        .61420E-09    .11900E-01
  26  norm          1.2766        7.7951       -.56624E-07    .26636E-03
  27  Normalizat    1.5482        .26438       -.13069E-05   -.60510E-04
  28  Prefactor     .45450        .23753        .12935E-05   -.22917E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.94291
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  norm       = 2.07612e-08
  norm       = 1.60614
  Prefactor  = 7.77156e-10
  Prefactor  = 2.90367
  norm       = 1.47105e-08
  Prefactor  = 9.15934e-09
  Prefactor  = 6.61833
  Prefactor  = 2.77556e-10
  norm       = 5.92002
  Prefactor  = 4.82947e-09
  Prefactor  = 4.52719
  Prefactor  = 1.11577e-08
  norm       = 2.77556e-10
  Prefactor  = 1.60982e-09
  Prefactor  = 25.8534
  norm       = 1.02277
  Prefactor  = 1.1996e-07
  norm       = 3.83027e-09
  norm       = 0
  norm       = 2.57017e-08
  Prefactor  = 28.6511
  Prefactor  = 20.7247
  norm       = 1.27659
  Normalizat = 1.54825
  Prefactor  = 0.454498
 **********
 **   18 **HESSE 
 **********

 FCN=   4530.953     FROM HESSE     STATUS=OK           573 CALLS     3105 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9429        10.660        .31772E-03   -1.5645    
   2  Prefactor     .55511E-10    3.3816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    2.7265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .20761E-07    7.9501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6061        .49418        .57651E-03   -1.5683    
   6  Prefactor     .77716E-09    8.7464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9037        4.8063        .59954E-03   -1.5674    
   8  norm          .14710E-07    10.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .91593E-08    63.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.6183        25.218        .39249E-03   -1.5657    
  11  Prefactor     .27756E-09    15.628        .17311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.9200        3.4066        .41274E-03   -1.5659    
  13  Prefactor     .48295E-08    52.239        .14252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5272        16.727        .47879E-03   -1.5665    
  15  Prefactor     .11158E-07    7.8419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .27756E-09    4.9972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16098E-08    23.537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.853        15.100        .19654E-03   -1.5606    
  19  norm          1.0228        .82966        .10416E-02   -1.5688    
  20  Prefactor     .11996E-06    8.1539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .38303E-08    6.7127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.9744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .25702E-07    18.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     28.651        59.987        .20747E-03   -1.5601    
  25  Prefactor     20.725        28.846        .21950E-03   -1.5617    
  26  norm          1.2766        9.3166        .79838E-03   -1.5685    
  27  Normalizat    1.5482        .23270        .48536E-01   -.76431    
  28  Prefactor     .45450        .20532        .76583E-01   -1.1411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29579e-07
Minuit parameter uncertainties:
  1  10.6599
  2  3.16847e-05
  3  2.17299e-05
  4  0.000812878
  5  0.494182
  6  0.000167741
  7  4.80635
  8  0.000802182
  9  0.00152617
  10  25.2181
  11  0.00012926
  12  3.40663
  13  0.00100462
  14  16.7277
  15  0.000591984
  16  7.48192e-05
  17  0.000391839
  18  15.1001
  19  0.829656
  20  0.00197795
  21  0.000320654
  22  3.69106e-06
  23  0.00138849
  24  59.9884
  25  28.8457
  26  6.8974
  27  0.232865
  28  0.205649
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  6.618e+00  2.522e+01  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  4.545e-01  2.056e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.548e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/860767/likelihoodResults_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.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) = 4530.89331265
delta logL = 0.059739268032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4530.89065972
delta logL = 0.0623921941788

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4530.891     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      277 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9388        22.735        .82248E-04   -.24880E-04
   2  Index         2.7617        1.8452        .10754E-01    .17899E-03
   3  Normalizat    1.5359        .26318        .21527E-03    .49517E-04
   4  Prefactor     .46049        .23661        .33707E-03    .29984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.93881
  Index      = 2.76166
  Normalizat = 1.53589
  Prefactor  = 0.460486
 **********
 **   18 **HESSE 
 **********

 FCN=   4530.891     FROM HESSE     STATUS=OK            27 CALLS      304 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9388        19.238        .32899E-05   -1.5659    
   2  Index         2.7617        1.5748        .21508E-02   -.46416    
   3  Normalizat    1.5359        .26341        .43053E-04   -.76775    
   4  Prefactor     .46049        .23657        .13483E-04   -1.1383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61019e-12
Minuit parameter uncertainties:
  1  19.2387
  2  1.60931
  3  0.263645
  4  0.237078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/860767': 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) = 4530.89063964
delta logL = 0.0624122759236

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.939e+00  1.924e+01  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.762e+00  1.609e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  4.605e-01  2.371e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.536e+00  2.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 338.971 -36.461

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/860767/cmap_HighResolution_697075201_697334401_4FGL_J2235.8-3627_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-03', job_status='DONE', photon_flux_upper_limit='9.96e-08', time_completed='2023-02-06 01:43:52.327412', job_id='860767', GAL2='0.46', fit_tolerance='1e-08', EG2='1.54', EG='1.55', time_epoch_completed='1675676632.33', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.45', dlogl='6.24e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1766' AND source_name='4FGL J2235.8-3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:43:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 860767: <4FGL_J2235.8-3627_daily_bin1766> in cluster <slac> Done

Job <4FGL_J2235.8-3627_daily_bin1766> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb  6 01:30:16 2023
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:31:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:31:41 2023
Terminated at Mon Feb  6 01:43:53 2023
Results reported at Mon Feb  6 01:43:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.8-3627_daily_bin1766 338.971 -36.4605 697075201 697334401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.8-3627 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   578.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            817 sec.

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

