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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1542
RA = 339.096, Dec = 28.4832
tmin = 639014401, tmax = 639273601
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='402802', job_status='RUN', time_executed='2021-09-28 16:57:46.846099', time_epoch_executed='1632873466.85' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1542'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/402802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/402802/ft1_4FGL_J2236.3+2828_daily_bin1542.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/402802/ft1_4FGL_J2236.3+2828_daily_bin1542.fits outfile=/scratch/kocevski/402802/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1542.fits ra=339.096 dec=28.4832 rad=12.0 tmin=639014401.0 tmax=639273601.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.39
user 5.16
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.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/402802/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1542.fits evtable="EVENTS" outfile="/scratch/kocevski/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.fits" evtable="EVENTS" scfile=/scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits sctable="SC_DATA" outfile=/scratch/kocevski/402802/ltcube_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.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/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits
.....................!
real 11.75
user 11.34
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.fits evtable="EVENTS" scfile=/scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits sctable="SC_DATA" expcube=/scratch/kocevski/402802/ltcube_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.fits outfile=/scratch/kocevski/402802/expmap_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.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/402802/ltcube_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.fits
.....................!
real 192.28
user 186.24
sys 5.63

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

Setting source of interest to:
4FGL J2236.3+2828 @ 339.096 28.4832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.fits scfile=/scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits outfile=/scratch/kocevski/402802/cmap_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.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.096 yref=28.4832 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.fits scfile=/scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits outfile=/scratch/kocevski/402802/cmap_HighResolution_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.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.096 yref=28.4832 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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.fits evtable="EVENTS" scfile=/scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/402802/Model_4FGL_J2236.3+2828_daily_bin1542.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/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.fits.....................!
real 90.43
user 88.91
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.fits', '/scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits', expMap='/scratch/kocevski/402802/expmap_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.fits', expCube='/scratch/kocevski/402802/ltcube_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/402802/Model_4FGL_J2236.3+2828_daily_bin1542.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.3+2828'

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  2.238e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/402802/ft1_filtered_4FGL_J2236.3+2828_daily_bin1542.fits
Spacecraft file(s): /scratch/kocevski/402802/ft2_4FGL_J2236.3+2828_daily_bin1542.fits
Exposure map: /scratch/kocevski/402802/expmap_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.fits
Exposure cube: /scratch/kocevski/402802/ltcube_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/402802/Model_4FGL_J2236.3+2828_daily_bin1542.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) = 7698.50780733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7455       1.0000         .10000E-03   10000.    
     2 'norm      '    .53843       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.572       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.160       1.0000         .10000E-03   10000.    
     8 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    168.15       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.3527       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26121E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .36636       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .50829E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.8958       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86160       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7698.496     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     3130 TOTAL
                     EDM=   .75E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7467        8.7728        .13074E-06   -.32823E-04
   2  norm          .53829        1.0659        .46218E-08   -.20691E-04
   3  Prefactor     .10000E-03    19.536       -.37049E-07** at limit **
   4  Prefactor     .10000E-03    6.9540       -.17748E-08** at limit **
   5  norm          .10000E-03    1.2618        .54958E-08** at limit **
   6  Prefactor     23.578        123.97        .14560E-04    .36141E-05
   7  Prefactor     10.158        11.329       -.13892E-06   -.19972E-05
   8  norm          .10000E-03    .61699       -.98249E-07** at limit **
   9  Prefactor     168.14        118.89       -.26768E-05    .54356E-07
  10  Prefactor     .10000E-03    17.309       -.23046E-07** at limit **
  11  norm          1.3528        1.3129        .28313E-08    .19502E-05
  12  Prefactor     .10000E-03    8.0099        .19239E-08** at limit **
  13  Prefactor     .10000E-03    12.198        .91680E-07** at limit **
  14  Prefactor     .66818E-01    8.6748        .54389E-07   -.43472E-05
  15  Prefactor     .10000E-03    12.035       -.86317E-07** at limit **
  16  norm          .36656        .90782        .35203E-07    .29128E-04
  17  Prefactor     .10000E-03    23.870        .18845E-06** at limit **
  18  Prefactor     .10000E-03    27.759       -.78479E-07** at limit **
  19  norm          1.8937        1.3181       -.28947E-07   -.16255E-03
  20  Prefactor     .10000E-03    21.275        .49842E-07** at limit **
  21  Normalizat    .86194        .23609       -.63476E-06    .87934E-05
  22  Prefactor     .97827        .10151        .47814E-07   -.11888E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.74666
  norm       = 0.538291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.5777
  Prefactor  = 10.1583
  norm       = 0.0001
  Prefactor  = 168.144
  Prefactor  = 0.0001
  norm       = 1.35276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0668184
  Prefactor  = 0.0001
  norm       = 0.366561
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.89367
  Prefactor  = 0.0001
  Normalizat = 0.861943
  Prefactor  = 0.978267
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.496     FROM HESSE     STATUS=OK           354 CALLS     3484 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7467        9.0403        .10431E-02   -1.5321    
   2  norm          .53829        1.0421        .11607E-03   -1.5561    
   3  Prefactor     .10000E-03    19.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.9708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.2626        .96249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.578        124.47        .82504E-04   -1.4736    
   7  Prefactor     10.158        11.335        .12571E-03   -1.5070    
   8  norm          .10000E-03    1.4968        .13292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     168.14        118.88        .31109E-04   -1.3107    
  10  Prefactor     .10000E-03    17.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3528        1.3204        .96440E-04   -1.5475    
  12  Prefactor     .10000E-03    8.0582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .66818E-01    10.691        .78175E-01   -1.5656    
  15  Prefactor     .10000E-03    12.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .36656        .92408        .12645E-02   -1.5587    
  17  Prefactor     .10000E-03    244.99        .80018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8937        4.9121        .15107E-02   -1.5433    
  20  Prefactor     .10000E-03    21.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86194        .26844        .39513E-03   -.97811    
  22  Prefactor     .97827        .12026        .16681E-03   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07587e-10
