aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 150 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 = 17484
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1450.4+0910_weekly_bin717
RA = 222.624, Dec = 9.1818
tmin = 672624001, tmax = 673228801
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='374639', job_status='RUN', time_executed='2022-05-03 01:32:22.186260', time_epoch_executed='1651566742.19' WHERE source_name='4FGL J1450.4+0910' and cadence='weekly' and bin_id='717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/374639

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/374639/ft1_4FGL_J1450.4+0910_weekly_bin717.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/374639/ft2_4FGL_J1450.4+0910_weekly_bin717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/374639/ft1_4FGL_J1450.4+0910_weekly_bin717.fits outfile=/scratch/kocevski/374639/ft1_filteredMKT_4FGL_J1450.4+0910_weekly_bin717.fits ra=222.624 dec=9.1818 rad=12.0 tmin=672624001.0 tmax=673228801.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 6.29
user 6.01
sys 0.25

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

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

Number of photons that the gtmktime cut: 468

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/374639/ft1_filtered_4FGL_J1450.4+0910_weekly_bin717.fits" evtable="EVENTS" scfile=/scratch/kocevski/374639/ft2_4FGL_J1450.4+0910_weekly_bin717.fits sctable="SC_DATA" outfile=/scratch/kocevski/374639/ltcube_672624001_673228801_4FGL_J1450.4+0910_weekly_bin717.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/374639/ft2_4FGL_J1450.4+0910_weekly_bin717.fits
.....................!
real 36.33
user 35.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/374639/ft1_filtered_4FGL_J1450.4+0910_weekly_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/374639/ft2_4FGL_J1450.4+0910_weekly_bin717.fits sctable="SC_DATA" expcube=/scratch/kocevski/374639/ltcube_672624001_673228801_4FGL_J1450.4+0910_weekly_bin717.fits outfile=/scratch/kocevski/374639/expmap_672624001_673228801_4FGL_J1450.4+0910_weekly_bin717.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/374639/ltcube_672624001_673228801_4FGL_J1450.4+0910_weekly_bin717.fits
.....................!
real 193.18
user 187.07
sys 5.66

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/374639/ft1_filtered_4FGL_J1450.4+0910_weekly_bin717.fits scfile=/scratch/kocevski/374639/ft2_4FGL_J1450.4+0910_weekly_bin717.fits outfile=/scratch/kocevski/374639/cmap_672624001_673228801_4FGL_J1450.4+0910_weekly_bin717.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.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/374639/ft1_filtered_4FGL_J1450.4+0910_weekly_bin717.fits scfile=/scratch/kocevski/374639/ft2_4FGL_J1450.4+0910_weekly_bin717.fits outfile=/scratch/kocevski/374639/cmap_HighResolution_672624001_673228801_4FGL_J1450.4+0910_weekly_bin717.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.58
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5746.83343678

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    166.02       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .39321E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    56.573       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3672       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2380       1.0000         .10000E-03   10000.    
     6 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    59.950       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.102       1.0000         .10000E-03   10000.    
     9 'norm      '    .22541E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .38921E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    99.772       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    46.121       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3106       1.0000         .10000E-03   10000.    
    15 'norm      '    .23308       1.0000         .10000E-03   10000.    
    16 'norm      '    .30741E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10195E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .17023E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    .28125E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    181.48       1.0000         .10000E-03   10000.    
    21 'Prefactor '    49.104       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .24477E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3442       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=   5746.830     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1955 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     166.57        23.627       -.40533E-06   -.33412E-02
   2  Prefactor     .10000E-03    11.845        .76806E-06** at limit **
   3  norm          56.525        4.0463       -.27475E-06    .74401E-02
   4  Prefactor     1.3602        3.2410        .40744E-06    .12646E-03
   5  Prefactor     1.2471        3.2705       -.39991E-06   -.63095E-04
   6  norm          .10000E-03    2.0582        .19788E-06** at limit **
   7  Prefactor     62.057        54.332        .79950E-06   -.24176E-01
   8  Prefactor     24.219        30.425       -.53252E-07   -.21059E-02
   9  norm          .10000E-03    27.837        .54479E-05** at limit **
  10  Prefactor     .10000E-03    11.374       -.62188E-06** at limit **
  11  Prefactor     100.64        32.866       -.69722E-06    .11481E-01
  12  Prefactor     17.516        20.206       -.59612E-06   -.19738E-03
  13  Prefactor     44.814        36.251       -.43962E-06    .82302E-03
  14  Prefactor     8.7691        90.640        .82239E-05   -.54698E-03
  15  norm          .23249        .23389        .44996E-07    .76574E-03
  16  norm          .10000E-03    11.179       -.10262E-05** at limit **
  17  norm          .10000E-03    3.0075       -.16416E-06** at limit **
  18  norm          .10000E-03    10.276        .52542E-06** at limit **
  19  norm          .10000E-03    7.9544       -.28982E-06** at limit **
  20  Prefactor     176.13        123.83       -.19482E-05   -.17124E-01
  21  Prefactor     49.925        38.858        .89372E-06   -.21237E-02
  22  Normalizat    .24985E-01    1.2959        .19482E-04    .28087E-04
  23  Prefactor     1.3442        .17960       -.71894E-06    .27695E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 166.568
  Prefactor  = 0.0001
  norm       = 56.5251
  Prefactor  = 1.36024
  Prefactor  = 1.24705
  norm       = 0.0001
  Prefactor  = 62.0575
  Prefactor  = 24.219
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 100.641
  Prefactor  = 17.5157
  Prefactor  = 44.8138
  Prefactor  = 8.76914
  norm       = 0.232494
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 176.128
  Prefactor  = 49.925
  Normalizat = 0.024985
  Prefactor  = 1.34421
 **********
 **   18 **HESSE 
 **********

 FCN=   5746.830     FROM HESSE     STATUS=NOT POSDEF   420 CALLS     2375 TOTAL
                     EDM=   .41E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     166.57        95.634        .78263E-03   -1.3120    
   2  Prefactor     .10000E-03    10.081        .10636E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          56.525        38.412        .13334E-02   -1.4203    
   4  Prefactor     1.3602        3.4049        .93272E-02   -1.5475    
   5  Prefactor     1.2471        4.6565        .10083E-01   -1.5485    
   6  norm          .10000E-03    1.7635        .29858E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     62.057        182.60        .12955E-02   -1.4131    
   8  Prefactor     24.219        51.207        .20834E-02   -1.4723    
   9  norm          .10000E-03    23.454        .10059E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.7113        .10638E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     100.64        68.280        .10062E-02   -1.3698    
  12  Prefactor     17.516        28.028        .23572E-02   -1.4871    
  13  Prefactor     44.814        55.094        .14760E-02   -1.4368    
  14  Prefactor     8.7691        108.44        .37086E-02   -1.5116    
  15  norm          .23249        .33070        .77728E-02   -1.5612    
  16  norm          .10000E-03    9.3798        .10690E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.5525        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.6951        .10184E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.7683        .10708E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     176.13        143.66        .74915E-03   -1.3046    
  21  Prefactor     49.925        84.383        .14306E-02   -1.4294    
  22  Normalizat    .24985E-01    9.1109        .24527       -1.4933    
  23  Prefactor     1.3442        .78439        .31880E-01   -.82002    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.05009e-05
