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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1030
RA = 177.603, Dec = 24.3016
tmin = 506304001, tmax = 506563201
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='105425', job_status='RUN', time_executed='2021-09-04 12:58:19.567137', time_epoch_executed='1630785499.57' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1030'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105425

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105425/ft1_4FGL_J1150.4+2418_daily_bin1030.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105425/ft1_4FGL_J1150.4+2418_daily_bin1030.fits outfile=/scratch/kocevski/105425/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1030.fits ra=177.603 dec=24.3016 rad=12.0 tmin=506304001.0 tmax=506563201.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.46
user 3.25
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.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/105425/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1030.fits evtable="EVENTS" outfile="/scratch/kocevski/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.fits" evtable="EVENTS" scfile=/scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits sctable="SC_DATA" outfile=/scratch/kocevski/105425/ltcube_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.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/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits
.....................!
real 12.25
user 11.76
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.fits evtable="EVENTS" scfile=/scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits sctable="SC_DATA" expcube=/scratch/kocevski/105425/ltcube_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.fits outfile=/scratch/kocevski/105425/expmap_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.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/105425/ltcube_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.fits
.....................!
real 190.56
user 185.29
sys 4.90

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

Setting source of interest to:
4FGL J1150.4+2418 @ 177.603 24.3016

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.fits scfile=/scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits outfile=/scratch/kocevski/105425/cmap_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.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.603 yref=24.3016 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/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.fits scfile=/scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits outfile=/scratch/kocevski/105425/cmap_HighResolution_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.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.603 yref=24.3016 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/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.fits evtable="EVENTS" scfile=/scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/105425/Model_4FGL_J1150.4+2418_daily_bin1030.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/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.fits.....................!
real 54.20
user 52.84
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.fits', '/scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits', expMap='/scratch/kocevski/105425/expmap_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.fits', expCube='/scratch/kocevski/105425/ltcube_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/105425/Model_4FGL_J1150.4+2418_daily_bin1030.xml', optimizer='MINUIT')

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

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.344e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/105425/ft1_filtered_4FGL_J1150.4+2418_daily_bin1030.fits
Spacecraft file(s): /scratch/kocevski/105425/ft2_4FGL_J1150.4+2418_daily_bin1030.fits
Exposure map: /scratch/kocevski/105425/expmap_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.fits
Exposure cube: /scratch/kocevski/105425/ltcube_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/105425/Model_4FGL_J1150.4+2418_daily_bin1030.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) = 5904.42292908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.7783       1.0000         .10000E-03   10000.    
     3 'norm      '    5.8467       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4363       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.986       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1236       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5429       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.3675       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4339       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2085       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .73699E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    4.5385       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7097       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9592       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .22866       1.0000         .10000E-03   10000.    
    23 'norm      '    3.8535       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.6494       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3106       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .73677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5904.401     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     3101 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2351         .0000    ** at limit **
   2  Prefactor     4.7785        5.0871         .0000        .25690E-03
   3  norm          5.8452        11.157         .0000        .17694E-03
   4  Prefactor     9.4339        11.824         .0000        .20008E-03
   5  Prefactor     11.985        15.628         .0000        .26979E-03
   6  Prefactor     .10000E-03    30.379         .0000    ** at limit **
   7  Prefactor     6.1232        8.0296         .0000        .10815E-02
   8  Prefactor     1.5432        3.5931         .0000        .18090E-01
   9  Prefactor     .10000E-03    6.3315         .0000    ** at limit **
  10  Prefactor     .10000E-03    5.3358         .0000    ** at limit **
  11  Prefactor     .10000E-03    .55170         .0000    ** at limit **
  12  Prefactor     .10000E-03    22.331         .0000    ** at limit **
  13  norm          4.3676        1.3245         .0000        .67593E-04
  14  Prefactor     2.4335        2.6503         .0000       -.30376E-02
  15  Prefactor     .10000E-03    13.558         .0000    ** at limit **
  16  Prefactor     2.2092        2.6006         .0000        .15422E-02
  17  Prefactor     .70004E-01    1.6379         .0000        .49381E-03
  18  norm          4.5384        2.7910         .0000       -.11926E-02
  19  Prefactor     1.7097        1.6386         .0000       -.77441E-04
  20  Prefactor     1.9592        1.6423         .0000        .11448E-03
  21  Prefactor     .10000E-03    1.4111         .0000    ** at limit **
  22  norm          .22866        .18470         .0000        .22302E-03
  23  norm          3.8534        3.2217         .0000       -.39406E-03
  24  Prefactor     5.6492        8.2109         .0000        .11325E-03
  25  Normalizat    1.3107        .17591         .0000        .15613E-04
  26  Prefactor     .73668        .18285         .0000        .29958E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.77851
  norm       = 5.8452
  Prefactor  = 9.4339
  Prefactor  = 11.9854
  Prefactor  = 0.0001
  Prefactor  = 6.12322
  Prefactor  = 1.54315
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.36755
  Prefactor  = 2.43352
  Prefactor  = 0.0001
  Prefactor  = 2.20915
  Prefactor  = 0.0700038
  norm       = 4.5384
  Prefactor  = 1.70966
  Prefactor  = 1.95915
  Prefactor  = 0.0001
  norm       = 0.22866
  norm       = 3.85337
  Prefactor  = 5.64917
  Normalizat = 1.31074
  Prefactor  = 0.73668
 **********
 **   18 **HESSE 
 **********

 FCN=   5904.401     FROM HESSE     STATUS=OK           466 CALLS     3567 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3397        .22412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7785        5.0853        .17293E-03   -1.5271    
   3  norm          5.8452        11.192        .16609E-03   -1.5224    
   4  Prefactor     9.4339        11.826        .13046E-03   -1.5094    
   5  Prefactor     11.985        15.650        .11571E-03   -1.5015    
   6  Prefactor     .10000E-03    30.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1232        8.0109        .81119E-03   -1.5213    
   8  Prefactor     1.5432        3.5654        .10691E-02   -1.5460    
   9  Prefactor     .10000E-03    6.3548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3818        .17331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .56247        .55708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.3676        1.3258        .46912E-04   -1.5290    
  14  Prefactor     2.4335        2.6394        .12527E-03   -1.5396    
  15  Prefactor     .10000E-03    13.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2092        2.7170        .11989E-03   -1.5411    
  17  Prefactor     .70004E-01    40.688        .17550E-02   -1.5655    
  18  norm          4.5384        2.7842        .94426E-04   -1.5282    
  19  Prefactor     1.7097        1.6512        .91142E-04   -1.5446    
  20  Prefactor     1.9592        1.6375        .86240E-04   -1.5428    
  21  Prefactor     .10000E-03    1.4132        .89132E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .22866        .18074        .28389E-04   -1.5612    
  23  norm          3.8534        3.2171        .12232E-03   -1.5315    
  24  Prefactor     5.6492        8.2020        .16901E-03   -1.5233    
  25  Normalizat    1.3107        .20516        .21856E-03   -.83246    
  26  Prefactor     .73668        .21133        .30661E-03   -1.0211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16354e-09
