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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin4
RA = 221.591, Dec = 31.1955
tmin = 240364801, tmax = 240624001
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='769045', job_status='RUN', time_executed='2021-09-10 08:46:26.178387', time_epoch_executed='1631288786.18' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='4'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/769045

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/769045/ft1_4FGL_J1446.3+3111_daily_bin4.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/769045/ft2_4FGL_J1446.3+3111_daily_bin4.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/769045/ft1_4FGL_J1446.3+3111_daily_bin4.fits outfile=/scratch/kocevski/769045/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin4.fits ra=221.591 dec=31.1955 rad=12.0 tmin=240364801.0 tmax=240624001.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.25
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/769045/ft1_filtered_4FGL_J1446.3+3111_daily_bin4.fits" evtable="EVENTS" scfile=/scratch/kocevski/769045/ft2_4FGL_J1446.3+3111_daily_bin4.fits sctable="SC_DATA" outfile=/scratch/kocevski/769045/ltcube_240364801_240624001_4FGL_J1446.3+3111_daily_bin4.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/769045/ft2_4FGL_J1446.3+3111_daily_bin4.fits
.....................!
real 13.04
user 12.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/769045/ft1_filtered_4FGL_J1446.3+3111_daily_bin4.fits evtable="EVENTS" scfile=/scratch/kocevski/769045/ft2_4FGL_J1446.3+3111_daily_bin4.fits sctable="SC_DATA" expcube=/scratch/kocevski/769045/ltcube_240364801_240624001_4FGL_J1446.3+3111_daily_bin4.fits outfile=/scratch/kocevski/769045/expmap_240364801_240624001_4FGL_J1446.3+3111_daily_bin4.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/769045/ltcube_240364801_240624001_4FGL_J1446.3+3111_daily_bin4.fits
.....................!
real 190.84
user 185.75
sys 4.72

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/769045/ft1_filtered_4FGL_J1446.3+3111_daily_bin4.fits scfile=/scratch/kocevski/769045/ft2_4FGL_J1446.3+3111_daily_bin4.fits outfile=/scratch/kocevski/769045/cmap_240364801_240624001_4FGL_J1446.3+3111_daily_bin4.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=221.591 yref=31.1955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7279       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.7151       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11482E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.521       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.415       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21135E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4198       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-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 '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .62201E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .66693       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.973       1.0000         .10000E-03   10000.    
    22 'norm      '    8.3523       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    24.089       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2245       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .75396       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=   6559.982     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     2855 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7293        1.0268       -.32481E-06   -.15580E-04
   2  Prefactor     .10000E-03    6.3097       -.30641E-05** at limit **
   3  norm          4.7160        4.0357        .13549E-05    .66633E-04
   4  Prefactor     .10003E-03    14.463        .73824E-05** at limit **
   5  Prefactor     12.518        13.362       -.15005E-04    .81604E-04
   6  Prefactor     .10000E-03    5.3214       -.77792E-05** at limit **
   7  norm          .10000E-03    3.7007        .66980E-05** at limit **
   8  norm          10.416        3.2818       -.55825E-06   -.38681E-03
   9  Prefactor     .36006        156.63        .15878E-04   -.15283E-04
  10  norm          1.4209        2.6865        .26690E-07    .57474E-05
  11  norm          .10000E-03    1.6977        .13875E-06** at limit **
  12  Prefactor     .10001E-03    14.646       -.96748E-05** at limit **
  13  norm          .10000E-03    1.2802        .11780E-06** at limit **
  14  Prefactor     .10007E-03    7.7016        .10122E-04** at limit **
  15  norm          .10000E-03    2.9176        .27342E-06** at limit **
  16  Prefactor     .10000E-03    2.4604        .40224E-05** at limit **
  17  Prefactor     .10005E-03    1.6570       -.49403E-05** at limit **
  18  Prefactor     .10000E-03    4.1837        .12708E-06** at limit **
  19  norm          .66874        1.2748       -.23764E-06   -.27572E-04
  20  Prefactor     .10000E-03    24.990       -.10617E-04** at limit **
  21  Prefactor     10.977        1.3042       -.97110E-06   -.77665E-03
  22  norm          8.3525        1.6814       -.86481E-07   -.37753E-04
  23  Prefactor     .10000E-03    4.7702        .84781E-06** at limit **
  24  Prefactor     .10000E-03    8.5450        .44655E-06** at limit **
  25  Prefactor     24.095        3.1059        .26524E-05   -.35374E-02
  26  Normalizat    1.2244        .19725        .37511E-05   -.10111E-04
  27  Prefactor     .75380        .17715       -.23778E-05   -.19436E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.72933
  Prefactor  = 0.0001
  norm       = 4.71601
  Prefactor  = 0.000100034
  Prefactor  = 12.5182
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.4163
  Prefactor  = 0.360055
  norm       = 1.42087
  norm       = 0.0001
  Prefactor  = 0.000100012
  norm       = 0.0001
  Prefactor  = 0.000100072
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010005
  Prefactor  = 0.0001
  norm       = 0.668744
  Prefactor  = 0.000100002
  Prefactor  = 10.9773
  norm       = 8.35248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.0948
  Normalizat = 1.22437
  Prefactor  = 0.753801
 **********
 **   18 **HESSE 
 **********

 FCN=   6559.982     FROM HESSE     STATUS=OK           554 CALLS     3409 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7293        5.5697        .46264E-02   -1.5273    
   2  Prefactor     .10000E-03    6.3006        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.7160        4.0482        .46328E-02   -1.5274    
   4  Prefactor     .10003E-03    19.397        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.518        14.049        .28301E-02   -1.5000    
   6  Prefactor     .10000E-03    2.5146        .40004E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.7665        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.416        3.2836        .31038E-02   -1.5062    
   9  Prefactor     .36006        10.410        .14771       -1.5588    
  10  norm          1.4209        2.7100        .90774E-02   -1.5470    
  11  norm          .10000E-03    1.6927        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    16.630        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.2734        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10007E-03    17.785        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.9137        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.6735        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10005E-03    6.4328        .61951E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.1578        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .66874        1.4682        .28073E-01   -1.5544    
  20  Prefactor     .10000E-03    25.435        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.977        8.5307        .30236E-02   -1.5045    
  22  norm          8.3525        1.6839        .34679E-02   -1.5130    
  23  Prefactor     .10000E-03    4.7176        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.5220        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     24.095        32.084        .20404E-02   -1.4726    
  26  Normalizat    1.2244        .17474        .52277E-01   -.85853    
  27  Prefactor     .75380        .15398        .43115E-01   -1.0145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.08915e-08
