/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 166 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7391
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1469
RA = 221.591, Dec = 31.1955
tmin = 620092801, tmax = 620352001
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='776669', job_status='RUN', time_executed='2021-09-10 09:14:07.772377', time_epoch_executed='1631290447.77' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776669

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776669/ft1_4FGL_J1446.3+3111_daily_bin1469.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776669/ft1_4FGL_J1446.3+3111_daily_bin1469.fits outfile=/scratch/kocevski/776669/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1469.fits ra=221.591 dec=31.1955 rad=12.0 tmin=620092801.0 tmax=620352001.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.41
user 3.21
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.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/776669/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1469.fits evtable="EVENTS" outfile="/scratch/kocevski/776669/ft1_filtered_4FGL_J1446.3+3111_daily_bin1469.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776669/ft1_filtered_4FGL_J1446.3+3111_daily_bin1469.fits" evtable="EVENTS" scfile=/scratch/kocevski/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.fits sctable="SC_DATA" outfile=/scratch/kocevski/776669/ltcube_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.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/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.fits
.....................!
real 11.60
user 11.23
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776669/ft1_filtered_4FGL_J1446.3+3111_daily_bin1469.fits evtable="EVENTS" scfile=/scratch/kocevski/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.fits sctable="SC_DATA" expcube=/scratch/kocevski/776669/ltcube_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.fits outfile=/scratch/kocevski/776669/expmap_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.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/776669/ltcube_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.fits
.....................!
real 190.04
user 185.45
sys 4.23

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/776669/ft1_filtered_4FGL_J1446.3+3111_daily_bin1469.fits scfile=/scratch/kocevski/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.fits outfile=/scratch/kocevski/776669/cmap_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776669/ft1_filtered_4FGL_J1446.3+3111_daily_bin1469.fits scfile=/scratch/kocevski/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.fits outfile=/scratch/kocevski/776669/cmap_HighResolution_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776669/ft1_filtered_4FGL_J1446.3+3111_daily_bin1469.fits', '/scratch/kocevski/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.fits', expMap='/scratch/kocevski/776669/expmap_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.fits', expCube='/scratch/kocevski/776669/ltcube_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776669/Model_4FGL_J1446.3+3111_daily_bin1469.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/776669/ft1_filtered_4FGL_J1446.3+3111_daily_bin1469.fits
Spacecraft file(s): /scratch/kocevski/776669/ft2_4FGL_J1446.3+3111_daily_bin1469.fits
Exposure map: /scratch/kocevski/776669/expmap_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.fits
Exposure cube: /scratch/kocevski/776669/ltcube_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776669/Model_4FGL_J1446.3+3111_daily_bin1469.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) = 6180.44395804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1344       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.6245       1.0000         .10000E-03   10000.    
     7 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.9974       1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.623       1.0000         .10000E-03   10000.    
    10 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.8287       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.2356       1.0000         .10000E-03   10000.    
    13 'norm      '    8.6664       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.508       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.551       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.437       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2961       1.0000         .10000E-03   10000.    
    19 'norm      '    3.3499       1.0000         .10000E-03   10000.    
    20 'Prefactor '    118.40       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .43770       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.600       1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.983       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .75100       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1268       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=   6180.425     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     3228 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9578        .56267E-06** at limit **
   2  Prefactor     .10000E-03    10.809        .77325E-06** at limit **
   3  norm          .10000E-03    2.1010        .10643E-06** at limit **
   4  Prefactor     4.1432        12.149        .15265E-05    .12222E-03
   5  Prefactor     .10000E-03    16.548        .14509E-05** at limit **
   6  Prefactor     9.6268        4.3337       -.16678E-06   -.31176E-03
   7  norm          .10000E-03    8.9284       -.10677E-05** at limit **
   8  norm          8.9974        3.4000       -.13484E-08   -.26825E-04
   9  Prefactor     37.630        28.596        .14268E-05    .20649E-03
  10  norm          .10000E-03    1.7012        .40594E-07** at limit **
  11  norm          3.8294        4.5758       -.13214E-06   -.96033E-04
  12  Prefactor     9.2383        36.802        .14599E-05    .33187E-04
  13  norm          8.6666        4.6543       -.41530E-07   -.23048E-04
  14  Prefactor     29.492        32.398       -.43809E-05   -.34718E-03
  15  norm          .10000E-03    2.9984       -.47099E-06** at limit **
  16  Prefactor     11.553        10.341        .13358E-06    .12612E-04
  17  Prefactor     11.438        7.0442       -.18180E-07   -.68900E-06
  18  Prefactor     5.2929        8.5867        .45390E-05   -.35221E-03
  19  norm          3.3503        1.7431        .12857E-07   -.27680E-04
  20  Prefactor     118.40        71.695       -.34139E-07   -.15924E-04
  21  Prefactor     .10000E-03    1.7734       -.29694E-07** at limit **
  22  norm          .44042        1.5803        .14851E-06    .55735E-04
  23  Prefactor     15.577        13.817       -.50811E-06   -.61055E-03
  24  Prefactor     20.978        29.035       -.73948E-06   -.11787E-03
  25  Prefactor     .10000E-03    7.9628        .63850E-06** at limit **
  26  Normalizat    .75059        .18205        .17210E-05   -.13278E-03
  27  Prefactor     1.1271        .16747       -.13640E-05    .27561E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.14325
  Prefactor  = 0.0001
  Prefactor  = 9.62683
  norm       = 0.000100001
  norm       = 8.99744
  Prefactor  = 37.6296
  norm       = 0.0001
  norm       = 3.82945
  Prefactor  = 9.23832
  norm       = 8.66659
  Prefactor  = 29.492
  norm       = 0.0001
  Prefactor  = 11.5528
  Prefactor  = 11.438
  Prefactor  = 5.2929
  norm       = 3.35026
  Prefactor  = 118.399
  Prefactor  = 0.0001
  norm       = 0.440418
  Prefactor  = 15.5769
  Prefactor  = 20.9782
  Prefactor  = 0.0001
  Normalizat = 0.750594
  Prefactor  = 1.12712
 **********
 **   18 **HESSE 
 **********

 FCN=   6180.425     FROM HESSE     STATUS=OK           488 CALLS     3716 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0227        .13207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.1481        .11118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1432        12.146        .19824E-03   -1.5301    
   5  Prefactor     .10000E-03    16.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.6268        4.3496        .10392E-03   -1.5087    
   7  norm          .10000E-03    9.0430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.9974        3.4009        .85925E-04   -1.5108    
   9  Prefactor     37.630        28.743        .65342E-04   -1.4480    
  10  norm          .10000E-03    1.7303        .10010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.8294        4.5686        .17629E-03   -1.5317    
  12  Prefactor     9.2383        36.767        .13188E-03   -1.5100    
  13  norm          8.6666        4.6548        .11999E-03   -1.5119    
  14  Prefactor     29.492        33.393        .73756E-04   -1.4621    
  15  norm          .10000E-03    3.0071        .13308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.553        10.342        .11787E-03   -1.5028    
  17  Prefactor     11.438        7.0464        .11846E-03   -1.5031    
  18  Prefactor     5.2929        8.9858        .87323E-03   -1.5248    
  19  norm          3.3503        1.7428        .69339E-04   -1.5342    
  20  Prefactor     118.40        71.714        .36981E-04   -1.3527    
  21  Prefactor     .10000E-03    1.7752        .10224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .44042        1.4283        .12278E-03   -1.5575    
  23  Prefactor     15.577        12.713        .10141E-03   -1.4918    
  24  Prefactor     20.978        29.030        .87440E-04   -1.4792    
  25  Prefactor     .10000E-03    7.9774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .75059        .20703        .27923E-03   -1.0193    
  27  Prefactor     1.1271        .19121        .22537E-03   -.88604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39873e-09
