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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1122
RA = 177.603, Dec = 24.3016
tmin = 530150401, tmax = 530409601
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='105559', job_status='RUN', time_executed='2021-09-04 12:59:06.976331', time_epoch_executed='1630785546.98' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1122'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105559/ft1_4FGL_J1150.4+2418_daily_bin1122.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105559/ft2_4FGL_J1150.4+2418_daily_bin1122.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105559/ft1_4FGL_J1150.4+2418_daily_bin1122.fits outfile=/scratch/kocevski/105559/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1122.fits ra=177.603 dec=24.3016 rad=12.0 tmin=530150401.0 tmax=530409601.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.54
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105559/ft2_4FGL_J1150.4+2418_daily_bin1122.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/105559/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1122.fits evtable="EVENTS" outfile="/scratch/kocevski/105559/ft1_filtered_4FGL_J1150.4+2418_daily_bin1122.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.51
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105559/ft1_filtered_4FGL_J1150.4+2418_daily_bin1122.fits" evtable="EVENTS" scfile=/scratch/kocevski/105559/ft2_4FGL_J1150.4+2418_daily_bin1122.fits sctable="SC_DATA" outfile=/scratch/kocevski/105559/ltcube_530150401_530409601_4FGL_J1150.4+2418_daily_bin1122.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/105559/ft2_4FGL_J1150.4+2418_daily_bin1122.fits
.....................!
real 11.93
user 11.62
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105559/ft1_filtered_4FGL_J1150.4+2418_daily_bin1122.fits evtable="EVENTS" scfile=/scratch/kocevski/105559/ft2_4FGL_J1150.4+2418_daily_bin1122.fits sctable="SC_DATA" expcube=/scratch/kocevski/105559/ltcube_530150401_530409601_4FGL_J1150.4+2418_daily_bin1122.fits outfile=/scratch/kocevski/105559/expmap_530150401_530409601_4FGL_J1150.4+2418_daily_bin1122.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/105559/ltcube_530150401_530409601_4FGL_J1150.4+2418_daily_bin1122.fits
.....................!
real 191.26
user 186.78
sys 4.12

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/105559/ft1_filtered_4FGL_J1150.4+2418_daily_bin1122.fits scfile=/scratch/kocevski/105559/ft2_4FGL_J1150.4+2418_daily_bin1122.fits outfile=/scratch/kocevski/105559/cmap_530150401_530409601_4FGL_J1150.4+2418_daily_bin1122.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105559/ft1_filtered_4FGL_J1150.4+2418_daily_bin1122.fits scfile=/scratch/kocevski/105559/ft2_4FGL_J1150.4+2418_daily_bin1122.fits outfile=/scratch/kocevski/105559/cmap_HighResolution_530150401_530409601_4FGL_J1150.4+2418_daily_bin1122.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40360       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .87718       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    70.636       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0116       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.761       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .92255       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    27.872       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24053E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.847       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0158       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3982       1.0000         .10000E-03   10000.    
    18 'norm      '    4.9955       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6742       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3859       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .31786       1.0000         .10000E-03   10000.    
    22 'norm      '    .41663       1.0000         .10000E-03   10000.    
    23 'norm      '    5.4066       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .36868       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.6886       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=   6735.040     FROM MIGRAD    STATUS=CONVERGED    645 CALLS     3149 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40421        1.2735       -.22153E-06   -.31829E-03
   2  Prefactor     .10000E-03    6.6608       -.34184E-06** at limit **
   3  norm          .10000E-03    4.5785       -.60181E-07** at limit **
   4  Prefactor     .87878        1.1767        .30231E-06   -.15552E-02
   5  Prefactor     .10000E-03    7.6312        .37180E-06** at limit **
   6  Prefactor     70.638        50.157       -.61117E-06   -.10159E-04
   7  Prefactor     .10000E-03    37.565       -.88227E-05** at limit **
   8  Prefactor     3.0042        5.9875       -.39200E-06   -.55807E-04
   9  Prefactor     13.762        19.816       -.23596E-05    .13314E-04
  10  Prefactor     .10000E-03    8.2853       -.42989E-06** at limit **
  11  Prefactor     .92324        1.8320       -.73201E-07   -.90837E-04
  12  Prefactor     .10001E-03    64.910        .12375E-04** at limit **
  13  norm          27.870        2.9303        .17581E-06   -.27901E-03
  14  Prefactor     .10001E-03    2.4346       -.36488E-06** at limit **
  15  Prefactor     16.803        27.245       -.27785E-04   -.71236E-04
  16  Prefactor     1.0127        3.8266       -.52951E-06   -.80185E-04
  17  Prefactor     3.4010        3.9523       -.14403E-06    .87624E-04
  18  norm          4.9956        2.6092        .82397E-07   -.23460E-04
  19  Prefactor     1.6743        1.6488        .82911E-08    .18746E-04
  20  Prefactor     3.3869        2.2764       -.14867E-06   -.11115E-03
  21  Prefactor     .25162        7.9690        .15743E-06   -.46743E-03
  22  norm          .41683        .24898       -.77833E-07   -.60634E-03
  23  norm          5.4143        4.4578        .67003E-06   -.71737E-04
  24  Prefactor     .10000E-03    3.5374       -.58589E-07** at limit **
  25  Normalizat    .36821        .21628        .84530E-05    .16519E-03
  26  Prefactor     1.6890        .22561       -.21067E-05    .22808E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.404207
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.878784
  Prefactor  = 0.0001
  Prefactor  = 70.6379
  Prefactor  = 0.0001
  Prefactor  = 3.00424
  Prefactor  = 13.7621
  Prefactor  = 0.0001
  Prefactor  = 0.923238
  Prefactor  = 0.00010001
  norm       = 27.87
  Prefactor  = 0.000100005
  Prefactor  = 16.8034
  Prefactor  = 1.0127
  Prefactor  = 3.40096
  norm       = 4.99564
  Prefactor  = 1.6743
  Prefactor  = 3.38692
  Prefactor  = 0.251615
  norm       = 0.416829
  norm       = 5.41428
  Prefactor  = 0.0001
  Normalizat = 0.368213
  Prefactor  = 1.68899
 **********
 **   18 **HESSE 
 **********

 FCN=   6735.040     FROM HESSE     STATUS=OK           466 CALLS     3615 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40421        1.2684        .15857E-03   -1.5581    
   2  Prefactor     .10000E-03    6.7946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.5975        .17145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .87878        8.7681        .23409E-02   -1.5520    
   5  Prefactor     .10000E-03    7.6491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     70.638        49.975        .47764E-04   -1.4025    
   7  Prefactor     .10000E-03    39.031        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0042        5.9210        .23387E-03   -1.5361    
   9  Prefactor     13.762        19.538        .10797E-03   -1.4966    
  10  Prefactor     .10000E-03    8.3286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .92324        1.7723        .14247E-03   -1.5516    
  12  Prefactor     .10001E-03    66.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          27.870        2.9204        .42802E-04   -1.4652    
  14  Prefactor     .10001E-03    22.393        .22956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.803        27.318        .97579E-04   -1.4888    
  16  Prefactor     1.0127        3.4499        .23201E-03   -1.5507    
  17  Prefactor     3.4010        3.6909        .13987E-03   -1.5339    
  18  norm          4.9956        2.6139        .90852E-04   -1.5261    
  19  Prefactor     1.6743        1.6419        .99431E-04   -1.5449    
  20  Prefactor     3.3869        2.2641        .95820E-04   -1.5340    
  21  Prefactor     .25162        71.352        .40061E-02   -1.5608    
  22  norm          .41683        .24204        .29345E-04   -1.5579    
  23  norm          5.4143        4.5285        .14286E-03   -1.5243    
  24  Prefactor     .10000E-03    3.5473        .15072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .36821        .21825        .42136E-03   -1.1898    
  26  Prefactor     1.6890        .24222        .24786E-03   -.72375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44457e-08
