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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1730
RA = 338.841, Dec = -48.6015
tmin = 687744001, tmax = 688003201
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='469132', job_status='RUN', time_executed='2022-10-21 00:35:50.268884', time_epoch_executed='1666337750.27' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469132

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469132/ft1_4FGL_J2235.3-4836_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469132/ft1_4FGL_J2235.3-4836_daily_bin1730.fits outfile=/scratch/kocevski/469132/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1730.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=687744001.0 tmax=688003201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.90
user 4.65
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.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/469132/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.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.90
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 408

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469132/ltcube_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.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/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits
.....................!
real 15.36
user 15.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469132/ltcube_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.fits outfile=/scratch/kocevski/469132/expmap_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.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/469132/ltcube_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.fits
.....................!
real 193.08
user 187.10
sys 5.65

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/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.fits scfile=/scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits outfile=/scratch/kocevski/469132/cmap_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.fits scfile=/scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits outfile=/scratch/kocevski/469132/cmap_HighResolution_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469132/Model_4FGL_J2235.3-4836_daily_bin1730.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/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.fits.....................!
real 37.52
user 36.33
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.fits', '/scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits', expMap='/scratch/kocevski/469132/expmap_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.fits', expCube='/scratch/kocevski/469132/ltcube_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469132/Model_4FGL_J2235.3-4836_daily_bin1730.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/469132/ft1_filtered_4FGL_J2235.3-4836_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/469132/ft2_4FGL_J2235.3-4836_daily_bin1730.fits
Exposure map: /scratch/kocevski/469132/expmap_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.fits
Exposure cube: /scratch/kocevski/469132/ltcube_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469132/Model_4FGL_J2235.3-4836_daily_bin1730.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) = 4563.45767618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.061       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31675E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.3438       1.0000          .0000       .10000E+07
     4 'norm      '    20.209       1.0000          .0000       .10000E+07
     5 'Prefactor '    .52995E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29597E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.611       1.0000          .0000       .10000E+07
     8 'Prefactor '    .59659       1.0000          .0000       .10000E+07
     9 'norm      '    .14230E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.3285       1.0000          .0000       .10000E+07
    11 'Prefactor '    .97768       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5867       1.0000          .0000       .10000E+07
    13 'Prefactor '    .78798E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1487       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.6175       1.0000          .0000       .10000E+07
    16 'Prefactor '    .25986E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.007       1.0000          .0000       .10000E+07
    18 'norm      '    .59493E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .85467E-04   1.0000          .0000       .10000E+07
    20 'norm      '    2.7020       1.0000          .0000       .10000E+07
    21 'Prefactor '    8.3561       1.0000          .0000       .10000E+07
    22 'Prefactor '    .92429E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    17.281       1.0000          .0000       .10000E+07
    24 'norm      '    .69940       1.0000          .0000       .10000E+07
    25 'Prefactor '    6.4786       1.0000          .0000       .10000E+07
    26 'Prefactor '    .11168E-01   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0163       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .88421       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=   4563.444     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     2579 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.201        6.0232       -.22780E-08    .78999E-01
   2  Prefactor     .50697E-05    15.026       -.19958E-06** at limit **
   3  Prefactor     3.3405        3.4607       -.51737E-08   -.29140E-03
   4  norm          20.159        8.6790        .90636E-07    .35467E-01
   5  Prefactor     .49739E-05    14.843       -.24126E-06** at limit **
   6  Prefactor     .10342E-06    6.2271        .38995E-06** at limit **
   7  Prefactor     10.583        5.5733        .41131E-07    .28760E-02
   8  Prefactor     .17118E-04    195.45       -.10045E-05** at limit **
   9  norm           .0000        2.2756       -.17794E-06** at limit **
  10  Prefactor     9.2575        6.3796       -.65702E-07    .53689E-03
  11  Prefactor     .94161        1.4502       -.70528E-07    .45998E-01
  12  Prefactor     4.5403        6.6493        .27814E-07    .31216E-02
  13  Prefactor     .98993E-06    48.252        .21098E-06** at limit **
  14  Prefactor     8.1565        1.2494        .43202E-08   -.76682E-02
  15  Prefactor     7.6431        1.4868       -.18377E-07    .20724E-02
  16  Prefactor     .15765E-07    5.7568        .35689E-06** at limit **
  17  Prefactor     11.775        2.2901       -.24855E-07    .10067E-01
  18  norm          .22760E-08    9.4369        .28606E-06** at limit **
  19  norm           .0000        3.1026        .31711E-07** at limit **
  20  norm          2.7232        5.6252       -.14368E-06   -.26747E-03
  21  Prefactor     8.4771        6.7520        .62526E-07    .22842E-03
  22  Prefactor     .12718E-05    47.801        .39692E-07** at limit **
  23  Prefactor     16.318        16.206       -.13358E-06   -.64554E-01
  24  norm          .71073        1.3262       -.22681E-06   -.27877E-02
  25  Prefactor     6.5032        7.0181        .28721E-07    .98048E-02
  26  Prefactor     .27478E-07    12.898        .10778E-06** at limit **
  27  Normalizat    1.0198        .25856        .10581E-04    .11263E-03
  28  Prefactor     .88269        .22361       -.61013E-05    .68280E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2014
  Prefactor  = 5.06972e-06
  Prefactor  = 3.34046
  norm       = 20.1592
  Prefactor  = 4.97391e-06
  Prefactor  = 1.03417e-07
  Prefactor  = 10.5834
  Prefactor  = 1.7118e-05
  norm       = 0
  Prefactor  = 9.25755
  Prefactor  = 0.941611
  Prefactor  = 4.5403
  Prefactor  = 9.8993e-07
  Prefactor  = 8.1565
  Prefactor  = 7.64313
  Prefactor  = 1.57652e-08
  Prefactor  = 11.7753
  norm       = 2.27596e-09
  norm       = 0
  norm       = 2.72317
  Prefactor  = 8.47711
  Prefactor  = 1.27182e-06
  Prefactor  = 16.3181
  norm       = 0.710729
  Prefactor  = 6.50316
  Prefactor  = 2.7478e-08
  Normalizat = 1.01978
  Prefactor  = 0.88269
 **********
 **   18 **HESSE 
 **********

 FCN=   4563.444     FROM HESSE     STATUS=OK           579 CALLS     3158 TOTAL
                     EDM=   .63E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.201        12.180        .25782E-03   -1.5630    
   2  Prefactor     .50697E-05    29.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3405        3.4665        .55324E-03   -1.5671    
   4  norm          20.159        8.7243        .22252E-03   -1.5618    
   5  Prefactor     .49739E-05    28.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10342E-06    11.695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.583        5.6033        .30734E-03   -1.5643    
   8  Prefactor     .17118E-04    238.00        .69534E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.2788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.2575        6.5460        .32789E-03   -1.5647    
  11  Prefactor     .94161        637.83        .42974E-03   -1.5689    
  12  Prefactor     4.5403        6.7898        .46976E-03   -1.5665    
  13  Prefactor     .98993E-06    52.471        .14538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.1565        21.237        .35098E-03   -1.5651    
  15  Prefactor     7.6431        10.310        .36311E-03   -1.5653    
  16  Prefactor     .15765E-07    11.738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.775        18.408        .28885E-03   -1.5639    
  18  norm          .22760E-08    9.6117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        3.1063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.7232        5.6493        .61945E-03   -1.5675    
  21  Prefactor     8.4771        18.076        .34656E-03   -1.5650    
  22  Prefactor     .12718E-05    54.561        .14137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     16.318        38.710        .24066E-03   -1.5627    
  24  norm          .71073        1.4357        .60757E-03   -1.5691    
  25  Prefactor     6.5032        7.0858        .39406E-03   -1.5657    
  26  Prefactor     .27478E-07    13.548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0198        .23058        .43963E-01   -.92371    
  28  Prefactor     .88269        .19348        .44804E-01   -.96749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34314e-06