Minuit parameter uncertainties:
  1  2.00524e-05
  2  3.40946e-05
  3  3.84991e-06
  4  12.1529
  5  5.15249e-05
  6  4.34973
  7  0.000150949
  8  3.40097
  9  28.7531
  10  4.41915e-07
  11  4.56898
  12  36.857
  13  4.65499
  14  33.4146
  15  2.34216e-05
  16  10.344
  17  7.04694
  18  8.98813
  19  1.74285
  20  71.7671
  21  7.69847e-07
  22  1.42842
  23  12.7152
  24  29.049
  25  5.10177e-05
  26  0.207246
  27  0.191327
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.949e+01  3.341e+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:  1.127e+00  1.913e-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:  7.506e-01  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.02
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 3.20e-08 +/- 3.62e-08
Energy Flux (Fixed Index): 8.76e-06 +/- 9.92e-06

TS (Fixed Index): 1.02
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776669/likelihoodResults_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.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) = 6180.28473517
delta logL = 0.140468086935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6180.27546166
delta logL = 0.149741591321

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.174       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2401       1.0000          .0000       10.000    
     3 'Normalizat'    .73079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1404       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=   6180.275     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      281 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.209        412.08        .25705E-02    .30128E-04
   2  Index         3.2394        6.6165        .14951        .11816E-03
   3  Normalizat    .73054        .61423E-01    .63907E-01    .23474E-04
   4  Prefactor     1.1406        .56059E-01    .36222E-01    .27946E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2094
  Index      = 3.23936
  Normalizat = 0.730539
  Prefactor  = 1.14059
 **********
 **   18 **HESSE 
 **********

 FCN=   6180.275     FROM HESSE     STATUS=OK            33 CALLS      314 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.209        79.374        .10282E-03   -1.4928    
   2  Index         3.2394        2.7749        .80468E-02   -.35984    
   3  Normalizat    .73054        .19761        .28272E-03   -1.0270    
   4  Prefactor     1.1406        .18927        .22423E-03   -.88180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.99592e-08
