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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin167
RA = 222.624, Dec = 9.1818
tmin = 282614401, tmax = 282873601
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='805054', job_status='RUN', time_executed='2021-09-10 10:39:42.769883', time_epoch_executed='1631295582.77' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805054

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805054/ft1_4FGL_J1450.4+0910_daily_bin167.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805054/ft2_4FGL_J1450.4+0910_daily_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805054/ft1_4FGL_J1450.4+0910_daily_bin167.fits outfile=/scratch/kocevski/805054/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin167.fits ra=222.624 dec=9.1818 rad=12.0 tmin=282614401.0 tmax=282873601.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.34
user 3.09
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805054/ft1_filtered_4FGL_J1450.4+0910_daily_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/805054/ft2_4FGL_J1450.4+0910_daily_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/805054/ltcube_282614401_282873601_4FGL_J1450.4+0910_daily_bin167.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/805054/ft2_4FGL_J1450.4+0910_daily_bin167.fits
.....................!
real 13.42
user 13.03
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805054/ft1_filtered_4FGL_J1450.4+0910_daily_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/805054/ft2_4FGL_J1450.4+0910_daily_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/805054/ltcube_282614401_282873601_4FGL_J1450.4+0910_daily_bin167.fits outfile=/scratch/kocevski/805054/expmap_282614401_282873601_4FGL_J1450.4+0910_daily_bin167.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/805054/ltcube_282614401_282873601_4FGL_J1450.4+0910_daily_bin167.fits
.....................!
real 190.66
user 185.03
sys 5.23

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/805054/ft1_filtered_4FGL_J1450.4+0910_daily_bin167.fits scfile=/scratch/kocevski/805054/ft2_4FGL_J1450.4+0910_daily_bin167.fits outfile=/scratch/kocevski/805054/cmap_282614401_282873601_4FGL_J1450.4+0910_daily_bin167.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.76
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.047       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3589       1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .79915E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.456       1.0000         .10000E-03   10000.    
     9 'norm      '    .13591E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.363       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.910       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11323E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.542       1.0000         .10000E-03   10000.    
    15 'norm      '    .26779       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0017       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    57.509       1.0000         .10000E-03   10000.    
    19 'norm      '    1.4571       1.0000         .10000E-03   10000.    
    20 'Prefactor '    38.596       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0879       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96403       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=   7854.989     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2637 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.043        34.714        .30296E-05   -.22462E-04
   2  Prefactor     .10000E-03    11.246        .16420E-06** at limit **
   3  norm          .10000E-03    7.3463        .10207E-06** at limit **
   4  Prefactor     .10000E-03    2.5898       -.46141E-09** at limit **
   5  Prefactor     7.3576        7.5164        .30001E-06   -.25138E-03
   6  norm          .10000E-03    1.1104       -.11445E-06** at limit **
   7  Prefactor     .12496E-03    45.066       -.88707E-06** at limit **
   8  Prefactor     15.437        19.722       -.15410E-05   -.18464E-04
   9  norm          .10000E-03    8.0607        .89550E-07** at limit **
  10  Prefactor     23.354        23.387        .18869E-04   -.16703E-04
  11  Prefactor     22.902        18.884       -.91391E-05   -.53081E-04
  12  Prefactor     .10000E-03    3.8359       -.19941E-06** at limit **
  13  Prefactor     .10001E-03    17.446       -.25263E-05** at limit **
  14  Prefactor     40.527        35.049        .29494E-04   -.53521E-05
  15  norm          .26788        .15749        .53957E-07   -.11804E-02
  16  norm          1.0014        1.8197        .91017E-06    .12125E-02
  17  norm          .10000E-03    1.9844        .62677E-07** at limit **
  18  norm          57.478        50.163        .22468E-04   -.11123E-04
  19  norm          1.4570        2.3993        .75637E-07   -.74241E-03
  20  Prefactor     38.597        37.774       -.95728E-05   -.47861E-04
  21  Prefactor     .10000E-03    19.064        .24309E-06** at limit **
  22  Normalizat    1.0881        .20262       -.31926E-05   -.97283E-04
  23  Prefactor     .96387        .11856       -.95229E-06   -.21759E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.0426
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.35764
  norm       = 0.0001
  Prefactor  = 0.000124958
  Prefactor  = 15.4372
  norm       = 0.0001
  Prefactor  = 23.3536
  Prefactor  = 22.9021
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 40.5267
  norm       = 0.26788
  norm       = 1.00139
  norm       = 0.0001
  norm       = 57.478
  norm       = 1.45703
  Prefactor  = 38.5975
  Prefactor  = 0.0001
  Normalizat = 1.08814
  Prefactor  = 0.96387
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.989     FROM HESSE     STATUS=OK           380 CALLS     3017 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.043        34.777        .58458E-04   -1.4335    
   2  Prefactor     .10000E-03    11.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.3546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5940        .13923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.3576        7.5349        .14785E-03   -1.5165    
   6  norm          .10000E-03    1.1171        .91166E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12496E-03    41.592        .17410       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.437        19.699        .10188E-03   -1.4922    
   9  norm          .10000E-03    8.0659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.354        23.396        .82871E-04   -1.4741    
  11  Prefactor     22.902        18.901        .83686E-04   -1.4750    
  12  Prefactor     .10000E-03    3.8399        .16953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    17.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.527        35.037        .62954E-04   -1.4434    
  15  norm          .26788        .15315        .25564E-04   -1.5604    
  16  norm          1.0014        1.5199        .14983E-02   -1.5508    
  17  norm          .10000E-03    1.9863        .12193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          57.478        50.170        .26450E-03   -1.4190    
  19  norm          1.4570        2.3565        .16984E-03   -1.5467    
  20  Prefactor     38.597        37.753        .64516E-04   -1.4465    
  21  Prefactor     .10000E-03    19.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0881        .24403        .30479E-03   -.90134    
  23  Prefactor     .96387        .14391        .19666E-03   -.93944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19419e-09