Minuit parameter uncertainties:
  1  95.7229
  2  5.50717e-05
  3  38.4292
  4  3.4054
  5  4.65781
  6  5.68738e-06
  7  184.287
  8  51.3003
  9  0.000595636
  10  3.88785e-05
  11  68.3329
  12  28.0491
  13  55.1567
  14  61.8118
  15  0.330703
  16  6.52575e-05
  17  5.64315e-06
  18  3.46094e-05
  19  1.61009e-05
  20  143.948
  21  84.5856
  22  0.911331
  23  0.791477
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5746.83037165

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.006e+02  6.833e+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.344e+00  7.915e-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:  2.498e-02  9.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.53
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.87e-07 +/- 1.27e-07
Energy Flux (Fixed Index): 6.18e-05 +/- 4.20e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5746.82625953
delta logL = 0.0041121219183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5746.82220073
delta logL = 0.00817091607041

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    95.362       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4513       1.0000          .0000       10.000    
     3 'Normalizat'    .19183E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3471       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5746.822     FROM MIGRAD    STATUS=FAILED        87 CALLS      276 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     95.360        65.239        .41158E-04    .23081E-03
   2  Index         2.4516        .52768        .47847E-02    .13656E-03
   3  Normalizat    .18100E-01    8.9346        .11279E-01    .23275E-03
   4  Prefactor     1.3477        .40859        .17375E-03   -.51382E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5746.822     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      349 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     95.360        65.239        .24846E-03   -1.3752    
   2  Index         2.4516        .52768        .22445E-03   -.53482    
   3  Normalizat    .18100E-01    8.9346        .27597E-02   -1.5138    
   4  Prefactor     1.3477        .40859        .47274E-04   -.81900    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5746.822     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      380 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     95.360        61.506        .82317E-05    .20937E-03
   2  Index         2.4516        .46052        .19139E-03    .11637E-03
   3  Normalizat    .18094E-01    6.1801        .22559E-02   -.12478E-04
   4  Prefactor     1.3477        .19680        .34749E-04   -.23654E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 95.3597
  Index      = 2.45155
  Normalizat = 0.0180945
  Prefactor  = 1.34769
 **********
 **   18 **HESSE 
 **********

 FCN=   5746.822     FROM HESSE     STATUS=OK            23 CALLS      403 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     95.360        61.438        .16463E-05   -1.3752    
   2  Index         2.4516        .45806        .76556E-05   -.53482    
   3  Normalizat    .18094E-01    2.2425        .90235E-04   -1.5139    
   4  Prefactor     1.3477        .18097        .69498E-05   -.81900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7112e-10
