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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin1028
RA = 173.943, Dec = -4.4634
tmin = 505785601, tmax = 506044801
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='941757', job_status='RUN', time_executed='2021-09-04 04:43:37.876120', time_epoch_executed='1630755817.88' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='1028'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941757

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941757/ft1_4FGL_J1135.7-0427_daily_bin1028.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941757/ft1_4FGL_J1135.7-0427_daily_bin1028.fits outfile=/scratch/kocevski/941757/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1028.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=505785601.0 tmax=506044801.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.65
user 3.37
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.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/941757/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1028.fits evtable="EVENTS" outfile="/scratch/kocevski/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.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.69
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.fits" evtable="EVENTS" scfile=/scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits sctable="SC_DATA" outfile=/scratch/kocevski/941757/ltcube_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.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/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits
.....................!
real 11.82
user 11.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.fits evtable="EVENTS" scfile=/scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits sctable="SC_DATA" expcube=/scratch/kocevski/941757/ltcube_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.fits outfile=/scratch/kocevski/941757/expmap_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.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/941757/ltcube_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.fits
.....................!
real 190.86
user 183.98
sys 6.51

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

Setting source of interest to:
4FGL J1135.7-0427 @ 173.943 -4.4634

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.fits scfile=/scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits outfile=/scratch/kocevski/941757/cmap_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.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=173.943 yref=-4.4634 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.57
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.fits scfile=/scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits outfile=/scratch/kocevski/941757/cmap_HighResolution_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.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=173.943 yref=-4.4634 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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.fits evtable="EVENTS" scfile=/scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941757/Model_4FGL_J1135.7-0427_daily_bin1028.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/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.fits.....................!
real 55.47
user 51.61
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.fits', '/scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits', expMap='/scratch/kocevski/941757/expmap_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.fits', expCube='/scratch/kocevski/941757/ltcube_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/941757/Model_4FGL_J1135.7-0427_daily_bin1028.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1135.7-0427'

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  4.801e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.601e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/941757/ft1_filtered_4FGL_J1135.7-0427_daily_bin1028.fits
Spacecraft file(s): /scratch/kocevski/941757/ft2_4FGL_J1135.7-0427_daily_bin1028.fits
Exposure map: /scratch/kocevski/941757/expmap_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.fits
Exposure cube: /scratch/kocevski/941757/ltcube_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/941757/Model_4FGL_J1135.7-0427_daily_bin1028.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) = 5749.66786949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86549       1.0000         .10000E-03   10000.    
     2 'norm      '    3.3310       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7686       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1516       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.289       1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10588E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .70898       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11730E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    41.757       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9114       1.0000         .10000E-03   10000.    
    25 'Prefactor '    26.206       1.0000         .10000E-03   10000.    
    26 'norm      '    1.6567       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93069       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0844       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5749.587     FROM MIGRAD    STATUS=CONVERGED    675 CALLS     2959 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86556        .55319       -.23547E-07   -.14780E-03
   2  norm          3.3306        5.7616       -.51620E-06   -.26319E-03
   3  Prefactor     .10000E-03    7.6273       -.55983E-07** at limit **
   4  Prefactor     .10000E-03    6.3097       -.31195E-07** at limit **
   5  Prefactor     5.7708        8.8961       -.12026E-06   -.69134E-04
   6  Prefactor     .10000E-03    1.6769        .14631E-08** at limit **
   7  Prefactor     .10000E-03    38.104        .77562E-05** at limit **
   8  norm          1.1510        4.1659       -.12650E-05   -.77383E-03
   9  Prefactor     .10000E-03    1.8382        .25772E-07** at limit **
  10  Prefactor     11.288        11.446       -.14635E-06   -.18519E-04
  11  norm          .10000E-03    12.701        .95488E-06** at limit **
  12  Prefactor     .10000E-03    .98325        .19044E-08** at limit **
  13  Prefactor     .10000E-03    33.599        .15273E-05** at limit **
  14  Prefactor     .10000E-03    30.821       -.39348E-05** at limit **
  15  norm          .10000E-03    2.7856        .51864E-07** at limit **
  16  Prefactor     .70624        2.6433       -.14533E-05   -.11065E-02
  17  Prefactor     .10000E-03    14.100       -.16720E-05** at limit **
  18  Prefactor     .10000E-03    30.978       -.30423E-05** at limit **
  19  Prefactor     .10000E-03    69.833       -.16722E-05** at limit **
  20  Prefactor     .10000E-03    2.6283        .75244E-07** at limit **
  21  Prefactor     41.762        20.024        .88086E-06   -.17937E-04
  22  Prefactor     .10000E-03    22.641        .47588E-05** at limit **
  23  Prefactor     .10000E-03    27.613       -.44987E-05** at limit **
  24  Prefactor     3.8992        38.496       -.98989E-05    .67936E-04
  25  Prefactor     26.209        17.052        .10563E-05   -.31080E-04
  26  norm          1.6568        1.8729        .36318E-07    .12774E-03
  27  Normalizat    .93066        .21584        .61655E-06    .75201E-04
  28  Prefactor     1.0845        .15536        .18073E-06    .11624E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.865559
  norm       = 3.33063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.7708
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 1.15098
  Prefactor  = 0.0001
  Prefactor  = 11.2876
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.706244
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.762
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 3.8992
  Prefactor  = 26.209
  norm       = 1.65684
  Normalizat = 0.930662
  Prefactor  = 1.08445
 **********
 **   18 **HESSE 
 **********

 FCN=   5749.587     FROM HESSE     STATUS=OK           513 CALLS     3472 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86556        .54597        .43511E-04   -1.5522    
   2  norm          3.3306        5.7922        .22178E-03   -1.5343    
   3  Prefactor     .10000E-03    7.6852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.3260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.7708        8.8748        .16723E-03   -1.5227    
   6  Prefactor     .10000E-03    1.6876        .95855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    36.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1510        4.3368        .30101E-03   -1.5493    
   9  Prefactor     .10000E-03    1.8562        .10035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.288        11.459        .11924E-03   -1.5036    
  11  norm          .10000E-03    12.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.0034        .73377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    33.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    30.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7995        .12354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .70624        2.8852        .24790E-03   -1.5540    
  17  Prefactor     .10000E-03    14.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    31.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    70.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6333        .12005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     41.762        20.026        .62035E-04   -1.4415    
  22  Prefactor     .10000E-03    22.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    27.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.8992        37.418        .20400E-03   -1.5313    
  25  Prefactor     26.209        16.914        .78255E-04   -1.4684    
  26  norm          1.6568        1.8705        .10537E-03   -1.5451    
  27  Normalizat    .93066        .25080        .30544E-03   -.95391    
  28  Prefactor     1.0845        .18134        .21037E-03   -.89965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01002e-09
