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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin358
RA = 222.624, Dec = 9.1818
tmin = 332121601, tmax = 332380801
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='806824', job_status='RUN', time_executed='2021-09-10 10:45:42.813712', time_epoch_executed='1631295942.81' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='358'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806824

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806824/ft1_4FGL_J1450.4+0910_daily_bin358.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806824/ft2_4FGL_J1450.4+0910_daily_bin358.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806824/ft1_4FGL_J1450.4+0910_daily_bin358.fits outfile=/scratch/kocevski/806824/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin358.fits ra=222.624 dec=9.1818 rad=12.0 tmin=332121601.0 tmax=332380801.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.26
user 3.06
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/806824/ft1_filtered_4FGL_J1450.4+0910_daily_bin358.fits" evtable="EVENTS" scfile=/scratch/kocevski/806824/ft2_4FGL_J1450.4+0910_daily_bin358.fits sctable="SC_DATA" outfile=/scratch/kocevski/806824/ltcube_332121601_332380801_4FGL_J1450.4+0910_daily_bin358.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/806824/ft2_4FGL_J1450.4+0910_daily_bin358.fits
.....................!
real 11.82
user 11.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806824/ft1_filtered_4FGL_J1450.4+0910_daily_bin358.fits evtable="EVENTS" scfile=/scratch/kocevski/806824/ft2_4FGL_J1450.4+0910_daily_bin358.fits sctable="SC_DATA" expcube=/scratch/kocevski/806824/ltcube_332121601_332380801_4FGL_J1450.4+0910_daily_bin358.fits outfile=/scratch/kocevski/806824/expmap_332121601_332380801_4FGL_J1450.4+0910_daily_bin358.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/806824/ltcube_332121601_332380801_4FGL_J1450.4+0910_daily_bin358.fits
.....................!
real 190.06
user 184.45
sys 5.17

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/806824/ft1_filtered_4FGL_J1450.4+0910_daily_bin358.fits scfile=/scratch/kocevski/806824/ft2_4FGL_J1450.4+0910_daily_bin358.fits outfile=/scratch/kocevski/806824/cmap_332121601_332380801_4FGL_J1450.4+0910_daily_bin358.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806824/ft1_filtered_4FGL_J1450.4+0910_daily_bin358.fits scfile=/scratch/kocevski/806824/ft2_4FGL_J1450.4+0910_daily_bin358.fits outfile=/scratch/kocevski/806824/cmap_HighResolution_332121601_332380801_4FGL_J1450.4+0910_daily_bin358.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15333E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .36429       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11684E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10925E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10857E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18481E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.9001       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.479       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4574       1.0000         .10000E-03   10000.    
    16 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .13421E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.5370       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9073       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.308       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6129       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70144       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=   6530.740     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2953 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    70.396       -.24982E-05** at limit **
   2  Prefactor     .10000E-03    11.036       -.35966E-05** at limit **
   3  norm          .10000E-03    8.8801        .25782E-05** at limit **
   4  Prefactor     .35712        5.2664       -.41926E-06   -.46016E-03
   5  Prefactor     .10001E-03    3.5176        .32982E-05** at limit **
   6  norm          .10000E-03    1.4136        .57107E-06** at limit **
   7  Prefactor     .10000E-03    32.461       -.14178E-04** at limit **
   8  Prefactor     .10000E-03    44.807        .32070E-04** at limit **
   9  norm          2.8992        14.051       -.10885E-05   -.46582E-03
  10  Prefactor     .10000E-03    33.693       -.90576E-05** at limit **
  11  Prefactor     .10000E-03    20.719        .66371E-05** at limit **
  12  Prefactor     .10000E-03    7.3759       -.62340E-05** at limit **
  13  Prefactor     15.480        20.109        .19392E-05   -.54882E-05
  14  Prefactor     .10000E-03    12.693        .10220E-05** at limit **
  15  norm          1.4574        .26670        .26690E-07   -.25610E-02
  16  norm          .10000E-03    1.0361       -.13617E-06** at limit **
  17  norm          .10000E-03    4.3847       -.65866E-07** at limit **
  18  norm          .10000E-03    35.242       -.36620E-05** at limit **
  19  norm          7.5375        4.8630       -.12649E-05   -.96692E-03
  20  Prefactor     1.9765        249.63        .29287E-03   -.45409E-06
  21  Prefactor     13.307        35.083        .15870E-05   -.24728E-04
  22  Normalizat    1.6130        .22109       -.72999E-06   -.12327E-02
  23  Prefactor     .70144        .13425       -.62106E-05   -.11156E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.35712
  Prefactor  = 0.000100008
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.89921
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4804
  Prefactor  = 0.0001
  norm       = 1.4574
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.53745
  Prefactor  = 1.97648
  Prefactor  = 13.3072
  Normalizat = 1.61299
  Prefactor  = 0.701436
 **********
 **   18 **HESSE 
 **********

 FCN=   6530.740     FROM HESSE     STATUS=OK           364 CALLS     3317 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    71.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.8878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .35712        18.783        .34813E-02   -1.5588    
   5  Prefactor     .10001E-03    7.2388        .28624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.120        .18558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    44.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8992        13.893        .23861E-03   -1.5367    
  10  Prefactor     .10000E-03    33.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.3890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.480        20.124        .10180E-03   -1.4921    
  14  Prefactor     .10000E-03    12.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4574        .26719        .17091E-04   -1.5467    
  16  norm          .10000E-03    1.0535        .80238E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.4634        .16525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    35.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.5375        4.8637        .13743E-03   -1.5159    
  20  Prefactor     1.9765        244.12        .30106E-03   -1.5427    
  21  Prefactor     13.307        35.081        .10980E-03   -1.4978    
  22  Normalizat    1.6130        .26514        .25993E-03   -.74651    
  23  Prefactor     .70144        .16115        .22869E-03   -1.0347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.78751e-09