Minuit parameter uncertainties:
  1  61.4791
  2  0.458926
  3  0.280851
  4  0.181053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/374639': 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) = 5746.82219301
delta logL = 0.00817864075634

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  1.348e+00  1.811e-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.809e-02  2.809e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.52
Ra Dec: 222.624 9.182
Photon Index (Free Index): 2.45 +/- 0.46
Photon Flux (Free Index): 1.95e-07 +/- 1.07e-07
Energy Flux (Free Index): 5.98e-05 +/- 3.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/374639/cmap_HighResolution_672624001_673228801_4FGL_J1450.4+0910_weekly_bin717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.87e-07', energy_flux2='5.98e-05', photon_flux_error='1.27e-07', dlogl='8.18e-03', energy_flux='6.18e-05', photon_flux2='1.95e-07', job_status='DONE', time_completed='2022-05-03 01:41:19.093877', photon_index_error2='0.46', photon_index2='2.45', ts='7.53', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', energy_flux_error2='3.15e-05', EG='0.02', time_epoch_completed='1651567279.09', return_code='102', job_id='374639', GAL2='1.35', EG2='0.02', return_code2='0', energy_flux_error='4.20e-05', photon_flux_error2='1.07e-07', ts2='7.52', photon_index='2.39' WHERE bin_id='717' AND source_name='4FGL J1450.4+0910' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May  3 01:41:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 374639: <4FGL_J1450.4+0910_weekly_bin717> in cluster <slac> Done

Job <4FGL_J1450.4+0910_weekly_bin717> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue May  3 01:25:33 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 01:29:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 01:29:43 2022
Terminated at Tue May  3 01:41:19 2022
Results reported at Tue May  3 01:41:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_weekly_bin717 222.624 9.1818 672624001 673228801 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 :                                   538.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             277.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            946 sec.

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

