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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1084
RA = 173.788, Dec = 30.2344
tmin = 520300801, tmax = 520560001
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='933748', job_status='RUN', time_executed='2021-09-04 04:16:39.418344', time_epoch_executed='1630754199.42' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1084'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933748

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933748/ft1_4FGL_J1135.1+3014_daily_bin1084.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933748/ft1_4FGL_J1135.1+3014_daily_bin1084.fits outfile=/scratch/kocevski/933748/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1084.fits ra=173.788 dec=30.2344 rad=12.0 tmin=520300801.0 tmax=520560001.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 6.56
user 5.89
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.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/933748/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1084.fits evtable="EVENTS" outfile="/scratch/kocevski/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.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.82
user 0.33
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.fits" evtable="EVENTS" scfile=/scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits sctable="SC_DATA" outfile=/scratch/kocevski/933748/ltcube_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.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/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits
.....................!
real 12.60
user 12.07
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits sctable="SC_DATA" expcube=/scratch/kocevski/933748/ltcube_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.fits outfile=/scratch/kocevski/933748/expmap_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.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/933748/ltcube_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.fits
.....................!
real 192.81
user 186.54
sys 5.86

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

Setting source of interest to:
4FGL J1135.1+3014 @ 173.788 30.2344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.fits scfile=/scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits outfile=/scratch/kocevski/933748/cmap_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.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.788 yref=30.2344 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/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.fits scfile=/scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits outfile=/scratch/kocevski/933748/cmap_HighResolution_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.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.788 yref=30.2344 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/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933748/Model_4FGL_J1135.1+3014_daily_bin1084.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/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.fits.....................!
real 43.66
user 42.32
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.fits', '/scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits', expMap='/scratch/kocevski/933748/expmap_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.fits', expCube='/scratch/kocevski/933748/ltcube_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/933748/Model_4FGL_J1135.1+3014_daily_bin1084.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1135.1+3014'

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  2.132e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/933748/ft1_filtered_4FGL_J1135.1+3014_daily_bin1084.fits
Spacecraft file(s): /scratch/kocevski/933748/ft2_4FGL_J1135.1+3014_daily_bin1084.fits
Exposure map: /scratch/kocevski/933748/expmap_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.fits
Exposure cube: /scratch/kocevski/933748/ltcube_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/933748/Model_4FGL_J1135.1+3014_daily_bin1084.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) = 4347.70902382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .40435       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8114       1.0000         .10000E-03   10000.    
     5 'Prefactor '    37.720       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1750       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6813       1.0000         .10000E-03   10000.    
     9 'norm      '    8.6878       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11095E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .59323       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10501E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4587       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .35108E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    4.4484       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9289       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3502       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.2256       1.0000         .10000E-03   10000.    
    23 'Prefactor '    63.302       1.0000         .10000E-03   10000.    
    24 'norm      '    6.0896       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    6.4358       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .14373E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.1282       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .65369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4347.663     FROM MIGRAD    STATUS=CONVERGED    892 CALLS     4469 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5252        .16530E-06** at limit **
   2  Prefactor     .10000E-03    7.7187       -.64662E-07** at limit **
   3  norm          .40438        .22429        .32538E-08   -.27540E-03
   4  Prefactor     1.8110        2.2572        .10297E-06    .82648E-04
   5  Prefactor     37.718        19.155       -.53784E-06   -.15113E-03
   6  Prefactor     .10000E-03    5.0589       -.81130E-08** at limit **
   7  norm          1.1824        21.345        .44115E-05    .82793E-04
   8  Prefactor     5.6865        8.5032        .18121E-06    .72376E-04
   9  norm          8.6864        10.536        .10958E-06    .16943E-04
  10  Prefactor     .10012E-03    12.929       -.73897E-06** at limit **
  11  Prefactor     .58973        2.9669        .12111E-05    .19638E-03
  12  Prefactor     .10000E-03    39.204       -.42735E-06** at limit **
  13  Prefactor     .10476E-03    19.967       -.26685E-05** at limit **
  14  norm          1.4587        2.7793        .29055E-06    .51291E-04
  15  Prefactor     .10000E-03    9.1211        .10790E-07** at limit **
  16  Prefactor     .10000E-03    6.8498       -.43903E-06** at limit **
  17  Prefactor     .10005E-03    228.68        .55680E-05** at limit **
  18  norm          4.4470        1.6342        .13399E-06    .33843E-03
  19  Prefactor     2.9264        19.315        .99145E-06    .24400E-04
  20  Prefactor     .10000E-03    5.5077        .11378E-07** at limit **
  21  Prefactor     2.3500        1.9699        .41755E-07    .38220E-04
  22  Prefactor     3.2199        39.148        .69422E-06    .73732E-05
  23  Prefactor     63.298        49.715        .28291E-07   -.79058E-05
  24  norm          6.0896        1.9143        .11093E-08    .33129E-04
  25  Prefactor     .10000E-03    5.9693        .11173E-06** at limit **
  26  Prefactor     .10000E-03    29.805        .26569E-07** at limit **
  27  norm          6.4346        3.8718        .31421E-07   -.44883E-04
  28  Prefactor     .10000E-03    3.3788        .20020E-07** at limit **
  29  Prefactor     .10000E-03    2.1299        .24828E-07** at limit **
  30  Prefactor     .10000E-03    1.7204        .78832E-07** at limit **
  31  Normalizat    1.1282        .20740       -.46042E-06    .92342E-04
  32  Prefactor     .65380        .21993       -.71737E-06    .40442E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.404381
  Prefactor  = 1.81104
  Prefactor  = 37.7183
  Prefactor  = 0.0001
  norm       = 1.18242
  Prefactor  = 5.68652
  norm       = 8.68642
  Prefactor  = 0.000100123
  Prefactor  = 0.589726
  Prefactor  = 0.0001
  Prefactor  = 0.000104761
  norm       = 1.45866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100054
  norm       = 4.44704
  Prefactor  = 2.9264
  Prefactor  = 0.0001
  Prefactor  = 2.35002
  Prefactor  = 3.21986
  Prefactor  = 63.2981
  norm       = 6.08958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.43458
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.12817
  Prefactor  = 0.653795
 **********
 **   18 **HESSE 
 **********

 FCN=   4347.663     FROM HESSE     STATUS=OK           669 CALLS     5138 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5346        .17673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.8075        .17884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .40438        .22554        .22221E-04   -1.5581    
   4  Prefactor     1.8110        2.2418        .10599E-03   -1.5439    
   5  Prefactor     37.718        19.169        .65258E-04   -1.4479    
   6  Prefactor     .10000E-03    5.0599        .14483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1824        21.324        .42263E-03   -1.5490    
   8  Prefactor     5.6865        8.2759        .16853E-03   -1.5231    
   9  norm          8.6864        10.545        .13599E-03   -1.5118    
  10  Prefactor     .10012E-03    118.98        .42885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .58973        2.8018        .20011E-03   -1.5554    
  12  Prefactor     .10000E-03    39.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10476E-03    17.296        .75278E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4587        2.6551        .13566E-03   -1.5466    
  15  Prefactor     .10000E-03    9.1476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.0798        .33712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10005E-03    233.27        .19651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.4470        1.6272        .47830E-04   -1.5286    
  19  Prefactor     2.9264        19.224        .23736E-03   -1.5366    
  20  Prefactor     .10000E-03    5.5107        .15114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.3500        1.9589        .80777E-04   -1.5401    
  22  Prefactor     3.2199        38.974        .22555E-03   -1.5349    
  23  Prefactor     63.298        49.770        .50436E-04   -1.4115    
  24  norm          6.0896        1.9140        .48621E-04   -1.5214    
  25  Prefactor     .10000E-03    6.1635        .31455E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    29.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          6.4346        3.8040        .95558E-04   -1.5201    
  28  Prefactor     .10000E-03    3.3862        .11837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.1798        .18724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    3.4553        .16569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.1282        .23558        .21985E-03   -.88853    
  32  Prefactor     .65380        .24944        .31873E-03   -1.0537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25407e-09