Minuit parameter uncertainties:
  1  9.04358
  2  1.04215
  3  6.04591e-07
  4  7.15062e-06
  5  1.38105e-07
  6  108.701
  7  11.3374
  8  1.54101e-05
  9  119.05
  10  2.0767e-07
  11  1.32042
  12  1.68862e-06
  13  6.31719e-06
  14  1.68945
  15  1.80776e-06
  16  0.924115
  17  0.000918285
  18  6.20664e-06
  19  4.91314
  20  1.04594e-05
  21  0.268855
  22  0.120296
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.000e-04  1.541e-05  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.783e-01  1.203e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.619e-01  2.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 339.096 28.483
Photon Flux Upper Limit: 7.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/402802/likelihoodResults_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.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) = 7698.49945824
delta logL = -0.00320998092957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7698.49622714
delta logL = 2.11221276913e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1223       1.0000          .0000       5.0000    
     3 'Normalizat'    .86190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97836       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7698.496     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      444 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .18320        .27878E-01** at limit **
   2  alpha         3.1170        4.0577        .42892        .15750E-05
   3  Normalizat    .86193        .48479E-02    .89216E-01    .78418E-04
   4  Prefactor     .97827        .21790E-02    .45996E-01    .21511E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 3.11701
  Normalizat = 0.861933
  Prefactor  = 0.97827
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.496     FROM HESSE     STATUS=OK            29 CALLS      473 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7535        .87062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.1170        2.7743        .17157E-01    .24938    
   3  Normalizat    .86193        .26057        .39513E-03   -.97811    
   4  Prefactor     .97827        .11748        .16680E-03   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54667e-09
Minuit parameter uncertainties:
  1  3.39377e-05
  2  136.427
  3  0.26095
  4  0.117507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/402802': 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) = 7698.49622624
delta logL = 2.20232059291e-05

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.000e-04  3.394e-05  1.000e-04  1.000e+04 ( 1.000e-11)
287        alpha:  3.117e+00  1.364e+02  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.046e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.783e-01  1.175e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.619e-01  2.610e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 339.096 28.483

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/402802/cmap_HighResolution_639014401_639273601_4FGL_J2236.3+2828_daily_bin1542.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-05', job_status='DONE', photon_flux_upper_limit='7.61e-08', time_completed='2021-09-28 17:10:35.661888', job_id='402802', GAL2='0.98', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632874235.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.20e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1542' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 17:10:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 402802: <4FGL_J2236.3+2828_daily_bin1542> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1542> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 16:55:16 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:55:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 16:55:18 2021
Terminated at Tue Sep 28 17:10:36 2021
Results reported at Tue Sep 28 17:10:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1542 339.096 28.4832 639014401 639273601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.3+2828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.12 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             313.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            920 sec.

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

