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


Performing analysis on: 4FGL_J2235.3-4836_daily_bin1498
RA = 338.841, Dec = -48.6015
tmin = 627609601, tmax = 627868801
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='386486', job_status='RUN', time_executed='2021-09-28 16:05:49.974473', time_epoch_executed='1632870349.97' WHERE source_name='4FGL J2235.3-4836' and cadence='daily' and bin_id='1498'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/386486

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/386486/ft1_4FGL_J2235.3-4836_daily_bin1498.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/386486/ft1_4FGL_J2235.3-4836_daily_bin1498.fits outfile=/scratch/kocevski/386486/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1498.fits ra=338.841 dec=-48.6015 rad=12.0 tmin=627609601.0 tmax=627868801.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 2.52
user 2.33
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.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/386486/ft1_filteredMKT_4FGL_J2235.3-4836_daily_bin1498.fits evtable="EVENTS" outfile="/scratch/kocevski/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.fits" evtable="EVENTS" scfile=/scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits sctable="SC_DATA" outfile=/scratch/kocevski/386486/ltcube_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.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/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits
.....................!
real 12.80
user 12.45
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits sctable="SC_DATA" expcube=/scratch/kocevski/386486/ltcube_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.fits outfile=/scratch/kocevski/386486/expmap_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.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/386486/ltcube_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.fits
.....................!
real 189.72
user 185.13
sys 4.20

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

Setting source of interest to:
4FGL J2235.3-4836 @ 338.841 -48.6015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.fits scfile=/scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits outfile=/scratch/kocevski/386486/cmap_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.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=338.841 yref=-48.6015 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.fits scfile=/scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits outfile=/scratch/kocevski/386486/cmap_HighResolution_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.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=338.841 yref=-48.6015 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/386486/Model_4FGL_J2235.3-4836_daily_bin1498.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/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.fits.....................!
real 51.13
user 49.82
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.fits', '/scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits', expMap='/scratch/kocevski/386486/expmap_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.fits', expCube='/scratch/kocevski/386486/ltcube_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/386486/Model_4FGL_J2235.3-4836_daily_bin1498.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.3-4836'

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  3.864e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/386486/ft1_filtered_4FGL_J2235.3-4836_daily_bin1498.fits
Spacecraft file(s): /scratch/kocevski/386486/ft2_4FGL_J2235.3-4836_daily_bin1498.fits
Exposure map: /scratch/kocevski/386486/expmap_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.fits
Exposure cube: /scratch/kocevski/386486/ltcube_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/386486/Model_4FGL_J2235.3-4836_daily_bin1498.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) = 7021.94708513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.275       1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.097       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .79289       1.0000         .10000E-03   10000.    
     4 'norm      '    5.5638       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5302       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1210       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5043       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.6933       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .58555       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5200       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.694       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    30.666       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.1053       1.0000         .10000E-03   10000.    
    26 'norm      '    1.1694       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .89567       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2526       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7021.884     FROM MIGRAD    STATUS=CONVERGED    734 CALLS     3887 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.273        14.829       -.63719E-06   -.68341E-04
   2  Prefactor     38.095        27.759       -.61224E-06   -.74553E-04
   3  Prefactor     .79253        5.0281        .15187E-05   -.34093E-03
   4  norm          5.5638        4.0469        .32508E-07   -.24544E-04
   5  Prefactor     .10000E-03    17.572        .14070E-06** at limit **
   6  Prefactor     2.5332        7.6675        .12180E-06   -.81771E-04
   7  Prefactor     1.1201        3.1104        .80203E-06   -.17375E-03
   8  Prefactor     .10001E-03    45.801       -.49706E-05** at limit **
   9  norm          .10000E-03    2.1030        .42257E-08** at limit **
  10  Prefactor     .10000E-03    1.0213        .58019E-07** at limit **
  11  Prefactor     9.5023        47.856       -.98174E-06   -.26994E-04
  12  Prefactor     1.6930        3.6722        .69454E-06   -.17747E-04
  13  Prefactor     .10000E-03    9.9809        .67798E-06** at limit **
  14  Prefactor     .10000E-03    18.067        .13308E-05** at limit **
  15  Prefactor     .10000E-03    8.6754        .54565E-07** at limit **
  16  Prefactor     .10000E-03    41.027        .45460E-05** at limit **
  17  Prefactor     .58598        7.1501        .40938E-05   -.24074E-03
  18  Prefactor     7.5185        41.210        .34570E-08   -.15005E-04
  19  Prefactor     26.693        17.981        .16570E-06   -.14278E-04
  20  norm          .10000E-03    8.7690       -.18996E-06** at limit **
  21  norm          .10000E-03    4.1178        .33070E-07** at limit **
  22  norm          .10000E-03    2.8319       -.26975E-06** at limit **
  23  Prefactor     .10000E-03    6.0098       -.57119E-08** at limit **
  24  Prefactor     30.652        35.160       -.27072E-05   -.21406E-03
  25  Prefactor     6.1022        9.6569        .17524E-06   -.13970E-04
  26  norm          1.1693        .88996        .81932E-08   -.39033E-04
  27  Prefactor     .10000E-03    1.9347        .35115E-07** at limit **
  28  Prefactor     .10000E-03    16.079       -.16909E-05** at limit **
  29  Normalizat    .89562        .18024       -.60300E-06   -.15421E-03
  30  Prefactor     1.2527        .16655       -.45186E-06   -.15673E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2734
  Prefactor  = 38.0948
  Prefactor  = 0.792528
  norm       = 5.56378
  Prefactor  = 0.0001
  Prefactor  = 2.53319
  Prefactor  = 1.12006
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.50231
  Prefactor  = 1.69301
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.585976
  Prefactor  = 7.51848
  Prefactor  = 26.6934
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.6521
  Prefactor  = 6.10219
  norm       = 1.16934
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.895618
  Prefactor  = 1.25265
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.884     FROM HESSE     STATUS=OK           584 CALLS     4471 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.273        14.752        .12500E-03   -1.5067    
   2  Prefactor     38.095        27.765        .64936E-04   -1.4473    
   3  Prefactor     .79253        5.5157        .35908E-02   -1.5530    
   4  norm          5.5638        4.0481        .13940E-03   -1.5236    
   5  Prefactor     .10000E-03    17.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5332        7.6214        .25678E-03   -1.5390    
   7  Prefactor     1.1201        3.1041        .23436E-03   -1.5496    
   8  Prefactor     .10001E-03    47.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.1052        .11867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.0251        .82663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.5023        47.822        .12999E-03   -1.5091    
  12  Prefactor     1.6930        3.6400        .22702E-03   -1.5448    
  13  Prefactor     .10000E-03    10.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    18.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.8842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    42.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .58598        7.5249        .43816E-03   -1.5555    
  18  Prefactor     7.5185        41.205        .14625E-03   -1.5160    
  19  Prefactor     26.693        17.987        .77537E-04   -1.4674    
  20  norm          .10000E-03    8.8006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.1858        .16599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.8303        .13741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.0619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     30.652        35.951        .72353E-04   -1.4600    
  25  Prefactor     6.1022        9.5759        .16249E-03   -1.5214    
  26  norm          1.1693        .88611        .65168E-04   -1.5492    
  27  Prefactor     .10000E-03    1.9461        .11379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    16.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .89562        .21431        .27448E-03   -.96614    
  30  Prefactor     1.2527        .19954        .22398E-03   -.84726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.08574e-08
