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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1728
RA = 338.841, Dec = -48.6015
tmin = 687225601, tmax = 687484801
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='304489', job_status='RUN', time_executed='2022-10-15 00:38:30.373875', time_epoch_executed='1665819510.37' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/304489

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/304489/ft1_4FGL_J2235.3-4836_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/304489/ft1_4FGL_J2235.3-4836_daily_bin1728.fits outfile=/scratch/kocevski/304489/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1728.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=687225601.0 tmax=687484801.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 2.71
user 2.51
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.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/304489/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1728.fits evtable="EVENTS" outfile="/scratch/kocevski/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.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.54
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 757

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.fits" evtable="EVENTS" scfile=/scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits sctable="SC_DATA" outfile=/scratch/kocevski/304489/ltcube_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.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/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits
.....................!
real 12.90
user 12.56
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/304489/ltcube_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.fits outfile=/scratch/kocevski/304489/expmap_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.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/304489/ltcube_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.fits
.....................!
real 193.61
user 188.30
sys 4.87

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

Setting source of interest to:
4FGL J2235.3-4836 @ 338.841 -48.6015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.fits scfile=/scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits outfile=/scratch/kocevski/304489/cmap_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.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.841 yref=-48.6015 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.fits scfile=/scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits outfile=/scratch/kocevski/304489/cmap_HighResolution_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.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.841 yref=-48.6015 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/304489/Model_4FGL_J2235.3-4836_daily_bin1728.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/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.fits.....................!
real 57.72
user 56.39
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.fits', '/scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits', expMap='/scratch/kocevski/304489/expmap_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.fits', expCube='/scratch/kocevski/304489/ltcube_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/304489/Model_4FGL_J2235.3-4836_daily_bin1728.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.3-4836'

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.864e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/304489/ft1_filtered_4FGL_J2235.3-4836_daily_bin1728.fits
Spacecraft file(s): /scratch/kocevski/304489/ft2_4FGL_J2235.3-4836_daily_bin1728.fits
Exposure map: /scratch/kocevski/304489/expmap_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.fits
Exposure cube: /scratch/kocevski/304489/ltcube_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/304489/Model_4FGL_J2235.3-4836_daily_bin1728.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) = 8195.14266508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3725       1.0000          .0000       .10000E+07
     2 'Prefactor '    .65837E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2222       1.0000          .0000       .10000E+07
     4 'norm      '    42.481       1.0000          .0000       .10000E+07
     5 'Prefactor '    49.329       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.3638       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.044       1.0000          .0000       .10000E+07
     8 'Prefactor '    .40997E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .53078E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.8135       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34267E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.6630       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.2566       1.0000          .0000       .10000E+07
    14 'Prefactor '    .38503E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.7499       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24509E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    10.982       1.0000          .0000       .10000E+07
    18 'norm      '    6.1644       1.0000          .0000       .10000E+07
    19 'norm      '    .91629E-04   1.0000          .0000       .10000E+07
    20 'norm      '    .80418E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    12.231       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.5371       1.0000          .0000       .10000E+07
    23 'Prefactor '    .76497E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .23259E-07   1.0000          .0000       .10000E+07
    25 'Prefactor '    .40627E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .10857E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.2502       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .80575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8195.103     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1992 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3732        2.4194       -.12273E-07   -.54008E-01
   2  Prefactor     .17930E-07    3.8655       -.45736E-07** at limit **
   3  Prefactor     3.2164        4.3651       -.80976E-07    .19845E-02
   4  norm          42.479        1.6657       -.16879E-08   -.99222E-01
   5  Prefactor     49.114        2.6522       -.10947E-07    .17090E-01
   6  Prefactor     5.3890        6.5325        .93781E-07   -.13140E-01
   7  Prefactor     12.048        4.3762       -.24483E-07   -.18012E-02
   8  Prefactor     .58453E-07    37.512       -.36837E-06** at limit **
   9  norm          .23037E-07    2.4018       -.10123E-06** at limit **
  10  Prefactor     2.8088        3.1547        .88595E-08   -.18223E-03
  11  Prefactor     .11657E-08    8.9372       -.31666E-06** at limit **
  12  Prefactor     3.6598        4.0918        .44781E-07    .38987E-03
  13  Prefactor     8.2747        1.0285       -.18250E-08    .22498E-02
  14  Prefactor      .0000        1.1425       -.30328E-07** at limit **
  15  Prefactor     3.8023        5.7221       -.10502E-06   -.35739E-02
  16  Prefactor     .11768E-07    15.632       -.19012E-06** at limit **
  17  Prefactor     10.960        1.8420       -.15654E-07   -.83434E-02
  18  norm          6.1369        6.3859        .22156E-07    .97439E-03
  19  norm           .0000        5.1764       -.21676E-06** at limit **
  20  norm          .55511E-10    2.8615       -.12791E-06** at limit **
  21  Prefactor     12.224        5.8816       -.53979E-07   -.65355E-02
  22  Prefactor     3.2622        7.4898       -.12141E-06    .28475E-01
  23  Prefactor     .11102E-09    3.9736       -.13087E-06** at limit **
  24  norm           .0000        .34694       -.15858E-07** at limit **
  25  Prefactor     .44409E-09    2.7220       -.91309E-08** at limit **
  26  Prefactor     .27367E-07    17.106        .70928E-07** at limit **
  27  Normalizat    1.2507        .19535       -.64053E-06   -.14758E-04
  28  Prefactor     .80554        .17299        .11064E-05    .10402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.37315
  Prefactor  = 1.79301e-08
  Prefactor  = 3.21641
  norm       = 42.479
  Prefactor  = 49.1141
  Prefactor  = 5.38904
  Prefactor  = 12.0482
  Prefactor  = 5.84532e-08
  norm       = 2.30371e-08
  Prefactor  = 2.80877
  Prefactor  = 1.16573e-09
  Prefactor  = 3.65981
  Prefactor  = 8.27473
  Prefactor  = 0
  Prefactor  = 3.80226
  Prefactor  = 1.17684e-08
  Prefactor  = 10.9603
  norm       = 6.13691
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 12.2237
  Prefactor  = 3.2622
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 2.7367e-08
  Normalizat = 1.25069
  Prefactor  = 0.805535
 **********
 **   18 **HESSE 
 **********

 FCN=   8195.103     FROM HESSE     STATUS=OK           581 CALLS     2573 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3732        8.3807        .48143E-03   -1.5666    
   2  Prefactor     .17930E-07    5.9590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.2164        4.4242        .56410E-03   -1.5672    
   4  norm          42.479        8.5713        .15344E-03   -1.5578    
   5  Prefactor     49.114        30.227        .14239E-03   -1.5568    
   6  Prefactor     5.3890        6.7435        .43369E-03   -1.5662    
   7  Prefactor     12.048        4.3938        .28840E-03   -1.5639    
   8  Prefactor     .58453E-07    37.827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .23037E-07    5.8490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8088        3.1711        .60616E-03   -1.5674    
  11  Prefactor     .11657E-08    8.9724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.6598        4.1466        .52753E-03   -1.5670    
  13  Prefactor     8.2747        13.381        .34866E-03   -1.5650    
  14  Prefactor      .0000        14.968        .16032E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.8023        5.7524        .52115E-03   -1.5669    
  16  Prefactor     .11768E-07    16.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.960        11.717        .30207E-03   -1.5642    
  18  norm          6.1369        6.3810        .40411E-03   -1.5658    
  19  norm           .0000        5.4880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    2.8613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.224        5.9648        .28617E-03   -1.5638    
  22  Prefactor     3.2622        95.776        .53722E-03   -1.5672    
  23  Prefactor     .11102E-09    3.9762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        .34473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .44409E-09    2.7187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27367E-07    18.171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2507        .17294        .55532E-01   -.85050    
  28  Prefactor     .80554        .14865        .43792E-01   -.99525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.221e-07
