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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin277
RA = 222.624, Dec = 9.1818
tmin = 311126401, tmax = 311385601
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='806695', job_status='RUN', time_executed='2021-09-10 10:45:45.400022', time_epoch_executed='1631295945.4' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806695

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806695/ft1_4FGL_J1450.4+0910_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806695/ft2_4FGL_J1450.4+0910_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806695/ft1_4FGL_J1450.4+0910_daily_bin277.fits outfile=/scratch/kocevski/806695/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin277.fits ra=222.624 dec=9.1818 rad=12.0 tmin=311126401.0 tmax=311385601.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.54
user 3.29
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/806695/ft1_filtered_4FGL_J1450.4+0910_daily_bin277.fits" evtable="EVENTS" scfile=/scratch/kocevski/806695/ft2_4FGL_J1450.4+0910_daily_bin277.fits sctable="SC_DATA" outfile=/scratch/kocevski/806695/ltcube_311126401_311385601_4FGL_J1450.4+0910_daily_bin277.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/806695/ft2_4FGL_J1450.4+0910_daily_bin277.fits
.....................!
real 11.94
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806695/ft1_filtered_4FGL_J1450.4+0910_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/806695/ft2_4FGL_J1450.4+0910_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/806695/ltcube_311126401_311385601_4FGL_J1450.4+0910_daily_bin277.fits outfile=/scratch/kocevski/806695/expmap_311126401_311385601_4FGL_J1450.4+0910_daily_bin277.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/806695/ltcube_311126401_311385601_4FGL_J1450.4+0910_daily_bin277.fits
.....................!
real 190.65
user 185.41
sys 4.89

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/806695/ft1_filtered_4FGL_J1450.4+0910_daily_bin277.fits scfile=/scratch/kocevski/806695/ft2_4FGL_J1450.4+0910_daily_bin277.fits outfile=/scratch/kocevski/806695/cmap_311126401_311385601_4FGL_J1450.4+0910_daily_bin277.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.55
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806695/ft1_filtered_4FGL_J1450.4+0910_daily_bin277.fits scfile=/scratch/kocevski/806695/ft2_4FGL_J1450.4+0910_daily_bin277.fits outfile=/scratch/kocevski/806695/cmap_HighResolution_311126401_311385601_4FGL_J1450.4+0910_daily_bin277.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=222.624 yref=9.1818 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11654E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29014E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .15789E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11080E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.143       1.0000         .10000E-03   10000.    
     9 'norm      '    .17192E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .57100       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10563E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5957       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .17749       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2715       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2877       1.0000         .10000E-03   10000.    
    18 'norm      '    .11062E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.3606       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11547E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    103.59       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98444       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2077       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8273.675     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     2172 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    8.6428       -.12988E-05** at limit **
   2  Prefactor     .10045E-03    36.836        .10234E-04** at limit **
   3  norm          .10016E-03    14.509        .10218E-05** at limit **
   4  Prefactor     .10000E-03    2.5247       -.14482E-06** at limit **
   5  Prefactor     .10001E-03    8.6364       -.24335E-05** at limit **
   6  norm          .10000E-03    .88373        .67145E-06** at limit **
   7  Prefactor     .10192E-03    92.659       -.41253E-05** at limit **
   8  Prefactor     29.174        4.3864        .93914E-08    .24305E-02
   9  norm          .10088E-03    69.594       -.57595E-06** at limit **
  10  Prefactor     .15805        945.58        .19917E-04    .18761E-04
  11  Prefactor     .10000E-03    5.5889       -.26820E-06** at limit **
  12  Prefactor     .10018E-03    9.5143        .22790E-05** at limit **
  13  Prefactor     1.6217        19.040        .59658E-05   -.96778E-03
  14  Prefactor     .10042E-03    8.6131        .11483E-06** at limit **
  15  norm          .17742        .13034        .18979E-07    .17279E-03
  16  norm          1.2706        1.4908       -.19782E-06   -.11914E-03
  17  norm          1.2838        3.9871       -.15952E-05   -.17840E-03
  18  norm          .10024E-03    11.029       -.70088E-06** at limit **
  19  norm          4.3606        3.3500        .52229E-06    .19183E-03
  20  Prefactor     .10039E-03    12.301       -.13938E-05** at limit **
  21  Prefactor     103.57        3.8751        .67675E-07    .47703E-02
  22  Normalizat    .98480        .24098        .48241E-05    .62611E-04
  23  Prefactor     1.2078        .15269       -.29638E-05   -.69046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100015
  Prefactor  = 0.000100449
  norm       = 0.000100159
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 0.000101919
  Prefactor  = 29.1741
  norm       = 0.00010088
  Prefactor  = 0.158047
  Prefactor  = 0.0001
  Prefactor  = 0.000100178
  Prefactor  = 1.62167
  Prefactor  = 0.000100421
  norm       = 0.177419
  norm       = 1.27065
  norm       = 1.28383
  norm       = 0.00010024
  norm       = 4.36056
  Prefactor  = 0.000100388
  Prefactor  = 103.572
  Normalizat = 0.984798
  Prefactor  = 1.2078
 **********
 **   18 **HESSE 
 **********

 FCN=   8273.675     FROM HESSE     STATUS=OK           428 CALLS     2600 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    8.7383        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10045E-03    64.481        .10702E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10016E-03    15.416        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5155        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    8.4524        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .88051        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10192E-03    111.85        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.174        30.435        .18554E-02   -1.4627    
   9  norm          .10088E-03    14.305        .11233       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15805        19.781        .13322       -1.5628    
  11  Prefactor     .10000E-03    5.5860        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10018E-03    10.437        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.6217        49.455        .83939E-02   -1.5453    
  14  Prefactor     .10042E-03    11.023        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .17742        .13740        .61485E-02   -1.5624    
  16  norm          1.2706        1.5192        .98624E-02   -1.5483    
  17  norm          1.2838        4.0450        .97627E-02   -1.5481    
  18  norm          .10024E-03    12.445        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.3606        3.3654        .48221E-02   -1.5290    
  20  Prefactor     .10039E-03    14.544        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     103.57        49.167        .98767E-03   -1.3669    
  22  Normalizat    .98480        .20773        .75786E-01   -.93541    
  23  Prefactor     1.2078        .12930        .34452E-01   -.86091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2343e-07
