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 28 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin1699
RA = 338.799, Dec = -6.3955
tmin = 679708801, tmax = 679968001
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='1392', job_status='RUN', time_executed='2022-07-20 00:36:19.500824', time_epoch_executed='1658302579.5' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1392/ft1_4FGL_J2235.1-0623_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1392/ft1_4FGL_J2235.1-0623_daily_bin1699.fits outfile=/scratch/kocevski/1392/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1699.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=679708801.0 tmax=679968001.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.84
user 3.57
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.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/1392/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1699.fits evtable="EVENTS" outfile="/scratch/kocevski/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 686

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/1392/ltcube_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.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/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits
.....................!
real 11.85
user 11.52
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/1392/ltcube_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.fits outfile=/scratch/kocevski/1392/expmap_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.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/1392/ltcube_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.fits
.....................!
real 190.00
user 185.04
sys 4.64

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.1-0623 @ 338.799 -6.3955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.fits scfile=/scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits outfile=/scratch/kocevski/1392/cmap_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.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.799 yref=-6.3955 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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.fits scfile=/scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits outfile=/scratch/kocevski/1392/cmap_HighResolution_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.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.799 yref=-6.3955 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/1392/Model_4FGL_J2235.1-0623_daily_bin1699.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/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.fits.....................!
real 69.08
user 67.75
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.fits', '/scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits', expMap='/scratch/kocevski/1392/expmap_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.fits', expCube='/scratch/kocevski/1392/ltcube_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/1392/Model_4FGL_J2235.1-0623_daily_bin1699.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.1-0623'

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.499e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/1392/ft1_filtered_4FGL_J2235.1-0623_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/1392/ft2_4FGL_J2235.1-0623_daily_bin1699.fits
Exposure map: /scratch/kocevski/1392/expmap_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.fits
Exposure cube: /scratch/kocevski/1392/ltcube_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/1392/Model_4FGL_J2235.1-0623_daily_bin1699.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) = 7512.62656916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.9204       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    50.909       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.740       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0121       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.9609       1.0000         .10000E-03   10000.    
    11 'Prefactor '    66.228       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6576       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024       1.0000         .10000E-03   10000.    
    14 'norm      '    .61783       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.178       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.2359       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.750       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5883       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .58528       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7512.616     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     2070 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6984        .10381E-05** at limit **
   2  Prefactor     .10000E-03    3.0547        .49662E-07** at limit **
   3  Prefactor     7.9203        2.3645       -.65224E-06   -.31343E-02
   4  Prefactor     .10000E-03    4.5639        .10194E-05** at limit **
   5  Prefactor     50.920        10.548       -.11565E-05    .85723E-02
   6  Prefactor     23.746        9.1268       -.15530E-05   -.55399E-02
   7  Prefactor     .10000E-03    55.245        .29198E-04** at limit **
   8  Prefactor     3.0128        3.0249        .42583E-06    .96231E-04
   9  Prefactor     .10000E-03    26.622       -.96349E-06** at limit **
  10  norm          2.9611        3.6504        .98437E-07   -.13055E-05
  11  Prefactor     66.221        1.0270        .84125E-08   -.13680E-03
  12  norm          2.6546        1.0852       -.16633E-06   -.57581E-05
  13  Prefactor     .72740        238.83        .11943E-04    .33970E-05
  14  norm          .58420        1.7190       -.12391E-05   -.39946E-04
  15  Prefactor     15.974        30.883       -.36423E-05    .26237E-03
  16  Prefactor     .10000E-03    2.4460       -.37747E-06** at limit **
  17  Prefactor     .10000E-03    6.2472       -.12816E-05** at limit **
  18  norm          3.2387        8.6929        .72478E-06   -.17197E-03
  19  Prefactor     26.759        2.0507        .17813E-06    .24534E-03
  20  Prefactor     .10000E-03    4.4664       -.22382E-05** at limit **
  21  Normalizat    1.5875        .23964        .30425E-05    .88406E-05
  22  Prefactor     .58558        .14133       -.27806E-05    .13753E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.92034
  Prefactor  = 0.0001
  Prefactor  = 50.9201
  Prefactor  = 23.746
  Prefactor  = 0.0001
  Prefactor  = 3.01283
  Prefactor  = 0.0001
  norm       = 2.96106
  Prefactor  = 66.2208
  norm       = 2.65457
  Prefactor  = 0.727402
  norm       = 0.584197
  Prefactor  = 15.9738
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.23866
  Prefactor  = 26.7593
  Prefactor  = 0.0001
  Normalizat = 1.5875
  Prefactor  = 0.585579
 **********
 **   18 **HESSE 
 **********

 FCN=   7512.616     FROM HESSE     STATUS=OK           394 CALLS     2464 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6520        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.0513        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.9203        9.0886        .35618E-02   -1.5145    
   4  Prefactor     .10000E-03    4.5551        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     50.920        16.560        .14052E-02   -1.4280    
   6  Prefactor     23.746        11.972        .20553E-02   -1.4733    
   7  Prefactor     .10000E-03    55.177        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0128        3.0682        .58463E-02   -1.5361    
   9  Prefactor     .10000E-03    26.595        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.9611        3.7775        .58997E-02   -1.5364    
  11  Prefactor     66.221        97.210        .12329E-02   -1.4079    
  12  norm          2.6546        1.0918        .62510E-02   -1.5382    
  13  Prefactor     .72740        27.992        .95124E-01   -1.5537    
  14  norm          .58420        1.6514        .20426E-01   -1.5555    
  15  Prefactor     15.974        32.868        .24894E-02   -1.4908    
  16  Prefactor     .10000E-03    2.4437        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.1905        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.2387        8.7565        .56294E-02   -1.5348    
  19  Prefactor     26.759        30.488        .19364E-02   -1.4673    
  20  Prefactor     .10000E-03    4.4530        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5875        .20315        .57973E-01   -.75348    
  22  Prefactor     .58558        .12157        .40853E-01   -1.0820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42169e-07