Minuit parameter uncertainties:
  1  1.26846
  2  3.05345e-05
  3  1.47013e-05
  4  5.55242
  5  7.84024e-06
  6  50.0044
  7  2.99088e-05
  8  5.92211
  9  19.5475
  10  3.38056e-05
  11  1.77243
  12  0.00161803
  13  2.92045
  14  0.00069881
  15  27.3383
  16  3.45059
  17  3.69111
  18  2.61399
  19  1.64191
  20  2.26415
  21  8.48276
  22  0.242037
  23  4.52874
  24  4.1374e-06
  25  0.218756
  26  0.242385
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  9.232e-01  1.772e+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

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.689e+00  2.424e-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:  3.682e-01  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/105559/likelihoodResults_530150401_530409601_4FGL_J1150.4+2418_daily_bin1122.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): 0
logL (Free Index) = 6734.95637236
delta logL = 0.0835698016263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6734.95431188
delta logL = 0.0856302813754

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63501       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7260       1.0000          .0000       10.000    
     3 'Normalizat'    .35640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6966       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=   6734.954     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      234 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63498        24.217        .11810E-02    .13453E-02
   2  Index         2.7260        3.4037        .22814        .12811E-04
   3  Normalizat    .35640        .42990E-01    .96610E-01   -.77135E-05
   4  Prefactor     1.6966        .47372E-01    .55961E-01    .64838E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.634979
  Index      = 2.72601
  Normalizat = 0.356402
  Prefactor  = 1.69659
 **********
 **   18 **HESSE 
 **********

 FCN=   6734.954     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63498        1.8910        .47241E-04   -1.5549    
   2  Index         2.7260        1.6518        .83441E-02   -.47215    
   3  Normalizat    .35640        .20538        .42807E-03   -1.1962    
   4  Prefactor     1.6966        .24162        .24738E-03   -.72173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36118e-09
Minuit parameter uncertainties:
  1  1.89117
  2  1.69226
  3  0.20582
  4  0.241783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105559': 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) = 6734.95431188
delta logL = 0.0856302838056

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  6.350e-01  1.891e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.726e+00  1.692e+00  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:  1.697e+00  2.418e-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:  3.564e-01  2.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
Ra Dec: 177.603 24.302

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/105559/cmap_HighResolution_530150401_530409601_4FGL_J1150.4+2418_daily_bin1122.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.61e-03', job_status='DONE', photon_flux_upper_limit='8.66e-08', time_completed='2021-09-04 13:13:02.397806', job_id='105559', GAL2='1.70', fit_tolerance='1e-08', EG2='0.36', EG='0.37', time_epoch_completed='1630786382.4', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='1.69', dlogl='8.56e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1122' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:13:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 105559: <4FGL_J1150.4+2418_daily_bin1122> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1122> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 12:56:25 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:56:27 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:27 2021
Terminated at Sat Sep  4 13:13:02 2021
Results reported at Sat Sep  4 13:13:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin1122 177.603 24.3016 530150401 530409601 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 :                                   834.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            997 sec.

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

