/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 179 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 = 6319
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.4+2418_daily_bin91
RA = 177.603, Dec = 24.3016
tmin = 262915201, tmax = 263174401
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='99379', job_status='RUN', time_executed='2021-09-04 12:40:05.888431', time_epoch_executed='1630784405.89' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='91'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99379

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99379/ft1_4FGL_J1150.4+2418_daily_bin91.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99379/ft1_4FGL_J1150.4+2418_daily_bin91.fits outfile=/scratch/kocevski/99379/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin91.fits ra=177.603 dec=24.3016 rad=12.0 tmin=262915201.0 tmax=263174401.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 1.30
user 1.11
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.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/99379/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin91.fits evtable="EVENTS" outfile="/scratch/kocevski/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.fits" evtable="EVENTS" scfile=/scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits sctable="SC_DATA" outfile=/scratch/kocevski/99379/ltcube_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.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/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits
.....................!
real 10.95
user 10.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits sctable="SC_DATA" expcube=/scratch/kocevski/99379/ltcube_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.fits outfile=/scratch/kocevski/99379/expmap_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.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/99379/ltcube_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.fits
.....................!
real 190.91
user 186.72
sys 3.80

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/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.fits scfile=/scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits outfile=/scratch/kocevski/99379/cmap_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.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.57
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.fits scfile=/scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits outfile=/scratch/kocevski/99379/cmap_HighResolution_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.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.55
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/99379/Model_4FGL_J1150.4+2418_daily_bin91.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/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.fits.....................!
real 45.25
user 43.55
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.fits', '/scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits', expMap='/scratch/kocevski/99379/expmap_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.fits', expCube='/scratch/kocevski/99379/ltcube_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/99379/Model_4FGL_J1150.4+2418_daily_bin91.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/99379/ft1_filtered_4FGL_J1150.4+2418_daily_bin91.fits
Spacecraft file(s): /scratch/kocevski/99379/ft2_4FGL_J1150.4+2418_daily_bin91.fits
Exposure map: /scratch/kocevski/99379/expmap_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.fits
Exposure cube: /scratch/kocevski/99379/ltcube_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/99379/Model_4FGL_J1150.4+2418_daily_bin91.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) = 4241.96627574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5776       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.710       1.0000         .10000E-03   10000.    
     3 'norm      '    5.6186       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.407       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.973       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    66.018       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11219E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11049E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8944       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2159       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4038       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5055       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.6835       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.2279       1.0000         .10000E-03   10000.    
    23 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.680       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1857       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .55122       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4241.935     FROM MIGRAD    STATUS=CONVERGED    613 CALLS     3109 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5767        3.5772        .12349E-06   -.10736E-03
   2  Prefactor     10.702        8.6036       -.15100E-06   -.12492E-03
   3  norm          5.6165        13.652        .59801E-05   -.42704E-04
   4  Prefactor     .10000E-03    13.222       -.31076E-05** at limit **
   5  Prefactor     .10000E-03    57.191       -.72504E-06** at limit **
   6  Prefactor     16.414        32.089        .19496E-05    .63065E-04
   7  Prefactor     11.972        12.464       -.92260E-07   -.87752E-04
   8  Prefactor     .10000E-03    3.6522        .57756E-07** at limit **
   9  Prefactor     66.048        32.062        .15101E-05    .10039E-03
  10  Prefactor     .10000E-03    4.8662       -.73533E-09** at limit **
  11  Prefactor     .10000E-03    1.9993        .16365E-05** at limit **
  12  Prefactor     .10000E-03    12.887        .28630E-05** at limit **
  13  norm          3.8947        1.7539        .12424E-07   -.49391E-03
  14  Prefactor     1.2153        2.2351        .16891E-06   -.72831E-04
  15  Prefactor     .10000E-03    35.909        .94399E-06** at limit **
  16  Prefactor     .10000E-03    .71784       -.24775E-08** at limit **
  17  Prefactor     2.4023        3.2319        .37748E-06   -.40312E-04
  18  norm          .10000E-03    1.0186        .11495E-07** at limit **
  19  Prefactor     1.5050        1.8858        .86066E-07   -.23026E-05
  20  Prefactor     6.6830        2.8472        .70873E-07   -.94857E-04
  21  Prefactor     .10000E-03    2.3680        .59732E-08** at limit **
  22  norm          1.2278        .36347        .41891E-07   -.72023E-03
  23  norm          .10000E-03    2.5584        .33915E-07** at limit **
  24  Prefactor     19.682        13.022        .23639E-06   -.61160E-05
  25  Normalizat    1.1857        .22124       -.40379E-05   -.27752E-03
  26  Prefactor     .55143        .21398        .14798E-05   -.28630E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57667
  Prefactor  = 10.7021
  norm       = 5.61647
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 16.4141
  Prefactor  = 11.9724
  Prefactor  = 0.0001
  Prefactor  = 66.0485
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100002
  norm       = 3.89475
  Prefactor  = 1.21533
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.40233
  norm       = 0.0001
  Prefactor  = 1.50502
  Prefactor  = 6.683
  Prefactor  = 0.0001
  norm       = 1.22782
  norm       = 0.0001
  Prefactor  = 19.6824
  Normalizat = 1.18575
  Prefactor  = 0.551435
 **********
 **   18 **HESSE 
 **********

 FCN=   4241.935     FROM HESSE     STATUS=OK           458 CALLS     3567 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5767        3.5748        .11728E-03   -1.5330    
   2  Prefactor     10.702        8.6004        .12243E-03   -1.5054    
   3  norm          5.6165        14.105        .84739E-03   -1.5234    
   4  Prefactor     .10000E-03    13.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    59.186        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.414        32.218        .98879E-04   -1.4897    
   7  Prefactor     11.972        12.457        .11577E-03   -1.5016    
   8  Prefactor     .10000E-03    3.7112        .12153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     66.048        32.402        .49395E-04   -1.4081    
  10  Prefactor     .10000E-03    4.8891        .14030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.9161        .16241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8947        1.7572        .54575E-04   -1.5313    
  14  Prefactor     1.2153        2.1803        .12801E-03   -1.5487    
  15  Prefactor     .10000E-03    36.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .72031        .53872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.4023        3.2204        .12945E-03   -1.5398    
  18  norm          .10000E-03    1.0214        .64168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.5050        1.8697        .96992E-04   -1.5463    
  20  Prefactor     6.6830        2.8481        .68723E-04   -1.5191    
  21  Prefactor     .10000E-03    2.3775        .97874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2278        .36389        .20382E-04   -1.5486    
  23  norm          .10000E-03    2.5883        .10172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     19.682        13.018        .90286E-04   -1.4820    
  25  Normalizat    1.1857        .24507        .22140E-03   -.87044    
  26  Prefactor     .55143        .23703        .32652E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90622e-09
