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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin115
RA = 222.624, Dec = 9.1818
tmin = 269136001, tmax = 269395201
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='804977', job_status='RUN', time_executed='2021-09-10 10:39:22.113594', time_epoch_executed='1631295562.11' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='115'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/804977

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/804977/ft1_4FGL_J1450.4+0910_daily_bin115.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/804977/ft2_4FGL_J1450.4+0910_daily_bin115.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/804977/ft1_4FGL_J1450.4+0910_daily_bin115.fits outfile=/scratch/kocevski/804977/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin115.fits ra=222.624 dec=9.1818 rad=12.0 tmin=269136001.0 tmax=269395201.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.68
user 1.49
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/804977/ft2_4FGL_J1450.4+0910_daily_bin115.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/804977/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin115.fits evtable="EVENTS" outfile="/scratch/kocevski/804977/ft1_filtered_4FGL_J1450.4+0910_daily_bin115.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/804977/ft1_filtered_4FGL_J1450.4+0910_daily_bin115.fits" evtable="EVENTS" scfile=/scratch/kocevski/804977/ft2_4FGL_J1450.4+0910_daily_bin115.fits sctable="SC_DATA" outfile=/scratch/kocevski/804977/ltcube_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.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/804977/ft2_4FGL_J1450.4+0910_daily_bin115.fits
.....................!
real 12.55
user 12.19
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/804977/ft1_filtered_4FGL_J1450.4+0910_daily_bin115.fits evtable="EVENTS" scfile=/scratch/kocevski/804977/ft2_4FGL_J1450.4+0910_daily_bin115.fits sctable="SC_DATA" expcube=/scratch/kocevski/804977/ltcube_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.fits outfile=/scratch/kocevski/804977/expmap_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.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/804977/ltcube_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.fits
.....................!
real 192.04
user 186.72
sys 4.96

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/804977/ft1_filtered_4FGL_J1450.4+0910_daily_bin115.fits scfile=/scratch/kocevski/804977/ft2_4FGL_J1450.4+0910_daily_bin115.fits outfile=/scratch/kocevski/804977/cmap_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/804977/ft1_filtered_4FGL_J1450.4+0910_daily_bin115.fits scfile=/scratch/kocevski/804977/ft2_4FGL_J1450.4+0910_daily_bin115.fits outfile=/scratch/kocevski/804977/cmap_HighResolution_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/804977/ft1_filtered_4FGL_J1450.4+0910_daily_bin115.fits', '/scratch/kocevski/804977/ft2_4FGL_J1450.4+0910_daily_bin115.fits', expMap='/scratch/kocevski/804977/expmap_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.fits', expCube='/scratch/kocevski/804977/ltcube_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/804977/Model_4FGL_J1450.4+0910_daily_bin115.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/804977/ft1_filtered_4FGL_J1450.4+0910_daily_bin115.fits
Spacecraft file(s): /scratch/kocevski/804977/ft2_4FGL_J1450.4+0910_daily_bin115.fits
Exposure map: /scratch/kocevski/804977/expmap_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.fits
Exposure cube: /scratch/kocevski/804977/ltcube_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/804977/Model_4FGL_J1450.4+0910_daily_bin115.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) = 11392.6495367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.263       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5679       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1241       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.034       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0313       1.0000         .10000E-03   10000.    
    16 'norm      '    3.1201       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    21.686       1.0000         .10000E-03   10000.    
    19 'norm      '    2.8036       1.0000         .10000E-03   10000.    
    20 'Prefactor '    40.244       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3568       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89001       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=   11392.63     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2150 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.264        17.492        .10939E-05   -.15674E-04
   2  Prefactor     .10000E-03    5.7737        .81933E-06** at limit **
   3  norm          .10000E-03    4.3136        .37681E-06** at limit **
   4  Prefactor     1.5697        3.3417       -.18674E-05   -.94236E-03
   5  Prefactor     .10000E-03    7.0821       -.26610E-05** at limit **
   6  norm          .10000E-03    .60140       -.32106E-06** at limit **
   7  Prefactor     .10000E-03    13.365       -.16164E-05** at limit **
   8  Prefactor     .10000E-03    8.9817        .76245E-06** at limit **
   9  norm          .10000E-03    5.8532        .59316E-06** at limit **
  10  Prefactor     .10000E-03    5.6566        .10851E-05** at limit **
  11  Prefactor     4.1221        22.983       -.59330E-05    .11964E-04
  12  Prefactor     24.034        12.889        .13564E-06    .15867E-04
  13  Prefactor     .10000E-03    4.6426       -.92642E-07** at limit **
  14  Prefactor     .10000E-03    13.762       -.40438E-05** at limit **
  15  norm          2.0314        .25448        .10085E-07    .34903E-03
  16  norm          3.1203        1.7394        .19457E-06   -.25432E-03
  17  norm          .10000E-03    1.4654        .11256E-06** at limit **
  18  norm          21.685        21.467       -.30083E-06    .20236E-04
  19  norm          2.8035        2.9680       -.14956E-05   -.33351E-03
  20  Prefactor     40.240        33.059       -.44745E-05    .17981E-03
  21  Prefactor     .10000E-03    12.197        .49974E-05** at limit **
  22  Normalizat    1.3566        .17545        .57299E-06    .13228E-03
  23  Prefactor     .89014        .10639        .21939E-06    .17602E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2644
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.5697
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.12206
  Prefactor  = 24.0342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.03136
  norm       = 3.12029
  norm       = 0.0001
  norm       = 21.6854
  norm       = 2.80348
  Prefactor  = 40.2403
  Prefactor  = 0.000100001
  Normalizat = 1.35657
  Prefactor  = 0.890137
 **********
 **   18 **HESSE 
 **********

 FCN=   11392.63     FROM HESSE     STATUS=OK           368 CALLS     2518 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.264        17.525        .10252E-03   -1.4926    
   2  Prefactor     .10000E-03    5.7747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.3139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5697        3.5078        .29250E-03   -1.5457    
   5  Prefactor     .10000E-03    7.2306        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .60415        .80777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.9877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.8679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.6570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.1221        23.119        .19850E-03   -1.5302    
  12  Prefactor     24.034        12.901        .81708E-04   -1.4727    
  13  Prefactor     .10000E-03    4.6443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0314        .25482        .18005E-04   -1.5423    
  16  norm          3.1203        1.7325        .99641E-04   -1.5355    
  17  norm          .10000E-03    1.4672        .12618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          21.685        21.467        .86013E-04   -1.4776    
  19  norm          2.8035        3.0222        .18418E-03   -1.5373    
  20  Prefactor     40.240        32.730        .63186E-04   -1.4438    
  21  Prefactor     .10000E-03    12.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3566        .21108        .29997E-03   -.81893    
  23  Prefactor     .89014        .12790        .22113E-03   -.96487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04877e-09
