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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1181
RA = 339.144, Dec = -14.5557
tmin = 545443201, tmax = 545702401
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='414084', job_status='RUN', time_executed='2021-09-28 17:32:27.879792', time_epoch_executed='1632875547.88' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1181'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414084

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414084/ft1_4FGL_J2236.5-1433_daily_bin1181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414084/ft2_4FGL_J2236.5-1433_daily_bin1181.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414084/ft1_4FGL_J2236.5-1433_daily_bin1181.fits outfile=/scratch/kocevski/414084/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1181.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=545443201.0 tmax=545702401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.20
user 2.97
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414084/ft2_4FGL_J2236.5-1433_daily_bin1181.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/414084/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1181.fits evtable="EVENTS" outfile="/scratch/kocevski/414084/ft1_filtered_4FGL_J2236.5-1433_daily_bin1181.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.41
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414084/ft1_filtered_4FGL_J2236.5-1433_daily_bin1181.fits" evtable="EVENTS" scfile=/scratch/kocevski/414084/ft2_4FGL_J2236.5-1433_daily_bin1181.fits sctable="SC_DATA" outfile=/scratch/kocevski/414084/ltcube_545443201_545702401_4FGL_J2236.5-1433_daily_bin1181.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/414084/ft2_4FGL_J2236.5-1433_daily_bin1181.fits
.....................!
real 9.28
user 8.99
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414084/ft1_filtered_4FGL_J2236.5-1433_daily_bin1181.fits evtable="EVENTS" scfile=/scratch/kocevski/414084/ft2_4FGL_J2236.5-1433_daily_bin1181.fits sctable="SC_DATA" expcube=/scratch/kocevski/414084/ltcube_545443201_545702401_4FGL_J2236.5-1433_daily_bin1181.fits outfile=/scratch/kocevski/414084/expmap_545443201_545702401_4FGL_J2236.5-1433_daily_bin1181.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/414084/ltcube_545443201_545702401_4FGL_J2236.5-1433_daily_bin1181.fits
.....................!
real 141.92
user 138.12
sys 3.57

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/414084/ft1_filtered_4FGL_J2236.5-1433_daily_bin1181.fits scfile=/scratch/kocevski/414084/ft2_4FGL_J2236.5-1433_daily_bin1181.fits outfile=/scratch/kocevski/414084/cmap_545443201_545702401_4FGL_J2236.5-1433_daily_bin1181.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.43
user 0.28
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414084/ft1_filtered_4FGL_J2236.5-1433_daily_bin1181.fits scfile=/scratch/kocevski/414084/ft2_4FGL_J2236.5-1433_daily_bin1181.fits outfile=/scratch/kocevski/414084/cmap_HighResolution_545443201_545702401_4FGL_J2236.5-1433_daily_bin1181.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.44
user 0.30
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414084/ft1_filtered_4FGL_J2236.5-1433_daily_bin1181.fits evtable="EVENTS" scfile=/scratch/kocevski/414084/ft2_4FGL_J2236.5-1433_daily_bin1181.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414084/Model_4FGL_J2236.5-1433_daily_bin1181.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/414084/ft1_filtered_4FGL_J2236.5-1433_daily_bin1181.fits.....................!
real 24.90
user 23.89
sys 0.97

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    68.782       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .41859E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .71007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10887E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2070       1.0000         .10000E-03   10000.    
     8 'norm      '    10.575       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .62382E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.871       1.0000         .10000E-03   10000.    
    11 'norm      '    .24636E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.2115       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19783E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10826E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.3641       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .69468E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .47111E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .78278E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    102.23       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .81695       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2029       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3130.879     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1339 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6716        .63376E-05** at limit **
   2  Prefactor     68.688        32.055        .16159E-05   -.40836E-02
   3  Prefactor     .10000E-03    5.9538        .12025E-05** at limit **
   4  Prefactor     .10081E-03    15.996        .14803E-05** at limit **
   5  Prefactor     .10027E-03    48.539        .54105E-06** at limit **
   6  Prefactor     .10000E-03    11.666        .22304E-05** at limit **
   7  Prefactor     12.772        306.35       -.14222E-04    .60278E-04
   8  norm          10.607        8.9911        .54973E-06   -.74439E-04
   9  Prefactor     .14722E-03    54.986        .13724E-04** at limit **
  10  Prefactor     23.017        18.260        .59305E-06   -.14409E-02
  11  norm          .10000E-03    7.0942       -.34787E-05** at limit **
  12  norm          1.2181        3.1240       -.34381E-05   -.97737E-04
  13  Prefactor     .12088E-03    104.02        .28060E-04** at limit **
  14  Prefactor     .10026E-03    22.139       -.46282E-06** at limit **
  15  norm          8.3653        2.7362        .10178E-06    .21883E-04
  16  Prefactor     .10000E-03    26.165       -.16339E-05** at limit **
  17  Prefactor     .10000E-03    19.777       -.19151E-07** at limit **
  18  Prefactor     .10005E-03    35.898       -.27566E-05** at limit **
  19  Prefactor     102.32        4.8744       -.32161E-07   -.16571E-01
  20  Normalizat    .81290        .37162       -.16727E-05    .81475E-05
  21  Prefactor     1.2030        .28469        .28179E-05    .19340E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 68.6883
  Prefactor  = 0.0001
  Prefactor  = 0.000100814
  Prefactor  = 0.00010027
  Prefactor  = 0.0001
  Prefactor  = 12.7716
  norm       = 10.6068
  Prefactor  = 0.000147216
  Prefactor  = 23.0174
  norm       = 0.0001
  norm       = 1.21814
  Prefactor  = 0.000120878
  Prefactor  = 0.000100263
  norm       = 8.3653
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100048
  Prefactor  = 102.322
  Normalizat = 0.812896
  Prefactor  = 1.203
 **********
 **   18 **HESSE 
 **********

 FCN=   3130.879     FROM HESSE     STATUS=OK           361 CALLS     1700 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6411        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     68.688        33.742        .12100E-02   -1.4048    
   3  Prefactor     .10000E-03    5.9385        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10081E-03    32.711        .97187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10027E-03    51.524        .10486E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.612        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.772        317.54        .40283E-02   -1.4993    
   8  norm          10.607        8.9825        .30802E-02   -1.5056    
   9  Prefactor     .14722E-03    136.67        .94404E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.017        18.233        .20939E-02   -1.4748    
  11  norm          .10000E-03    .94932        .30139E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.2181        3.1572        .10274E-01   -1.5487    
  13  Prefactor     .12088E-03    142.48        .91215E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10026E-03    28.900        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.3653        2.7428        .34654E-02   -1.5129    
  16  Prefactor     .10000E-03    25.971        .93560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.700        .96417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10005E-03    44.426        .10458E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     102.32        67.649        .99412E-03   -1.3681    
  20  Normalizat    .81290        .31499        .77777E-01   -.99592    
  21  Prefactor     1.2030        .23944        .50802E-01   -.86239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8148e-06