Minuit parameter uncertainties:
  1  3.57503
  2  8.60139
  3  14.1137
  4  0.000302512
  5  2.67038e-05
  6  32.2517
  7  12.4592
  8  1.42621e-05
  9  32.4107
  10  5.7431e-06
  11  0.000204516
  12  0.000347639
  13  1.75721
  14  2.18047
  15  0.000246658
  16  7.75645e-07
  17  3.22066
  18  1.42703e-06
  19  1.86982
  20  2.84818
  21  1.93927e-06
  22  0.363891
  23  7.17562e-06
  24  13.0201
  25  0.245303
  26  0.237458
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  2.045e-04  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:  5.514e-01  2.375e-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.186e+00  2.453e-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: 9.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/99379/likelihoodResults_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.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) = 4241.93680209
delta logL = -0.00163501945372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4241.93516879
delta logL = -1.72106047103e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11136E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2550       1.0000          .0000       10.000    
     3 'Normalizat'    1.1859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55137       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=   4241.935     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      224 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0278        .29501E-01** at limit **
   2  Index         2.2835        6.1239        .50000       -.82880E-04
   3  Normalizat    1.1857        .55914E-02    .35247E-01    .24461E-03
   4  Prefactor     .55144        .58427E-02    .73743E-01    .17207E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.28347
  Normalizat = 1.18575
  Prefactor  = 0.551438
 **********
 **   18 **HESSE 
 **********

 FCN=   4241.935     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.883        .16240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2835        6.1058        .50000       -.57437    
   3  Normalizat    1.1857        .22105        .22140E-03   -.87044    
   4  Prefactor     .55144        .23019        .32652E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38575e-08
Minuit parameter uncertainties:
  1  0.0003564
  2  10.3517
  3  0.221228
  4  0.230585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99379': 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) = 4241.93516598
delta logL = 1.08676704258e-06

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  3.564e-04  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.283e+00  1.035e+01  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:  5.514e-01  2.306e-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.186e+00  2.212e-01  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/99379/cmap_HighResolution_262915201_263174401_4FGL_J1150.4+2418_daily_bin91.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.51e-08', time_completed='2021-09-04 12:50:33.523999', job_id='99379', GAL2='0.55', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630785033.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='91' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 12:50:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 99379: <4FGL_J1150.4+2418_daily_bin91> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin91> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 12:36:54 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:36:56 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:36:56 2021
Terminated at Sat Sep  4 12:50:34 2021
Results reported at Sat Sep  4 12:50:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin91 177.603 24.3016 262915201 263174401 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 :                                   626.00 sec.
    Max Memory :                                 1081 MB
    Average Memory :                             269.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            820 sec.

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

