/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 72 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 = 7702
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1153
RA = 173.788, Dec = 30.2344
tmin = 538185601, tmax = 538444801
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='933858', job_status='RUN', time_executed='2021-09-04 04:18:01.350672', time_epoch_executed='1630754281.35' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933858

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933858/ft1_4FGL_J1135.1+3014_daily_bin1153.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933858/ft1_4FGL_J1135.1+3014_daily_bin1153.fits outfile=/scratch/kocevski/933858/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1153.fits ra=173.788 dec=30.2344 rad=12.0 tmin=538185601.0 tmax=538444801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.45
user 5.07
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933858/ft1_filtered_4FGL_J1135.1+3014_daily_bin1153.fits" evtable="EVENTS" scfile=/scratch/kocevski/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits sctable="SC_DATA" outfile=/scratch/kocevski/933858/ltcube_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.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/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits
.....................!
real 13.41
user 13.03
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933858/ft1_filtered_4FGL_J1135.1+3014_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits sctable="SC_DATA" expcube=/scratch/kocevski/933858/ltcube_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.fits outfile=/scratch/kocevski/933858/expmap_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.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/933858/ltcube_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.fits
.....................!
real 189.93
user 185.19
sys 4.34

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/933858/ft1_filtered_4FGL_J1135.1+3014_daily_bin1153.fits scfile=/scratch/kocevski/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits outfile=/scratch/kocevski/933858/cmap_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933858/ft1_filtered_4FGL_J1135.1+3014_daily_bin1153.fits scfile=/scratch/kocevski/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits outfile=/scratch/kocevski/933858/cmap_HighResolution_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933858/ft1_filtered_4FGL_J1135.1+3014_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933858/Model_4FGL_J1135.1+3014_daily_bin1153.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/933858/ft1_filtered_4FGL_J1135.1+3014_daily_bin1153.fits.....................!
real 38.72
user 37.38
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/933858/ft1_filtered_4FGL_J1135.1+3014_daily_bin1153.fits', '/scratch/kocevski/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits', expMap='/scratch/kocevski/933858/expmap_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.fits', expCube='/scratch/kocevski/933858/ltcube_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/933858/Model_4FGL_J1135.1+3014_daily_bin1153.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/933858/ft1_filtered_4FGL_J1135.1+3014_daily_bin1153.fits
Spacecraft file(s): /scratch/kocevski/933858/ft2_4FGL_J1135.1+3014_daily_bin1153.fits
Exposure map: /scratch/kocevski/933858/expmap_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.fits
Exposure cube: /scratch/kocevski/933858/ltcube_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/933858/Model_4FGL_J1135.1+3014_daily_bin1153.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) = 3737.81424781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19990E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    2.3966       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.083       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.803       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .13424E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .43864       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.145       1.0000         .10000E-03   10000.    
    14 'norm      '    .17515       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.551       1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.585       1.0000         .10000E-03   10000.    
    18 'norm      '    .11427E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.5322       1.0000         .10000E-03   10000.    
    20 'Prefactor '    57.849       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2274       1.0000         .10000E-03   10000.    
    22 'Prefactor '    55.065       1.0000         .10000E-03   10000.    
    23 'Prefactor '    73.392       1.0000         .10000E-03   10000.    
    24 'norm      '    19.274       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.2122       1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.273       1.0000         .10000E-03   10000.    
    27 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.3853       1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.9287       1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.2536       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .60297       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.1559       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=   3737.749     FROM MIGRAD    STATUS=CONVERGED    881 CALLS     4507 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4695       -.54156E-06** at limit **
   2  Prefactor     .10020E-03    16.874        .29083E-05** at limit **
   3  norm          2.3965        .58588        .97332E-08    .10105E-02
   4  Prefactor     10.088        4.9536        .20622E-06   -.82845E-04
   5  Prefactor     .10000E-03    34.337       -.16281E-05** at limit **
   6  Prefactor     32.804        25.259        .17442E-06    .49847E-04
   7  norm          .10000E-03    8.3410       -.68584E-06** at limit **
   8  Prefactor     .10000E-03    6.0139       -.21422E-06** at limit **
   9  norm          .10000E-03    14.126       -.22643E-06** at limit **
  10  Prefactor     .10000E-03    17.375       -.53468E-06** at limit **
  11  Prefactor     .44010        3.3394        .54311E-09   -.14033E-03
  12  Prefactor     .10000E-03    37.871        .15902E-05** at limit **
  13  Prefactor     14.144        15.442       -.25480E-06   -.29782E-04
  14  norm          .17478        2.3125       -.20496E-06   -.22333E-03
  15  Prefactor     .10000E-03    8.7359        .85859E-06** at limit **
  16  Prefactor     10.554        9.4786        .13373E-06    .95089E-04
  17  Prefactor     25.693        57.543        .30368E-05   -.10431E-03
  18  norm          .10000E-03    1.1141        .14180E-05** at limit **
  19  Prefactor     8.5237        42.302       -.29870E-05    .84549E-05
  20  Prefactor     57.838        38.176       -.18500E-05    .68858E-04
  21  Prefactor     3.2258        4.2451        .23352E-06    .10113E-03
  22  Prefactor     55.038        55.274        .37782E-06   -.11853E-04
  23  Prefactor     73.511        112.03       -.55775E-05   -.56380E-04
  24  norm          19.273        3.8221        .23148E-08   -.19804E-04
  25  Prefactor     2.2120        5.5301        .31653E-05    .43645E-03
  26  Prefactor     18.277        51.209       -.16048E-05    .95800E-05
  27  norm          .10000E-03    3.3720        .10272E-06** at limit **
  28  Prefactor     6.3838        10.219       -.95595E-07    .89767E-05
  29  Prefactor     3.9281        4.7079       -.18112E-06    .22259E-04
  30  Prefactor     4.2529        4.0679        .16938E-07   -.17804E-04
  31  Normalizat    .60298        .27994        .30488E-06   -.44239E-04
  32  Prefactor     1.1561        .27706        .16739E-05    .35410E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100199
  norm       = 2.39652
  Prefactor  = 10.0882
  Prefactor  = 0.0001
  Prefactor  = 32.8041
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.440102
  Prefactor  = 0.0001
  Prefactor  = 14.1441
  norm       = 0.174783
  Prefactor  = 0.0001
  Prefactor  = 10.554
  Prefactor  = 25.6927
  norm       = 0.0001
  Prefactor  = 8.52374
  Prefactor  = 57.8385
  Prefactor  = 3.22578
  Prefactor  = 55.0378
  Prefactor  = 73.5112
  norm       = 19.2732
  Prefactor  = 2.21199
  Prefactor  = 18.277
  norm       = 0.0001
  Prefactor  = 6.38383
  Prefactor  = 3.92811
  Prefactor  = 4.25287
  Normalizat = 0.602979
  Prefactor  = 1.15612
 **********
 **   18 **HESSE 
 **********

 FCN=   3737.749     FROM HESSE     STATUS=OK           667 CALLS     5174 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10020E-03    62.028        .41586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.3965        .58990        .21318E-04   -1.5398    
   4  Prefactor     10.088        4.7420        .84952E-04   -1.5073    
   5  Prefactor     .10000E-03    35.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.804        25.386        .69963E-04   -1.4562    
   7  norm          .10000E-03    8.3704        .17253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.0362        .14643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    14.796        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44010        5.0306        .18285E-02   -1.5575    
  12  Prefactor     .10000E-03    37.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.144        15.443        .10650E-03   -1.4956    
  14  norm          .17478        11.501        .16351E-02   -1.5624    
  15  Prefactor     .10000E-03    8.7612        .17623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.554        9.2682        .12335E-03   -1.5058    
  17  Prefactor     25.693        55.871        .79197E-04   -1.4694    
  18  norm          .10000E-03    1.2899        .10542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.5237        41.689        .13724E-03   -1.5124    
  20  Prefactor     57.838        38.265        .52746E-04   -1.4185    
  21  Prefactor     3.2258        4.1809        .11634E-03   -1.5349    
  22  Prefactor     55.038        55.348        .54055E-04   -1.4223    
  23  Prefactor     73.511        110.81        .23432E-03   -1.3991    
  24  norm          19.273        3.8188        .48706E-04   -1.4830    
  25  Prefactor     2.2120        5.7000        .11187E-02   -1.5411    
  26  Prefactor     18.277        51.152        .93696E-04   -1.4853    
  27  norm          .10000E-03    3.4051        .10908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     6.3838        10.209        .15884E-03   -1.5203    
  29  Prefactor     3.9281        4.6794        .13289E-03   -1.5312    
  30  Prefactor     4.2529        4.0622        .11083E-03   -1.5295    
  31  Normalizat    .60298        .32061        .33824E-03   -1.0786    
  32  Prefactor     1.1561        .32539        .28785E-03   -.87693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87896e-08
