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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1703
RA = 339.144, Dec = -14.5557
tmin = 680745601, tmax = 681004801
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='324176', job_status='RUN', time_executed='2022-08-01 01:22:31.267637', time_epoch_executed='1659342151.27' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324176

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324176/ft1_4FGL_J2236.5-1433_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324176/ft1_4FGL_J2236.5-1433_daily_bin1703.fits outfile=/scratch/kocevski/324176/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1703.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=680745601.0 tmax=681004801.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.95
user 2.75
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.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/324176/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.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.51
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 175

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324176/ltcube_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.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/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits
.....................!
real 15.01
user 14.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324176/ltcube_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.fits outfile=/scratch/kocevski/324176/expmap_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.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/324176/ltcube_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.fits
.....................!
real 193.32
user 186.35
sys 4.89

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

Setting source of interest to:
4FGL J2236.5-1433 @ 339.144 -14.5557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.fits scfile=/scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits outfile=/scratch/kocevski/324176/cmap_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.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=339.144 yref=-14.5557 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.fits scfile=/scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits outfile=/scratch/kocevski/324176/cmap_HighResolution_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.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=339.144 yref=-14.5557 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324176/Model_4FGL_J2236.5-1433_daily_bin1703.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/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.fits......................!
real 28.28
user 26.88
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.fits', '/scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits', expMap='/scratch/kocevski/324176/expmap_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.fits', expCube='/scratch/kocevski/324176/ltcube_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324176/Model_4FGL_J2236.5-1433_daily_bin1703.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.5-1433'

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/324176/ft1_filtered_4FGL_J2236.5-1433_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/324176/ft2_4FGL_J2236.5-1433_daily_bin1703.fits
Exposure map: /scratch/kocevski/324176/expmap_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.fits
Exposure cube: /scratch/kocevski/324176/ltcube_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324176/Model_4FGL_J2236.5-1433_daily_bin1703.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) = 2013.71822187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.732       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16097E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    97.447       1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.309       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13406E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.155       1.0000         .10000E-03   10000.    
     8 'norm      '    17.148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    486.82       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.911       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    43.876       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.5049       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.629       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.6133       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .54653       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2013.694     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2159 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.727        34.835        .59095E-07   -.34929E-05
   2  Prefactor     .10000E-03    204.40        .81100E-06** at limit **
   3  Prefactor     97.458        60.036        .59171E-07    .67983E-05
   4  Prefactor     47.308        49.380       -.43471E-07   -.68938E-05
   5  Prefactor     .10004E-03    756.85       -.61555E-05** at limit **
   6  Prefactor     .10000E-03    6.3611        .43116E-06** at limit **
   7  Prefactor     42.189        89.665        .38404E-06    .19745E-04
   8  norm          17.138        12.710       -.44644E-06   -.77182E-04
   9  Prefactor     487.02        316.46        .13616E-05    .40122E-04
  10  Prefactor     .10000E-03    14.343        .62957E-08** at limit **
  11  norm          .10000E-03    .49878        .68233E-07** at limit **
  12  norm          .10000E-03    2.6531        .17790E-06** at limit **
  13  Prefactor     48.926        87.069        .50888E-06    .43803E-05
  14  Prefactor     .10000E-03    8.5467        .59505E-06** at limit **
  15  norm          .10000E-03    1.1821        .24555E-05** at limit **
  16  Prefactor     43.948        42.071       -.47018E-05   -.45220E-03
  17  Prefactor     9.5068        23.057       -.25625E-06   -.17577E-03
  18  Prefactor     11.629        13.361        .37291E-07   -.79563E-04
  19  Prefactor     .10000E-03    96.276       -.10881E-05** at limit **
  20  Normalizat    1.6136        .39278       -.16576E-05   -.16704E-03
  21  Prefactor     .54631        .29367        .11611E-05   -.18495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7274
  Prefactor  = 0.000100001
  Prefactor  = 97.4581
  Prefactor  = 47.3081
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 42.1887
  norm       = 17.1383
  Prefactor  = 487.023
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 48.9259
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 43.948
  Prefactor  = 9.50683
  Prefactor  = 11.6287
  Prefactor  = 0.0001
  Normalizat = 1.6136
  Prefactor  = 0.546306
 **********
 **   18 **HESSE 
 **********

 FCN=   2013.694     FROM HESSE     STATUS=OK           309 CALLS     2468 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.727        34.854        .87966E-04   -1.4797    
   2  Prefactor     .10000E-03    204.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     97.458        60.121        .40720E-04   -1.3730    
   4  Prefactor     47.308        49.431        .58296E-04   -1.4331    
   5  Prefactor     .10004E-03    756.42        .20557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.3630        .11047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.189        89.615        .61742E-04   -1.4408    
   8  norm          17.138        12.691        .96719E-04   -1.4880    
   9  Prefactor     487.02        315.79        .92936E-04   -1.1258    
  10  Prefactor     .10000E-03    14.353        .16600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .50072        .30945E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.6537        .71252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     48.926        87.240        .57338E-04   -1.4308    
  14  Prefactor     .10000E-03    8.5541        .12813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.3329        .86100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.948        45.742        .60524E-04   -1.4381    
  17  Prefactor     9.5068        23.079        .12999E-03   -1.5091    
  18  Prefactor     11.629        13.371        .11748E-03   -1.5026    
  19  Prefactor     .10000E-03    96.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.6136        .46455        .25975E-03   -.74634    
  21  Prefactor     .54631        .34384        .30941E-03   -1.0990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47982e-09
