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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin812
RA = 222.624, Dec = 9.1818
tmin = 449798401, tmax = 450057601
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='812136', job_status='RUN', time_executed='2021-09-10 10:56:50.006764', time_epoch_executed='1631296610.01' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='812'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812136

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812136/ft1_4FGL_J1450.4+0910_daily_bin812.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812136/ft2_4FGL_J1450.4+0910_daily_bin812.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812136/ft1_4FGL_J1450.4+0910_daily_bin812.fits outfile=/scratch/kocevski/812136/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin812.fits ra=222.624 dec=9.1818 rad=12.0 tmin=449798401.0 tmax=450057601.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 4.40
user 4.14
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/812136/ft1_filtered_4FGL_J1450.4+0910_daily_bin812.fits" evtable="EVENTS" scfile=/scratch/kocevski/812136/ft2_4FGL_J1450.4+0910_daily_bin812.fits sctable="SC_DATA" outfile=/scratch/kocevski/812136/ltcube_449798401_450057601_4FGL_J1450.4+0910_daily_bin812.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/812136/ft2_4FGL_J1450.4+0910_daily_bin812.fits
.....................!
real 12.18
user 11.75
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812136/ft1_filtered_4FGL_J1450.4+0910_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/812136/ft2_4FGL_J1450.4+0910_daily_bin812.fits sctable="SC_DATA" expcube=/scratch/kocevski/812136/ltcube_449798401_450057601_4FGL_J1450.4+0910_daily_bin812.fits outfile=/scratch/kocevski/812136/expmap_449798401_450057601_4FGL_J1450.4+0910_daily_bin812.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/812136/ltcube_449798401_450057601_4FGL_J1450.4+0910_daily_bin812.fits
.....................!
real 191.54
user 185.86
sys 5.09

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/812136/ft1_filtered_4FGL_J1450.4+0910_daily_bin812.fits scfile=/scratch/kocevski/812136/ft2_4FGL_J1450.4+0910_daily_bin812.fits outfile=/scratch/kocevski/812136/cmap_449798401_450057601_4FGL_J1450.4+0910_daily_bin812.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/812136/ft1_filtered_4FGL_J1450.4+0910_daily_bin812.fits scfile=/scratch/kocevski/812136/ft2_4FGL_J1450.4+0910_daily_bin812.fits outfile=/scratch/kocevski/812136/cmap_HighResolution_449798401_450057601_4FGL_J1450.4+0910_daily_bin812.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.0915       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.0286       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.391       1.0000         .10000E-03   10000.    
     9 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14143E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0347       1.0000         .10000E-03   10000.    
    15 'norm      '    .82737       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7147       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.4213       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10690E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    56.976       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0719       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0551       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=   8055.369     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2510 TOTAL
                     EDM=   .83E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.880        .17650E-06** at limit **
   2  Prefactor     .10000E-03    17.714        .16966E-05** at limit **
   3  norm          .10000E-03    7.9344       -.15697E-07** at limit **
   4  Prefactor     4.0927        7.5259        .20788E-05    .84634E-05
   5  Prefactor     .10000E-03    2.9535        .13991E-06** at limit **
   6  norm          3.0288        3.3095        .53060E-07   -.16164E-04
   7  Prefactor     .10000E-03    28.141       -.31723E-05** at limit **
   8  Prefactor     16.397        27.443        .59707E-06    .18233E-05
   9  norm          .10000E-03    10.585       -.10828E-06** at limit **
  10  Prefactor     .10000E-03    10.490       -.43681E-06** at limit **
  11  Prefactor     .10000E-03    8.5018        .24653E-07** at limit **
  12  Prefactor     .10000E-03    11.344        .45696E-06** at limit **
  13  Prefactor     .10000E-03    36.567        .29125E-05** at limit **
  14  Prefactor     2.9084        103.15        .35537E-05   -.13081E-04
  15  norm          .82740        .22797        .51702E-08   -.30103E-03
  16  norm          1.7146        2.0496        .11587E-06    .28433E-04
  17  norm          .10000E-03    2.2308       -.44936E-08** at limit **
  18  norm          .10000E-03    15.061       -.13158E-05** at limit **
  19  norm          3.4211        2.3603        .83461E-08    .11627E-04
  20  Prefactor     .10000E-03    65.377       -.24446E-05** at limit **
  21  Prefactor     56.976        40.040        .15133E-06   -.10258E-04
  22  Normalizat    1.0720        .21323       -.10344E-05   -.33831E-04
  23  Prefactor     1.0550        .12455        .13503E-06   -.86669E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.09272
  Prefactor  = 0.0001
  norm       = 3.02877
  Prefactor  = 0.0001
  Prefactor  = 16.3969
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.90841
  norm       = 0.827399
  norm       = 1.71463
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.42112
  Prefactor  = 0.0001
  Prefactor  = 56.9757
  Normalizat = 1.072
  Prefactor  = 1.05498
 **********
 **   18 **HESSE 
 **********

 FCN=   8055.369     FROM HESSE     STATUS=OK           364 CALLS     2874 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.9382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.0927        7.5292        .99655E-03   -1.5303    
   5  Prefactor     .10000E-03    2.9750        .15067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0288        3.3006        .16490E-03   -1.5360    
   7  Prefactor     .10000E-03    28.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.397        27.447        .98927E-04   -1.4898    
   9  norm          .10000E-03    10.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.5117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9084        101.78        .23293E-03   -1.5367    
  15  norm          .82740        .22728        .21265E-04   -1.5526    
  16  norm          1.7146        2.0303        .13234E-03   -1.5446    
  17  norm          .10000E-03    2.2333        .13091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    15.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.4211        2.3618        .11109E-03   -1.5338    
  20  Prefactor     .10000E-03    65.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     56.976        40.156        .53146E-04   -1.4197    
  22  Normalizat    1.0720        .25354        .32413E-03   -.90656    
  23  Prefactor     1.0550        .14928        .19745E-03   -.90919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62444e-11
