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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin591
RA = 222.624, Dec = 9.1818
tmin = 392515201, tmax = 392774401
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='810465', job_status='RUN', time_executed='2021-09-10 10:56:07.365180', time_epoch_executed='1631296567.37' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/810465

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/810465/ft1_4FGL_J1450.4+0910_daily_bin591.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/810465/ft2_4FGL_J1450.4+0910_daily_bin591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/810465/ft1_4FGL_J1450.4+0910_daily_bin591.fits outfile=/scratch/kocevski/810465/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin591.fits ra=222.624 dec=9.1818 rad=12.0 tmin=392515201.0 tmax=392774401.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.35
user 3.11
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/810465/ft1_filtered_4FGL_J1450.4+0910_daily_bin591.fits" evtable="EVENTS" scfile=/scratch/kocevski/810465/ft2_4FGL_J1450.4+0910_daily_bin591.fits sctable="SC_DATA" outfile=/scratch/kocevski/810465/ltcube_392515201_392774401_4FGL_J1450.4+0910_daily_bin591.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/810465/ft2_4FGL_J1450.4+0910_daily_bin591.fits
.....................!
real 11.76
user 11.40
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/810465/ft1_filtered_4FGL_J1450.4+0910_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/810465/ft2_4FGL_J1450.4+0910_daily_bin591.fits sctable="SC_DATA" expcube=/scratch/kocevski/810465/ltcube_392515201_392774401_4FGL_J1450.4+0910_daily_bin591.fits outfile=/scratch/kocevski/810465/expmap_392515201_392774401_4FGL_J1450.4+0910_daily_bin591.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/810465/ltcube_392515201_392774401_4FGL_J1450.4+0910_daily_bin591.fits
.....................!
real 189.66
user 184.99
sys 4.14

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/810465/ft1_filtered_4FGL_J1450.4+0910_daily_bin591.fits scfile=/scratch/kocevski/810465/ft2_4FGL_J1450.4+0910_daily_bin591.fits outfile=/scratch/kocevski/810465/cmap_392515201_392774401_4FGL_J1450.4+0910_daily_bin591.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/810465/ft1_filtered_4FGL_J1450.4+0910_daily_bin591.fits scfile=/scratch/kocevski/810465/ft2_4FGL_J1450.4+0910_daily_bin591.fits outfile=/scratch/kocevski/810465/cmap_HighResolution_392515201_392774401_4FGL_J1450.4+0910_daily_bin591.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    70.934       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6557       1.0000         .10000E-03   10000.    
     3 'norm      '    36.409       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5434       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.5537       1.0000         .10000E-03   10000.    
     6 'norm      '    .96782       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.691       1.0000         .10000E-03   10000.    
     9 'norm      '    .10178E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4778       1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.490       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5032       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .13638       1.0000         .10000E-03   10000.    
    16 'norm      '    .14401       1.0000         .10000E-03   10000.    
    17 'norm      '    2.5107       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.7320       1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.583       1.0000         .10000E-03   10000.    
    21 'Prefactor '    51.364       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1340       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84241       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=   6774.174     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2547 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     70.938        39.683        .27560E-06    .45444E-04
   2  Prefactor     3.5757        38.503        .31347E-05    .10990E-03
   3  norm          36.441        27.592       -.13432E-05    .80426E-04
   4  Prefactor     5.5431        8.9377        .14710E-06    .72042E-04
   5  Prefactor     8.5564        7.0455       -.30820E-06   -.14017E-05
   6  norm          .96599        2.2200        .60825E-06    .76753E-03
   7  Prefactor     .10000E-03    21.622        .83697E-07** at limit **
   8  Prefactor     38.696        30.347        .13356E-07   -.16971E-04
   9  norm          .10000E-03    13.373        .31888E-06** at limit **
  10  Prefactor     1.4786        25.531        .15491E-04   -.46488E-04
  11  Prefactor     41.493        23.982        .43277E-06    .35401E-04
  12  Prefactor     1.4987        21.651        .64376E-07   -.23331E-04
  13  Prefactor     .10000E-03    8.2264       -.82257E-07** at limit **
  14  Prefactor     .10000E-03    34.778       -.25865E-06** at limit **
  15  norm          .13635        .11286       -.39217E-08   -.84085E-03
  16  norm          .14737        1.0797        .52066E-06   -.27368E-03
  17  norm          2.5108        3.4436        .38915E-07    .13960E-04
  18  norm          .10000E-03    14.165       -.19607E-06** at limit **
  19  norm          3.7302        4.1767        .10181E-05    .84552E-04
  20  Prefactor     29.579        31.728        .18817E-06    .22245E-04
  21  Prefactor     51.362        38.653        .71837E-06    .16202E-04
  22  Normalizat    1.1339        .22241       -.18144E-05    .50125E-04
  23  Prefactor     .84252        .12836        .48756E-06    .24196E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 70.9378
  Prefactor  = 3.57573
  norm       = 36.4408
  Prefactor  = 5.54315
  Prefactor  = 8.55637
  norm       = 0.965991
  Prefactor  = 0.0001
  Prefactor  = 38.6961
  norm       = 0.0001
  Prefactor  = 1.47861
  Prefactor  = 41.4925
  Prefactor  = 1.49874
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.136349
  norm       = 0.147365
  norm       = 2.5108
  norm       = 0.0001
  norm       = 3.73022
  Prefactor  = 29.5794
  Prefactor  = 51.3624
  Normalizat = 1.13389
  Prefactor  = 0.842518
 **********
 **   18 **HESSE 
 **********

 FCN=   6774.174     FROM HESSE     STATUS=OK           382 CALLS     2929 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     70.938        39.753        .47664E-04   -1.4021    
   2  Prefactor     3.5757        38.635        .21127E-03   -1.5330    
   3  norm          36.441        27.538        .33209E-03   -1.4500    
   4  Prefactor     5.5431        8.8860        .17064E-03   -1.5237    
   5  Prefactor     8.5564        7.0097        .13706E-03   -1.5123    
   6  norm          .96599        2.0878        .17954E-02   -1.5511    
   7  Prefactor     .10000E-03    21.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.696        30.349        .64436E-04   -1.4463    
   9  norm          .10000E-03    13.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.4786        25.509        .17659E-02   -1.5465    
  11  Prefactor     41.493        24.065        .62234E-04   -1.4419    
  12  Prefactor     1.4987        21.705        .34916E-03   -1.5463    
  13  Prefactor     .10000E-03    8.2335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .13635        .11497        .24154E-04   -1.5634    
  16  norm          .14737        6.6172        .15435E-02   -1.5631    
  17  norm          2.5108        3.4329        .17454E-03   -1.5391    
  18  norm          .10000E-03    14.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7302        4.2215        .83247E-03   -1.5322    
  20  Prefactor     29.579        31.745        .73663E-04   -1.4620    
  21  Prefactor     51.362        38.799        .55959E-04   -1.4273    
  22  Normalizat    1.1339        .27420        .29071E-03   -.88671    
  23  Prefactor     .84252        .15965        .20236E-03   -.98180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.16716e-10
