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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin636
RA = 177.656, Dec = 41.9096
tmin = 404179201, tmax = 404438401
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='110824', job_status='RUN', time_executed='2021-09-04 13:11:55.381413', time_epoch_executed='1630786315.38' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110824/ft1_4FGL_J1150.6+4154_daily_bin636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110824/ft1_4FGL_J1150.6+4154_daily_bin636.fits outfile=/scratch/kocevski/110824/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin636.fits ra=177.656 dec=41.9096 rad=12.0 tmin=404179201.0 tmax=404438401.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.62
user 3.38
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.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/110824/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin636.fits evtable="EVENTS" outfile="/scratch/kocevski/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.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.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.fits" evtable="EVENTS" scfile=/scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits sctable="SC_DATA" outfile=/scratch/kocevski/110824/ltcube_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.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/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits
.....................!
real 11.75
user 11.40
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.fits evtable="EVENTS" scfile=/scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits sctable="SC_DATA" expcube=/scratch/kocevski/110824/ltcube_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.fits outfile=/scratch/kocevski/110824/expmap_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.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/110824/ltcube_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.fits
.....................!
real 190.93
user 185.46
sys 5.08

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

Setting source of interest to:
4FGL J1150.6+4154 @ 177.656 41.9096

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.fits scfile=/scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits outfile=/scratch/kocevski/110824/cmap_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.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=177.656 yref=41.9096 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.fits scfile=/scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits outfile=/scratch/kocevski/110824/cmap_HighResolution_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.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=177.656 yref=41.9096 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.fits evtable="EVENTS" scfile=/scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/110824/Model_4FGL_J1150.6+4154_daily_bin636.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/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.fits.....................!
real 56.13
user 54.82
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.fits', '/scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits', expMap='/scratch/kocevski/110824/expmap_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.fits', expCube='/scratch/kocevski/110824/ltcube_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/110824/Model_4FGL_J1150.6+4154_daily_bin636.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.6+4154'

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.203e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/110824/ft1_filtered_4FGL_J1150.6+4154_daily_bin636.fits
Spacecraft file(s): /scratch/kocevski/110824/ft2_4FGL_J1150.6+4154_daily_bin636.fits
Exposure map: /scratch/kocevski/110824/expmap_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.fits
Exposure cube: /scratch/kocevski/110824/ltcube_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/110824/Model_4FGL_J1150.6+4154_daily_bin636.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) = 6560.80437859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.567       1.0000         .10000E-03   10000.    
     2 'norm      '    .83215       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2884       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.649       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5253       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1108       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13025       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.869       1.0000         .10000E-03   10000.    
    13 'norm      '    4.2493       1.0000         .10000E-03   10000.    
    14 'norm      '    7.8786       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.836       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.0829       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11034E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11735E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    55.096       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99213       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99109       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6560.773     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2758 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.471        71.517        .25049E-05   -.73976E-04
   2  norm          .83216        .28751        .66831E-08   -.14112E-02
   3  Prefactor     8.2814        18.725        .11467E-06   -.12705E-04
   4  Prefactor     .10000E-03    5.4188       -.97491E-09** at limit **
   5  Prefactor     .10000E-03    33.267        .35008E-06** at limit **
   6  norm          13.652        16.250        .57785E-07   -.54388E-04
   7  norm          .10000E-03    26.199       -.51525E-06** at limit **
   8  Prefactor     1.5201        2.9208       -.24693E-06    .24628E-03
   9  Prefactor     5.0856        52.389        .93040E-06   -.38671E-05
  10  norm          .10000E-03    .82572        .40637E-07** at limit **
  11  Prefactor     .21768        5.6977        .36515E-05   -.65454E-03
  12  Prefactor     31.854        45.874        .26863E-06   -.64274E-04
  13  norm          4.2490        1.5544        .63720E-08   -.53101E-03
  14  norm          7.8798        7.6179        .19241E-07   -.76563E-04
  15  Prefactor     16.773        32.701        .92444E-07   -.12092E-04
  16  Prefactor     2.0829        2.4887       -.73692E-07    .34344E-03
  17  Prefactor     .10000E-03    32.097        .30068E-06** at limit **
  18  Prefactor     .10000E-03    8.8168        .51587E-07** at limit **
  19  Prefactor     .10000E-03    42.437       -.31407E-06** at limit **
  20  Prefactor     .10000E-03    14.903        .20769E-06** at limit **
  21  norm          .10000E-03    20.754       -.64900E-05** at limit **
  22  Prefactor     55.144        26.374       -.40732E-05   -.49320E-03
  23  Normalizat    .99222        .17289        .43872E-06    .66100E-04
  24  Prefactor     .99089        .19278       -.16234E-05   -.39131E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.4714
  norm       = 0.832159
  Prefactor  = 8.28143
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.6516
  norm       = 0.0001
  Prefactor  = 1.52013
  Prefactor  = 5.08557
  norm       = 0.0001
  Prefactor  = 0.217678
  Prefactor  = 31.8543
  norm       = 4.24903
  norm       = 7.87981
  Prefactor  = 16.7726
  Prefactor  = 2.08294
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 55.1445
  Normalizat = 0.992216
  Prefactor  = 0.990892
 **********
 **   18 **HESSE 
 **********

 FCN=   6560.773     FROM HESSE     STATUS=OK           397 CALLS     3155 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.471        71.452        .66276E-04   -1.4499    
   2  norm          .83216        .28761        .23768E-04   -1.5526    
   3  Prefactor     8.2814        18.667        .13925E-03   -1.5132    
   4  Prefactor     .10000E-03    5.4221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.652        16.170        .10842E-03   -1.4969    
   7  norm          .10000E-03    26.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5201        2.8030        .14454E-03   -1.5461    
   9  Prefactor     5.0856        50.183        .17784E-03   -1.5257    
  10  norm          .10000E-03    .83094        .71766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21768        31.874        .26657E-02   -1.5615    
  12  Prefactor     31.854        46.051        .70978E-04   -1.4579    
  13  norm          4.2490        1.5590        .53058E-04   -1.5296    
  14  norm          7.8798        7.6210        .14285E-03   -1.5146    
  15  Prefactor     16.773        32.602        .97612E-04   -1.4889    
  16  Prefactor     2.0829        2.4733        .13410E-03   -1.5419    
  17  Prefactor     .10000E-03    32.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.8525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    42.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.286        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    22.388        .38838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     55.144        26.543        .54040E-04   -1.4221    
  23  Normalizat    .99222        .19615        .24419E-03   -.93292    
  24  Prefactor     .99089        .21932        .28792E-03   -.93034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50634e-09