Minuit parameter uncertainties:
  1  17.5312
  2  2.238e-05
  3  8.7369e-06
  4  3.50822
  5  0.000129037
  6  2.58417e-06
  7  5.65036e-05
  8  2.10699e-05
  9  1.14537e-05
  10  2.73051e-05
  11  19.5356
  12  12.9021
  13  9.45116e-07
  14  0.000146272
  15  0.25482
  16  1.73249
  17  1.33271e-06
  18  21.4748
  19  3.02238
  20  32.7445
  21  0.000183638
  22  0.211217
  23  0.127948
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.122e+00  1.954e+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:  8.901e-01  1.279e-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.357e+00  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/804977/likelihoodResults_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.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) = 11392.6073082
delta logL = 0.0180830353111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11392.6045194
delta logL = 0.0208718223967

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0281       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9586       1.0000          .0000       10.000    
     3 'Normalizat'    1.3486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89303       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   11392.60     FROM MIGRAD    STATUS=FAILED        89 CALLS      265 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0264        28.667        .23320E-03   -.42940E-03
   2  Index         2.9619        3.0730        .44250E-02   -.35822E-03
   3  Normalizat    1.3480        .21194        .30073E-03   -.18391E-02
   4  Prefactor     .89331        .12764        .22076E-03   -.18836E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11392.60     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      344 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0264        28.667        .45824E-03   -1.5360    
   2  Index         2.9619        3.0730        .21835E-02   -.41984    
   3  Normalizat    1.3480        .21194        .16087E-03   -.82144    
   4  Prefactor     .89331        .12764        .14423E-03   -.96375    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11392.60     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      371 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0239        21.624        .93280E-05   -.43973E-03
   2  Index         2.9625        2.7282        .17700E-03   -.48969E-04
   3  Normalizat    1.3480        .21200        .60146E-04   -.49893E-03
   4  Prefactor     .89331        .12757        .44152E-04   -.50076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.0239
  Index      = 2.9625
  Normalizat = 1.34801
  Prefactor  = 0.893308
 **********
 **   18 **HESSE 
 **********

 FCN=   11392.60     FROM HESSE     STATUS=OK            23 CALLS      394 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0239        21.368        .18656E-05   -1.5360    
   2  Index         2.9625        2.7153        .35400E-04   -.41971    
   3  Normalizat    1.3480        .21203        .12029E-04   -.82144    
   4  Prefactor     .89331        .12759        .88304E-05   -.96375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8091e-10
Minuit parameter uncertainties:
  1  16.0845
  2  2.90791
  3  0.212168
  4  0.127634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/804977': 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) = 11392.6045153
delta logL = 0.0208759170946

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  3.024e+00  1.608e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.963e+00  2.908e+00  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:  8.933e-01  1.276e-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.348e+00  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/804977/cmap_HighResolution_269136001_269395201_4FGL_J1450.4+0910_daily_bin115.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.17e-03', job_status='DONE', photon_flux_upper_limit='9.28e-08', time_completed='2021-09-10 10:52:22.815535', job_id='804977', GAL2='0.89', fit_tolerance='1e-08', EG2='1.35', EG='1.36', time_epoch_completed='1631296342.82', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.09e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='115' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:52:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 804977: <4FGL_J1450.4+0910_daily_bin115> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin115> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 10 10:36:29 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:36: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:36:30 2021
Terminated at Fri Sep 10 10:52:23 2021
Results reported at Fri Sep 10 10:52:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin115 222.624 9.1818 269136001 269395201 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 :                                   781.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            954 sec.

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

