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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin53
RA = 222.624, Dec = 9.1818
tmin = 253065601, tmax = 253324801
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='803410', job_status='RUN', time_executed='2021-09-10 10:32:03.181999', time_epoch_executed='1631295123.18' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803410

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803410/ft1_4FGL_J1450.4+0910_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803410/ft2_4FGL_J1450.4+0910_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803410/ft1_4FGL_J1450.4+0910_daily_bin53.fits outfile=/scratch/kocevski/803410/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin53.fits ra=222.624 dec=9.1818 rad=12.0 tmin=253065601.0 tmax=253324801.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.44
user 1.24
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803410/ft1_filtered_4FGL_J1450.4+0910_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/803410/ft2_4FGL_J1450.4+0910_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/803410/ltcube_253065601_253324801_4FGL_J1450.4+0910_daily_bin53.fits outfile=/scratch/kocevski/803410/expmap_253065601_253324801_4FGL_J1450.4+0910_daily_bin53.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/803410/ltcube_253065601_253324801_4FGL_J1450.4+0910_daily_bin53.fits
.....................!
real 189.61
user 185.05
sys 4.15

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/803410/ft1_filtered_4FGL_J1450.4+0910_daily_bin53.fits scfile=/scratch/kocevski/803410/ft2_4FGL_J1450.4+0910_daily_bin53.fits outfile=/scratch/kocevski/803410/cmap_253065601_253324801_4FGL_J1450.4+0910_daily_bin53.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.53
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.304       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.258       1.0000         .10000E-03   10000.    
     3 'norm      '    .10222E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.7363       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.922       1.0000         .10000E-03   10000.    
     9 'norm      '    .84526E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16534E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10473E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.546       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.3618       1.0000         .10000E-03   10000.    
    16 'norm      '    1.9102       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.0652       1.0000         .10000E-03   10000.    
    19 'norm      '    4.1025       1.0000         .10000E-03   10000.    
    20 'Prefactor '    73.212       1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.037       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0793       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89636       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=   7913.152     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2962 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.309        28.316        .24023E-06    .10486E-03
   2  Prefactor     13.258        18.654        .45989E-08    .11141E-03
   3  norm          .10000E-03    20.908       -.15835E-05** at limit **
   4  Prefactor     .10000E-03    3.4580       -.40371E-07** at limit **
   5  Prefactor     .10000E-03    3.5142       -.26968E-07** at limit **
   6  norm          4.7365        3.0389       -.11906E-06   -.10452E-04
   7  Prefactor     .10000E-03    16.858        .12346E-05** at limit **
   8  Prefactor     29.874        30.991       -.48384E-06    .53476E-03
   9  norm          .10221E-03    25.886       -.53793E-05** at limit **
  10  Prefactor     .10000E-03    90.822        .78915E-05** at limit **
  11  Prefactor     .10000E-03    8.6264        .54800E-07** at limit **
  12  Prefactor     .10000E-03    4.3977       -.54509E-08** at limit **
  13  Prefactor     10.544        16.035        .79214E-07    .26700E-04
  14  Prefactor     .10000E-03    11.001       -.30897E-06** at limit **
  15  norm          4.3617        .40921        .15041E-08    .33123E-02
  16  norm          1.9112        2.0232        .80435E-08    .26715E-03
  17  norm          .10000E-03    2.9484       -.25281E-07** at limit **
  18  norm          4.0723        83.747        .88034E-05    .57468E-04
  19  norm          4.1026        2.9988       -.97465E-07    .24382E-04
  20  Prefactor     73.213        42.894        .61780E-07    .64216E-04
  21  Prefactor     20.036        30.505       -.18964E-05   -.25680E-04
  22  Normalizat    1.0795        .21867        .30166E-05    .66129E-03
  23  Prefactor     .89612        .12938        .41478E-06    .10540E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.3089
  Prefactor  = 13.2583
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.73647
  Prefactor  = 0.0001
  Prefactor  = 29.874
  norm       = 0.000102207
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5441
  Prefactor  = 0.0001
  norm       = 4.36169
  norm       = 1.91123
  norm       = 0.0001
  norm       = 4.07225
  norm       = 4.10255
  Prefactor  = 73.2133
  Prefactor  = 20.0361
  Normalizat = 1.07947
  Prefactor  = 0.896117
 **********
 **   18 **HESSE 
 **********

 FCN=   7913.152     FROM HESSE     STATUS=OK           366 CALLS     3328 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.309        28.410        .75304E-04   -1.4643    
   2  Prefactor     13.258        18.699        .11001E-03   -1.4980    
   3  norm          .10000E-03    21.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.4991        .16151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5782        .16280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.7365        3.0377        .12053E-03   -1.5273    
   7  Prefactor     .10000E-03    16.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.874        31.949        .73245E-04   -1.4614    
   9  norm          .10221E-03    130.45        .65232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    92.106        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.6343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.4015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.544        16.021        .12338E-03   -1.5058    
  14  Prefactor     .10000E-03    11.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.3617        .41032        .16591E-04   -1.5290    
  16  norm          1.9112        2.0057        .12358E-03   -1.5431    
  17  norm          .10000E-03    2.9595        .14918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.0723        83.982        .19997E-03   -1.5304    
  19  norm          4.1026        2.9984        .12738E-03   -1.5303    
  20  Prefactor     73.213        42.908        .46922E-04   -1.3995    
  21  Prefactor     20.036        30.557        .89477E-04   -1.4812    
  22  Normalizat    1.0795        .25995        .32903E-03   -.90414    
  23  Prefactor     .89612        .15677        .22061E-03   -.96277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69771e-08