Minuit parameter uncertainties:
  1  12.1797
  2  0.0246305
  3  3.46646
  4  8.72431
  5  0.0238914
  6  0.00219974
  7  5.60335
  8  0.127663
  9  5.77708e-06
  10  6.546
  11  49.0188
  12  6.78983
  13  0.0144143
  14  21.2371
  15  10.31
  16  0.000859801
  17  18.4081
  18  0.000297284
  19  4.35125e-06
  20  5.64936
  21  18.0759
  22  0.0166606
  23  38.7105
  24  1.43572
  25  7.08576
  26  0.00122048
  27  0.230804
  28  0.193633
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  4.540e+00  6.790e+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.827e-01  1.936e-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.020e+00  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.67
Ra Dec: 338.841 -48.602
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469132/likelihoodResults_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.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) = 4563.37506106
delta logL = 0.0687284029946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4563.36764565
delta logL = 0.0761438171094

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8376       1.0000          .0000       .10000E+07
     2 'Index     '    2.9348       1.0000          .0000       10.000    
     3 'Normalizat'    1.0059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89019       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4563.368     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      231 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8381        6.5511        .16226E-04   -.38801E-02
   2  Index         2.9344        1.1968        .96168E-02   -.55349E-04
   3  Normalizat    1.0059        .25046        .25840E-03    .26485E-03
   4  Prefactor     .89018        .22190        .24488E-03    .24760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.83809
  Index      = 2.93438
  Normalizat = 1.00592
  Prefactor  = 0.890183
 **********
 **   18 **HESSE 
 **********

 FCN=   4563.368     FROM HESSE     STATUS=OK            25 CALLS      256 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8381        6.1471        .64905E-06   -1.5669    
   2  Index         2.9344        1.1236        .38467E-03   -.42588    
   3  Normalizat    1.0059        .25070        .51680E-04   -.92833    
   4  Prefactor     .89018        .22203        .48976E-04   -.96485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53776e-10
Minuit parameter uncertainties:
  1  6.14713
  2  1.13533
  3  0.250996
  4  0.222253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469132': 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) = 4563.36764558
delta logL = 0.0761438895333

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.838e+00  6.147e+00  0.000e+00  1.000e+06 ( 1.000e-12)
352        Index:  2.934e+00  1.135e+00  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:  8.902e-01  2.223e-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.006e+00  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.67
Ra Dec: 338.841 -48.602

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/469132/cmap_HighResolution_687744001_688003201_4FGL_J2235.3-4836_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2022-10-21 00:45:41.775349', job_id='469132', GAL2='0.89', fit_tolerance='1e-08', EG2='1.01', EG='1.02', time_epoch_completed='1666338341.78', return_code2='0', ts='0.67', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='7.61e-02', ts2='0.83', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1730' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:45:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 469132: <4FGL_J2235.3-4836_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:25 2022
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:26 2022
Terminated at Fri Oct 21 00:45:42 2022
Results reported at Fri Oct 21 00:45:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1730 338.841 -48.6015 687744001 688003201 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 :                                   593.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            617 sec.

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

