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


Performing analysis on: 4FGL_J2235.8-3627_daily_bin1119
RA = 338.971, Dec = -36.4605
tmin = 529372801, tmax = 529632001
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='393610', job_status='RUN', time_executed='2021-09-28 16:26:20.999365', time_epoch_executed='1632871581.0' WHERE source_name='4FGL J2235.8-3627' and cadence='daily' and bin_id='1119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/393610

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/393610/ft1_4FGL_J2235.8-3627_daily_bin1119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/393610/ft1_4FGL_J2235.8-3627_daily_bin1119.fits outfile=/scratch/kocevski/393610/ft1_filteredMKT_4FGL_J2235.8-3627_daily_bin1119.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=529372801.0 tmax=529632001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.49
user 3.25
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/393610/ft1_filtered_4FGL_J2235.8-3627_daily_bin1119.fits" evtable="EVENTS" scfile=/scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits sctable="SC_DATA" outfile=/scratch/kocevski/393610/ltcube_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.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/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits
.....................!
real 12.28
user 11.91
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/393610/ft1_filtered_4FGL_J2235.8-3627_daily_bin1119.fits evtable="EVENTS" scfile=/scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits sctable="SC_DATA" expcube=/scratch/kocevski/393610/ltcube_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.fits outfile=/scratch/kocevski/393610/expmap_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.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/393610/ltcube_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.fits
.....................!
real 191.36
user 185.11
sys 5.46

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