Minuit parameter uncertainties:
  1  4.85657e-07
  2  5.08579
  3  11.1961
  4  11.8291
  5  15.6552
  6  0.000108211
  7  8.01235
  8  3.56592
  9  1.25343e-05
  10  1.15607e-06
  11  1.08809e-06
  12  0.000188784
  13  1.32582
  14  2.63953
  15  5.30833e-05
  16  2.71719
  17  3.37528
  18  2.7843
  19  1.65124
  20  1.63753
  21  2.05902e-06
  22  0.180744
  23  3.21727
  24  8.20364
  25  0.205287
  26  0.211558
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  1.088e-06  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  7.367e-01  2.116e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.311e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 4.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/105425/likelihoodResults_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.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) = 5904.4091246
delta logL = -0.00802520002344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5904.4011008
delta logL = -1.39874373417e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5904.401     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      218 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8532        .90712E-02** at limit **
   2  Index         1.8341        8.5761        .50000        .22924E-06
   3  Normalizat    1.3107        .73273E-02    .49438E-01   -.31480E-05
   4  Prefactor     .73668        .79869E-02    .69290E-01    .16583E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.83409
  Normalizat = 1.31074
  Prefactor  = 0.73668
 **********
 **   18 **HESSE 
 **********

 FCN=   5904.401     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      251 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.768        .61179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8341        8.1901        .50000       -.68566    
   3  Normalizat    1.3107        .32858E-01    .21856E-03   -.83246    
   4  Prefactor     .73668        .35763E-01    .30661E-03   -1.0211    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.56418e-10
Minuit parameter uncertainties:
  1  6.5366e-07
  2  262.121
  3  0.0328582
  4  0.0357639
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105425': 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) = 5904.40108493
delta logL = 1.44749210449e-05

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  6.537e-07  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.834e+00  2.621e+02  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  7.367e-01  3.576e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.311e+00  3.286e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 177.603 24.302

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/105425/cmap_HighResolution_506304001_506563201_4FGL_J1150.4+2418_daily_bin1030.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-03', job_status='DONE', photon_flux_upper_limit='4.50e-08', time_completed='2021-09-04 13:10:57.922902', job_id='105425', GAL2='0.74', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1630786257.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.45e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1030' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:10:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 105425: <4FGL_J1150.4+2418_daily_bin1030> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1030> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 12:56:15 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:56:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 12:56:18 2021
Terminated at Sat Sep  4 13:10:58 2021
Results reported at Sat Sep  4 13:10:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin1030 177.603 24.3016 506304001 506563201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.4+2418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   756.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            883 sec.

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

