/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 171 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 = 7653
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1446.3+3111_daily_bin35
RA = 221.591, Dec = 31.1955
tmin = 248400001, tmax = 248659201
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='767815', job_status='RUN', time_executed='2021-09-10 08:44:33.716668', time_epoch_executed='1631288673.72' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='35'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/767815

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/767815/ft1_4FGL_J1446.3+3111_daily_bin35.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/767815/ft2_4FGL_J1446.3+3111_daily_bin35.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/767815/ft1_4FGL_J1446.3+3111_daily_bin35.fits outfile=/scratch/kocevski/767815/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin35.fits ra=221.591 dec=31.1955 rad=12.0 tmin=248400001.0 tmax=248659201.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 1.42
user 1.24
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/767815/ft2_4FGL_J1446.3+3111_daily_bin35.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/767815/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin35.fits evtable="EVENTS" outfile="/scratch/kocevski/767815/ft1_filtered_4FGL_J1446.3+3111_daily_bin35.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/767815/ft1_filtered_4FGL_J1446.3+3111_daily_bin35.fits" evtable="EVENTS" scfile=/scratch/kocevski/767815/ft2_4FGL_J1446.3+3111_daily_bin35.fits sctable="SC_DATA" outfile=/scratch/kocevski/767815/ltcube_248400001_248659201_4FGL_J1446.3+3111_daily_bin35.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/767815/ft2_4FGL_J1446.3+3111_daily_bin35.fits
.....................!
real 12.51
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/767815/ft1_filtered_4FGL_J1446.3+3111_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/767815/ft2_4FGL_J1446.3+3111_daily_bin35.fits sctable="SC_DATA" expcube=/scratch/kocevski/767815/ltcube_248400001_248659201_4FGL_J1446.3+3111_daily_bin35.fits outfile=/scratch/kocevski/767815/expmap_248400001_248659201_4FGL_J1446.3+3111_daily_bin35.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/767815/ltcube_248400001_248659201_4FGL_J1446.3+3111_daily_bin35.fits
.....................!
real 191.04
user 185.25
sys 5.10

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/767815/ft1_filtered_4FGL_J1446.3+3111_daily_bin35.fits scfile=/scratch/kocevski/767815/ft2_4FGL_J1446.3+3111_daily_bin35.fits outfile=/scratch/kocevski/767815/cmap_248400001_248659201_4FGL_J1446.3+3111_daily_bin35.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/767815/ft1_filtered_4FGL_J1446.3+3111_daily_bin35.fits scfile=/scratch/kocevski/767815/ft2_4FGL_J1446.3+3111_daily_bin35.fits outfile=/scratch/kocevski/767815/cmap_HighResolution_248400001_248659201_4FGL_J1446.3+3111_daily_bin35.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/767815/ft1_filtered_4FGL_J1446.3+3111_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/767815/ft2_4FGL_J1446.3+3111_daily_bin35.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/767815/Model_4FGL_J1446.3+3111_daily_bin35.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/767815/ft1_filtered_4FGL_J1446.3+3111_daily_bin35.fits.....................!
real 45.81
user 44.49
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0273       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8761       1.0000         .10000E-03   10000.    
     3 'norm      '    3.6596       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1307       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.8290       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10407E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2859       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.966       1.0000         .10000E-03   10000.    
    15 'norm      '    13.258       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.4960       1.0000         .10000E-03   10000.    
    19 'norm      '    .56587       1.0000         .10000E-03   10000.    
    20 'Prefactor '    102.13       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.3554       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.9653       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2371       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .78631       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=   5557.364     FROM MIGRAD    STATUS=CONVERGED    629 CALLS     3226 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0283        5.7022        .26095E-06   -.48298E-05
   2  Prefactor     7.8801        15.555        .12346E-06    .36913E-04
   3  norm          3.6600        3.1490        .31593E-07   -.14619E-03
   4  Prefactor     .10000E-03    4.5110        .81764E-08** at limit **
   5  Prefactor     .10000E-03    5.1499        .26566E-07** at limit **
   6  Prefactor     9.1317        4.3988       -.32313E-08    .93366E-04
   7  norm          .10000E-03    4.3072        .14450E-07** at limit **
   8  norm          5.8291        2.8274        .36978E-07   -.96702E-05
   9  Prefactor     .10000E-03    7.9551       -.15405E-07** at limit **
  10  norm          .10000E-03    1.3464        .11677E-07** at limit **
  11  norm          .10000E-03    6.1831        .86152E-07** at limit **
  12  Prefactor     .10000E-03    19.814        .18076E-07** at limit **
  13  norm          1.2865        5.2458        .34655E-06   -.31636E-04
  14  Prefactor     24.969        29.148        .11761E-06    .98522E-04
  15  norm          13.257        9.9014        .13953E-06    .78111E-04
  16  Prefactor     .10000E-03    8.6860        .20202E-06** at limit **
  17  Prefactor     .10000E-03    4.5883        .84315E-06** at limit **
  18  Prefactor     1.4861        24.686        .18550E-04   -.92859E-04
  19  norm          .56836        1.9712       -.22582E-05   -.14405E-02
  20  Prefactor     102.05        90.906        .67190E-05   -.20871E-03
  21  Prefactor     .10000E-03    2.7879       -.36146E-08** at limit **
  22  norm          7.3558        2.2693        .45651E-07    .61851E-03
  23  Prefactor     7.9623        13.343        .51526E-07    .47760E-04
  24  Prefactor     .10000E-03    27.500        .53876E-08** at limit **
  25  Prefactor     .10000E-03    6.7147       -.11606E-06** at limit **
  26  Normalizat    1.2369        .19002        .23466E-05    .41215E-03
  27  Prefactor     .78633        .17432       -.35391E-05    .38704E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.02825
  Prefactor  = 7.88009
  norm       = 3.65999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.13167
  norm       = 0.0001
  norm       = 5.8291
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.28649
  Prefactor  = 24.9692
  norm       = 13.2572
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.48615
  norm       = 0.568362
  Prefactor  = 102.051
  Prefactor  = 0.0001
  norm       = 7.35581
  Prefactor  = 7.96226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2369
  Prefactor  = 0.786326
 **********
 **   18 **HESSE 
 **********

 FCN=   5557.364     FROM HESSE     STATUS=OK           484 CALLS     3710 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0283        5.7125        .75665E-03   -1.5178    
   2  Prefactor     7.8801        15.548        .14288E-03   -1.5146    
   3  norm          3.6600        3.1486        .11905E-03   -1.5325    
   4  Prefactor     .10000E-03    4.5164        .15459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.1554        .16521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.1317        4.4136        .10371E-03   -1.5104    
   7  norm          .10000E-03    4.3081        .15110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8291        2.8282        .84532E-04   -1.5225    
   9  Prefactor     .10000E-03    7.9571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.1792        .16856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.2909        .18092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2865        5.1980        .32071E-03   -1.5481    
  14  Prefactor     24.969        29.222        .80171E-04   -1.4708    
  15  norm          13.257        9.9002        .55004E-03   -1.4980    
  16  Prefactor     .10000E-03    8.7151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.6312        .15614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.4861        24.952        .17514E-02   -1.5464    
  19  norm          .56836        2.0442        .17601E-03   -1.5557    
  20  Prefactor     102.05        91.087        .19892E-03   -1.3684    
  21  Prefactor     .10000E-03    2.7930        .12155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.3558        2.2779        .51134E-04   -1.5165    
  23  Prefactor     7.9623        13.370        .14207E-03   -1.5144    
  24  Prefactor     .10000E-03    27.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.7154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2369        .21845        .23679E-03   -.85470    
  27  Prefactor     .78633        .19695        .26563E-03   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44298e-09
