/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 2 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 = 7407
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1446.3+3111_daily_bin461
RA = 221.591, Dec = 31.1955
tmin = 358819201, tmax = 359078401
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='770758', job_status='RUN', time_executed='2021-09-10 08:51:26.504013', time_epoch_executed='1631289086.5' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/770758

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/770758/ft1_4FGL_J1446.3+3111_daily_bin461.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/770758/ft1_4FGL_J1446.3+3111_daily_bin461.fits outfile=/scratch/kocevski/770758/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin461.fits ra=221.591 dec=31.1955 rad=12.0 tmin=358819201.0 tmax=359078401.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 5.33
user 5.06
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.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/770758/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin461.fits evtable="EVENTS" outfile="/scratch/kocevski/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.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.52
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.fits" evtable="EVENTS" scfile=/scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits sctable="SC_DATA" outfile=/scratch/kocevski/770758/ltcube_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.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/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits
.....................!
real 12.02
user 11.62
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.fits evtable="EVENTS" scfile=/scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits sctable="SC_DATA" expcube=/scratch/kocevski/770758/ltcube_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.fits outfile=/scratch/kocevski/770758/expmap_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.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/770758/ltcube_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.fits
.....................!
real 191.46
user 185.22
sys 4.87

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.fits scfile=/scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits outfile=/scratch/kocevski/770758/cmap_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.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=221.591 yref=31.1955 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.fits scfile=/scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits outfile=/scratch/kocevski/770758/cmap_HighResolution_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.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=221.591 yref=31.1955 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.fits evtable="EVENTS" scfile=/scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/770758/Model_4FGL_J1446.3+3111_daily_bin461.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/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.fits.....................!
real 51.61
user 50.02
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.fits', '/scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits', expMap='/scratch/kocevski/770758/expmap_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.fits', expCube='/scratch/kocevski/770758/ltcube_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/770758/Model_4FGL_J1446.3+3111_daily_bin461.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/770758/ft1_filtered_4FGL_J1446.3+3111_daily_bin461.fits
Spacecraft file(s): /scratch/kocevski/770758/ft2_4FGL_J1446.3+3111_daily_bin461.fits
Exposure map: /scratch/kocevski/770758/expmap_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.fits
Exposure cube: /scratch/kocevski/770758/ltcube_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/770758/Model_4FGL_J1446.3+3111_daily_bin461.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) = 6467.90347265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7937       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    27.009       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.977       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8581       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .59634       1.0000         .10000E-03   10000.    
     7 'norm      '    .10310E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.297       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.273       1.0000         .10000E-03   10000.    
    10 'norm      '    2.3873       1.0000         .10000E-03   10000.    
    11 'norm      '    12.342       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.499       1.0000         .10000E-03   10000.    
    15 'norm      '    .49002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12250E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5362       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10782E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .68042       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.5807       1.0000         .10000E-03   10000.    
    22 'norm      '    4.0510       1.0000         .10000E-03   10000.    
    23 'Prefactor '    27.007       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1130       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .80297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6467.870     FROM MIGRAD    STATUS=CONVERGED    640 CALLS     2830 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7952        5.4535        .22623E-07   -.23869E-03
   2  Prefactor     .10000E-03    7.4094       -.24205E-07** at limit **
   3  norm          27.011        6.7394       -.57212E-07   -.61173E-05
   4  Prefactor     12.978        13.931       -.87828E-07   -.33229E-04
   5  Prefactor     9.8590        14.945       -.45991E-06   -.21761E-04
   6  Prefactor     .59659        2.2250       -.16565E-06   -.34124E-04
   7  norm          .10000E-03    10.720        .23219E-05** at limit **
   8  norm          10.296        3.5503        .15640E-07    .14055E-04
   9  Prefactor     20.278        19.276        .36373E-05    .11073E-04
  10  norm          2.3871        2.9826       -.45454E-07   -.30802E-04
  11  norm          12.343        6.7959       -.63128E-07    .41024E-05
  12  Prefactor     .10000E-03    14.625        .64515E-06** at limit **
  13  norm          .10000E-03    1.7224        .69531E-07** at limit **
  14  Prefactor     19.489        27.532       -.12627E-04    .24250E-06
  15  norm          .10000E-03    5.3120        .14264E-06** at limit **
  16  Prefactor     .10000E-03    22.711       -.21987E-06** at limit **
  17  Prefactor     1.5296        1.9894        .22899E-06   -.11118E-02
  18  Prefactor     .10001E-03    4.9608        .54364E-06** at limit **
  19  norm          .68320        1.2651       -.25497E-06   -.38363E-03
  20  Prefactor     .10000E-03    14.123       -.77440E-06** at limit **
  21  Prefactor     3.5795        9.1877       -.38037E-06   -.29456E-03
  22  norm          4.0509        1.8372       -.18159E-06    .14247E-03
  23  Prefactor     27.011        14.073        .74119E-06    .26403E-04
  24  Prefactor     .10000E-03    11.723       -.16129E-05** at limit **
  25  Prefactor     .10000E-03    13.212       -.24323E-05** at limit **
  26  Normalizat    1.1125        .17845        .13501E-05   -.65763E-04
  27  Prefactor     .80347        .15963       -.13569E-06    .18433E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.79518
  Prefactor  = 0.0001
  norm       = 27.0113
  Prefactor  = 12.978
  Prefactor  = 9.85897
  Prefactor  = 0.59659
  norm       = 0.0001
  norm       = 10.2963
  Prefactor  = 20.2783
  norm       = 2.38707
  norm       = 12.3427
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.4894
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.52956
  Prefactor  = 0.000100005
  norm       = 0.683202
  Prefactor  = 0.0001
  Prefactor  = 3.57953
  norm       = 4.05092
  Prefactor  = 27.011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11254
  Prefactor  = 0.803468
 **********
 **   18 **HESSE 
 **********

 FCN=   6467.870     FROM HESSE     STATUS=OK           498 CALLS     3328 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7952        5.5021        .83429E-03   -1.5226    
   2  Prefactor     .10000E-03    7.4219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          27.011        6.7440        .77085E-04   -1.4668    
   4  Prefactor     12.978        13.940        .11119E-03   -1.4987    
   5  Prefactor     9.8590        14.959        .12763E-03   -1.5080    
   6  Prefactor     .59659        2.1702        .22249E-03   -1.5553    
   7  norm          .10000E-03    10.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.296        3.5508        .85811E-04   -1.5066    
   9  Prefactor     20.278        19.315        .88955E-04   -1.4807    
  10  norm          2.3871        2.9700        .15007E-03   -1.5399    
  11  norm          12.343        6.7749        .11402E-03   -1.5005    
  12  Prefactor     .10000E-03    14.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.7428        .10305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.489        27.579        .90703E-04   -1.4825    
  15  norm          .10000E-03    14.621        .35907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.545        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5296        5.2459        .16048E-02   -1.5461    
  18  Prefactor     .10001E-03    14.921        .34400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .68320        1.1330        .11438E-02   -1.5543    
  20  Prefactor     .10000E-03    14.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.5795        9.6030        .10678E-02   -1.5330    
  22  norm          4.0509        1.8514        .57494E-04   -1.5305    
  23  Prefactor     27.011        14.201        .77087E-04   -1.4668    
  24  Prefactor     .10000E-03    11.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    13.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1125        .20705        .24378E-03   -.89350    
  27  Prefactor     .80347        .18407        .26237E-03   -.99601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7079e-09