Setting source of interest to:
4FGL J2235.8-3627 @ 338.971 -36.4605

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/393610/ft1_filtered_4FGL_J2235.8-3627_daily_bin1119.fits scfile=/scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits outfile=/scratch/kocevski/393610/cmap_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.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.971 yref=-36.4605 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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/393610/ft1_filtered_4FGL_J2235.8-3627_daily_bin1119.fits scfile=/scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits outfile=/scratch/kocevski/393610/cmap_HighResolution_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.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.971 yref=-36.4605 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/393610/ft1_filtered_4FGL_J2235.8-3627_daily_bin1119.fits evtable="EVENTS" scfile=/scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/393610/Model_4FGL_J2235.8-3627_daily_bin1119.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/393610/ft1_filtered_4FGL_J2235.8-3627_daily_bin1119.fits.....................!
real 52.40
user 51.12
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/393610/ft1_filtered_4FGL_J2235.8-3627_daily_bin1119.fits', '/scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits', expMap='/scratch/kocevski/393610/expmap_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.fits', expCube='/scratch/kocevski/393610/ltcube_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/393610/Model_4FGL_J2235.8-3627_daily_bin1119.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.8-3627'

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.910e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/393610/ft1_filtered_4FGL_J2235.8-3627_daily_bin1119.fits
Spacecraft file(s): /scratch/kocevski/393610/ft2_4FGL_J2235.8-3627_daily_bin1119.fits
Exposure map: /scratch/kocevski/393610/expmap_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.fits
Exposure cube: /scratch/kocevski/393610/ltcube_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/393610/Model_4FGL_J2235.8-3627_daily_bin1119.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) = 6995.86526445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.284       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.407       1.0000         .10000E-03   10000.    
     3 'norm      '    6.4475       1.0000         .10000E-03   10000.    
     4 'norm      '    3.0387       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2447       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2653       1.0000         .10000E-03   10000.    
     8 'norm      '    24.505       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .22260       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.446       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9083       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3016       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.441       1.0000         .10000E-03   10000.    
    19 'norm      '    .74727       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.7035       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.763       1.0000         .10000E-03   10000.    
    22 'norm      '    16.677       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.070       1.0000         .10000E-03   10000.    
    26 'Prefactor '    40.911       1.0000         .10000E-03   10000.    
    27 'norm      '    4.2286       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .58141       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0334       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6995.806     FROM MIGRAD    STATUS=CONVERGED    762 CALLS     3808 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.282        7.4787       -.73377E-07   -.80432E-04
   2  Prefactor     11.405        6.8957       -.21276E-06   -.11998E-03
   3  norm          6.4466        6.2447       -.17257E-07   -.45948E-04
   4  norm          3.0380        4.1206        .32249E-06   -.24502E-04
   5  norm          2.2445        .46170       -.13599E-07    .46774E-04
   6  Prefactor     .10000E-03    2.0257        .97311E-08** at limit **
   7  Prefactor     1.2641        2.7065        .48646E-06   -.34450E-04
   8  norm          24.501        16.350        .85131E-06    .20692E-03
   9  Prefactor     .10000E-03    31.014       -.90920E-07** at limit **
  10  Prefactor     .38571E-02    13.322       -.64568E-08    .11120E-04
  11  Prefactor     .10000E-03    6.9299        .35955E-07** at limit **
  12  norm          .10000E-03    1.4054       -.10758E-05** at limit **
  13  Prefactor     47.439        34.529        .13054E-05    .32996E-03
  14  Prefactor     1.9081        6.5230        .68329E-06   -.64451E-04
  15  Prefactor     .10000E-03    2.2295        .84678E-07** at limit **
  16  norm          1.3013        2.2802        .18396E-06    .50426E-04
  17  Prefactor     .10000E-03    19.047        .44339E-06** at limit **
  18  Prefactor     12.443        9.1091        .44853E-06    .18742E-03
  19  norm          .74717        .62318       -.49143E-07    .88009E-04
  20  Prefactor     9.7719        68.540        .13246E-06   -.18712E-05
  21  Prefactor     10.757        9.6621       -.41336E-06   -.55645E-04
  22  norm          16.672        14.635        .12227E-05    .18352E-03
  23  norm          .10000E-03    1.7964        .13594E-07** at limit **
  24  norm          .10000E-03    3.9797       -.20811E-07** at limit **
  25  Prefactor     15.052        34.107        .13648E-05    .29497E-04
  26  Prefactor     40.884        35.670       -.72539E-06   -.50220E-04
  27  norm          4.2294        4.6318       -.18359E-06   -.15322E-04
  28  Normalizat    .58153        .15320       -.69888E-06    .73266E-04
  29  Prefactor     1.0335        .14894        .20615E-06    .72370E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2819
  Prefactor  = 11.4049
  norm       = 6.44656
  norm       = 3.03797
  norm       = 2.24455
  Prefactor  = 0.0001
  Prefactor  = 1.2641
  norm       = 24.5008
  Prefactor  = 0.0001
  Prefactor  = 0.00385705
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 47.4385
  Prefactor  = 1.90814
  Prefactor  = 0.0001
  norm       = 1.30134
  Prefactor  = 0.0001
  Prefactor  = 12.4429
  norm       = 0.747174
  Prefactor  = 9.77193
  Prefactor  = 10.7574
  norm       = 16.6722
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.0519
  Prefactor  = 40.8837
  norm       = 4.22942
  Normalizat = 0.581528
  Prefactor  = 1.03349
 **********
 **   18 **HESSE 
 **********

 FCN=   6995.806     FROM HESSE     STATUS=OK           569 CALLS     4377 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.282        7.4793        .96339E-04   -1.4876    
   2  Prefactor     11.405        6.9078        .11862E-03   -1.5032    
   3  norm          6.4466        6.2544        .15806E-03   -1.5200    
   4  norm          3.0380        4.1246        .17862E-03   -1.5359    
   5  norm          2.2445        .46441        .23501E-04   -1.5408    
   6  Prefactor     .10000E-03    2.0576        .11621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.2641        2.6665        .18928E-03   -1.5483    
   8  norm          24.501        16.462        .80920E-04   -1.4718    
   9  Prefactor     .10000E-03    31.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .38571E-02    17.405        .84814E-01   -1.5696    
  11  Prefactor     .10000E-03    6.9463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.2640        .16887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     47.439        35.360        .58212E-04   -1.4329    
  14  Prefactor     1.9081        6.5496        .30096E-03   -1.5432    
  15  Prefactor     .10000E-03    5.0310        .24242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3013        2.2237        .15561E-03   -1.5480    
  17  Prefactor     .10000E-03    19.251        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.443        9.1734        .11357E-03   -1.5002    
  19  norm          .74717        .61005        .46417E-04   -1.5535    
  20  Prefactor     9.7719        68.921        .12864E-03   -1.5083    
  21  Prefactor     10.757        9.6611        .12212E-03   -1.5052    
  22  norm          16.672        14.795        .98074E-04   -1.4891    
  23  norm          .10000E-03    1.7992        .10932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    4.0373        .16289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     15.052        34.642        .10317E-03   -1.4932    
  26  Prefactor     40.884        35.808        .62671E-04   -1.4428    
  27  norm          4.2294        4.7014        .13237E-03   -1.5297    
  28  Normalizat    .58153        .18082        .27141E-03   -1.0877    
  29  Prefactor     1.0335        .17758        .21322E-03   -.91621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.37691e-10
