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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1056
RA = 339.144, Dec = -14.5557
tmin = 513043201, tmax = 513302401
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='413880', job_status='RUN', time_executed='2021-09-28 17:31:38.636315', time_epoch_executed='1632875498.64' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1056'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413880

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413880/ft1_4FGL_J2236.5-1433_daily_bin1056.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413880/ft2_4FGL_J2236.5-1433_daily_bin1056.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413880/ft1_4FGL_J2236.5-1433_daily_bin1056.fits outfile=/scratch/kocevski/413880/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1056.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=513043201.0 tmax=513302401.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 6.35
user 6.07
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413880/ft1_filtered_4FGL_J2236.5-1433_daily_bin1056.fits" evtable="EVENTS" scfile=/scratch/kocevski/413880/ft2_4FGL_J2236.5-1433_daily_bin1056.fits sctable="SC_DATA" outfile=/scratch/kocevski/413880/ltcube_513043201_513302401_4FGL_J2236.5-1433_daily_bin1056.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/413880/ft2_4FGL_J2236.5-1433_daily_bin1056.fits
.....................!
real 12.01
user 11.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413880/ft1_filtered_4FGL_J2236.5-1433_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/413880/ft2_4FGL_J2236.5-1433_daily_bin1056.fits sctable="SC_DATA" expcube=/scratch/kocevski/413880/ltcube_513043201_513302401_4FGL_J2236.5-1433_daily_bin1056.fits outfile=/scratch/kocevski/413880/expmap_513043201_513302401_4FGL_J2236.5-1433_daily_bin1056.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/413880/ltcube_513043201_513302401_4FGL_J2236.5-1433_daily_bin1056.fits
.....................!
real 190.94
user 185.17
sys 5.36

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/413880/ft1_filtered_4FGL_J2236.5-1433_daily_bin1056.fits scfile=/scratch/kocevski/413880/ft2_4FGL_J2236.5-1433_daily_bin1056.fits outfile=/scratch/kocevski/413880/cmap_513043201_513302401_4FGL_J2236.5-1433_daily_bin1056.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413880/ft1_filtered_4FGL_J2236.5-1433_daily_bin1056.fits scfile=/scratch/kocevski/413880/ft2_4FGL_J2236.5-1433_daily_bin1056.fits outfile=/scratch/kocevski/413880/cmap_HighResolution_513043201_513302401_4FGL_J2236.5-1433_daily_bin1056.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/413880/ft1_filtered_4FGL_J2236.5-1433_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/413880/ft2_4FGL_J2236.5-1433_daily_bin1056.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413880/Model_4FGL_J2236.5-1433_daily_bin1056.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/413880/ft1_filtered_4FGL_J2236.5-1433_daily_bin1056.fits.....................!
real 42.64
user 41.25
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.963       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.843       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    43.903       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .53363       1.0000         .10000E-03   10000.    
     9 'Prefactor '    78.076       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.314       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10821E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.019       1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.435       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.942       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .88834       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91963       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=   4341.923     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2171 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9272       -.11151E-06** at limit **
   2  Prefactor     42.962        24.076       -.57191E-06    .10481E-04
   3  Prefactor     27.844        16.870       -.21504E-06    .25076E-04
   4  Prefactor     .10000E-03    6.7827       -.28394E-06** at limit **
   5  Prefactor     43.894        100.54       -.13552E-04    .64210E-05
   6  Prefactor     .10000E-03    2.4376        .47295E-07** at limit **
   7  Prefactor     .10000E-03    19.596        .89639E-07** at limit **
   8  norm          .55592        3.6324       -.10270E-06    .17290E-03
   9  Prefactor     78.075        87.728       -.15762E-05    .72927E-05
  10  Prefactor     13.314        19.955       -.31151E-05   -.53926E-03
  11  norm          .10000E-03    .42002       -.22039E-07** at limit **
  12  norm          .10000E-03    .96434        .61925E-08** at limit **
  13  Prefactor     .10000E-03    34.530       -.42120E-06** at limit **
  14  Prefactor     .10000E-03    76.164        .35299E-05** at limit **
  15  norm          12.020        2.8969        .21627E-05   -.14470E-02
  16  Prefactor     30.401        50.692       -.44245E-04    .41094E-04
  17  Prefactor     .10000E-03    3.9007        .13793E-06** at limit **
  18  Prefactor     .10000E-03    5.0624        .11345E-06** at limit **
  19  Prefactor     20.941        28.860       -.73340E-06    .16353E-05
  20  Normalizat    .88835        .24932        .64679E-05   -.93288E-04
  21  Prefactor     .91963        .17481       -.11421E-05    .22359E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 42.9619
  Prefactor  = 27.8437
  Prefactor  = 0.0001
  Prefactor  = 43.8941
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.555919
  Prefactor  = 78.0752
  Prefactor  = 13.3136
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 12.0197
  Prefactor  = 30.4011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.9412
  Normalizat = 0.888351
  Prefactor  = 0.91963
 **********
 **   18 **HESSE 
 **********

 FCN=   4341.923     FROM HESSE     STATUS=OK           311 CALLS     2482 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9646        .14281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     42.962        24.079        .61162E-04   -1.4396    
   3  Prefactor     27.844        16.902        .75924E-04   -1.4652    
   4  Prefactor     .10000E-03    6.7929        .16760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     43.894        99.765        .60505E-04   -1.4382    
   6  Prefactor     .10000E-03    2.4500        .10041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55592        11.884        .21941E-02   -1.5559    
   9  Prefactor     78.075        87.673        .45448E-04   -1.3938    
  10  Prefactor     13.314        20.470        .54887E-03   -1.4978    
  11  norm          .10000E-03    .43600        .83301E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .96535        .63182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    76.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.020        2.8715        .42823E-04   -1.5014    
  16  Prefactor     30.401        50.614        .72627E-04   -1.4605    
  17  Prefactor     .10000E-03    3.9028        .12710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0747        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.941        28.863        .87525E-04   -1.4792    
  20  Normalizat    .88835        .29845        .29956E-03   -.96871    
  21  Prefactor     .91963        .20930        .22061E-03   -.95459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66571e-09
