/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 4 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 = 7614
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.5-1433_daily_bin753
RA = 339.144, Dec = -14.5557
tmin = 434505601, tmax = 434764801
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='412629', job_status='RUN', time_executed='2021-09-28 17:25:58.381881', time_epoch_executed='1632875158.38' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412629

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412629/ft1_4FGL_J2236.5-1433_daily_bin753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412629/ft1_4FGL_J2236.5-1433_daily_bin753.fits outfile=/scratch/kocevski/412629/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin753.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=434505601.0 tmax=434764801.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 5.90
user 5.64
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.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/412629/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/412629/ltcube_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.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/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits
.....................!
real 11.87
user 11.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/412629/ltcube_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.fits outfile=/scratch/kocevski/412629/expmap_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.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/412629/ltcube_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.fits
.....................!
real 193.16
user 187.58
sys 5.27

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/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.fits scfile=/scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits outfile=/scratch/kocevski/412629/cmap_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.fits scfile=/scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits outfile=/scratch/kocevski/412629/cmap_HighResolution_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/412629/Model_4FGL_J2236.5-1433_daily_bin753.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/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.fits.....................!
real 32.78
user 31.47
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.fits', '/scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits', expMap='/scratch/kocevski/412629/expmap_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.fits', expCube='/scratch/kocevski/412629/ltcube_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/412629/Model_4FGL_J2236.5-1433_daily_bin753.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/412629/ft1_filtered_4FGL_J2236.5-1433_daily_bin753.fits
Spacecraft file(s): /scratch/kocevski/412629/ft2_4FGL_J2236.5-1433_daily_bin753.fits
Exposure map: /scratch/kocevski/412629/expmap_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.fits
Exposure cube: /scratch/kocevski/412629/ltcube_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/412629/Model_4FGL_J2236.5-1433_daily_bin753.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) = 2936.25535773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4432       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.384       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    52.502       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.303       1.0000         .10000E-03   10000.    
     8 'norm      '    13.328       1.0000         .10000E-03   10000.    
     9 'Prefactor '    221.63       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.1675       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.638       1.0000         .10000E-03   10000.    
    15 'norm      '    .10182E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .99927       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84596       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=   2936.254     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2158 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4426        8.3489       -.13037E-06   -.10741E-03
   2  Prefactor     12.382        22.225       -.25022E-05    .40959E-04
   3  Prefactor     .10000E-03    31.421        .43372E-05** at limit **
   4  Prefactor     .10000E-03    15.480       -.76546E-05** at limit **
   5  Prefactor     52.501        72.092       -.12602E-05    .59013E-05
   6  Prefactor     .10000E-03    2.5207       -.12868E-07** at limit **
   7  Prefactor     13.302        59.895       -.30194E-05    .48457E-05
   8  norm          13.328        7.1355       -.34499E-06   -.77099E-04
   9  Prefactor     221.64        158.50        .70415E-05   -.71974E-04
  10  Prefactor     6.1671        13.168       -.79725E-06   -.52625E-04
  11  norm          .10000E-03    .56696        .62714E-07** at limit **
  12  norm          .10000E-03    .81528       -.91627E-09** at limit **
  13  Prefactor     .10000E-03    18.044        .56292E-05** at limit **
  14  Prefactor     23.620        15.779       -.30695E-05   -.51649E-03
  15  norm          .10000E-03    .95087        .84075E-06** at limit **
  16  Prefactor     .10000E-03    12.774        .29410E-05** at limit **
  17  Prefactor     .10000E-03    6.1738       -.11841E-06** at limit **
  18  Prefactor     .10000E-03    5.8185        .11313E-06** at limit **
  19  Prefactor     .10000E-03    33.422       -.52512E-05** at limit **
  20  Normalizat    .99938        .26291        .83402E-06   -.14321E-03
  21  Prefactor     .84584        .20575        .10520E-06   -.15009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.44261
  Prefactor  = 12.3819
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 52.5008
  Prefactor  = 0.0001
  Prefactor  = 13.3015
  norm       = 13.3281
  Prefactor  = 221.644
  Prefactor  = 6.16705
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 23.6197
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.999377
  Prefactor  = 0.845837
 **********
 **   18 **HESSE 
 **********

 FCN=   2936.254     FROM HESSE     STATUS=OK           309 CALLS     2467 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4426        8.3519        .15811E-03   -1.5200    
   2  Prefactor     12.382        22.180        .11383E-03   -1.5004    
   3  Prefactor     .10000E-03    32.080        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     52.501        72.087        .55352E-04   -1.4258    
   6  Prefactor     .10000E-03    2.5281        .84007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.302        59.839        .10982E-03   -1.4978    
   8  norm          13.328        7.1335        .98221E-04   -1.4978    
   9  Prefactor     221.64        157.55        .13586E-03   -1.2719    
  10  Prefactor     6.1671        13.244        .16165E-03   -1.5211    
  11  norm          .10000E-03    .85572        .79089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .81557        .47783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.620        15.195        .82389E-04   -1.4736    
  15  norm          .10000E-03    1.4890        .95228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.1796        .13150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.8285        .12766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .99938        .31210        .25375E-03   -.93051    
  21  Prefactor     .84584        .24430        .21461E-03   -.98060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83079e-09