Minuit parameter uncertainties:
  1  1.77895e-06
  2  1.60847e-07
  3  9.09013
  4  1.66889e-06
  5  16.561
  6  11.9732
  7  5.77356e-05
  8  3.06837
  9  1.44453e-05
  10  3.77784
  11  97.4444
  12  1.0918
  13  9.02858
  14  1.65153
  15  32.9057
  16  3.96771e-07
  17  2.76284e-06
  18  8.76
  19  30.5053
  20  4.73966e-06
  21  0.20326
  22  0.121626
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.622e+01  9.744e+01  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  5.856e-01  1.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.588e+00  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 338.799 -6.396
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1392/likelihoodResults_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.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) = 7512.58364494
delta logL = 0.0327607443414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7512.58070885
delta logL = 0.0356968320912

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    84.515       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9661       1.0000          .0000       10.000    
     3 'Normalizat'    1.5926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58266       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   7512.581     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      307 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     84.504        127.12        .43696E-04    .36060E-04
   2  Index         1.9660        .66454        .10035E-01    .29805E-04
   3  Normalizat    1.5932        .22241        .25598E-03    .22649E-03
   4  Prefactor     .58230        .13962        .24924E-03    .20590E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 84.5044
  Index      = 1.96603
  Normalizat = 1.59317
  Prefactor  = 0.582302
 **********
 **   18 **HESSE 
 **********

 FCN=   7512.581     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     84.504        122.70        .87392E-05   -1.3867    
   2  Index         1.9660        .64154        .40140E-03   -.65202    
   3  Normalizat    1.5932        .22242        .51196E-04   -.75193    
   4  Prefactor     .58230        .13962        .99695E-05   -1.0834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64628e-11
Minuit parameter uncertainties:
  1  123.072
  2  0.644364
  3  0.222562
  4  0.139699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1392': 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) = 7512.58070531
delta logL = 0.0357003715872

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  8.450e+01  1.231e+02  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  1.966e+00  6.444e-01  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  5.823e-01  1.397e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.593e+00  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
Ra Dec: 338.799 -6.396

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/1392/cmap_HighResolution_679708801_679968001_4FGL_J2235.1-0623_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.27e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-07-20 00:47:10.044487', job_id='1392', GAL2='0.58', fit_tolerance='1e-08', EG2='1.59', EG='1.59', time_epoch_completed='1658303230.04', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='3.57e-02', ts2='0.65', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1699' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:47:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 1392: <4FGL_J2235.1-0623_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 00:35:41 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:35:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:35:42 2022
Terminated at Wed Jul 20 00:47:10 2022
Results reported at Wed Jul 20 00:47:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin1699 338.799 -6.3955 679708801 679968001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.1-0623 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.60 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            689 sec.

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

