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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin133
RA = 222.624, Dec = 9.1818
tmin = 273801601, tmax = 274060801
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='805003', job_status='RUN', time_executed='2021-09-10 10:40:03.693283', time_epoch_executed='1631295603.69' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805003

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805003/ft1_4FGL_J1450.4+0910_daily_bin133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805003/ft2_4FGL_J1450.4+0910_daily_bin133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805003/ft1_4FGL_J1450.4+0910_daily_bin133.fits outfile=/scratch/kocevski/805003/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin133.fits ra=222.624 dec=9.1818 rad=12.0 tmin=273801601.0 tmax=274060801.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.63
user 3.40
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805003/ft1_filtered_4FGL_J1450.4+0910_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/805003/ft2_4FGL_J1450.4+0910_daily_bin133.fits sctable="SC_DATA" expcube=/scratch/kocevski/805003/ltcube_273801601_274060801_4FGL_J1450.4+0910_daily_bin133.fits outfile=/scratch/kocevski/805003/expmap_273801601_274060801_4FGL_J1450.4+0910_daily_bin133.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/805003/ltcube_273801601_274060801_4FGL_J1450.4+0910_daily_bin133.fits
.....................!
real 190.65
user 185.87
sys 4.43

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/805003/ft1_filtered_4FGL_J1450.4+0910_daily_bin133.fits scfile=/scratch/kocevski/805003/ft2_4FGL_J1450.4+0910_daily_bin133.fits outfile=/scratch/kocevski/805003/cmap_273801601_274060801_4FGL_J1450.4+0910_daily_bin133.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.57
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805003/ft1_filtered_4FGL_J1450.4+0910_daily_bin133.fits scfile=/scratch/kocevski/805003/ft2_4FGL_J1450.4+0910_daily_bin133.fits outfile=/scratch/kocevski/805003/cmap_HighResolution_273801601_274060801_4FGL_J1450.4+0910_daily_bin133.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.150       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    19.572       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8090       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.192       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    57.020       1.0000         .10000E-03   10000.    
     8 'Prefactor '    45.137       1.0000         .10000E-03   10000.    
     9 'norm      '    .13952E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6028       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.210       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.3584       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7597       1.0000         .10000E-03   10000.    
    17 'norm      '    .11563E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8095       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96147       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0081       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=   8226.735     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2539 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.138        32.792       -.28812E-04   -.22602E-05
   2  Prefactor     .10000E-03    8.8496       -.19408E-05** at limit **
   3  norm          19.570        18.761       -.12588E-05    .24566E-04
   4  Prefactor     1.7963        11.837        .13641E-05   -.29406E-03
   5  Prefactor     12.197        8.6057        .41158E-06    .64188E-04
   6  norm          .10000E-03    1.4012        .34655E-06** at limit **
   7  Prefactor     57.000        60.299       -.25244E-04    .23052E-04
   8  Prefactor     45.129        30.152       -.73899E-05    .14814E-05
   9  norm          .10000E-03    13.665        .17306E-05** at limit **
  10  Prefactor     8.5918        28.316       -.25093E-04    .11265E-05
  11  Prefactor     .10000E-03    13.453        .25480E-06** at limit **
  12  Prefactor     .10000E-03    19.345        .19549E-06** at limit **
  13  Prefactor     23.204        24.487       -.43017E-05    .75148E-04
  14  Prefactor     .10000E-03    19.316        .11313E-05** at limit **
  15  norm          1.3582        .25266       -.68713E-07    .20480E-02
  16  norm          2.7595        1.7123       -.36178E-06   -.13685E-03
  17  norm          .10000E-03    3.3198       -.66737E-06** at limit **
  18  norm          .10000E-03    12.903       -.13039E-05** at limit **
  19  norm          .10000E-03    1.2390       -.79778E-06** at limit **
  20  Prefactor     .10000E-03    9.2858        .35906E-05** at limit **
  21  Prefactor     7.8053        22.191       -.10131E-04   -.11575E-04
  22  Normalizat    .96191        .20769        .10203E-04   -.16450E-03
  23  Prefactor     1.0078        .11780       -.36001E-06    .49696E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1378
  Prefactor  = 0.0001
  norm       = 19.5705
  Prefactor  = 1.79625
  Prefactor  = 12.1968
  norm       = 0.0001
  Prefactor  = 56.9998
  Prefactor  = 45.1293
  norm       = 0.000100001
  Prefactor  = 8.59178
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.2044
  Prefactor  = 0.0001
  norm       = 1.35824
  norm       = 2.75952
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.80527
  Normalizat = 0.961905
  Prefactor  = 1.00783
 **********
 **   18 **HESSE 
 **********

 FCN=   8226.735     FROM HESSE     STATUS=OK           368 CALLS     2907 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.138        32.383        .12577E-03   -1.5071    
   2  Prefactor     .10000E-03    8.8615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          19.570        18.761        .90535E-04   -1.4823    
   4  Prefactor     1.7963        11.191        .31066E-03   -1.5440    
   5  Prefactor     12.197        8.4880        .11472E-03   -1.5009    
   6  norm          .10000E-03    1.4441        .20962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     57.000        60.274        .53126E-04   -1.4197    
   8  Prefactor     45.129        30.124        .59677E-04   -1.4363    
   9  norm          .10000E-03    13.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.5918        28.268        .13667E-03   -1.5122    
  11  Prefactor     .10000E-03    13.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.204        24.393        .83144E-04   -1.4744    
  14  Prefactor     .10000E-03    19.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3582        .25257        .18547E-04   -1.5475    
  16  norm          2.7595        1.7092        .89672E-04   -1.5376    
  17  norm          .10000E-03    11.229        .32131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    12.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.2550        .98577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.2878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.8053        22.202        .14349E-03   -1.5149    
  22  Normalizat    .96191        .24285        .32997E-03   -.94318    
  23  Prefactor     1.0078        .13925        .19714E-03   -.92469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99301e-09