Minuit parameter uncertainties:
  1  1.331e-05
  2  24.0843
  3  16.9052
  4  5.00046e-06
  5  100.148
  6  2.02129e-06
  7  3.07821e-06
  8  5.14131
  9  87.8182
  10  20.4807
  11  3.92201e-07
  12  3.87531e-07
  13  2.46089e-05
  14  0.00111281
  15  2.87151
  16  50.6855
  17  1.99195e-05
  18  1.3569e-05
  19  28.8818
  20  0.299009
  21  0.209479
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  3.922e-07  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:  9.196e-01  2.095e-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.884e-01  2.990e-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: 7.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413880/likelihoodResults_513043201_513302401_4FGL_J2236.5-1433_daily_bin1056.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) = 4341.92289737
delta logL = -7.68842146499e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4341.9228762
delta logL = -5.57188068342e-05

Fit tolerance = 1e-08

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

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

 FCN=   4341.923     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      252 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8191        .90712E-02** at limit **
   2  alpha         2.1718        3.3547        .41728        .64162E-07
   3  Normalizat    .88836        .25883E-01    .67711E-01    .27505E-04
   4  Prefactor     .91963        .19472E-01    .45253E-01    .16542E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.17176
  Normalizat = 0.888357
  Prefactor  = 0.919625
 **********
 **   18 **HESSE 
 **********

 FCN=   4341.923     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .44316        .83488E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1718        2.9691        .16691       -.13168    
   3  Normalizat    .88836        .27005        .29955E-03   -.96870    
   4  Prefactor     .91963        .20353        .22061E-03   -.95459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.39404e-12
Minuit parameter uncertainties:
  1  1.14658e-07
  2  70.3585
  3  0.270461
  4  0.203697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413880': 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) = 4341.92281935
delta logL = 1.13212536235e-06

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.000e-04  1.147e-07  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.172e+00  7.036e+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:  9.196e-01  2.037e-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.884e-01  2.705e-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/413880/cmap_HighResolution_513043201_513302401_4FGL_J2236.5-1433_daily_bin1056.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-05', job_status='DONE', photon_flux_upper_limit='7.15e-08', time_completed='2021-09-28 17:40:03.022200', job_id='413880', GAL2='0.92', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632876003.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.13e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1056' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:40:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 413880: <4FGL_J2236.5-1433_daily_bin1056> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1056 339.144 -14.5557 513043201 513302401 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 :                                   502.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            566 sec.

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