Minuit parameter uncertainties:
  1  0.00073784
  2  4.26757e-05
  3  1.81753e-05
  4  5.18087
  5  0.000493597
  6  0.000178078
  7  8.00663e-05
  8  0.000212512
  9  12.6978
  10  0.000231534
  11  8.42242e-05
  12  2.70518e-05
  13  20.1323
  14  1.53189e-05
  15  0.267194
  16  1.72634e-05
  17  5.6091e-06
  18  7.55545e-05
  19  4.86393
  20  44.1156
  21  35.1351
  22  0.265376
  23  0.161253
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  8.422e-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:  7.014e-01  1.613e-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.613e+00  2.654e-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: 8.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/806824/likelihoodResults_332121601_332380801_4FGL_J1450.4+0910_daily_bin358.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) = 6530.74047358
delta logL = -0.000228246666666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6530.7401998
delta logL = 4.5538008635e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13875E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2571       1.0000          .0000       10.000    
     3 'Normalizat'    1.6130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70144       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6530.700     FROM MIGRAD    STATUS=CONVERGED    120 CALLS      312 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93548        45.487        .25339E-03    .20504E-04
   2  Index         3.7061        6.8491        .12073E-01    .10546E-04
   3  Normalizat    1.5897        .27237        .26141E-03   -.20179E-04
   4  Prefactor     .70969        .16146        .22745E-03   -.13795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.935484
  Index      = 3.70615
  Normalizat = 1.58969
  Prefactor  = 0.709692
 **********
 **   18 **HESSE 
 **********

 FCN=   6530.700     FROM HESSE     STATUS=OK            25 CALLS      337 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93548        7.4158        .10136E-04   -1.5515    
   2  Index         3.7061        2.3358        .48292E-03   -.26175    
   3  Normalizat    1.5897        .27196        .10456E-04   -.75288    
   4  Prefactor     .70969        .16171        .90980E-05   -1.0315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75734e-12
Minuit parameter uncertainties:
  1  5.26839
  2  2.43804
  3  0.272212
  4  0.161813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806824': 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) = 6530.69981984
delta logL = 0.0404254926834

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  9.355e-01  5.268e+00  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  3.706e+00  2.438e+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:  7.097e-01  1.618e-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.590e+00  2.722e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/806824/cmap_HighResolution_332121601_332380801_4FGL_J1450.4+0910_daily_bin358.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', job_status='DONE', photon_flux_upper_limit='8.78e-08', time_completed='2021-09-10 10:56:12.830588', job_id='806824', GAL2='0.71', fit_tolerance='1e-08', EG2='1.59', EG='1.61', time_epoch_completed='1631296572.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='4.04e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='358' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:56:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 806824: <4FGL_J1450.4+0910_daily_bin358> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin358 222.624 9.1818 332121601 332380801 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 :                                   632.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