Minuit parameter uncertainties:
  1  4.77567e-06
  2  2.32462e-05
  3  3.42705e-07
  4  7.53093
  5  2.8556e-07
  6  3.30082
  7  4.24211e-05
  8  27.4678
  9  7.67201e-06
  10  8.59605e-06
  11  3.97257e-07
  12  1.36429e-05
  13  0.000109621
  14  34.4735
  15  0.227279
  16  2.03042
  17  1.81186e-07
  18  1.57814e-05
  19  2.36185
  20  1.44873e-06
  21  40.1755
  22  0.253826
  23  0.149336
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  3.973e-07  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:  1.055e+00  1.493e-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.072e+00  2.538e-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: 7.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/812136/likelihoodResults_449798401_450057601_4FGL_J1450.4+0910_daily_bin812.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) = 8055.36940593
delta logL = -0.000559598614018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8055.36884655
delta logL = -2.18096829485e-07

Fit tolerance = 1e-08

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

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

 FCN=   8055.369     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      241 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10105E-03    155.39        .18142E-02** at limit **
   2  Index         2.3148        8.4807        .50000        .88566E-05
   3  Normalizat    1.0720        .21792E-01    .32413E-03    .11119E-04
   4  Prefactor     1.0550        .13263E-01    .19745E-03    .14798E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101049
  Index      = 2.31478
  Normalizat = 1.072
  Prefactor  = 1.05498
 **********
 **   18 **HESSE 
 **********

 FCN=   8055.369     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10105E-03    628.23        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3148        6.1165        .50000       -.56693    
   3  Normalizat    1.0720        .47453E-01    .12965E-04   -.90656    
   4  Prefactor     1.0550        .28879E-01    .78978E-05   -.90919    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.17589e-08
Minuit parameter uncertainties:
  1  0.0518838
  2  1383.05
  3  0.0474548
  4  0.028879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812136': 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) = 8055.3688462
delta logL = 1.34666152007e-07

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.010e-04  5.188e-02  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.315e+00  1.383e+03  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:  1.055e+00  2.888e-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.072e+00  4.745e-02  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/812136/cmap_HighResolution_449798401_450057601_4FGL_J1450.4+0910_daily_bin812.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.45e-03', job_status='DONE', photon_flux_upper_limit='7.05e-08', time_completed='2021-09-10 11:07:53.809575', job_id='812136', GAL2='1.05', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1631297273.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='812' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:07:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 812136: <4FGL_J1450.4+0910_daily_bin812> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin812> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 10:56:32 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:56:33 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:33 2021
Terminated at Fri Sep 10 11:07:54 2021
Results reported at Fri Sep 10 11:07:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin812 222.624 9.1818 449798401 450057601 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 :                                   662.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            682 sec.

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