Minuit parameter uncertainties:
  1  14.7571
  2  27.7747
  3  4.18184
  4  4.04829
  5  2.17109e-05
  6  7.6243
  7  3.1045
  8  0.00103369
  9  2.25533e-07
  10  1.5932e-06
  11  42.6885
  12  3.64043
  13  6.27066e-05
  14  0.000149928
  15  6.78269e-06
  16  0.000891246
  17  4.2
  18  35.2393
  19  17.9907
  20  1.26104e-05
  21  1.93794e-06
  22  1.80536e-05
  23  2.48614e-06
  24  35.9768
  25  9.57832
  26  0.886124
  27  1.65205e-06
  28  0.000205132
  29  0.214509
  30  0.199663
Done.

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

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  1.693e+00  3.640e+00  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.511e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.253e+00  1.997e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  8.956e-01  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 338.841 -48.602
Photon Flux Upper Limit: 7.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/386486/likelihoodResults_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.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) = 7021.88080034
delta logL = 0.00285278603042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7021.8806401
delta logL = 0.00301303267861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6422       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6088       1.0000          .0000       10.000    
     3 'Normalizat'    .89447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2533       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+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=   7021.881     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      252 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6426        3.6838        .22030E-03   -.50567E-03
   2  Index         2.6093        1.2825        .12716E-01   -.61084E-04
   3  Normalizat    .89447        .20642        .27464E-03    .31932E-03
   4  Prefactor     1.2533        .19520        .22393E-03    .34180E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.64263
  Index      = 2.60927
  Normalizat = 0.894475
  Prefactor  = 1.25326
 **********
 **   18 **HESSE 
 **********

 FCN=   7021.881     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6426        3.6065        .88121E-05   -1.5452    
   2  Index         2.6093        1.2565        .50864E-03   -.49854    
   3  Normalizat    .89447        .20665        .10986E-04   -.96655    
   4  Prefactor     1.2533        .19539        .44787E-04   -.84708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0447e-10
Minuit parameter uncertainties:
  1  3.607
  2  1.27433
  3  0.206831
  4  0.195502
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/386486': 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) = 7021.88064001
delta logL = 0.00301311865314

Extracting fit parameters...

4FGL J2235.3-4836
   Spectrum: PowerLaw
351    Prefactor:  1.643e+00  3.607e+00  1.000e-04  1.000e+04 ( 1.000e-12)
352        Index:  2.609e+00  1.274e+00  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  6.132e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.253e+00  1.955e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  8.945e-01  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 338.841 -48.602

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/386486/cmap_HighResolution_627609601_627868801_4FGL_J2235.3-4836_daily_bin1498.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-03', job_status='DONE', photon_flux_upper_limit='7.61e-08', time_completed='2021-09-28 16:21:01.885494', job_id='386486', GAL2='1.25', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1632871261.89', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='3.01e-03', ts2='0.30', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1498' AND source_name='4FGL J2235.3-4836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 16:21:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 386486: <4FGL_J2235.3-4836_daily_bin1498> in cluster <slac> Done

Job <4FGL_J2235.3-4836_daily_bin1498> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 16:05:38 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:05:40 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:05:40 2021
Terminated at Tue Sep 28 16:21:02 2021
Results reported at Tue Sep 28 16:21:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.3-4836_daily_bin1498 338.841 -48.6015 627609601 627868801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.3-4836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   909.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             343.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            924 sec.

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