Minuit parameter uncertainties:
  1  4.1359e-05
  2  33.7514
  3  6.98583e-06
  4  0.0103259
  5  0.00747023
  6  1.92316e-05
  7  128.133
  8  8.98368
  9  0.16103
  10  18.2371
  11  9.9854e-06
  12  3.15763
  13  0.109343
  14  0.0055139
  15  2.74287
  16  0.000248691
  17  1.35351e-05
  18  0.00291508
  19  67.7001
  20  0.315699
  21  0.239653
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  9.985e-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:  1.203e+00  2.397e-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:  8.129e-01  3.157e-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.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/414084/likelihoodResults_545443201_545702401_4FGL_J2236.5-1433_daily_bin1181.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) = 3130.88019028
delta logL = -0.000709931494839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3130.87947898
delta logL = 1.37272263601e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11504E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1588       1.0000          .0000       5.0000    
     3 'Normalizat'    .81319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2028       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=   3130.879     FROM MIGRAD    STATUS=FAILED       100 CALLS      274 TOTAL
                     EDM=   .42E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10171E-03    1727.3        .97945E-03** at limit **
   2  alpha         2.3531        3.7012        .16659       -.22495E-05
   3  Normalizat    .81290        .88322E-01    .34430E-03   -.38269E-04
   4  Prefactor     1.2030        .69527E-01    .22459E-03   -.16758E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3130.879     FROM SIMPLEX   STATUS=UNCHANGED    154 CALLS      428 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10171E-03    1727.3        .77459E-03** at limit **
   2  alpha         2.3531        3.7012        .25594E-04   -.22495E-05
   3  Normalizat    .81290        .88322E-01    .11573E-05   -.38269E-04
   4  Prefactor     1.2030        .69527E-01    .46467E-06   -.16758E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3130.879     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      469 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.419        .39178E-04** at limit **
   2  alpha         2.3621        3.7488        .50000        .71054E-08
   3  Normalizat    .81290        .35807        .13772E-04    .13521E-03
   4  Prefactor     1.2030        .28075        .44918E-04    .13240E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.36213
  Normalizat = 0.812898
  Prefactor  = 1.203
 **********
 **   18 **HESSE 
 **********

 FCN=   3130.879     FROM HESSE     STATUS=OK            29 CALLS      498 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.348        .78356E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3621        2.9551        .50000       -.55176E-01
   3  Normalizat    .81290        .35842        .27544E-05   -.99592    
   4  Prefactor     1.2030        .28097        .89836E-05   -.86239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13997e-11
Minuit parameter uncertainties:
  1  2.1961e-05
  2  85.0448
  3  0.359464
  4  0.281325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414084': 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) = 3130.87947588
delta logL = 4.47439560958e-06

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  2.196e-05  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.362e+00  8.504e+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:  1.203e+00  2.813e-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:  8.129e-01  3.595e-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/414084/cmap_HighResolution_545443201_545702401_4FGL_J2236.5-1433_daily_bin1181.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.39e-05', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2021-09-28 17:37:44.069068', job_id='414084', GAL2='1.20', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1632875864.07', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='4.47e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1181' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:37:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 414084: <4FGL_J2236.5-1433_daily_bin1181> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1181> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 17:30:52 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:30:54 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:30:54 2021
Terminated at Tue Sep 28 17:37:44 2021
Results reported at Tue Sep 28 17:37:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1181 339.144 -14.5557 545443201 545702401 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 :                                   314.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             213.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   410 sec.
    Turnaround time :                            412 sec.

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