Minuit parameter uncertainties:
  1  34.7922
  2  3.911e-05
  3  1.19856e-05
  4  7.41972e-06
  5  7.53585
  6  1.25304e-05
  7  0.0644822
  8  19.7077
  9  7.11077e-05
  10  23.4051
  11  18.9062
  12  4.64802e-05
  13  0.000739587
  14  35.0549
  15  0.153152
  16  1.51993
  17  4.29375e-06
  18  50.2071
  19  2.3566
  20  37.7762
  21  7.05149e-06
  22  0.244285
  23  0.143966
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  2.290e+01  1.891e+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:  9.639e-01  1.440e-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.088e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.19
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 4.26e-08 +/- 3.51e-08
Energy Flux (Fixed Index): 1.41e-05 +/- 1.16e-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) = 7854.98061716
delta logL = 0.00844515208883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7854.97932884
delta logL = 0.00973347316813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.773       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2974       1.0000          .0000       10.000    
     3 'Normalizat'    1.0935       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96212       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=   7854.979     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      272 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.774        20.683        .82154E-04   -.17530E-03
   2  Index         2.2975        .69522        .86697E-02   -.89816E-04
   3  Normalizat    1.0933        .23393        .30416E-03    .12607E-03
   4  Prefactor     .96222        .14189        .19682E-03    .20354E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7741
  Index      = 2.29747
  Normalizat = 1.09328
  Prefactor  = 0.962221
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.979     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.774        20.466        .16431E-04   -1.4732    
   2  Index         2.2975        .68717        .34679E-03   -.57104    
   3  Normalizat    1.0933        .23402        .12166E-04   -.89968    
   4  Prefactor     .96222        .14199        .39363E-04   -.94000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04521e-10
Minuit parameter uncertainties:
  1  20.4725
  2  0.690264
  3  0.234238
  4  0.142049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805054': 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) = 7854.97932856
delta logL = 0.00973375506783

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  2.377e+01  2.047e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.297e+00  6.903e-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:  9.622e-01  1.420e-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.093e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.20
Ra Dec: 222.624 9.182
Photon Index (Free Index): 2.30 +/- 0.69
Photon Flux (Free Index): 3.80e-08 +/- 4.57e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.25e-05

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/805054/cmap_HighResolution_282614401_282873601_4FGL_J1450.4+0910_daily_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.26e-08', energy_flux2='1.44e-05', photon_flux_error='3.51e-08', dlogl='9.73e-03', energy_flux='1.41e-05', photon_flux2='3.80e-08', job_status='DONE', time_completed='2021-09-10 10:49:46.205583', photon_index_error2='0.69', photon_index2='2.30', ts='4.19', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.25e-05', EG='1.09', time_epoch_completed='1631296186.21', return_code='0', job_id='805054', GAL2='0.96', EG2='1.09', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='4.57e-08', ts2='4.20', photon_index='2.39' WHERE bin_id='167' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:49:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 805054: <4FGL_J1450.4+0910_daily_bin167> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin167> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 10 10:36:34 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:36:37 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:37 2021
Terminated at Fri Sep 10 10:49:46 2021
Results reported at Fri Sep 10 10:49:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin167 222.624 9.1818 282614401 282873601 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 :                                   604.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            792 sec.

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

