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


Performing analysis on: 4FGL_J2235.1-0623_daily_bin1702
RA = 338.799, Dec = -6.3955
tmin = 680486401, tmax = 680745601
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='258980', job_status='RUN', time_executed='2022-07-29 01:38:21.810900', time_epoch_executed='1659083901.81' WHERE source_name='4FGL J2235.1-0623' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258980

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258980/ft1_4FGL_J2235.1-0623_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258980/ft1_4FGL_J2235.1-0623_daily_bin1702.fits outfile=/scratch/kocevski/258980/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1702.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=680486401.0 tmax=680745601.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.98
user 2.74
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.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/258980/ft1_filteredMKT_4FGL_J2235.1-0623_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 136

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/258980/ltcube_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.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/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits
.....................!
real 16.12
user 15.70
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/258980/ltcube_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.fits outfile=/scratch/kocevski/258980/expmap_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.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/258980/ltcube_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.fits
.....................!
real 192.71
user 186.85
sys 5.34

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/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.fits scfile=/scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits outfile=/scratch/kocevski/258980/cmap_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.fits scfile=/scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits outfile=/scratch/kocevski/258980/cmap_HighResolution_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/258980/Model_4FGL_J2235.1-0623_daily_bin1702.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/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.fits.......................!
real 26.89
user 25.52
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.fits', '/scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits', expMap='/scratch/kocevski/258980/expmap_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.fits', expCube='/scratch/kocevski/258980/ltcube_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/258980/Model_4FGL_J2235.1-0623_daily_bin1702.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/258980/ft1_filtered_4FGL_J2235.1-0623_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/258980/ft2_4FGL_J2235.1-0623_daily_bin1702.fits
Exposure map: /scratch/kocevski/258980/expmap_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.fits
Exposure cube: /scratch/kocevski/258980/ltcube_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/258980/Model_4FGL_J2235.1-0623_daily_bin1702.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) = 1628.39030689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    133.78       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10518E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.4282       1.0000         .10000E-03   10000.    
    13 'Prefactor '    60.270       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    19.694       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10437E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.058       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63220       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84192       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.

 FCN=   1628.342     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2337 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.881       -.56089E-05** at limit **
   2  Prefactor     .10000E-03    18.501        .22559E-05** at limit **
   3  Prefactor     .10000E-03    36.926        .91217E-05** at limit **
   4  Prefactor     .10000E-03    51.430       -.65087E-05** at limit **
   5  Prefactor     .10000E-03    19.363       -.13517E-05** at limit **
   6  Prefactor     .10000E-03    19.308       -.13641E-05** at limit **
   7  Prefactor     133.69        230.90       -.75483E-04    .22547E-05
   8  Prefactor     .10000E-03    3.5831        .66959E-07** at limit **
   9  Prefactor     .10000E-03    90.085        .45396E-04** at limit **
  10  norm          .10000E-03    4.5429        .47245E-06** at limit **
  11  Prefactor     .10000E-03    51.556       -.63272E-05** at limit **
  12  norm          5.4287        3.3323       -.61664E-06    .14153E-03
  13  Prefactor     60.306        34.902        .13830E-04    .26242E-03
  14  norm          .10001E-03    1.8790       -.14745E-05** at limit **
  15  Prefactor     .10000E-03    39.616       -.37667E-05** at limit **
  16  Prefactor     .10000E-03    5.9078       -.72629E-07** at limit **
  17  Prefactor     .10000E-03    11.044       -.18112E-06** at limit **
  18  norm          19.688        18.613        .50033E-06    .13496E-04
  19  Prefactor     .10000E-03    121.03       -.32590E-04** at limit **
  20  Prefactor     17.059        21.407        .64762E-06    .94107E-04
  21  Normalizat    .63195        .36266       -.57198E-05    .10010E-03
  22  Prefactor     .84210        .21940        .28913E-05   -.36821E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 133.687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.42867
  Prefactor  = 60.3057
  norm       = 0.000100006
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.6875
  Prefactor  = 0.0001
  Prefactor  = 17.059
  Normalizat = 0.63195
  Prefactor  = 0.842104
 **********
 **   18 **HESSE 
 **********

 FCN=   1628.342     FROM HESSE     STATUS=OK           330 CALLS     2667 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.501        .16957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    36.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    51.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.362        .17348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.347        .17321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     133.69        229.78        .17409E-03   -1.3390    
   8  Prefactor     .10000E-03    3.5861        .74606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    89.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.5621        .84002E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    51.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.4287        3.3312        .53512E-04   -1.5242    
  13  Prefactor     60.306        34.975        .51682E-04   -1.4153    
  14  norm          .10001E-03    1.9365        .10754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    39.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.9084        .95806E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.049        .13100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          19.688        18.620        .90252E-04   -1.4820    
  19  Prefactor     .10000E-03    120.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.059        21.571        .96973E-04   -1.4882    
  21  Normalizat    .63195        .41445        .33129E-03   -1.0664    
  22  Prefactor     .84210        .25153        .18433E-03   -.98195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47748e-09
