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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1330
RA = 339.125, Dec = -23.1552
tmin = 584064001, tmax = 584323201
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='409113', job_status='RUN', time_executed='2021-09-28 17:17:23.713667', time_epoch_executed='1632874643.71' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1330'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409113

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409113/ft1_4FGL_J2236.4-2309_daily_bin1330.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409113/ft1_4FGL_J2236.4-2309_daily_bin1330.fits outfile=/scratch/kocevski/409113/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1330.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=584064001.0 tmax=584323201.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 4.49
user 4.25
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.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/409113/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1330.fits evtable="EVENTS" outfile="/scratch/kocevski/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.fits" evtable="EVENTS" scfile=/scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits sctable="SC_DATA" outfile=/scratch/kocevski/409113/ltcube_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.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/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits
.....................!
real 11.97
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.fits evtable="EVENTS" scfile=/scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits sctable="SC_DATA" expcube=/scratch/kocevski/409113/ltcube_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.fits outfile=/scratch/kocevski/409113/expmap_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.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/409113/ltcube_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.fits
.....................!
real 190.01
user 185.31
sys 4.34

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

Setting source of interest to:
4FGL J2236.4-2309 @ 339.125 -23.1552

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.fits scfile=/scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits outfile=/scratch/kocevski/409113/cmap_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.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.125 yref=-23.1552 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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.fits scfile=/scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits outfile=/scratch/kocevski/409113/cmap_HighResolution_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.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.125 yref=-23.1552 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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.fits evtable="EVENTS" scfile=/scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409113/Model_4FGL_J2236.4-2309_daily_bin1330.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/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.fits.....................!
real 65.04
user 63.62
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.fits', '/scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits', expMap='/scratch/kocevski/409113/expmap_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.fits', expCube='/scratch/kocevski/409113/ltcube_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/409113/Model_4FGL_J2236.4-2309_daily_bin1330.xml', optimizer='MINUIT')

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

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/409113/ft1_filtered_4FGL_J2236.4-2309_daily_bin1330.fits
Spacecraft file(s): /scratch/kocevski/409113/ft2_4FGL_J2236.4-2309_daily_bin1330.fits
Exposure map: /scratch/kocevski/409113/expmap_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.fits
Exposure cube: /scratch/kocevski/409113/ltcube_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/409113/Model_4FGL_J2236.4-2309_daily_bin1330.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) = 8469.37172243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.138       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.228       1.0000         .10000E-03   10000.    
     3 'norm      '    1.7405       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.116       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11162E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    25.759       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .94760       1.0000         .10000E-03   10000.    
    11 'norm      '    .10286E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .36014       1.0000         .10000E-03   10000.    
    14 'Prefactor '    67.193       1.0000         .10000E-03   10000.    
    15 'norm      '    8.3828       1.0000         .10000E-03   10000.    
    16 'norm      '    .10581E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.521       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1453       1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.668       1.0000         .10000E-03   10000.    
    20 'norm      '    .51773       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.8960       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0331       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95306       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8469.249     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2795 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.179        27.824       -.76925E-06   -.10561E-04
   2  Prefactor     19.080        73.655        .10977E-05   -.30547E-04
   3  norm          1.7405        .40873       -.95021E-08   -.12212E-03
   4  Prefactor     .10000E-03    4.6130       -.63031E-06** at limit **
   5  Prefactor     30.116        13.629        .34847E-07   -.10730E-04
   6  Prefactor     .10000E-03    4.2613       -.15124E-06** at limit **
   7  Prefactor     .10000E-03    121.44        .81640E-06** at limit **
   8  norm          25.758        18.103       -.78394E-07   -.95176E-05
   9  Prefactor     .10000E-03    5.3219        .14002E-06** at limit **
  10  norm          .94777        .74232        .16004E-06    .34105E-03
  11  norm          .10000E-03    .83052       -.65476E-07** at limit **
  12  Prefactor     .10000E-03    17.554        .22241E-06** at limit **
  13  Prefactor     .31475        5.8854       -.13304E-05    .66342E-03
  14  Prefactor     67.255        41.445        .28844E-05   -.46705E-04
  15  norm          8.3760        3.5639       -.81470E-06    .11350E-04
  16  norm          .10000E-03    3.3156        .60912E-06** at limit **
  17  Prefactor     12.517        42.024        .19896E-05   -.63414E-05
  18  Prefactor     8.1348        13.484       -.27923E-06   -.55283E-04
  19  Prefactor     21.658        11.506       -.94851E-06   -.55887E-04
  20  norm          .51913        .65899        .52989E-06    .16905E-02
  21  Prefactor     6.8944        8.2955        .28815E-07    .15741E-04
  22  Prefactor     .10000E-03    3.8081        .26747E-06** at limit **
  23  Normalizat    1.0326        .17140       -.85525E-06   -.38280E-05
  24  Prefactor     .95346        .14625        .13510E-06   -.51162E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1789
  Prefactor  = 19.0796
  norm       = 1.74055
  Prefactor  = 0.0001
  Prefactor  = 30.116
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.7577
  Prefactor  = 0.0001
  norm       = 0.947774
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.314751
  Prefactor  = 67.255
  norm       = 8.37604
  norm       = 0.0001
  Prefactor  = 12.5174
  Prefactor  = 8.13482
  Prefactor  = 21.6583
  norm       = 0.519134
  Prefactor  = 6.89444
  Prefactor  = 0.0001
  Normalizat = 1.03264
  Prefactor  = 0.953465
 **********
 **   18 **HESSE 
 **********

 FCN=   8469.249     FROM HESSE     STATUS=OK           411 CALLS     3206 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.179        27.771        .11498E-03   -1.5010    
   2  Prefactor     19.080        73.920        .91339E-04   -1.4834    
   3  norm          1.7405        .40942        .27634E-04   -1.5444    
   4  Prefactor     .10000E-03    4.6258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.116        13.635        .73009E-04   -1.4610    
   6  Prefactor     .10000E-03    4.2635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    122.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          25.758        18.052        .78929E-04   -1.4692    
   9  Prefactor     .10000E-03    5.3683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .94777        .72366        .67200E-04   -1.5513    
  11  norm          .10000E-03    4.7175        .16167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .31475        76.351        .40401E-02   -1.5596    
  14  Prefactor     67.255        41.586        .48964E-04   -1.4066    
  15  norm          8.3760        3.5669        .55319E-04   -1.5129    
  16  norm          .10000E-03    3.4010        .32605E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.517        41.678        .11320E-03   -1.5000    
  18  Prefactor     8.1348        13.412        .14048E-03   -1.5137    
  19  Prefactor     21.658        11.718        .86047E-04   -1.4777    
  20  norm          .51913        .65076        .64507E-03   -1.5564    
  21  Prefactor     6.8944        8.2918        .15278E-03   -1.5183    
  22  Prefactor     .10000E-03    3.8245        .17523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0326        .20625        .27473E-03   -.91945    
  24  Prefactor     .95346        .17513        .25172E-03   -.94297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59044e-08