Minuit parameter uncertainties:
  1  69.6358
  2  2.97037
  3  0.197806
  4  0.189386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776669': 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) = 6180.27546001
delta logL = 0.149743246677

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.521e+01  6.964e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.239e+00  2.970e+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:  1.141e+00  1.894e-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:  7.305e-01  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.35
Ra Dec: 221.591 31.195
Photon Index (Free Index): 3.24 +/- 2.97
Photon Flux (Free Index): 4.52e-08 +/- 4.56e-08
Energy Flux (Free Index): 8.16e-06 +/- 1.10e-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/776669/cmap_HighResolution_620092801_620352001_4FGL_J1446.3+3111_daily_bin1469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.55e-03', comment='SUCCESS', photon_flux='3.20e-08', energy_flux2='8.16e-06', photon_flux_error='3.62e-08', dlogl='1.50e-01', energy_flux='8.76e-06', photon_flux2='4.52e-08', job_status='DONE', time_completed='2021-09-10 09:25:54.249722', photon_index_error2='2.97', photon_index2='3.24', ts='1.02', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.10e-05', EG='0.75', time_epoch_completed='1631291154.25', return_code='0', job_id='776669', GAL2='1.14', EG2='0.73', return_code2='0', energy_flux_error='9.92e-06', photon_flux_error2='4.56e-08', ts2='1.35', photon_index='2.56' WHERE bin_id='1469' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:25:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 776669: <4FGL_J1446.3+3111_daily_bin1469> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1469> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 09:11:12 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:11:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:11:13 2021
Terminated at Fri Sep 10 09:25:57 2021
Results reported at Fri Sep 10 09:25:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1469 221.591 31.1955 620092801 620352001 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 :                                   701.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            885 sec.

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