Minuit parameter uncertainties:
  1  0.000735509
  2  0.0107787
  3  0.0031336
  4  2.92681e-06
  5  0.000472156
  6  7.73439e-06
  7  0.0293567
  8  30.451
  9  0.00709674
  10  3.53633
  11  8.21732e-06
  12  0.00272286
  13  17.9266
  14  0.00430764
  15  0.137401
  16  1.51921
  17  4.04583
  18  0.00345954
  19  3.36553
  20  0.0047526
  21  49.1864
  22  0.207901
  23  0.129338
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  8.217e-06  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.208e+00  1.293e-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.848e-01  2.079e-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: 5.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/806695/likelihoodResults_311126401_311385601_4FGL_J1450.4+0910_daily_bin277.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) = 8273.67597301
delta logL = -0.000850237656778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8273.67512273
delta logL = 3.56467353413e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3827       1.0000          .0000       10.000    
     3 'Normalizat'    .98482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2078       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=   8273.675     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      254 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.289        .18142E-01** at limit **
   2  Index         1.9544        5.9407        .50000       -.64751E-06
   3  Normalizat    .98480        .90465E-02    .33537E-03    .19594E-04
   4  Prefactor     1.2078        .57207E-02    .19257E-03    .37854E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95443
  Normalizat = 0.984796
  Prefactor  = 1.20781
 **********
 **   18 **HESSE 
 **********

 FCN=   8273.675     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      281 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    344.36        .22155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9544        8.9587        .50000       -.65494    
   3  Normalizat    .98480        .39857E-01    .13415E-04   -.93542    
   4  Prefactor     1.2078        .25204E-01    .38514E-04   -.86091    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.51413e-08
Minuit parameter uncertainties:
  1  4.8933e-05
  2  1462.08
  3  0.0398587
  4  0.0252047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806695': 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) = 8273.67512186
delta logL = 9.12363248062e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  1.208e+00  2.520e-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:  9.848e-01  3.986e-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/806695/cmap_HighResolution_311126401_311385601_4FGL_J1450.4+0910_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.09e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-09-10 10:56:31.251771', job_id='806695', GAL2='1.21', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631296591.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='9.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='277' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:56:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 806695: <4FGL_J1450.4+0910_daily_bin277> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin277 222.624 9.1818 311126401 311385601 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 :                                   649.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            891 sec.

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

