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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1352
RA = 221.591, Dec = 31.1955
tmin = 589766401, tmax = 590025601
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='776508', job_status='RUN', time_executed='2021-09-10 09:11:18.761878', time_epoch_executed='1631290278.76' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1352'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776508

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776508/ft1_4FGL_J1446.3+3111_daily_bin1352.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776508/ft2_4FGL_J1446.3+3111_daily_bin1352.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776508/ft1_4FGL_J1446.3+3111_daily_bin1352.fits outfile=/scratch/kocevski/776508/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1352.fits ra=221.591 dec=31.1955 rad=12.0 tmin=589766401.0 tmax=590025601.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.23
user 4.98
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776508/ft1_filtered_4FGL_J1446.3+3111_daily_bin1352.fits evtable="EVENTS" scfile=/scratch/kocevski/776508/ft2_4FGL_J1446.3+3111_daily_bin1352.fits sctable="SC_DATA" expcube=/scratch/kocevski/776508/ltcube_589766401_590025601_4FGL_J1446.3+3111_daily_bin1352.fits outfile=/scratch/kocevski/776508/expmap_589766401_590025601_4FGL_J1446.3+3111_daily_bin1352.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/776508/ltcube_589766401_590025601_4FGL_J1446.3+3111_daily_bin1352.fits
.....................!
real 190.05
user 184.49
sys 5.22

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/776508/ft1_filtered_4FGL_J1446.3+3111_daily_bin1352.fits scfile=/scratch/kocevski/776508/ft2_4FGL_J1446.3+3111_daily_bin1352.fits outfile=/scratch/kocevski/776508/cmap_589766401_590025601_4FGL_J1446.3+3111_daily_bin1352.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/776508/ft1_filtered_4FGL_J1446.3+3111_daily_bin1352.fits scfile=/scratch/kocevski/776508/ft2_4FGL_J1446.3+3111_daily_bin1352.fits outfile=/scratch/kocevski/776508/cmap_HighResolution_589766401_590025601_4FGL_J1446.3+3111_daily_bin1352.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11632E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10937E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    64.104       1.0000         .10000E-03   10000.    
     7 'norm      '    17.530       1.0000         .10000E-03   10000.    
     8 'norm      '    5.7633       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .59028E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8016       1.0000         .10000E-03   10000.    
    11 'norm      '    .42949E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    70.790       1.0000         .10000E-03   10000.    
    15 'norm      '    14.093       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14396E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.7840       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.2649       1.0000         .10000E-03   10000.    
    19 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .42586       1.0000         .10000E-03   10000.    
    22 'norm      '    3.4130       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10326E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10937E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0564       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .90128       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=   5952.075     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     3357 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.097        .11351E-05** at limit **
   2  Prefactor     .10000E-03    4.5630        .81875E-06** at limit **
   3  norm          .10000E-03    1.8730        .39329E-06** at limit **
   4  Prefactor     .10000E-03    5.0168        .20137E-06** at limit **
   5  Prefactor     .10000E-03    19.227       -.10407E-04** at limit **
   6  Prefactor     64.113        9.1152        .35057E-05    .49013E-02
   7  norm          17.530        1.1949       -.93861E-06   -.18986E-02
   8  norm          5.7635        3.1671        .17330E-05    .10103E-03
   9  Prefactor     .27953        790.50        .23002E-03   -.15834E-04
  10  norm          1.8018        2.1699        .30081E-06   -.35342E-04
  11  norm          .10007E-03    105.56        .61565E-04** at limit **
  12  Prefactor     .10000E-03    53.016        .69693E-05** at limit **
  13  norm          .10000E-03    1.4839       -.29953E-07** at limit **
  14  Prefactor     70.719        51.122        .54775E-04   -.90882E-03
  15  norm          14.088        1.1588       -.40012E-06   -.18854E-02
  16  Prefactor     .10001E-03    117.68        .18583E-05** at limit **
  17  Prefactor     5.7792        6.2540        .42935E-05   -.45663E-04
  18  Prefactor     7.2639        7.5685       -.77024E-05   -.77784E-04
  19  norm          .10000E-03    .57758       -.36746E-06** at limit **
  20  Prefactor     .10002E-03    22.433        .13619E-04** at limit **
  21  Prefactor     .40897        2.4830       -.12072E-04   -.29140E-02
  22  norm          3.4168        1.5347        .15504E-05    .40357E-03
  23  Prefactor     .10000E-03    32.939        .22616E-05** at limit **
  24  Prefactor     .10000E-03    15.050        .58992E-06** at limit **
  25  Prefactor     .10000E-03    7.2879        .65754E-06** at limit **
  26  Normalizat    1.0560        .23673       -.69753E-04   -.86356E-04
  27  Prefactor     .90159        .20253        .35929E-04   -.13758E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.1127
  norm       = 17.5305
  norm       = 5.76347
  Prefactor  = 0.279526
  norm       = 1.80176
  norm       = 0.000100069
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 70.7191
  norm       = 14.088
  Prefactor  = 0.000100008
  Prefactor  = 5.77921
  Prefactor  = 7.26391
  norm       = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 0.408974
  norm       = 3.41677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05598
  Prefactor  = 0.901589
 **********
 **   18 **HESSE 
 **********

 FCN=   5952.075     FROM HESSE     STATUS=OK           568 CALLS     3925 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9732        .56126E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5618        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.8537        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.0071        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.782        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     64.113        9.1664        .12530E-02   -1.4105    
   7  norm          17.530        16.635        .23915E-02   -1.4870    
   8  norm          5.7635        3.1698        .41826E-02   -1.5228    
   9  Prefactor     .27953        29.081        .11887       -1.5602    
  10  norm          1.8018        2.1770        .77857E-02   -1.5440    
  11  norm          .10007E-03    7.6063        .71764E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    52.776        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.4812        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     70.719        51.949        .11928E-02   -1.4024    
  15  norm          14.088        10.425        .26673E-02   -1.4957    
  16  Prefactor     .10001E-03    14.677        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.7792        6.3020        .41750E-02   -1.5227    
  18  Prefactor     7.2639        7.5666        .37203E-02   -1.5169    
  19  norm          .10000E-03    .56862        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    22.609        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .40897        7.0706        .69042E-01   -1.5580    
  22  norm          3.4168        1.7014        .54743E-02   -1.5338    
  23  Prefactor     .10000E-03    7.5382        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    15.047        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.2884        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0560        .20612        .60919E-01   -.91178    
  27  Prefactor     .90159        .17419        .45021E-01   -.96086    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04973e-08