Minuit parameter uncertainties:
  1  7.47968
  2  6.90832
  3  6.25501
  4  4.12494
  5  0.464407
  6  4.89789e-07
  7  2.66672
  8  16.4651
  9  2.00765e-05
  10  0.511584
  11  1.40041e-06
  12  9.65729e-05
  13  35.3759
  14  6.55206
  15  2.33857e-05
  16  2.2238
  17  8.59934e-05
  18  9.17443
  19  0.610056
  20  51.9885
  21  9.66252
  22  14.7981
  23  1.42842e-06
  24  2.44626e-06
  25  34.6887
  26  35.8269
  27  4.70186
  28  0.181002
  29  0.177677
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.857e-03  5.116e-01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.033e+00  1.777e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.815e-01  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 5.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/393610/likelihoodResults_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.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) = 6995.80581805
delta logL = 3.41060513165e-10

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6995.80581805
delta logL = 6.8212102633e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38571E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2293       1.0000          .0000       10.000    
     3 'Normalizat'    .58153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0335       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6995.797     FROM MIGRAD    STATUS=CONVERGED    166 CALLS      342 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88925        14.614         .0000        .18551E-01
   2  Index         2.8460        .46698         .0000       -.19366E-05
   3  Normalizat    .57748        .14531         .0000        .45108E-04
   4  Prefactor     1.0350        .14656         .0000       -.29065E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.889252
  Index      = 2.84598
  Normalizat = 0.577476
  Prefactor  = 1.03496
 **********
 **   18 **HESSE 
 **********

 FCN=   6995.797     FROM HESSE     STATUS=OK            33 CALLS      375 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88925        32.453        .19539E-02   -1.5519    
   2  Index         2.8460        7.6567        .80896E-02    3.5870    
   3  Normalizat    .57748        .17051        .27236E-03   -1.0895    
   4  Prefactor     1.0350        .17347        .21311E-03   -.91573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.12236e-09
Minuit parameter uncertainties:
  1  10.7499
  2  5.09598
  3  0.170667
  4  0.173563
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/393610': 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) = 6995.79725415
delta logL = 0.00856390857007

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.893e-01  1.075e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.846e+00  5.096e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.035e+00  1.736e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.775e-01  1.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 338.971 -36.461

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/393610/cmap_HighResolution_529372801_529632001_4FGL_J2235.8-3627_daily_bin1119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.25e-03', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2021-09-28 16:40:55.012609', job_id='393610', GAL2='1.03', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1632872455.01', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='8.56e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1119' AND source_name='4FGL J2235.8-3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 16:40:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 393610: <4FGL_J2235.8-3627_daily_bin1119> in cluster <slac> Done

Job <4FGL_J2235.8-3627_daily_bin1119> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 16:25:37 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 16:25:39 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:25:39 2021
Terminated at Tue Sep 28 16:40:55 2021
Results reported at Tue Sep 28 16:40:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2235.8-3627_daily_bin1119 338.971 -36.4605 529372801 529632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2235.8-3627 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   872.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