Minuit parameter uncertainties:
  1  28.4238
  2  18.7075
  3  0.000176355
  4  1.25342e-05
  5  1.65901e-05
  6  3.03777
  7  9.50764e-05
  8  31.9672
  9  0.0340127
  10  0.00067708
  11  5.95642e-07
  12  6.25032e-06
  13  16.0273
  14  2.77216e-05
  15  0.410323
  16  2.0058
  17  3.29132e-06
  18  37.0453
  19  2.99847
  20  42.9262
  21  30.5808
  22  0.260262
  23  0.156845
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  5.956e-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:  8.961e-01  1.568e-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.079e+00  2.603e-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.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/803410/likelihoodResults_253065601_253324801_4FGL_J1450.4+0910_daily_bin53.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) = 7913.15238091
delta logL = -0.000551748749785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7913.15182923
delta logL = -7.71360646468e-08

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 'Index     '    2.3880       1.0000          .0000       10.000    
     3 'Normalizat'    1.0794       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89615       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=   7913.152     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6591        .90712E-02** at limit **
   2  Index         2.3825        6.1909        .50000        .54059E-05
   3  Normalizat    1.0795        .20667        .74348E-01    .20257E-04
   4  Prefactor     .89612        .12824        .44956E-01    .99028E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.38253
  Normalizat = 1.07947
  Prefactor  = 0.896116
 **********
 **   18 **HESSE 
 **********

 FCN=   7913.152     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      232 TOTAL
                     EDM=   .42E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    957.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3825        5.6014        .20000       -.55095    
   3  Normalizat    1.0795        .65782E-01    .32903E-03   -.90414    
   4  Prefactor     .89612        .40837E-01    .22061E-03   -.96277    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.15033e-05
Minuit parameter uncertainties:
  1  4.26906e-05
  2  5066.35
  3  0.0657869
  4  0.0408384
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803410': 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) = 7913.15182914
delta logL = 1.47265382111e-08

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  4.269e-05  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.383e+00  5.066e+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:  8.961e-01  4.084e-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.079e+00  6.579e-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/803410/cmap_HighResolution_253065601_253324801_4FGL_J1450.4+0910_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.33e-08', time_completed='2021-09-10 10:43:42.955144', job_id='803410', GAL2='0.90', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1631295822.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='53' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:43:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 803410: <4FGL_J1450.4+0910_daily_bin53> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin53> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 10:31:32 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:31: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:31:33 2021
Terminated at Fri Sep 10 10:43:43 2021
Results reported at Fri Sep 10 10:43:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin53 222.624 9.1818 253065601 253324801 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 :                                   699.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            731 sec.

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