Minuit parameter uncertainties:
  1  2.94803e-05
  2  3.36003e-07
  3  4.26904e-06
  4  1.5256e-06
  5  3.0778e-05
  6  3.59373e-05
  7  231.339
  8  8.36784e-06
  9  1.00285e-05
  10  0.000100197
  11  2.6171e-05
  12  3.33135
  13  34.9872
  14  0.00020825
  15  0.000536971
  16  1.01115e-05
  17  5.90445e-05
  18  18.625
  19  0.000119372
  20  21.5805
  21  0.416511
  22  0.251879
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.000e-04  2.617e-05  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:  8.421e-01  2.519e-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:  6.320e-01  4.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/258980/likelihoodResults_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1628.34251882
delta logL = -9.11640966024e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1628.34242824
delta logL = -5.79297193326e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4327       1.0000          .0000       10.000    
     3 'Normalizat'    .63182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84218       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=   1628.342     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      275 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10395E-03    24.905        .18142E-01** at limit **
   2  Index         2.3430        8.8182        .50000        .90882E-05
   3  Normalizat    .63195        .72743E-02    .33130E-03    .32857E-05
   4  Prefactor     .84211        .46659E-02    .18433E-03   -.80383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103946
  Index      = 2.34296
  Normalizat = 0.631946
  Prefactor  = 0.842106
 **********
 **   18 **HESSE 
 **********

 FCN=   1628.342     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10395E-03    183.74        .24479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3430        8.5784        .50000       -.56026    
   3  Normalizat    .63195        .19894E-01    .13252E-04   -1.0664    
   4  Prefactor     .84211        .12761E-01    .36866E-04   -.98194    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.75026e-09
Minuit parameter uncertainties:
  1  0.0540201
  2  338.853
  3  0.019894
  4  0.0127606
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258980': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1628.34242803
delta logL = -3.78782033295e-07

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  1.039e-04  5.402e-02  1.000e-04  1.000e+04 ( 1.000e-14)
270        Index:  2.343e+00  3.389e+02  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:  8.421e-01  1.276e-02  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:  6.319e-01  1.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/258980/cmap_HighResolution_680486401_680745601_4FGL_J2235.1-0623_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.40e-03', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2022-07-29 01:44:54.805194', job_id='258980', GAL2='0.84', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1659084294.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-3.79e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1702' AND source_name='4FGL J2235.1-0623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:44:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 258980: <4FGL_J2235.1-0623_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2235.1-0623_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:21 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:35:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:35:48 2022
Terminated at Fri Jul 29 01:44:55 2022
Results reported at Fri Jul 29 01:44:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.1-0623_daily_bin1702 338.799 -6.3955 680486401 680745601 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 :                                   395.50 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             247.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   547 sec.
    Turnaround time :                            574 sec.

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

