/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 5 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 = 7670
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1135.1+3014_daily_bin130
RA = 173.788, Dec = 30.2344
tmin = 273024001, tmax = 273283201
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='928905', job_status='RUN', time_executed='2021-09-04 04:01:30.147846', time_epoch_executed='1630753290.15' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='130'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/928905

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/928905/ft1_4FGL_J1135.1+3014_daily_bin130.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/928905/ft2_4FGL_J1135.1+3014_daily_bin130.fits


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

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

Done.
real 2.89
user 2.69
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/928905/ft2_4FGL_J1135.1+3014_daily_bin130.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/928905/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin130.fits evtable="EVENTS" outfile="/scratch/kocevski/928905/ft1_filtered_4FGL_J1135.1+3014_daily_bin130.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/928905/ft1_filtered_4FGL_J1135.1+3014_daily_bin130.fits" evtable="EVENTS" scfile=/scratch/kocevski/928905/ft2_4FGL_J1135.1+3014_daily_bin130.fits sctable="SC_DATA" outfile=/scratch/kocevski/928905/ltcube_273024001_273283201_4FGL_J1135.1+3014_daily_bin130.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/928905/ft2_4FGL_J1135.1+3014_daily_bin130.fits
.....................!
real 13.12
user 12.74
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/928905/ft1_filtered_4FGL_J1135.1+3014_daily_bin130.fits evtable="EVENTS" scfile=/scratch/kocevski/928905/ft2_4FGL_J1135.1+3014_daily_bin130.fits sctable="SC_DATA" expcube=/scratch/kocevski/928905/ltcube_273024001_273283201_4FGL_J1135.1+3014_daily_bin130.fits outfile=/scratch/kocevski/928905/expmap_273024001_273283201_4FGL_J1135.1+3014_daily_bin130.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/928905/ltcube_273024001_273283201_4FGL_J1135.1+3014_daily_bin130.fits
.....................!
real 190.42
user 185.25
sys 4.29

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/928905/ft1_filtered_4FGL_J1135.1+3014_daily_bin130.fits scfile=/scratch/kocevski/928905/ft2_4FGL_J1135.1+3014_daily_bin130.fits outfile=/scratch/kocevski/928905/cmap_273024001_273283201_4FGL_J1135.1+3014_daily_bin130.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/928905/ft1_filtered_4FGL_J1135.1+3014_daily_bin130.fits scfile=/scratch/kocevski/928905/ft2_4FGL_J1135.1+3014_daily_bin130.fits outfile=/scratch/kocevski/928905/cmap_HighResolution_273024001_273283201_4FGL_J1135.1+3014_daily_bin130.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.56
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.5430       1.0000         .10000E-03   10000.    
     3 'norm      '    1.4022       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8012       1.0000         .10000E-03   10000.    
     7 'norm      '    8.2654       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .17144E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2125       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.538       1.0000         .10000E-03   10000.    
    14 'norm      '    .99303       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4629       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.808       1.0000         .10000E-03   10000.    
    18 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.801       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .61177       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .19205E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14470E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.1761       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10330E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    7.7349       1.0000         .10000E-03   10000.    
    28 'Prefactor '    7.0660       1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.3001       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .75215       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0516       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .87410       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=   5430.629     FROM MIGRAD    STATUS=CONVERGED    874 CALLS     3825 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.593       -.11922E-05** at limit **
   2  Prefactor     4.5376        9.6603        .19422E-05   -.79906E-04
   3  norm          1.4022        .35953        .26161E-08   -.78688E-04
   4  Prefactor     .10002E-03    1.5893       -.21834E-06** at limit **
   5  Prefactor     .10000E-03    8.4505        .26509E-05** at limit **
   6  Prefactor     9.8030        11.072        .79747E-06   -.23338E-04
   7  norm          8.2641        11.315       -.12634E-05   -.72833E-04
   8  Prefactor     .10000E-03    2.6387        .28924E-07** at limit **
   9  norm          .10023E-03    5.7487        .24450E-05** at limit **
  10  Prefactor     .10000E-03    9.3947        .56644E-07** at limit **
  11  Prefactor     1.2113        1.6704        .20047E-06   -.11839E-03
  12  Prefactor     .10000E-03    11.685        .49612E-06** at limit **
  13  Prefactor     37.522        19.732       -.14561E-06   -.55560E-04
  14  norm          .99273        2.0527       -.40034E-06   -.98279E-03
  15  Prefactor     .10000E-03    4.7731        .43304E-06** at limit **
  16  Prefactor     3.4610        5.5237       -.16797E-05   -.52427E-03
  17  Prefactor     18.876        37.004        .26697E-05    .33413E-04
  18  norm          .10000E-03    .56547       -.10162E-06** at limit **
  19  Prefactor     13.792        17.719       -.22528E-05   -.22656E-04
  20  Prefactor     .10000E-03    8.6559       -.27304E-05** at limit **
  21  Prefactor     .61083        1.3760       -.25216E-06   -.10488E-02
  22  Prefactor     .10000E-03    74.281        .33811E-05** at limit **
  23  Prefactor     .10000E-03    21.268       -.31379E-05** at limit **
  24  norm          .10000E-03    .23094       -.46126E-07** at limit **
  25  Prefactor     2.1758        3.0473        .15604E-06   -.16912E-03
  26  Prefactor     .10000E-03    11.762       -.27607E-07** at limit **
  27  norm          7.7349        3.6568        .19410E-06    .47658E-04
  28  Prefactor     7.0682        6.0563       -.36781E-06   -.31453E-04
  29  Prefactor     3.2998        2.3078        .11756E-06    .11877E-03
  30  Prefactor     .75222        1.6352       -.43862E-06   -.13380E-02
  31  Normalizat    1.0517        .17883        .37483E-06   -.73973E-04
  32  Prefactor     .87420        .19929       -.34699E-06   -.41175E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.53756
  norm       = 1.40218
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 9.80304
  norm       = 8.26411
  Prefactor  = 0.0001
  norm       = 0.000100228
  Prefactor  = 0.0001
  Prefactor  = 1.21134
  Prefactor  = 0.0001
  Prefactor  = 37.5223
  norm       = 0.992732
  Prefactor  = 0.0001
  Prefactor  = 3.46096
  Prefactor  = 18.8764
  norm       = 0.0001
  Prefactor  = 13.7921
  Prefactor  = 0.0001
  Prefactor  = 0.610832
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.17581
  Prefactor  = 0.0001
  norm       = 7.73492
  Prefactor  = 7.06821
  Prefactor  = 3.29978
  Prefactor  = 0.752218
  Normalizat = 1.05171
  Prefactor  = 0.874201
 **********
 **   18 **HESSE 
 **********

 FCN=   5430.629     FROM HESSE     STATUS=OK           679 CALLS     4504 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.5376        9.5061        .18887E-03   -1.5282    
   3  norm          1.4022        .36036        .21488E-04   -1.5471    
   4  Prefactor     .10002E-03    4.4628        .30039E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.3599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.8030        11.051        .12800E-03   -1.5082    
   7  norm          8.2641        11.310        .13945E-03   -1.5133    
   8  Prefactor     .10000E-03    2.6419        .11690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10023E-03    24.948        .32213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.4697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2113        1.6266        .10593E-03   -1.5488    
  12  Prefactor     .10000E-03    11.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.522        19.745        .65416E-04   -1.4482    
  14  norm          .99273        2.0445        .14493E-03   -1.5509    
  15  Prefactor     .10000E-03    4.7807        .15717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4610        5.6693        .21011E-03   -1.5336    
  17  Prefactor     18.876        35.437        .92353E-04   -1.4839    
  18  norm          .10000E-03    .90932        .10259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.792        17.163        .10782E-03   -1.4965    
  20  Prefactor     .10000E-03    8.5508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .61083        1.1348        .12262E-02   -1.5552    
  22  Prefactor     .10000E-03    77.357        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    21.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .23279        .34557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.1758        3.0274        .14755E-03   -1.5413    
  26  Prefactor     .10000E-03    11.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          7.7349        3.6387        .88169E-04   -1.5152    
  28  Prefactor     7.0682        6.0573        .15091E-03   -1.5176    
  29  Prefactor     3.2998        2.3102        .86542E-04   -1.5345    
  30  Prefactor     .75222        1.4490        .13625E-02   -1.5535    
  31  Normalizat    1.0517        .20644        .22979E-03   -.91318    
  32  Prefactor     .87420        .23028        .28882E-03   -.97048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0108e-08
