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


Performing analysis on: 4FGL_J2235.8-3627_daily_bin1690
RA = 338.971, Dec = -36.4605
tmin = 677376001, tmax = 677635201
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='159504', job_status='RUN', time_executed='2022-06-23 01:19:01.908240', time_epoch_executed='1655972341.91' WHERE source_name='4FGL J2235.8-3627' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159504

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159504/ft1_4FGL_J2235.8-3627_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159504/ft1_4FGL_J2235.8-3627_daily_bin1690.fits outfile=/scratch/kocevski/159504/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1690.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=677376001.0 tmax=677635201.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.55
user 2.33
sys 0.19

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

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

Number of photons that the gtmktime cut: 339

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159504/ft1_filtered_4FGL_J2235.8-3627_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/159504/ltcube_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.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/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits
.....................!
real 15.23
user 14.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159504/ft1_filtered_4FGL_J2235.8-3627_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/159504/ltcube_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.fits outfile=/scratch/kocevski/159504/expmap_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.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/159504/ltcube_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.fits
.....................!
real 194.71
user 185.91
sys 5.74

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

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/159504/ft1_filtered_4FGL_J2235.8-3627_daily_bin1690.fits scfile=/scratch/kocevski/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits outfile=/scratch/kocevski/159504/cmap_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=338.971 yref=-36.4605 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159504/ft1_filtered_4FGL_J2235.8-3627_daily_bin1690.fits scfile=/scratch/kocevski/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits outfile=/scratch/kocevski/159504/cmap_HighResolution_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=338.971 yref=-36.4605 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159504/ft1_filtered_4FGL_J2235.8-3627_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159504/Model_4FGL_J2235.8-3627_daily_bin1690.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/159504/ft1_filtered_4FGL_J2235.8-3627_daily_bin1690.fits......................!
real 34.89
user 33.52
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159504/ft1_filtered_4FGL_J2235.8-3627_daily_bin1690.fits', '/scratch/kocevski/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits', expMap='/scratch/kocevski/159504/expmap_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.fits', expCube='/scratch/kocevski/159504/ltcube_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159504/Model_4FGL_J2235.8-3627_daily_bin1690.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/159504/ft1_filtered_4FGL_J2235.8-3627_daily_bin1690.fits
Spacecraft file(s): /scratch/kocevski/159504/ft2_4FGL_J2235.8-3627_daily_bin1690.fits
Exposure map: /scratch/kocevski/159504/expmap_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.fits
Exposure cube: /scratch/kocevski/159504/ltcube_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159504/Model_4FGL_J2235.8-3627_daily_bin1690.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) = 3782.9863831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.161       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2137       1.0000         .10000E-03   10000.    
     5 'norm      '    .58803       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.314       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .92911       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .55637E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0049       1.0000         .10000E-03   10000.    
    16 'norm      '    6.8902       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.232       1.0000         .10000E-03   10000.    
    19 'norm      '    .25400E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.203       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    10.925       1.0000         .10000E-03   10000.    
    24 'norm      '    20.438       1.0000         .10000E-03   10000.    
    25 'Prefactor '    70.489       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .92865       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0848       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3782.932     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     3695 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1254       -.26683E-07** at limit **
   2  Prefactor     .10000E-03    9.2990        .76416E-07** at limit **
   3  norm          11.157        18.095       -.54334E-06   -.20413E-04
   4  norm          6.2135        8.5945        .34773E-05   -.38684E-03
   5  norm          .58800        .40045       -.13110E-06    .27452E-03
   6  Prefactor     16.317        13.490        .67320E-07    .38366E-05
   7  Prefactor     .10000E-03    3.1476        .12282E-06** at limit **
   8  norm          .10000E-03    7.1961        .59609E-07** at limit **
   9  Prefactor     .10000E-03    26.622        .85505E-07** at limit **
  10  Prefactor     .10000E-03    16.334       -.16607E-06** at limit **
  11  Prefactor     .10000E-03    23.369        .14251E-06** at limit **
  12  norm          .93014        2.1614       -.16762E-05   -.63424E-03
  13  Prefactor     .10001E-03    326.90       -.77328E-05** at limit **
  14  Prefactor     .10000E-03    10.235        .25609E-07** at limit **
  15  Prefactor     3.0050        9.0947        .83747E-06   -.25763E-04
  16  norm          6.8878        5.5340        .23025E-07   -.82812E-04
  17  Prefactor     .10000E-03    10.453        .53650E-07** at limit **
  18  Prefactor     40.234        16.490       -.40484E-06   -.12233E-03
  19  norm          .10001E-03    .71140        .19599E-06** at limit **
  20  Prefactor     32.164        58.797       -.73266E-06   -.10445E-03
  21  Prefactor     .10000E-03    9.2004        .66637E-07** at limit **
  22  norm          .10000E-03    8.0855       -.32792E-07** at limit **
  23  norm          10.933        8.5020        .15964E-07   -.48599E-04
  24  norm          20.439        10.982        .67965E-07   -.91406E-05
  25  Prefactor     70.494        55.334        .39495E-06    .29145E-05
  26  Prefactor     .10000E-03    19.026       -.65540E-08** at limit **
  27  norm          .10000E-03    10.740        .64718E-06** at limit **
  28  Normalizat    .92802        .25765       -.12817E-05    .17395E-04
  29  Prefactor     1.0855        .24306       -.84777E-07   -.40254E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.1569
  norm       = 6.2135
  norm       = 0.587995
  Prefactor  = 16.3166
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.93014
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 3.00501
  norm       = 6.88776
  Prefactor  = 0.0001
  Prefactor  = 40.2338
  norm       = 0.000100009
  Prefactor  = 32.1639
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.9334
  norm       = 20.4391
  Prefactor  = 70.4945
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.92802
  Prefactor  = 1.08546
 **********
 **   18 **HESSE 
 **********

 FCN=   3782.932     FROM HESSE     STATUS=OK           551 CALLS     4246 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1430        .17123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.3280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.157        18.178        .11992E-03   -1.5040    
   4  norm          6.2135        8.3587        .80521E-03   -1.5209    
   5  norm          .58800        .40738        .30184E-04   -1.5555    
   6  Prefactor     16.317        13.524        .99161E-04   -1.4900    
   7  Prefactor     .10000E-03    3.1821        .10651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.1974        .16116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    26.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .93014        1.9875        .14295E-02   -1.5515    
  13  Prefactor     .10001E-03    327.77        .42207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0050        9.0689        .23415E-03   -1.5361    
  16  norm          6.8878        5.5141        .11935E-03   -1.5183    
  17  Prefactor     .10000E-03    10.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.234        14.183        .63195E-04   -1.4439    
  19  norm          .10001E-03    8.6829        .83516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.164        59.154        .70610E-04   -1.4573    
  21  Prefactor     .10000E-03    9.2247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    8.0866        .17083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          10.933        8.4732        .12121E-03   -1.5047    
  24  norm          20.439        10.984        .88597E-04   -1.4803    
  25  Prefactor     70.494        55.354        .47813E-04   -1.4027    
  26  Prefactor     .10000E-03    19.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    10.927        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .92802        .31255        .27730E-03   -.95482    
  29  Prefactor     1.0855        .29622        .25099E-03   -.89933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53759e-09
