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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1368
RA = 221.591, Dec = 31.1955
tmin = 593913601, tmax = 594172801
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='776524', job_status='RUN', time_executed='2021-09-10 09:14:29.376684', time_epoch_executed='1631290469.38' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776524

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776524/ft1_4FGL_J1446.3+3111_daily_bin1368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776524/ft2_4FGL_J1446.3+3111_daily_bin1368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776524/ft1_4FGL_J1446.3+3111_daily_bin1368.fits outfile=/scratch/kocevski/776524/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1368.fits ra=221.591 dec=31.1955 rad=12.0 tmin=593913601.0 tmax=594172801.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.57
user 3.35
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776524/ft1_filtered_4FGL_J1446.3+3111_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/776524/ft2_4FGL_J1446.3+3111_daily_bin1368.fits sctable="SC_DATA" expcube=/scratch/kocevski/776524/ltcube_593913601_594172801_4FGL_J1446.3+3111_daily_bin1368.fits outfile=/scratch/kocevski/776524/expmap_593913601_594172801_4FGL_J1446.3+3111_daily_bin1368.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/776524/ltcube_593913601_594172801_4FGL_J1446.3+3111_daily_bin1368.fits
.....................!
real 190.20
user 185.79
sys 4.04

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/776524/ft1_filtered_4FGL_J1446.3+3111_daily_bin1368.fits scfile=/scratch/kocevski/776524/ft2_4FGL_J1446.3+3111_daily_bin1368.fits outfile=/scratch/kocevski/776524/cmap_593913601_594172801_4FGL_J1446.3+3111_daily_bin1368.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776524/ft1_filtered_4FGL_J1446.3+3111_daily_bin1368.fits scfile=/scratch/kocevski/776524/ft2_4FGL_J1446.3+3111_daily_bin1368.fits outfile=/scratch/kocevski/776524/cmap_HighResolution_593913601_594172801_4FGL_J1446.3+3111_daily_bin1368.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.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3580       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.264       1.0000         .10000E-03   10000.    
     6 'Prefactor '    47.040       1.0000         .10000E-03   10000.    
     7 'norm      '    .23346E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    8.8881       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.3436       1.0000         .10000E-03   10000.    
    11 'norm      '    4.5784       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .52290E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .20875E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.537       1.0000         .10000E-03   10000.    
    15 'norm      '    8.8193       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.363       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.474       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.303       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .29881       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.597       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2341       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .86807       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7298.066     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     2834 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3582        2.9103        .48894E-06   -.36569E-03
   2  Prefactor     .10000E-03    5.0443       -.64933E-06** at limit **
   3  norm          .10000E-03    1.6625       -.15498E-05** at limit **
   4  Prefactor     .10002E-03    14.092        .93769E-06** at limit **
   5  Prefactor     22.259        16.362        .13471E-05    .84003E-02
   6  Prefactor     47.041        1.0153        .42328E-08   -.85515E-04
   7  norm          .46889E-03    223.65       -.25117E-04** at limit **
   8  norm          8.8881        3.2094        .90596E-06    .14661E-03
   9  Prefactor     .10000E-03    21.690        .78578E-05** at limit **
  10  norm          6.3434        3.8474       -.53988E-07    .16512E-03
  11  norm          4.5786        3.5903        .32516E-06    .28973E-03
  12  Prefactor     .60992E-03    316.28       -.37885E-04** at limit **
  13  norm          .10000E-03    9.5056       -.34409E-05** at limit **
  14  Prefactor     11.524        2.2033       -.10034E-06   -.16015E-02
  15  norm          8.8190        1.0114        .96829E-08   -.93070E-04
  16  Prefactor     16.364        1.1251        .13484E-07    .57089E-03
  17  Prefactor     .10000E-03    2.8450       -.13402E-06** at limit **
  18  Prefactor     18.474        1.3380        .92093E-08    .11605E-02
  19  norm          .10000E-03    .43706        .37886E-06** at limit **
  20  Prefactor     15.298        1.2157       -.16879E-06    .15831E-03
  21  Prefactor     .10000E-03    9.9827        .12477E-05** at limit **
  22  norm          .29850        1.0867       -.16589E-05   -.64862E-04
  23  Prefactor     .10000E-03    3.3722        .83092E-06** at limit **
  24  Prefactor     12.591        2.5520        .15703E-06   -.10023E-02
  25  Prefactor     .10004E-03    15.174        .72334E-05** at limit **
  26  Normalizat    1.2339        .20415        .22851E-05    .54500E-04
  27  Prefactor     .86829        .18634        .48581E-06    .46974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.35817
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100023
  Prefactor  = 22.2592
  Prefactor  = 47.0409
  norm       = 0.000468895
  norm       = 8.88806
  Prefactor  = 0.000100004
  norm       = 6.3434
  norm       = 4.57855
  Prefactor  = 0.000609922
  norm       = 0.000100001
  Prefactor  = 11.5241
  norm       = 8.81896
  Prefactor  = 16.364
  Prefactor  = 0.0001
  Prefactor  = 18.4738
  norm       = 0.0001
  Prefactor  = 15.2978
  Prefactor  = 0.000100001
  norm       = 0.298498
  Prefactor  = 0.0001
  Prefactor  = 12.5911
  Prefactor  = 0.000100035
  Normalizat = 1.23394
  Prefactor  = 0.868286
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.066     FROM HESSE     STATUS=OK           570 CALLS     3404 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3582        4.6764        .93737E-02   -1.5475    
   2  Prefactor     .10000E-03    5.0436        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.6379        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    14.075        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.259        17.344        .21222E-02   -1.4764    
   6  Prefactor     47.041        7.1531        .14616E-02   -1.4335    
   7  norm          .46889E-03    8.5480        .13130       -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.8881        3.2145        .33611E-02   -1.5112    
   9  Prefactor     .10000E-03    21.588        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.3434        3.8517        .39841E-02   -1.5204    
  11  norm          4.5786        4.3709        .47031E-02   -1.5280    
  12  Prefactor     .60992E-03    28.268        .14648       -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.7680        .45614E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.524        30.221        .29486E-02   -1.5029    
  15  norm          8.8190        7.2370        .33743E-02   -1.5114    
  16  Prefactor     16.364        10.553        .24753E-02   -1.4899    
  17  Prefactor     .10000E-03    2.8103        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.474        10.390        .23296E-02   -1.4848    
  19  norm          .10000E-03    .42456        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.298        46.729        .25597E-02   -1.4926    
  21  Prefactor     .10000E-03    9.7138        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .29850        .89073        .25294E-01   -1.5599    
  23  Prefactor     .10000E-03    3.3671        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     12.591        23.917        .28215E-02   -1.4998    
  25  Prefactor     .10004E-03    15.181        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2339        .18302        .56824E-01   -.85560    
  27  Prefactor     .86829        .16242        .44597E-01   -.97258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64983e-06