Minuit parameter uncertainties:
  1  5.57032
  2  2.01008e-05
  3  4.04841
  4  0.00163485
  5  14.0525
  6  5.09887e-05
  7  5.07141e-05
  8  3.28362
  9  3.8722
  10  2.71025
  11  6.09378e-07
  12  0.000894428
  13  5.12577e-07
  14  0.00227127
  15  1.59665e-06
  16  0.000101706
  17  0.00113925
  18  1.34467e-05
  19  1.46823
  20  0.000432557
  21  8.53163
  22  1.68387
  23  4.38739e-05
  24  2.93951e-05
  25  32.1068
  26  0.174828
  27  0.154064
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.001e-04  2.271e-03  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.538e-01  1.541e-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.224e+00  1.748e-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: 6.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/769045/likelihoodResults_240364801_240624001_4FGL_J1446.3+3111_daily_bin4.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) = 6559.98239104
delta logL = -0.000267368087407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6559.98212374
delta logL = -6.74581315252e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4553       1.0000          .0000       10.000    
     3 'Normalizat'    1.2244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75381       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=   6559.982     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6583.1        .90712E-02** at limit **
   2  Index         2.4603        5.5838        .50000       -.24931E-05
   3  Normalizat    1.2244        .96980E-01    .52277E-01    .53968E-05
   4  Prefactor     .75380        .88604E-01    .43113E-01    .19098E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46027
  Normalizat = 1.22437
  Prefactor  = 0.753801
 **********
 **   18 **HESSE 
 **********

 FCN=   6559.982     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4603        6.2288        .50000       -.53280    
   3  Normalizat    1.2244        .18864        .23113E-03   -.85853    
   4  Prefactor     .75380        .17315        .26242E-03   -1.0145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97601e-12
Minuit parameter uncertainties:
  1  2.81389e-06
  2  4.6095
  3  0.188749
  4  0.173279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/769045': 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) = 6559.98212372
delta logL = -4.76929926663e-08

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.814e-06  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.460e+00  4.610e+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.538e-01  1.733e-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.224e+00  1.887e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/769045/cmap_HighResolution_240364801_240624001_4FGL_J1446.3+3111_daily_bin4.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.61e-08', time_completed='2021-09-10 08:58:17.081419', job_id='769045', GAL2='0.75', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631289497.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-4.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='4' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:58:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 769045: <4FGL_J1446.3+3111_daily_bin4> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin4> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 08:46:02 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:46:04 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:46:04 2021
Terminated at Fri Sep 10 08:58:17 2021
Results reported at Fri Sep 10 08:58:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin4 221.591 31.1955 240364801 240624001 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 :                                   709.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             357.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            735 sec.

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