Minuit parameter uncertainties:
  1  8.38071
  2  0.000653623
  3  4.42422
  4  8.57128
  5  30.2268
  6  6.74356
  7  4.39385
  8  0.00297379
  9  0.000733919
  10  3.1711
  11  0.000203276
  12  4.14661
  13  13.381
  14  1.47459e-05
  15  5.75236
  16  0.000882168
  17  11.717
  18  6.38096
  19  5.95441e-06
  20  1.80612e-05
  21  5.96476
  22  35.3527
  23  4.01849e-05
  24  9.10967e-07
  25  7.09135e-05
  26  0.00141049
  27  0.173023
  28  0.148725
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.660e+00  4.147e+00  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  8.055e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.251e+00  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 338.841 -48.602
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 2.30e-08 +/- 2.61e-08
Energy Flux (Fixed Index): 6.61e-06 +/- 7.48e-06

TS (Fixed Index): 1.42
Ra Dec: 338.841 -48.602
Photon Flux Upper Limit: 8.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/304489/likelihoodResults_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.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) = 8194.89810621
delta logL = 0.20440950084

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8194.8933878
delta logL = 0.209127907719

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8194.893     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      210 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9398        4.9922        .50799E-03   -.12574E-01
   2  Index         1.9424        .65360        .26132       -.61214E-04
   3  Normalizat    1.2657        .16288        .55244E-01    .65677E-05
   4  Prefactor     .79568        .14727        .43661E-01    .22613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.93975
  Index      = 1.94245
  Normalizat = 1.26569
  Prefactor  = 0.795677
 **********
 **   18 **HESSE 
 **********

 FCN=   8194.893     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9398        4.3950        .18714E-04   -1.5668    
   2  Index         1.9424        .75054        .12327E-01   -.65797    
   3  Normalizat    1.2657        .19060        .24428E-03   -.84596    
   4  Prefactor     .79568        .17219        .27092E-03   -.99888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01037e-09
Minuit parameter uncertainties:
  1  4.39502
  2  0.755118
  3  0.190708
  4  0.172311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/304489': 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) = 8194.89338779
delta logL = 0.209127917804

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.940e+00  4.395e+00  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  1.942e+00  7.551e-01  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  7.957e-01  1.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.266e+00  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.83
Ra Dec: 338.841 -48.602
Photon Index (Free Index): 1.94 +/- 0.76
Photon Flux (Free Index): 1.41e-08 +/- 1.97e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.74e-05

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/304489/cmap_HighResolution_687225601_687484801_4FGL_J2235.3-4836_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.81e-03', comment='SUCCESS', photon_flux='2.30e-08', energy_flux2='1.13e-05', photon_flux_error='2.61e-08', dlogl='2.09e-01', energy_flux='6.61e-06', photon_flux2='1.41e-08', job_status='DONE', time_completed='2022-10-15 00:50:41.944656', photon_index_error2='0.76', photon_index2='1.94', ts='1.42', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='8.75e-08', energy_flux_error2='1.74e-05', EG='1.25', time_epoch_completed='1665820241.94', return_code='0', job_id='304489', GAL2='0.80', EG2='1.27', return_code2='0', energy_flux_error='7.48e-06', photon_flux_error2='1.97e-08', ts2='1.83', photon_index='2.51' WHERE bin_id='1728' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:50:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 304489: <4FGL_J2235.3-4836_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Oct 15 00:36:00 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:36:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:36:01 2022
Terminated at Sat Oct 15 00:50:42 2022
Results reported at Sat Oct 15 00:50:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1728 338.841 -48.6015 687225601 687484801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.3-4836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            882 sec.

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

