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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin776
RA = 222.624, Dec = 9.1818
tmin = 440467201, tmax = 440726401
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='812083', job_status='RUN', time_executed='2021-09-10 10:59:58.652807', time_epoch_executed='1631296798.65' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812083

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812083/ft1_4FGL_J1450.4+0910_daily_bin776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812083/ft1_4FGL_J1450.4+0910_daily_bin776.fits outfile=/scratch/kocevski/812083/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin776.fits ra=222.624 dec=9.1818 rad=12.0 tmin=440467201.0 tmax=440726401.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.42
user 3.21
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.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/812083/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin776.fits evtable="EVENTS" outfile="/scratch/kocevski/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.fits" evtable="EVENTS" scfile=/scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits sctable="SC_DATA" outfile=/scratch/kocevski/812083/ltcube_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.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/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits
.....................!
real 12.63
user 12.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.fits evtable="EVENTS" scfile=/scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits sctable="SC_DATA" expcube=/scratch/kocevski/812083/ltcube_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.fits outfile=/scratch/kocevski/812083/expmap_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.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/812083/ltcube_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.fits
.....................!
real 190.33
user 185.46
sys 4.48

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

Setting source of interest to:
4FGL J1450.4+0910 @ 222.624 9.1818

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.fits scfile=/scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits outfile=/scratch/kocevski/812083/cmap_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.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=222.624 yref=9.1818 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.fits scfile=/scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits outfile=/scratch/kocevski/812083/cmap_HighResolution_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.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=222.624 yref=9.1818 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.fits evtable="EVENTS" scfile=/scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/812083/Model_4FGL_J1450.4+0910_daily_bin776.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/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.fits.....................!
real 59.91
user 58.45
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.fits', '/scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits', expMap='/scratch/kocevski/812083/expmap_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.fits', expCube='/scratch/kocevski/812083/ltcube_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/812083/Model_4FGL_J1450.4+0910_daily_bin776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1450.4+0910'

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.181e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/812083/ft1_filtered_4FGL_J1450.4+0910_daily_bin776.fits
Spacecraft file(s): /scratch/kocevski/812083/ft2_4FGL_J1450.4+0910_daily_bin776.fits
Exposure map: /scratch/kocevski/812083/expmap_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.fits
Exposure cube: /scratch/kocevski/812083/ltcube_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/812083/Model_4FGL_J1450.4+0910_daily_bin776.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) = 8155.99500138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.846       1.0000         .10000E-03   10000.    
     3 'norm      '    12.783       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.3479       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .32594E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .98526       1.0000         .10000E-03   10000.    
     7 'Prefactor '    121.10       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .51424       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.9463       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.038       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .69746E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    3.8067       1.0000         .10000E-03   10000.    
    17 'norm      '    5.9470       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.9961       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.648       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2906       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78731       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8155.992     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2555 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.075       -.32726E-05** at limit **
   2  Prefactor     18.843        23.322       -.31120E-05   -.14487E-04
   3  norm          12.783        20.158        .33947E-06   -.29995E-07
   4  Prefactor     2.3420        1.4566        .27415E-07   -.96688E-03
   5  Prefactor     .10012E-03    3.0003        .63017E-06** at limit **
   6  norm          .98437        2.7213        .24069E-06   -.21257E-03
   7  Prefactor     121.10        67.099        .20076E-05   -.39143E-05
   8  Prefactor     .10000E-03    10.831        .21983E-05** at limit **
   9  norm          .10000E-03    6.9085        .11105E-06** at limit **
  10  Prefactor     .10000E-03    16.552        .16185E-05** at limit **
  11  Prefactor     .50919        8.3823       -.10067E-06    .19941E-04
  12  Prefactor     9.9454        13.358       -.22504E-06   -.44342E-04
  13  Prefactor     12.039        21.167        .10399E-05   -.27269E-04
  14  Prefactor     .10000E-03    36.674        .17923E-07** at limit **
  15  norm          .69779E-01    .93458E-01    .53890E-07    .13727E-02
  16  norm          3.8070        2.3909       -.62754E-07   -.43670E-04
  17  norm          5.9473        5.8121       -.54928E-08   -.21470E-03
  18  norm          .10000E-03    14.458       -.48388E-05** at limit **
  19  norm          2.9968        3.2627       -.90419E-07   -.24088E-04
  20  Prefactor     .10000E-03    9.6939       -.19749E-05** at limit **
  21  Prefactor     47.650        36.179        .19051E-05   -.76770E-05
  22  Normalizat    1.2907        .19585       -.79962E-06   -.12337E-03
  23  Prefactor     .78719        .11367        .28809E-06   -.19507E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.843
  norm       = 12.7828
  Prefactor  = 2.342
  Prefactor  = 0.000100121
  norm       = 0.984374
  Prefactor  = 121.099
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.509187
  Prefactor  = 9.94544
  Prefactor  = 12.0387
  Prefactor  = 0.0001
  norm       = 0.0697793
  norm       = 3.80697
  norm       = 5.94734
  norm       = 0.0001
  norm       = 2.99684
  Prefactor  = 0.0001
  Prefactor  = 47.65
  Normalizat = 1.2907
  Prefactor  = 0.787186
 **********
 **   18 **HESSE 
 **********

 FCN=   8155.992     FROM HESSE     STATUS=OK           380 CALLS     2935 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.843        23.500        .92259E-04   -1.4840    
   3  norm          12.783        20.147        .11204E-03   -1.4993    
   4  Prefactor     2.3420        4.8178        .13377E-02   -1.5402    
   5  Prefactor     .10012E-03    35.437        .29029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .98437        2.7017        .23591E-03   -1.5510    
   7  Prefactor     121.10        67.184        .36572E-04   -1.3503    
   8  Prefactor     .10000E-03    10.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.9330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .50919        59.255        .50086E-02   -1.5565    
  12  Prefactor     9.9454        13.359        .12706E-03   -1.5077    
  13  Prefactor     12.039        21.131        .11546E-03   -1.5014    
  14  Prefactor     .10000E-03    36.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .69779E-01    .80720E-01    .30779E-03   -1.5655    
  16  norm          3.8070        2.3830        .10292E-03   -1.5318    
  17  norm          5.9473        5.8915        .82331E-03   -1.5220    
  18  norm          .10000E-03    14.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.9968        3.2558        .16208E-03   -1.5362    
  20  Prefactor     .10000E-03    9.6915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     47.650        36.214        .58090E-04   -1.4326    
  22  Normalizat    1.2907        .23594        .27358E-03   -.83844    
  23  Prefactor     .78719        .13776        .20716E-03   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25205e-09
