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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin415
RA = 222.624, Dec = 9.1818
tmin = 346896001, tmax = 347155201
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='808363', job_status='RUN', time_executed='2021-09-10 10:50:01.871508', time_epoch_executed='1631296201.87' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808363/ft1_4FGL_J1450.4+0910_daily_bin415.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808363/ft2_4FGL_J1450.4+0910_daily_bin415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808363/ft1_4FGL_J1450.4+0910_daily_bin415.fits outfile=/scratch/kocevski/808363/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin415.fits ra=222.624 dec=9.1818 rad=12.0 tmin=346896001.0 tmax=347155201.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.43
user 3.24
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808363/ft1_filtered_4FGL_J1450.4+0910_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/808363/ft2_4FGL_J1450.4+0910_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/808363/ltcube_346896001_347155201_4FGL_J1450.4+0910_daily_bin415.fits outfile=/scratch/kocevski/808363/expmap_346896001_347155201_4FGL_J1450.4+0910_daily_bin415.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/808363/ltcube_346896001_347155201_4FGL_J1450.4+0910_daily_bin415.fits
.....................!
real 190.21
user 185.91
sys 3.98

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/808363/ft1_filtered_4FGL_J1450.4+0910_daily_bin415.fits scfile=/scratch/kocevski/808363/ft2_4FGL_J1450.4+0910_daily_bin415.fits outfile=/scratch/kocevski/808363/cmap_346896001_347155201_4FGL_J1450.4+0910_daily_bin415.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/808363/ft1_filtered_4FGL_J1450.4+0910_daily_bin415.fits scfile=/scratch/kocevski/808363/ft2_4FGL_J1450.4+0910_daily_bin415.fits outfile=/scratch/kocevski/808363/cmap_HighResolution_346896001_347155201_4FGL_J1450.4+0910_daily_bin415.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.57
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    20.740       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.5062       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12634E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    3.9558       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.724       1.0000         .10000E-03   10000.    
     9 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.089       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.712       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    52.263       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .91050E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    5.3518       1.0000         .10000E-03   10000.    
    17 'norm      '    11.492       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10154E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    42.651       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0649       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1174       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=   7928.896     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2583 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4784        .17435E-07** at limit **
   2  Prefactor     .10000E-03    11.464        .66257E-06** at limit **
   3  norm          20.741        21.316        .29833E-06   -.12674E-04
   4  Prefactor     2.4977        7.8218       -.99603E-06   -.33729E-03
   5  Prefactor     .10002E-03    5.2506       -.42108E-06** at limit **
   6  norm          3.9553        2.9442       -.13322E-06   -.21734E-03
   7  Prefactor     .10000E-03    26.625        .71672E-05** at limit **
   8  Prefactor     21.735        22.997        .72108E-05   -.12485E-04
   9  norm          .10000E-03    9.4653        .13937E-05** at limit **
  10  Prefactor     22.091        22.014        .17112E-06    .29807E-04
  11  Prefactor     11.700        31.269       -.18897E-04   -.53777E-04
  12  Prefactor     .10000E-03    10.575       -.40023E-05** at limit **
  13  Prefactor     52.265        33.663        .18381E-05    .56365E-04
  14  Prefactor     .10000E-03    18.582       -.82417E-05** at limit **
  15  norm          .91364E-01    .20653        .19309E-06   -.16087E-02
  16  norm          5.3524        2.8957       -.87138E-07   -.40211E-03
  17  norm          11.490        6.7910        .38785E-07   -.14253E-04
  18  norm          .10000E-03    14.095        .59510E-05** at limit **
  19  norm          .10000E-03    2.3518       -.35139E-07** at limit **
  20  Prefactor     .10000E-03    42.002       -.21185E-05** at limit **
  21  Prefactor     42.654        34.682        .25981E-05   -.74492E-05
  22  Normalizat    1.0644        .23077        .23761E-05   -.84114E-04
  23  Prefactor     1.1177        .13244       -.58013E-06    .11663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.7414
  Prefactor  = 2.49766
  Prefactor  = 0.000100017
  norm       = 3.95535
  Prefactor  = 0.0001
  Prefactor  = 21.7346
  norm       = 0.0001
  Prefactor  = 22.0905
  Prefactor  = 11.6999
  Prefactor  = 0.0001
  Prefactor  = 52.2652
  Prefactor  = 0.0001
  norm       = 0.0913644
  norm       = 5.35241
  norm       = 11.4899
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.6544
  Normalizat = 1.06438
  Prefactor  = 1.11769
 **********
 **   18 **HESSE 
 **********

 FCN=   7928.896     FROM HESSE     STATUS=OK           374 CALLS     2957 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          20.741        21.307        .87949E-04   -1.4797    
   4  Prefactor     2.4977        7.4459        .25812E-03   -1.5392    
   5  Prefactor     .10002E-03    26.355        .36598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9553        2.9350        .12752E-03   -1.5310    
   7  Prefactor     .10000E-03    26.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.735        22.931        .85936E-04   -1.4775    
   9  norm          .10000E-03    9.4660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.091        21.996        .85224E-04   -1.4768    
  11  Prefactor     11.700        30.809        .11706E-03   -1.5024    
  12  Prefactor     .10000E-03    10.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     52.265        33.738        .55478E-04   -1.4261    
  14  Prefactor     .10000E-03    18.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .91364E-01    .20829        .51685E-03   -1.5648    
  16  norm          5.3524        2.8582        .10314E-03   -1.5245    
  17  norm          11.490        6.7683        .11818E-03   -1.5030    
  18  norm          .10000E-03    14.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.1413        .26096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    42.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     42.654        34.686        .61384E-04   -1.4401    
  22  Normalizat    1.0644        .27119        .33198E-03   -.90904    
  23  Prefactor     1.1177        .15740        .19947E-03   -.88903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14701e-09