Minuit parameter uncertainties:
  1  1.13742e-06
  2  9.50929
  3  0.360363
  4  0.000576475
  5  2.14331e-06
  6  11.0533
  7  11.3133
  8  5.14786e-07
  9  0.00477286
  10  1.64826e-06
  11  1.62665
  12  6.9874e-06
  13  19.7481
  14  2.04465
  15  6.44355e-06
  16  5.67017
  17  35.4769
  18  1.13064e-05
  19  17.1687
  20  3.92774e-06
  21  1.13487
  22  0.000195314
  23  4.85852e-06
  24  6.07368e-07
  25  3.02763
  26  3.87076e-06
  27  3.63885
  28  6.05786
  29  2.31031
  30  1.44902
  31  0.2066
  32  0.230533
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.444e-06  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:  8.742e-01  2.305e-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.052e+00  2.066e-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: 5.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/928905/likelihoodResults_273024001_273283201_4FGL_J1135.1+3014_daily_bin130.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) = 5430.63015713
delta logL = -0.000992870679511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5430.62916415
delta logL = 1.0164512787e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3577       1.0000          .0000       10.000    
     3 'Normalizat'    1.0517       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87418       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=   5430.629     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      244 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10329E-03    3.8028        .15931E-01** at limit **
   2  Index         2.2320        6.8927        .50000        .23972E-04
   3  Normalizat    1.0517        .37119E-02    .22979E-03   -.23203E-04
   4  Prefactor     .87420        .43114E-02    .28882E-03   -.23224E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103293
  Index      = 2.23203
  Normalizat = 1.05171
  Prefactor  = 0.874201
 **********
 **   18 **HESSE 
 **********

 FCN=   5430.629     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10329E-03    101.24        .16475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2320        6.8058        .50000       -.58667    
   3  Normalizat    1.0517        .19507E-01    .91916E-05   -.91318    
   4  Prefactor     .87420        .22658E-01    .11553E-04   -.97049    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.54675e-08
Minuit parameter uncertainties:
  1  0.0365801
  2  598.595
  3  0.0195076
  4  0.0226584
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/928905': 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) = 5430.6291636
delta logL = 6.55777512293e-07

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.033e-04  3.658e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.232e+00  5.986e+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:  8.742e-01  2.266e-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:  1.052e+00  1.951e-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/928905/cmap_HighResolution_273024001_273283201_4FGL_J1135.1+3014_daily_bin130.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', job_status='DONE', photon_flux_upper_limit='5.53e-08', time_completed='2021-09-04 04:15:52.297499', job_id='928905', GAL2='0.87', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630754152.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='130' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:15:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 928905: <4FGL_J1135.1+3014_daily_bin130> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin130> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 04:01:12 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:01:14 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:01:14 2021
Terminated at Sat Sep  4 04:15:55 2021
Results reported at Sat Sep  4 04:15:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin130 173.788 30.2344 273024001 273283201 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 :                                   857.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            883 sec.

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