Minuit parameter uncertainties:
  1  27.8008
  2  74.2787
  3  0.409422
  4  7.0374e-06
  5  13.636
  6  8.79473e-07
  7  0.000147708
  8  18.0554
  9  1.12802e-05
  10  0.723667
  11  0.000155637
  12  2.95468e-05
  13  9.81555
  14  41.6036
  15  3.56703
  16  1.89336e-05
  17  41.7753
  18  13.4165
  19  11.7191
  20  0.650768
  21  8.29316
  22  8.95646e-06
  23  0.206406
  24  0.175238
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.000e-04  1.128e-05  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.535e-01  1.752e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.033e+00  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 6.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/409113/likelihoodResults_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.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) = 8469.24960903
delta logL = -0.000887699967279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8469.24872141
delta logL = -7.43948476156e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7452       1.0000          .0000       10.000    
     3 'Normalizat'    1.0326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+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=   8469.249     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    649.00        .18142E-02** at limit **
   2  Index         2.7762        8.6045        .50000       -.32866E-05
   3  Normalizat    1.0326        .55097E-01    .27473E-03    .52223E-04
   4  Prefactor     .95347        .48993E-01    .25172E-03    .37215E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100112
  Index      = 2.77625
  Normalizat = 1.03264
  Prefactor  = 0.953465
 **********
 **   18 **HESSE 
 **********

 FCN=   8469.249     FROM HESSE     STATUS=OK            29 CALLS      271 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    7.8933        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7762        8.6051        .50000       -.46090    
   3  Normalizat    1.0326        .19114        .10989E-04   -.91945    
   4  Prefactor     .95347        .16998        .10069E-04   -.94297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73623e-08
Minuit parameter uncertainties:
  1  0.0018808
  2  244.471
  3  0.191267
  4  0.170073
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409113': 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) = 8469.24872131
delta logL = 1.81134964805e-08

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  1.001e-04  1.881e-03  1.000e-04  1.000e+04 ( 1.000e-12)
248        Index:  2.776e+00  2.445e+02  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.535e-01  1.701e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.033e+00  1.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 339.125 -23.155

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/409113/cmap_HighResolution_584064001_584323201_4FGL_J2236.4-2309_daily_bin1330.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2021-09-28 17:30:10.776295', job_id='409113', GAL2='0.95', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1632875410.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.81e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1330' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:30:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 409113: <4FGL_J2236.4-2309_daily_bin1330> in cluster <slac> Done

Job <4FGL_J2236.4-2309_daily_bin1330> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 17:15:11 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 17:15:12 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:15:12 2021
Terminated at Tue Sep 28 17:30:11 2021
Results reported at Tue Sep 28 17:30:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.4-2309_daily_bin1330 339.125 -23.1552 584064001 584323201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.4-2309 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   763.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            900 sec.

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