Minuit parameter uncertainties:
  1  3.71978e-07
  2  1.25795e-05
  3  21.3144
  4  7.44862
  5  0.00132517
  6  2.9351
  7  2.14174e-05
  8  22.9399
  9  7.62625e-05
  10  22.0043
  11  30.8508
  12  1.14332e-05
  13  33.7508
  14  2.13749e-05
  15  0.208297
  16  2.85828
  17  6.7687
  18  1.24956e-06
  19  3.76947e-06
  20  4.65094e-06
  21  34.702
  22  0.271549
  23  0.157466
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.170e+01  3.085e+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:  1.118e+00  1.575e-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.064e+00  2.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/808363/likelihoodResults_346896001_347155201_4FGL_J1450.4+0910_daily_bin415.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): 0
logL (Free Index) = 7925.41084959
delta logL = 3.48504836603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7925.33965528
delta logL = 3.55624267352

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55500       1.0000         .10000E-03   10000.    
     2 'Index     '    5.1654       1.0000          .0000       10.000    
     3 'Normalizat'    .80450       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2233       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=   7925.340     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      270 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55443        2.7442        .59352E-02    .14690E-02
   2  Index         5.1663        1.8805        .75063E-01    .26897E-03
   3  Normalizat    .80446        .68957E-01    .84788E-01    .44960E-04
   4  Prefactor     1.2233        .42361E-01    .34102E-01   -.16406E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.55443
  Index      = 5.1663
  Normalizat = 0.804464
  Prefactor  = 1.22327
 **********
 **   18 **HESSE 
 **********

 FCN=   7925.340     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      303 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55443        4.6001        .26582E-04   -1.5559    
   2  Index         5.1663        2.5840        .30938E-02    .33265E-01
   3  Normalizat    .80446        .23833        .37545E-03   -.99903    
   4  Prefactor     1.2233        .14239        .19153E-03   -.85618    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.56402e-10
Minuit parameter uncertainties:
  1  3.19406
  2  2.71576
  3  0.238638
  4  0.14243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808363': 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) = 7925.33965295
delta logL = 3.55624500469

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  5.544e-01  3.194e+00  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  5.166e+00  2.716e+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.223e+00  1.424e-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:  8.045e-01  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.37
Ra Dec: 222.624 9.182
Photon Index (Free Index): 5.17 +/- 2.72
Photon Flux (Free Index): 2.16e-07 +/- 9.40e-08
Energy Flux (Free Index): 2.84e-05 +/- 1.47e-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/808363/cmap_HighResolution_346896001_347155201_4FGL_J1450.4+0910_daily_bin415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', energy_flux2='2.84e-05', dlogl='3.56e+00', photon_flux2='2.16e-07', job_status='DONE', time_completed='2021-09-10 11:01:02.444025', photon_index_error2='2.72', photon_index2='5.17', ts='0.17', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.47e-05', EG='1.06', time_epoch_completed='1631296862.44', return_code='0', job_id='808363', GAL2='1.22', EG2='0.80', return_code2='102', photon_flux_error2='9.40e-08', ts2='8.37', photon_index='2.39' WHERE bin_id='415' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:01:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 808363: <4FGL_J1450.4+0910_daily_bin415> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin415> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 10:46:22 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:46:23 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:46:23 2021
Terminated at Fri Sep 10 11:01:05 2021
Results reported at Fri Sep 10 11:01:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin415 222.624 9.1818 346896001 347155201 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 :                                   663.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            883 sec.

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