Minuit parameter uncertainties:
  1  3.41616e-05
  2  23.5115
  3  20.1575
  4  4.81862
  5  0.00414088
  6  2.70208
  7  67.2265
  8  4.82061e-06
  9  1.80555e-06
  10  1.6497e-05
  11  10.9959
  12  13.363
  13  21.1444
  14  3.09283e-05
  15  0.0807204
  16  2.3831
  17  5.89208
  18  5.34304e-06
  19  3.25601
  20  7.25815e-08
  21  36.2303
  22  0.236141
  23  0.137817
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  5.092e-01  1.100e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  7.872e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  1.291e+00  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 6.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/812083/likelihoodResults_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.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) = 8155.99002185
delta logL = 0.0018303871866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8155.98999572
delta logL = 0.00185651902393

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8155.990     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      238 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58601        19.106        .80417E-01    .53887E-03
   2  Index         2.8003        3.1374        .38250        .81378E-05
   3  Normalizat    1.2893        .84111E-02    .61884E-01    .23181E-04
   4  Prefactor     .78760        .51346E-02    .43555E-01    .26239E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.586012
  Index      = 2.80026
  Normalizat = 1.28928
  Prefactor  = 0.787605
 **********
 **   18 **HESSE 
 **********

 FCN=   8155.990     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .92E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58601        6989.0        .42603E-02   -1.5555    
   2  Index         2.8003        6.1409        .37688E-01   -.45554    
   3  Normalizat    1.2893        .11558        .27372E-03   -.83887    
   4  Prefactor     .78760        .76544E-01    .20711E-03   -1.0019    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.15247e-06
Minuit parameter uncertainties:
  1  105.656
  2  87.5813
  3  0.115602
  4  0.076554
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812083': 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) = 8155.98994531
delta logL = 0.00190692600972

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  5.860e-01  1.057e+02  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.800e+00  8.758e+01  0.000e+00  1.000e+01 (-1.000e+00)
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  7.876e-01  7.655e-02  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  1.289e+00  1.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 222.624 9.182

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/812083/cmap_HighResolution_440467201_440726401_4FGL_J1450.4+0910_daily_bin776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-03', job_status='DONE', photon_flux_upper_limit='6.67e-08', time_completed='2021-09-10 11:10:59.894644', job_id='812083', GAL2='0.79', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1631297459.89', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.91e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='776' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:10:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 812083: <4FGL_J1450.4+0910_daily_bin776> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin776> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 10:56:29 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:56:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:56:30 2021
Terminated at Fri Sep 10 11:11:00 2021
Results reported at Fri Sep 10 11:11:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin776 222.624 9.1818 440467201 440726401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1450.4+0910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   661.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             239.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            871 sec.

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