Minuit parameter uncertainties:
  1  0.54597
  2  5.79319
  3  1.14221e-06
  4  1.99455e-06
  5  8.87686
  6  1.87168e-07
  7  0.000838794
  8  4.33794
  9  2.21288e-07
  10  11.461
  11  6.158e-05
  12  1.28013e-06
  13  0.000182914
  14  0.000384928
  15  3.19553e-06
  16  2.85495
  17  0.000126281
  18  0.000346884
  19  0.000227379
  20  4.31525e-07
  21  20.029
  22  0.00040384
  23  0.000419631
  24  24.1774
  25  16.9167
  26  1.87056
  27  0.25112
  28  0.181439
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.829e-04  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.601e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.084e+00  1.814e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  9.307e-01  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.943 -4.463
Photon Flux Upper Limit: 9.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941757/likelihoodResults_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.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) = 5749.58699034
delta logL = -0.000140146338708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5749.58685111
delta logL = -9.07433786779e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10732E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0704       1.0000          .0000       10.000    
     3 'Normalizat'    .93066       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+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=   5749.587     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      288 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10855E-03    113.85        .36285E-02** at limit **
   2  Index         2.8614        5.6197        .50000        .82616E-05
   3  Normalizat    .93066        .10629E-01    .30544E-03   -.14665E-03
   4  Prefactor     1.0845        .78888E-02    .21037E-03   -.11528E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000108548
  Index      = 2.86142
  Normalizat = 0.930661
  Prefactor  = 1.08445
 **********
 **   18 **HESSE 
 **********

 FCN=   5749.587     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      317 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10855E-03    876.24        .72569E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8614        6.4047        .50000       -.44196    
   3  Normalizat    .93066        .30734E-01    .12218E-04   -.95391    
   4  Prefactor     1.0845        .22808E-01    .42074E-04   -.89965    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.69262e-08
Minuit parameter uncertainties:
  1  0.175726
  2  1517.86
  3  0.0307343
  4  0.0228087
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941757': 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): 102
logL (Free Index) = 5749.58685061
delta logL = -4.07480001741e-07

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.085e-04  1.757e-01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.861e+00  1.518e+03  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.084e+00  2.281e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  9.307e-01  3.073e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 173.943 -4.463

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/941757/cmap_HighResolution_505785601_506044801_4FGL_J1135.7-0427_daily_bin1028.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.23e-03', job_status='DONE', photon_flux_upper_limit='9.24e-08', time_completed='2021-09-04 04:56:49.236370', job_id='941757', GAL2='1.08', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1630756609.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-4.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1028' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:56:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 941757: <4FGL_J1135.7-0427_daily_bin1028> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin1028> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:41:25 2021
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:41:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 04:41:27 2021
Terminated at Sat Sep  4 04:56:49 2021
Results reported at Sat Sep  4 04:56:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin1028 173.943 -4.4634 505785601 506044801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1135.7-0427 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   723.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             284.17 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.