Minuit parameter uncertainties:
  1  32.4396
  2  7.88098e-06
  3  18.7665
  4  8.96937
  5  8.48887
  6  3.27396e-06
  7  60.3387
  8  30.1341
  9  0.000286135
  10  28.312
  11  2.08291e-05
  12  0.000130948
  13  24.4036
  14  4.36695e-05
  15  0.252569
  16  1.70924
  17  0.000250938
  18  1.08369e-06
  19  4.12582e-06
  20  1.97534e-05
  21  22.2253
  22  0.243127
  23  0.139296
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  2.083e-05  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.008e+00  1.393e-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:  9.619e-01  2.431e-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.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805003/likelihoodResults_273801601_274060801_4FGL_J1450.4+0910_daily_bin133.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) = 8226.73513626
delta logL = -0.000353009141691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8226.73478328
delta logL = -3.10574250761e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3894       1.0000          .0000       10.000    
     3 'Normalizat'    .96189       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0078       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=   8226.735     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.607        .90712E-02** at limit **
   2  Index         2.3854        5.9534        .50000        .25290E-05
   3  Normalizat    .96191        .19052        .74566E-01    .30937E-04
   4  Prefactor     1.0078        .11692        .43661E-01    .11759E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.38539
  Normalizat = 0.961913
  Prefactor  = 1.00783
 **********
 **   18 **HESSE 
 **********

 FCN=   8226.735     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3854        6.1726        .50000       -.55028    
   3  Normalizat    .96191        .22409        .32996E-03   -.94318    
   4  Prefactor     1.0078        .13777        .19714E-03   -.92469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.41444e-12
Minuit parameter uncertainties:
  1  5.93632e-07
  2  4.89059
  3  0.22431
  4  0.137823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805003': 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) = 8226.73478324
delta logL = 5.65887603443e-09

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  5.936e-07  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.385e+00  4.891e+00  0.000e+00  1.000e+01 (-1.000e+00)
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  1.008e+00  1.378e-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:  9.619e-01  2.243e-01  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/805003/cmap_HighResolution_273801601_274060801_4FGL_J1450.4+0910_daily_bin133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.07e-03', job_status='DONE', photon_flux_upper_limit='7.86e-08', time_completed='2021-09-10 10:51:11.877517', job_id='805003', GAL2='1.01', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1631296271.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.66e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='133' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:51:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 805003: <4FGL_J1450.4+0910_daily_bin133> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin133 222.624 9.1818 273801601 274060801 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 :                                   670.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            881 sec.

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