Minuit parameter uncertainties:
  1  5.50258
  2  2.63064e-06
  3  6.74421
  4  13.9438
  5  14.9648
  6  2.17053
  7  1.06107e-06
  8  3.55085
  9  19.3205
  10  2.97019
  11  6.77531
  12  1.20764e-05
  13  6.95041e-08
  14  27.5967
  15  8.08465e-05
  16  8.4882e-05
  17  5.24751
  18  0.0005657
  19  1.13299
  20  9.45967e-07
  21  9.60714
  22  1.85139
  23  14.203
  24  9.92698e-06
  25  2.50464e-06
  26  0.207198
  27  0.184207
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.949e+01  2.760e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  8.035e-01  1.842e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.113e+00  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.78
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 9.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/770758/likelihoodResults_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.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) = 6467.86997397
delta logL = 9.9400957879e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6467.86996769
delta logL = 0.000105679549961

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.489       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5711       1.0000          .0000       10.000    
     3 'Normalizat'    1.1120       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80375       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6467.870     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      188 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.349        31.031        .22681E-02    .11235E-03
   2  Index         2.5736        1.1843        .23293E-01    .48805E-04
   3  Normalizat    1.1121        .16955        .55142E-01    .26339E-03
   4  Prefactor     .80371        .15600        .43766E-01   -.55340E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3491
  Index      = 2.57364
  Normalizat = 1.11208
  Prefactor  = 0.803711
 **********
 **   18 **HESSE 
 **********

 FCN=   6467.870     FROM HESSE     STATUS=OK            27 CALLS      215 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.349        28.906        .90725E-04   -1.4828    
   2  Index         2.5736        1.1083        .93171E-03   -.50668    
   3  Normalizat    1.1121        .19699        .24382E-03   -.89365    
   4  Prefactor     .80371        .18073        .26234E-03   -.99592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11889e-10
Minuit parameter uncertainties:
  1  28.9266
  2  1.12054
  3  0.197119
  4  0.180868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/770758': 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) = 6467.86995561
delta logL = 0.000117765407595

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.935e+01  2.893e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.574e+00  1.121e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  8.037e-01  1.809e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.112e+00  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.78
Ra Dec: 221.591 31.195

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/770758/cmap_HighResolution_358819201_359078401_4FGL_J1446.3+3111_daily_bin461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-03', job_status='DONE', photon_flux_upper_limit='9.69e-08', time_completed='2021-09-10 09:03:29.487768', job_id='770758', GAL2='0.80', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1631289809.49', return_code2='0', ts='0.78', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.18e-04', ts2='0.78', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='461' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:03:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 770758: <4FGL_J1446.3+3111_daily_bin461> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin461> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 08:51:13 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:51:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 08:51:15 2021
Terminated at Fri Sep 10 09:03:30 2021
Results reported at Fri Sep 10 09:03:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin461 221.591 31.1955 358819201 359078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.3+3111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   714.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            737 sec.

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