Minuit parameter uncertainties:
  1  1.20032e-05
  2  0.00703573
  3  0.589906
  4  4.74217
  5  4.79264e-05
  6  25.3944
  7  5.67578e-06
  8  2.27541e-05
  9  7.7153e-05
  10  6.41577e-05
  11  2.97586
  12  0.000214093
  13  15.4474
  14  2.83535
  15  6.08796e-05
  16  9.26942
  17  55.9854
  18  1.01061e-05
  19  37.7432
  20  38.2815
  21  4.18129
  22  55.4002
  23  111.128
  24  3.81887
  25  5.70137
  26  51.2749
  27  7.10582e-06
  28  10.2122
  29  4.67985
  30  4.06251
  31  0.321606
  32  0.325953
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.088e-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:  1.156e+00  3.260e-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:  6.030e-01  3.216e-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.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/933858/likelihoodResults_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.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) = 3737.74947747
delta logL = -0.000539287465472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3737.74893959
delta logL = -1.40870452014e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13160E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3345       1.0000          .0000       10.000    
     3 'Normalizat'    .60313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1560       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3737.749     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      248 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10536E-03    7.4486        .18142E-01** at limit **
   2  Index         2.2277        7.3403        .50000        .31724E-04
   3  Normalizat    .60297        .48911E-02    .33825E-03   -.17338E-03
   4  Prefactor     1.1561        .56469E-02    .28785E-03    .13274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010536
  Index      = 2.22766
  Normalizat = 0.602973
  Prefactor  = 1.15612
 **********
 **   18 **HESSE 
 **********

 FCN=   3737.749     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      277 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10536E-03    309.16        .39747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2277        6.0738        .50000       -.58772    
   3  Normalizat    .60297        .32187E-01    .13530E-04   -1.0786    
   4  Prefactor     1.1561        .37161E-01    .57569E-04   -.87692    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.81547e-08
Minuit parameter uncertainties:
  1  0.0818439
  2  475.437
  3  0.0321875
  4  0.0371614
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933858': 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) = 3737.74893712
delta logL = 1.06754123408e-06

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.054e-04  8.184e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.228e+00  4.754e+02  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:  1.156e+00  3.716e-02  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:  6.030e-01  3.219e-02  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/933858/cmap_HighResolution_538185601_538444801_4FGL_J1135.1+3014_daily_bin1153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', job_status='DONE', photon_flux_upper_limit='7.98e-08', time_completed='2021-09-04 04:31:14.508865', job_id='933858', GAL2='1.16', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1630755074.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1153' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:31:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 933858: <4FGL_J1135.1+3014_daily_bin1153> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1153 173.788 30.2344 538185601 538444801 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 :                                   748.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            892 sec.

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

