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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin701
RA = 221.591, Dec = 31.1955
tmin = 421027201, tmax = 421286401
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='773352', job_status='RUN', time_executed='2021-09-10 09:04:29.179915', time_epoch_executed='1631289869.18' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/773352

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/773352/ft1_4FGL_J1446.3+3111_daily_bin701.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/773352/ft2_4FGL_J1446.3+3111_daily_bin701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/773352/ft1_4FGL_J1446.3+3111_daily_bin701.fits outfile=/scratch/kocevski/773352/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin701.fits ra=221.591 dec=31.1955 rad=12.0 tmin=421027201.0 tmax=421286401.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.72
user 3.50
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/773352/ft1_filtered_4FGL_J1446.3+3111_daily_bin701.fits" evtable="EVENTS" scfile=/scratch/kocevski/773352/ft2_4FGL_J1446.3+3111_daily_bin701.fits sctable="SC_DATA" outfile=/scratch/kocevski/773352/ltcube_421027201_421286401_4FGL_J1446.3+3111_daily_bin701.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/773352/ft2_4FGL_J1446.3+3111_daily_bin701.fits
.....................!
real 12.33
user 11.99
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/773352/ft1_filtered_4FGL_J1446.3+3111_daily_bin701.fits evtable="EVENTS" scfile=/scratch/kocevski/773352/ft2_4FGL_J1446.3+3111_daily_bin701.fits sctable="SC_DATA" expcube=/scratch/kocevski/773352/ltcube_421027201_421286401_4FGL_J1446.3+3111_daily_bin701.fits outfile=/scratch/kocevski/773352/expmap_421027201_421286401_4FGL_J1446.3+3111_daily_bin701.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/773352/ltcube_421027201_421286401_4FGL_J1446.3+3111_daily_bin701.fits
.....................!
real 190.55
user 185.89
sys 4.29

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/773352/ft1_filtered_4FGL_J1446.3+3111_daily_bin701.fits scfile=/scratch/kocevski/773352/ft2_4FGL_J1446.3+3111_daily_bin701.fits outfile=/scratch/kocevski/773352/cmap_421027201_421286401_4FGL_J1446.3+3111_daily_bin701.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.55
user 0.41
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/773352/ft1_filtered_4FGL_J1446.3+3111_daily_bin701.fits scfile=/scratch/kocevski/773352/ft2_4FGL_J1446.3+3111_daily_bin701.fits outfile=/scratch/kocevski/773352/cmap_HighResolution_421027201_421286401_4FGL_J1446.3+3111_daily_bin701.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.57
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .35093       1.0000         .10000E-03   10000.    
     3 'norm      '    5.3349       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0061       1.0000         .10000E-03   10000.    
     7 'norm      '    4.2542       1.0000         .10000E-03   10000.    
     8 'norm      '    5.2740       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   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 '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.197       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.562       1.0000         .10000E-03   10000.    
    19 'norm      '    2.0168       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.8195       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.641       1.0000         .10000E-03   10000.    
    25 'Prefactor '    34.231       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3669       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .73133       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=   6631.849     FROM MIGRAD    STATUS=CONVERGED    636 CALLS     3297 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1772        .27927E-05** at limit **
   2  Prefactor     .29593        8.2607       -.28986E-05    .51338E-03
   3  norm          5.3356        3.8307       -.14899E-07    .35860E-04
   4  Prefactor     .10000E-03    4.9461        .69658E-06** at limit **
   5  Prefactor     .10000E-03    5.9796       -.18288E-05** at limit **
   6  Prefactor     3.0061        2.6572        .31292E-06    .38791E-04
   7  norm          4.2568        8.9461       -.25673E-06   -.10346E-03
   8  norm          5.2737        2.6126        .33524E-06   -.27659E-04
   9  Prefactor     .10000E-03    17.922       -.33687E-06** at limit **
  10  norm          .10000E-03    1.4586       -.78070E-08** at limit **
  11  norm          .10000E-03    3.5904        .34245E-06** at limit **
  12  Prefactor     .10000E-03    31.777        .45377E-05** at limit **
  13  norm          .10000E-03    1.6804       -.97993E-08** at limit **
  14  Prefactor     .10000E-03    32.452        .55235E-05** at limit **
  15  norm          .10000E-03    2.1846       -.28281E-05** at limit **
  16  Prefactor     .10000E-03    6.5889        .14123E-05** at limit **
  17  Prefactor     18.198        11.216       -.35421E-06   -.62704E-03
  18  Prefactor     15.560        11.335       -.21027E-06   -.33431E-04
  19  norm          2.0170        2.2398       -.25179E-07   -.61672E-03
  20  Prefactor     .10000E-03    27.841       -.52664E-05** at limit **
  21  Prefactor     .10000E-03    2.7019        .68200E-07** at limit **
  22  norm          4.8196        1.5480        .69174E-07   -.59801E-04
  23  Prefactor     .10000E-03    3.6232       -.41935E-06** at limit **
  24  Prefactor     14.633        24.060       -.69978E-05   -.39320E-05
  25  Prefactor     34.230        31.218       -.17051E-05    .75997E-06
  26  Normalizat    1.3667        .17718        .84321E-07    .21185E-04
  27  Prefactor     .73151        .15653        .37723E-06   -.14417E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.295929
  norm       = 5.33563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.00613
  norm       = 4.25683
  norm       = 5.27373
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1982
  Prefactor  = 15.5597
  norm       = 2.01699
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.81964
  Prefactor  = 0.0001
  Prefactor  = 14.6329
  Prefactor  = 34.2302
  Normalizat = 1.36672
  Prefactor  = 0.731509
 **********
 **   18 **HESSE 
 **********

 FCN=   6631.849     FROM HESSE     STATUS=OK           488 CALLS     3785 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1833        .11723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .29593        65.475        .44055E-02   -1.5599    
   3  norm          5.3356        3.8323        .13007E-03   -1.5246    
   4  Prefactor     .10000E-03    4.9564        .17680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.9959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0061        2.6650        .12065E-03   -1.5361    
   7  norm          4.2568        8.9320        .19535E-03   -1.5295    
   8  norm          5.2737        2.6145        .89565E-04   -1.5249    
   9  Prefactor     .10000E-03    18.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.4790        .96022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.6287        .15065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.6941        .10307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    32.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.1866        .11760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.6058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.198        11.193        .46945E-03   -1.4855    
  18  Prefactor     15.560        11.371        .10153E-03   -1.4919    
  19  norm          2.0170        2.2074        .11000E-03   -1.5424    
  20  Prefactor     .10000E-03    27.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.7065        .13072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.8196        1.5472        .54619E-04   -1.5269    
  23  Prefactor     .10000E-03    3.6359        .15121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     14.633        24.108        .10468E-03   -1.4943    
  25  Prefactor     34.230        31.220        .68492E-04   -1.4537    
  26  Normalizat    1.3667        .20830        .23584E-03   -.81596    
  27  Prefactor     .73151        .18327        .27678E-03   -1.0230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.59692e-09