Minuit parameter uncertainties:
  1  34.8885
  2  0.00104847
  3  60.1583
  4  49.4743
  5  0.0116793
  6  2.39044e-06
  7  89.9026
  8  12.6926
  9  316.938
  10  1.56821e-06
  11  5.11598e-08
  12  2.19699e-06
  13  87.4687
  14  1.04332e-06
  15  5.19873e-05
  16  45.7789
  17  23.101
  18  13.3743
  19  2.67757e-05
  20  0.465799
  21  0.345166
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  5.116e-08  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  5.463e-01  3.452e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.614e+00  4.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.144 -14.556
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324176/likelihoodResults_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.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) = 2013.69605199
delta logL = -0.00200880264924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2013.69404319
delta logL = 3.91946741729e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0636       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54631       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   2013.694     FROM MIGRAD    STATUS=FAILED        80 CALLS      224 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    .54071        .30946E-03** at limit **
   2  alpha         2.0472        3.1541        .16789        .60661E-05
   3  Normalizat    1.6136        .44933        .25976E-03   -.97046E-04
   4  Prefactor     .54631        .33074        .30941E-03   -.84904E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   2013.694     FROM SIMPLEX   STATUS=UNCHANGED    111 CALLS      335 TOTAL
                     EDM=   .76E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    .54071        .60624E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0472        3.1541        .81479E-03   -.18211    
   3  Normalizat    1.6136        .44933        .15492E-03   -.74634    
   4  Prefactor     .54631        .33074        .23783E-03   -1.0990    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2013.694     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      362 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50116        .61892E-04** at limit **
   2  alpha         2.0258        2.6945        .67157E-02   -.99709E-07
   3  Normalizat    1.6136        .44968        .51951E-04    .31665E-04
   4  Prefactor     .54631        .33099        .12376E-04    .27328E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.02582
  Normalizat = 1.6136
  Prefactor  = 0.546309
 **********
 **   18 **HESSE 
 **********

 FCN=   2013.694     FROM HESSE     STATUS=OK            23 CALLS      385 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .50116        .12378E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0258        2.6973        .13431E-02   -.19083    
   3  Normalizat    1.6136        .44972        .10390E-04   -.74634    
   4  Prefactor     .54631        .33101        .24753E-05   -1.0990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56852e-11
Minuit parameter uncertainties:
  1  4.22537e-06
  2  92.1467
  3  0.45085
  4  0.332195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324176': 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) = 2013.6940431
delta logL = 8.63083187141e-08

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  4.225e-06  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.026e+00  9.215e+01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  5.463e-01  3.322e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.614e+00  4.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 339.144 -14.556

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/324176/cmap_HighResolution_680745601_681004801_4FGL_J2236.5-1433_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.27e-05', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-08-01 01:29:12.259830', job_id='324176', GAL2='0.55', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1659342552.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='8.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1703' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:29:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 324176: <4FGL_J2236.5-1433_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:23 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:22:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:22:09 2022
Terminated at Mon Aug  1 01:29:13 2022
Results reported at Mon Aug  1 01:29:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1703 339.144 -14.5557 680745601 681004801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.5-1433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   402.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   423 sec.
    Turnaround time :                            530 sec.

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