Minuit parameter uncertainties:
  1  1.23861e-05
  2  5.10576e-06
  3  18.1865
  4  8.36024
  5  0.407382
  6  13.5262
  7  3.23082e-06
  8  1.75482e-05
  9  2.25826e-05
  10  4.81185e-05
  11  7.53179e-05
  12  1.98762
  13  0.00354644
  14  2.94925e-05
  15  9.07301
  16  5.51447
  17  3.58896e-05
  18  14.1846
  19  0.000555198
  20  59.2626
  21  2.15715e-05
  22  1.4133e-05
  23  8.47415
  24  10.985
  25  55.3949
  26  7.0431e-06
  27  2.05232e-05
  28  0.313166
  29  0.296665
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
561   Normalization:  9.280e-01  3.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/159504/likelihoodResults_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.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) = 3782.93201945
delta logL = -0.000290987613425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3782.93172862
delta logL = -1.59352566698e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3782.932     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    100.96        .90712E-02** at limit **
   2  Index         2.1774        6.3381        .50000       -.30746E-05
   3  Normalizat    .92802        .24232        .45260E-01    .10442E-04
   4  Prefactor     1.0855        .23648        .56762E-01    .51383E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17737
  Normalizat = 0.928019
  Prefactor  = 1.08546
 **********
 **   18 **HESSE 
 **********

 FCN=   3782.932     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1774        6.0769        .50000       -.59986    
   3  Normalizat    .92802        .29076        .27730E-03   -.95482    
   4  Prefactor     1.0855        .28376        .25099E-03   -.89933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08759e-11
Minuit parameter uncertainties:
  1  1.29038e-06
  2  4.40728
  3  0.291249
  4  0.284158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159504': 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) = 3782.9317285
delta logL = -3.72460817744e-08

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
561   Normalization:  9.280e-01  2.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/159504/cmap_HighResolution_677376001_677635201_4FGL_J2235.8-3627_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.72e-03', job_status='DONE', photon_flux_upper_limit='8.80e-08', time_completed='2022-06-23 01:29:10.105769', job_id='159504', GAL2='1.09', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1655972950.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-3.72e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1690' AND source_name='4FGL J2235.8-3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:29:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 159504: <4FGL_J2235.8-3627_daily_bin1690> in cluster <slac> Done

Job <4FGL_J2235.8-3627_daily_bin1690> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jun 23 01:15:17 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:15:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:15:50 2022
Terminated at Thu Jun 23 01:29:10 2022
Results reported at Thu Jun 23 01:29:10 2022

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   608.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             241.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            833 sec.

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