Minuit parameter uncertainties:
  1  2.77122e-06
  2  8.81188
  3  3.8325
  4  6.71281e-06
  5  6.31482e-06
  6  2.66514
  7  8.93483
  8  2.61457
  9  2.97994e-07
  10  1.33898e-06
  11  2.15655e-07
  12  4.38241e-06
  13  1.41947e-06
  14  2.48779e-05
  15  7.32222e-08
  16  8.71488e-07
  17  11.1943
  18  11.3723
  19  2.20749
  20  6.47439e-06
  21  2.8056e-07
  22  1.54725
  23  1.21311e-05
  24  24.1235
  25  31.2346
  26  0.208434
  27  0.18342
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.488e-05  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:  7.315e-01  1.834e-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.367e+00  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/773352/likelihoodResults_421027201_421286401_4FGL_J1446.3+3111_daily_bin701.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) = 6631.84895834
delta logL = -0.000146372839481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6631.8488122
delta logL = -2.26652446145e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4801       1.0000          .0000       10.000    
     3 'Normalizat'    1.3667       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73151       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6631.849     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      277 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.625        .18142E-02** at limit **
   2  Index         2.5181        6.2573        .50000       -.12059E-04
   3  Normalizat    1.3667        .19811        .23584E-03   -.87886E-04
   4  Prefactor     .73151        .17664        .27678E-03    .43539E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.51812
  Normalizat = 1.36672
  Prefactor  = 0.731511
 **********
 **   18 **HESSE 
 **********

 FCN=   6631.849     FROM HESSE     STATUS=OK            29 CALLS      306 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.250        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5181        6.2562        .50000       -.51942    
   3  Normalizat    1.3667        .19825        .47169E-04   -.81596    
   4  Prefactor     .73151        .17677        .11071E-04   -1.0230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98321e-10
Minuit parameter uncertainties:
  1  0.000737897
  2  4.35457
  3  0.19836
  4  0.176903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/773352': 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) = 6631.84881208
delta logL = -1.07427695184e-07

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  7.379e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.518e+00  4.355e+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:  7.315e-01  1.769e-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.367e+00  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.591 31.195

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/773352/cmap_HighResolution_421027201_421286401_4FGL_J1446.3+3111_daily_bin701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-03', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2021-09-10 09:16:50.299887', job_id='773352', GAL2='0.73', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1631290610.3', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='-1.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='701' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:16:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 773352: <4FGL_J1446.3+3111_daily_bin701> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin701> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:01:04 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:01:05 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:01:05 2021
Terminated at Fri Sep 10 09:16:51 2021
Results reported at Fri Sep 10 09:16:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin701 221.591 31.1955 421027201 421286401 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 :                                   741.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             257.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            947 sec.

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