Minuit parameter uncertainties:
  1  71.62
  2  0.287612
  3  18.6797
  4  1.36605e-06
  5  2.5551e-05
  6  16.1756
  7  0.000160296
  8  2.80324
  9  31.9853
  10  5.12384e-06
  11  5.26973
  12  46.102
  13  1.55899
  14  7.6219
  15  32.6365
  16  2.47345
  17  1.2127e-05
  18  5.79203e-05
  19  3.7854e-06
  20  0.000353822
  21  1.01438e-05
  22  26.5485
  23  0.196294
  24  0.219513
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  7.880e+00  7.622e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.909e-01  2.195e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  9.922e-01  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.82
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.00e-08 +/- 9.70e-09
Energy Flux (Fixed Index): 1.78e-05 +/- 1.72e-05

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): 0
logL (Free Index) = 6559.94630517
delta logL = 0.826746866233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6559.05158591
delta logL = 1.72146611737

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65672       1.0000         .10000E-03   10000.    
     2 'alpha     '    .29984E-03   1.0000          .0000       5.0000    
     3 'Normalizat'    .99283       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99697       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6559.052     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      243 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65668        1.2507        .11895E-01   -.58330E-03
   2  alpha         .37971E-10    3.5978        .46275    ** at limit **
   3  Normalizat    .99337        .16150        .46077E-01    .30380E-04
   4  Prefactor     .99630        .19130        .46229E-01    .48386E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.656681
  alpha      = 3.79713e-11
  Normalizat = 0.993368
  Prefactor  = 0.996297
 **********
 **   18 **HESSE 
 **********

 FCN=   6559.052     FROM HESSE     STATUS=OK            37 CALLS      280 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65668        .91504        .58417E-03   -1.5546    
   2  alpha         .37971E-10    .97739        .50000       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .99337        .18442        .24411E-03   -.93253    
   4  Prefactor     .99630        .21844        .28736E-03   -.92853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33027e-12
Minuit parameter uncertainties:
  1  0.915058
  2  1.26206e-05
  3  0.184539
  4  0.218639
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110824': 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) = 6559.05156308
delta logL = 1.72148894784

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  6.567e-01  9.151e-01  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  3.797e-11  1.262e-05  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.963e-01  2.186e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  9.934e-01  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.26
Ra Dec: 177.656 41.910
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 2.66e-09 +/- 3.71e-09
Energy Flux (Free Index): 9.78e-05 +/- 1.36e-04

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/110824/cmap_HighResolution_404179201_404438401_4FGL_J1150.6+4154_daily_bin636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.00e-08', energy_flux2='9.78e-05', photon_flux_error='9.70e-09', dlogl='1.72e+00', energy_flux='1.78e-05', photon_flux2='2.66e-09', job_status='DONE', time_completed='2021-09-04 13:23:27.824475', photon_index_error2='0.00', photon_index2='0.00', ts='6.82', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.36e-04', EG='0.99', time_epoch_completed='1630787007.82', return_code='0', job_id='110824', GAL2='1.00', EG2='0.99', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='3.71e-09', ts2='10.26', photon_index='1.62' WHERE bin_id='636' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:23:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 110824: <4FGL_J1150.6+4154_daily_bin636> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin636> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 13:11:42 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:11:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 13:11:43 2021
Terminated at Sat Sep  4 13:23:33 2021
Results reported at Sat Sep  4 13:23:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin636 177.656 41.9096 404179201 404438401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.6+4154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   692.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             343.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            711 sec.

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