Minuit parameter uncertainties:
  1  8.35344
  2  22.1943
  3  0.000312011
  4  0.000339635
  5  72.207
  6  3.68265e-06
  7  56.5194
  8  7.134
  9  157.856
  10  13.2502
  11  6.83919e-06
  12  2.71041e-08
  13  0.000272186
  14  15.1974
  15  0.000102393
  16  9.63731e-05
  17  4.75035e-06
  18  2.58481e-07
  19  0.000343392
  20  0.312674
  21  0.244619
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  6.839e-06  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:  8.458e-01  2.446e-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:  9.994e-01  3.127e-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: 8.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/412629/likelihoodResults_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.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) = 2936.25915968
delta logL = -0.00555030969554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2936.25361322
delta logL = -3.84771237805e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10583E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0784       1.0000          .0000       5.0000    
     3 'Normalizat'    .99938       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84599       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.

 FCN=   2936.254     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      251 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.9591        .78897E-03** at limit **
   2  alpha         2.3534        2.7709        .16767       -.30309E-07
   3  Normalizat    .99938        .30198        .25375E-03   -.55645E-04
   4  Prefactor     .84584        .23829        .21461E-03   -.10332E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.35336
  Normalizat = 0.999378
  Prefactor  = 0.845837
 **********
 **   18 **HESSE 
 **********

 FCN=   2936.254     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .93419        .15779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3534        2.8321        .67066E-02   -.58690E-01
   3  Normalizat    .99938        .30228        .10150E-04   -.93051    
   4  Prefactor     .84584        .23852        .42923E-04   -.98060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40482e-11
Minuit parameter uncertainties:
  1  8.41292e-07
  2  93.4185
  3  0.302796
  4  0.238814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412629': 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) = 2936.25360451
delta logL = 4.85508871861e-06

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  8.413e-07  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.353e+00  9.342e+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:  8.458e-01  2.388e-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:  9.994e-01  3.028e-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/412629/cmap_HighResolution_434505601_434764801_4FGL_J2236.5-1433_daily_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-05', job_status='DONE', photon_flux_upper_limit='8.89e-08', time_completed='2021-09-28 17:33:24.820416', job_id='412629', GAL2='0.85', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632875604.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='4.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='753' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:33:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 412629: <4FGL_J2236.5-1433_daily_bin753> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 17:25:44 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:25:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 17:25:45 2021
Terminated at Tue Sep 28 17:33:25 2021
Results reported at Tue Sep 28 17:33:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin753 339.144 -14.5557 434505601 434764801 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 :                                   445.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   460 sec.
    Turnaround time :                            461 sec.

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