Minuit parameter uncertainties:
  1  8.66615e-06
  2  3.63844e-06
  3  2.81177e-06
  4  1.27018e-05
  5  0.000109931
  6  9.16659
  7  16.639
  8  3.16993
  9  5.70407
  10  2.17711
  11  0.00145423
  12  5.79523e-05
  13  2.02967e-06
  14  51.9822
  15  10.4266
  16  0.00066777
  17  6.30272
  18  7.56755
  19  1.21659e-07
  20  0.00147475
  21  3.40104
  22  1.70143
  23  0.000100183
  24  1.19659e-05
  25  7.64225e-07
  26  0.206281
  27  0.174297
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  7.072e+01  5.198e+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:  9.016e-01  1.743e-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.056e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.48
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 7.68e-08 +/- 5.64e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 1.54e-05

TS (Fixed Index): 2.48
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.86e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.45e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776508/likelihoodResults_589766401_590025601_4FGL_J1446.3+3111_daily_bin1352.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) = 5951.68496679
delta logL = 0.389752780561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5951.66887737
delta logL = 0.405842202732

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.836       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3741       1.0000          .0000       10.000    
     3 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93467       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=   5951.669     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      298 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.770        104.82        .72154E-04    .54832E-04
   2  Index         3.3762        2.1778        .51776E-02    .63292E-04
   3  Normalizat    1.0090        .23149        .27441E-03    .33824E-03
   4  Prefactor     .93499        .20857        .25843E-03   -.59188E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7702
  Index      = 3.37623
  Normalizat = 1.009
  Prefactor  = 0.934992
 **********
 **   18 **HESSE 
 **********

 FCN=   5951.669     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.770        54.850        .28861E-05   -1.4598    
   2  Index         3.3762        1.1653        .20710E-03   -.33075    
   3  Normalizat    1.0090        .22670        .54883E-04   -.92729    
   4  Prefactor     .93499        .20212        .51686E-04   -.94929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02459e-09
Minuit parameter uncertainties:
  1  54.9403
  2  1.17745
  3  0.226919
  4  0.20228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776508': 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) = 5951.66887073
delta logL = 0.405848843493

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  3.077e+01  5.494e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.376e+00  1.177e+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:  9.350e-01  2.023e-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.009e+00  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.41
Ra Dec: 221.591 31.195
Photon Index (Free Index): 3.38 +/- 1.18
Photon Flux (Free Index): 1.13e-07 +/- 7.59e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.29e-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/776508/cmap_HighResolution_589766401_590025601_4FGL_J1446.3+3111_daily_bin1352.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-02', comment='SUCCESS', photon_flux='7.68e-08', energy_flux2='1.96e-05', photon_flux_error='5.64e-08', dlogl='4.06e-01', energy_flux='2.10e-05', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-10 09:23:21.767594', photon_index_error2='1.18', photon_index2='3.38', ts='2.48', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.86e-07', energy_flux_error2='1.29e-05', EG='1.06', time_epoch_completed='1631291001.77', return_code='0', job_id='776508', GAL2='0.93', EG2='1.01', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='7.59e-08', ts2='3.41', photon_index='2.56' WHERE bin_id='1352' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:23:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 776508: <4FGL_J1446.3+3111_daily_bin1352> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1352 221.591 31.1955 589766401 590025601 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 :                                   720.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            743 sec.

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