Minuit parameter uncertainties:
  1  39.7683
  2  23.5264
  3  27.5478
  4  8.88812
  5  7.01036
  6  2.08796
  7  1.68627e-05
  8  30.3609
  9  3.46372e-05
  10  12.2887
  11  24.0706
  12  11.4116
  13  1.82641e-05
  14  0.000129786
  15  0.114975
  16  1.97455
  17  3.43317
  18  4.47521e-06
  19  4.22184
  20  31.7636
  21  38.8186
  22  0.27455
  23  0.159738
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.149e+01  2.407e+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.425e-01  1.597e-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.134e+00  2.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.66
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 7.71e-08 +/- 4.47e-08
Energy Flux (Fixed Index): 2.55e-05 +/- 1.48e-05

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) = 6773.97896222
delta logL = 0.194762671597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6773.94913617
delta logL = 0.224588717519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.268       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7656       1.0000          .0000       10.000    
     3 'Normalizat'    1.1696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83268       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=   6773.949     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      224 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.268        37.807        .14141E-02   -.17966E-02
   2  Index         1.7656        .59318        .16972       -.17122E-03
   3  Normalizat    1.1696        .20898        .64843E-01    .18265E-04
   4  Prefactor     .83267        .12669        .44141E-01    .80800E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.2677
  Index      = 1.76563
  Normalizat = 1.16958
  Prefactor  = 0.832668
 **********
 **   18 **HESSE 
 **********

 FCN=   6773.949     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.268        36.158        .56563E-04   -1.4289    
   2  Index         1.7656        .73731        .10311E-01   -.70348    
   3  Normalizat    1.1696        .25705        .28685E-03   -.87548    
   4  Prefactor     .83267        .15538        .20357E-03   -.98535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8974e-09
Minuit parameter uncertainties:
  1  36.1742
  2  0.741982
  3  0.257323
  4  0.155458
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/810465': 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) = 6773.94913616
delta logL = 0.22458873351

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  5.027e+01  3.617e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  1.766e+00  7.420e-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:  8.327e-01  1.555e-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.170e+00  2.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.07
Ra Dec: 222.624 9.182
Photon Index (Free Index): 1.77 +/- 0.74
Photon Flux (Free Index): 3.94e-08 +/- 5.06e-08
Energy Flux (Free Index): 5.23e-05 +/- 6.94e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/810465/cmap_HighResolution_392515201_392774401_4FGL_J1450.4+0910_daily_bin591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.71e-08', energy_flux2='5.23e-05', photon_flux_error='4.47e-08', dlogl='2.25e-01', energy_flux='2.55e-05', photon_flux2='3.94e-08', job_status='DONE', time_completed='2021-09-10 11:05:19.009637', photon_index_error2='0.74', photon_index2='1.77', ts='7.66', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='6.94e-05', EG='1.13', time_epoch_completed='1631297119.01', return_code='0', job_id='810465', GAL2='0.83', EG2='1.17', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='5.06e-08', ts2='8.07', photon_index='2.39' WHERE bin_id='591' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:05:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 810465: <4FGL_J1450.4+0910_daily_bin591> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin591> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 10:52:04 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:52:05 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:52:05 2021
Terminated at Fri Sep 10 11:05:19 2021
Results reported at Fri Sep 10 11:05:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin591 222.624 9.1818 392515201 392774401 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 :                                   551.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            795 sec.

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