Minuit parameter uncertainties:
  1  4.67771
  2  3.45278e-06
  3  3.48613e-06
  4  0.00113605
  5  17.3483
  6  7.15321
  7  0.112325
  8  3.21459
  9  0.000573856
  10  3.85189
  11  4.37121
  12  0.240234
  13  7.67193e-05
  14  30.2608
  15  7.23773
  16  10.5537
  17  1.76707e-06
  18  10.3909
  19  4.26977e-07
  20  46.8412
  21  0.000191822
  22  0.890773
  23  1.63412e-06
  24  23.9349
  25  0.00145853
  26  0.183114
  27  0.16251
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.152e+01  3.026e+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.683e-01  1.625e-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.234e+00  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/776524/likelihoodResults_593913601_594172801_4FGL_J1446.3+3111_daily_bin1368.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) = 7297.82892127
delta logL = 0.236603171129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7297.80084891
delta logL = 0.264675526324

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5829       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5102       1.0000          .0000       10.000    
     3 'Normalizat'    1.2071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88256       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=   7297.801     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      265 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5779        23.016        .14563E-03   -.74606E-03
   2  Index         3.5108        1.7513        .85736E-02   -.23235E-03
   3  Normalizat    1.2072        .20320        .25356E-03    .48684E-03
   4  Prefactor     .88256        .18629        .27167E-03    .81386E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.57794
  Index      = 3.51075
  Normalizat = 1.20715
  Prefactor  = 0.882557
 **********
 **   18 **HESSE 
 **********

 FCN=   7297.801     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5779        17.269        .58253E-05   -1.5157    
   2  Index         3.5108        1.3254        .34294E-03   -.30244    
   3  Normalizat    1.2072        .20349        .50713E-04   -.86382    
   4  Prefactor     .88256        .18644        .54333E-04   -.96753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65671e-09
Minuit parameter uncertainties:
  1  17.2805
  2  1.34307
  3  0.203622
  4  0.186573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776524': 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) = 7297.80084882
delta logL = 0.264675624116

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  7.578e+00  1.728e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.511e+00  1.343e+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.826e-01  1.866e-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.207e+00  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/776524/cmap_HighResolution_593913601_594172801_4FGL_J1446.3+3111_daily_bin1368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.04e-03', job_status='DONE', photon_flux_upper_limit='9.01e-08', time_completed='2021-09-10 09:27:16.577692', job_id='776524', GAL2='0.88', fit_tolerance='1e-08', EG2='1.21', EG='1.23', time_epoch_completed='1631291236.58', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.65e-01', ts2='0.72', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1368' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:27:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 776524: <4FGL_J1446.3+3111_daily_bin1368> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1368> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 09:11:00 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:11:02 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:02 2021
Terminated at Fri Sep 10 09:27:17 2021
Results reported at Fri Sep 10 09:27:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1368 221.591 31.1955 593913601 594172801 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 :                                   764.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            977 sec.

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