Minuit parameter uncertainties:
  1  5.71293
  2  15.5555
  3  3.14872
  4  1.995e-05
  5  3.31453e-05
  6  4.41371
  7  1.90022e-05
  8  2.82826
  9  4.12099e-05
  10  5.2093e-06
  11  4.32005e-06
  12  4.05403e-05
  13  5.17247
  14  29.2384
  15  9.90141
  16  2.49328e-05
  17  0.00012914
  18  12.1845
  19  2.04445
  20  91.2119
  21  1.96155e-06
  22  2.27793
  23  13.3749
  24  3.38903e-05
  25  1.68161e-05
  26  0.218609
  27  0.197129
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.497e+01  2.924e+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:  7.863e-01  1.971e-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.237e+00  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.25
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 2.71e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 7.41e-06 +/- 8.68e-06

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

Saving results to:
/scratch/kocevski/767815/likelihoodResults_248400001_248659201_4FGL_J1446.3+3111_daily_bin35.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) = 5556.86876611
delta logL = 0.495634700026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5556.85607629
delta logL = 0.508324516469

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.905       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5421       1.0000          .0000       10.000    
     3 'Normalizat'    1.2631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77192       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=   5556.856     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      212 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.905        23.828        .21901E-02    .16064E-02
   2  Index         1.5421        .49158        .28235       -.54378E-04
   3  Normalizat    1.2631        .17932        .53063E-01    .37234E-05
   4  Prefactor     .77192        .16481        .43351E-01    .14851E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.9046
  Index      = 1.54209
  Normalizat = 1.26308
  Prefactor  = 0.771921
 **********
 **   18 **HESSE 
 **********

 FCN=   5556.856     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.905        29.685        .87603E-04   -1.4793    
   2  Index         1.5421        .76790        .99207E-02   -.76368    
   3  Normalizat    1.2631        .20455        .23461E-03   -.84675    
   4  Prefactor     .77192        .18798        .26766E-03   -1.0077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0689e-08
Minuit parameter uncertainties:
  1  29.7055
  2  0.773808
  3  0.204681
  4  0.188134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/767815': 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) = 5556.85607629
delta logL = 0.508324518122

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.090e+01  2.971e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.542e+00  7.738e-01  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.719e-01  1.881e-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.263e+00  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.26
Ra Dec: 221.591 31.195
Photon Index (Free Index): 1.54 +/- 0.77
Photon Flux (Free Index): 8.31e-09 +/- 1.32e-08
Energy Flux (Free Index): 2.28e-05 +/- 4.28e-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/767815/cmap_HighResolution_248400001_248659201_4FGL_J1446.3+3111_daily_bin35.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.44e-03', comment='SUCCESS', photon_flux='2.71e-08', energy_flux2='2.28e-05', photon_flux_error='3.17e-08', dlogl='5.08e-01', energy_flux='7.41e-06', photon_flux2='8.31e-09', job_status='DONE', time_completed='2021-09-10 08:55:35.972670', photon_index_error2='0.77', photon_index2='1.54', ts='1.25', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='4.28e-05', EG='1.24', time_epoch_completed='1631289335.97', return_code='0', job_id='767815', GAL2='0.77', EG2='1.26', return_code2='0', energy_flux_error='8.68e-06', photon_flux_error2='1.32e-08', ts2='2.26', photon_index='2.56' WHERE bin_id='35' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:55:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 767815: <4FGL_J1446.3+3111_daily_bin35> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin35> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 08:41:33 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:41:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 08:41:34 2021
Terminated at Fri Sep 10 08:55:36 2021
Results reported at Fri Sep 10 08:55:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin35 221.591 31.1955 248400001 248659201 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 :                                   661.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            843 sec.

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