Minuit parameter uncertainties:
  1  4.30825e-05
  2  2.13207e-05
  3  0.225538
  4  2.24187
  5  19.1726
  6  2.31179e-07
  7  10.0466
  8  8.27756
  9  10.5476
  10  0.00767091
  11  2.57083
  12  0.00016079
  13  0.0181538
  14  2.65534
  15  2.11456e-05
  16  6.54525e-05
  17  0.00715276
  18  1.62726
  19  15.0078
  20  1.27856e-06
  21  1.95892
  22  22.4223
  23  49.8023
  24  1.914
  25  1.42025e-05
  26  5.76125e-06
  27  3.80415
  28  1.70329e-06
  29  1.77314e-06
  30  3.348e-06
  31  0.235797
  32  0.249864
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.115e-05  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  6.538e-01  2.499e-01  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.128e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.788 30.234
Photon Flux Upper Limit: 7.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/933748/likelihoodResults_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.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) = 4347.66333719
delta logL = -0.000520633465385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4347.66281669
delta logL = -1.34187757794e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3678       1.0000          .0000       10.000    
     3 'Normalizat'    1.1281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65386       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4347.663     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    780.57        .90712E-02** at limit **
   2  Index         2.3595        7.5243        .50000        .76529E-05
   3  Normalizat    1.1282        .50485E-01    .36956E-01    .41308E-05
   4  Prefactor     .65380        .57336E-01    .72007E-01    .19249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.35953
  Normalizat = 1.12817
  Prefactor  = 0.653796
 **********
 **   18 **HESSE 
 **********

 FCN=   4347.663     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    78.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3595        7.1630        .50000       -.55635    
   3  Normalizat    1.1282        .21659        .21985E-03   -.88853    
   4  Prefactor     .65380        .24559        .31873E-03   -1.0537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44224e-10
Minuit parameter uncertainties:
  1  2.63398e-05
  2  12.4368
  3  0.216764
  4  0.246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933748': 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) = 4347.66281652
delta logL = 3.06717993226e-08

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.634e-05  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.360e+00  1.244e+01  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  6.538e-01  2.460e-01  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.128e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 173.788 30.234

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/933748/cmap_HighResolution_520300801_520560001_4FGL_J1135.1+3014_daily_bin1084.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.05e-03', job_status='DONE', photon_flux_upper_limit='7.84e-08', time_completed='2021-09-04 04:30:23.900891', job_id='933748', GAL2='0.65', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1630755023.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='3.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1084' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:30:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 933748: <4FGL_J1135.1+3014_daily_bin1084> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1084> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:16:15 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:16:17 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:16:17 2021
Terminated at Sat Sep  4 04:30:24 2021
Results reported at Sat Sep  4 04:30:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1084 173.788 30.2344 520300801 520560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1135.1+3014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   814.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            849 sec.

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

