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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1015
RA = 221.591, Dec = 31.1955
tmin = 502416001, tmax = 502675201
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='774866', job_status='RUN', time_executed='2021-09-10 09:09:25.893760', time_epoch_executed='1631290165.89' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/774866

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/774866/ft1_4FGL_J1446.3+3111_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/774866/ft2_4FGL_J1446.3+3111_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/774866/ft1_4FGL_J1446.3+3111_daily_bin1015.fits outfile=/scratch/kocevski/774866/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1015.fits ra=221.591 dec=31.1955 rad=12.0 tmin=502416001.0 tmax=502675201.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.54
user 3.32
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/774866/ft1_filtered_4FGL_J1446.3+3111_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/774866/ft2_4FGL_J1446.3+3111_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/774866/ltcube_502416001_502675201_4FGL_J1446.3+3111_daily_bin1015.fits outfile=/scratch/kocevski/774866/expmap_502416001_502675201_4FGL_J1446.3+3111_daily_bin1015.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/774866/ltcube_502416001_502675201_4FGL_J1446.3+3111_daily_bin1015.fits
.....................!
real 190.87
user 184.98
sys 5.53

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/774866/ft1_filtered_4FGL_J1446.3+3111_daily_bin1015.fits scfile=/scratch/kocevski/774866/ft2_4FGL_J1446.3+3111_daily_bin1015.fits outfile=/scratch/kocevski/774866/cmap_502416001_502675201_4FGL_J1446.3+3111_daily_bin1015.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.414       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.8277       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1687       1.0000         .10000E-03   10000.    
    10 'norm      '    5.7748       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.0076       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2492       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5904       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.155       1.0000         .10000E-03   10000.    
    19 'norm      '    .34570       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.5336       1.0000         .10000E-03   10000.    
    22 'norm      '    2.7401       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .85292       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2109       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=   6551.235     FROM MIGRAD    STATUS=CONVERGED    643 CALLS     2754 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4002       -.15967E-05** at limit **
   2  Prefactor     .10000E-03    6.3854        .75358E-06** at limit **
   3  norm          .10000E-03    1.1687        .16830E-08** at limit **
   4  Prefactor     .10000E-03    4.9268        .63177E-07** at limit **
   5  Prefactor     17.413        11.744       -.26597E-06    .12266E-04
   6  Prefactor     .10000E-03    .94228        .36731E-07** at limit **
   7  norm          .10000E-03    3.8135       -.37540E-06** at limit **
   8  norm          9.8277        3.2689        .41834E-06    .19782E-03
   9  Prefactor     4.1653        14.788        .10214E-05    .68374E-05
  10  norm          5.7748        3.6368        .58915E-06    .10846E-03
  11  norm          .10000E-03    1.4355       -.29546E-07** at limit **
  12  Prefactor     .10000E-03    13.411       -.98453E-05** at limit **
  13  norm          3.0078        3.7302        .12018E-05    .75969E-04
  14  Prefactor     5.2295        39.393       -.23903E-04   -.80764E-04
  15  norm          .10000E-03    3.4816        .18359E-05** at limit **
  16  Prefactor     1.5915        4.7123        .26413E-05   -.15483E-02
  17  Prefactor     .10000E-03    2.0005       -.61588E-07** at limit **
  18  Prefactor     16.155        10.501       -.85154E-07   -.21443E-04
  19  norm          .34532        .88235       -.13766E-06   -.44539E-03
  20  Prefactor     .10000E-03    79.964       -.11206E-05** at limit **
  21  Prefactor     9.5342        8.3491       -.86151E-07   -.71812E-04
  22  norm          2.7406        1.2142       -.54267E-07   -.26597E-02
  23  Prefactor     .10000E-03    11.716        .87199E-05** at limit **
  24  Prefactor     .10000E-03    22.710        .29266E-05** at limit **
  25  Prefactor     .10000E-03    7.7356       -.18093E-05** at limit **
  26  Normalizat    .85294        .16519        .18858E-05   -.16518E-03
  27  Prefactor     1.2109        .16249       -.10201E-05   -.85495E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4129
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.82774
  Prefactor  = 4.16527
  norm       = 5.77483
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.00784
  Prefactor  = 5.22955
  norm       = 0.0001
  Prefactor  = 1.59146
  Prefactor  = 0.0001
  Prefactor  = 16.1551
  norm       = 0.345316
  Prefactor  = 0.0001
  Prefactor  = 9.53423
  norm       = 2.74061
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.852942
  Prefactor  = 1.21089
 **********
 **   18 **HESSE 
 **********

 FCN=   6551.235     FROM HESSE     STATUS=OK           488 CALLS     3242 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4618        .14572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.3895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.1742        .85435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.9397        .17539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.413        11.775        .95979E-04   -1.4873    
   6  Prefactor     .10000E-03    .94591        .76706E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.8160        .15437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.8277        3.2700        .81846E-04   -1.5081    
   9  Prefactor     4.1653        14.777        .19740E-03   -1.5300    
  10  norm          5.7748        3.6367        .11866E-03   -1.5227    
  11  norm          .10000E-03    1.4380        .94696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0078        3.7242        .16809E-03   -1.5361    
  14  Prefactor     5.2295        39.526        .17544E-03   -1.5251    
  15  norm          .10000E-03    3.4909        .14753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5915        17.191        .16824E-02   -1.5456    
  17  Prefactor     .10000E-03    2.0037        .11177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.155        10.520        .99648E-04   -1.4904    
  19  norm          .34532        .83665        .11579E-02   -1.5590    
  20  Prefactor     .10000E-03    80.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.5342        8.3575        .12979E-03   -1.5090    
  22  norm          2.7406        1.2144        .28345E-03   -1.5377    
  23  Prefactor     .10000E-03    11.921        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.7425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .85294        .19107        .26410E-03   -.98134    
  27  Prefactor     1.2109        .18877        .22533E-03   -.85997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6342e-08
Minuit parameter uncertainties:
  1  1.5966e-05
  2  7.03149e-06
  3  5.50025e-07
  4  9.87858e-07
  5  11.7761
  6  1.1791e-06
  7  3.88501e-06
  8  3.27006
  9  14.7899
  10  3.63687
  11  2.85368e-07
  12  0.000180451
  13  3.72444
  14  28.7805
  15  1.6998e-05
  16  10.4647
  17  1.46839e-07
  18  10.5215
  19  0.836675
  20  5.65343e-05
  21  8.35854
  22  1.21439
  23  5.56716e-05
  24  2.96587e-05
  25  2.66713e-05
  26  0.191222
  27  0.188875
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.230e+00  2.878e+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:  1.211e+00  1.889e-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:  8.529e-01  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/774866/likelihoodResults_502416001_502675201_4FGL_J1446.3+3111_daily_bin1015.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) = 6550.62795779
delta logL = 0.607137979892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6550.61424993
delta logL = 0.620845846431

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25091       1.0000         .10000E-03   10000.    
     2 'Index     '    5.6470       1.0000          .0000       10.000    
     3 'Normalizat'    .79678       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2454       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=   6550.614     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      284 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25069        4.1575        .86916E-02    .32617E-02
   2  Index         5.6478        3.2165        .13739        .20666E-03
   3  Normalizat    .79668        .35820E-01    .43568E-01    .77614E-04
   4  Prefactor     1.2456        .35898E-01    .50349E-01   -.88967E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.250693
  Index      = 5.64785
  Normalizat = 0.796678
  Prefactor  = 1.24556
 **********
 **   18 **HESSE 
 **********

 FCN=   6550.614     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      317 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25069        12.098        .40365E-03   -1.5608    
   2  Index         5.6478        7.7879        .69872E-02    .12994    
   3  Normalizat    .79668        .13679        .27238E-03   -1.0019    
   4  Prefactor     1.2456        .13450        .22259E-03   -.84941    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.65761e-10
Minuit parameter uncertainties:
  1  3.48305
  2  7.58951
  3  0.136845
  4  0.134535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/774866': 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): 102
logL (Free Index) = 6550.61424959
delta logL = 0.620846188904

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.507e-01  3.483e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  5.648e+00  7.590e+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:  1.246e+00  1.345e-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:  7.967e-01  1.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.37
Ra Dec: 221.591 31.195
Photon Index (Free Index): 5.65 +/- 7.59
Photon Flux (Free Index): 4.53e-08 +/- 4.39e-08
Energy Flux (Free Index): 5.76e-06 +/- 6.77e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/774866/cmap_HighResolution_502416001_502675201_4FGL_J1446.3+3111_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', comment='SUCCESS', energy_flux2='5.76e-06', dlogl='6.21e-01', photon_flux2='4.53e-08', job_status='DONE', time_completed='2021-09-10 09:21:03.083214', photon_index_error2='7.59', photon_index2='5.65', ts='0.04', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='8.13e-08', energy_flux_error2='6.77e-06', EG='0.85', time_epoch_completed='1631290863.08', return_code='0', job_id='774866', GAL2='1.25', EG2='0.80', return_code2='102', photon_flux_error2='4.39e-08', ts2='1.37', photon_index='2.56' WHERE bin_id='1015' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:21:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 774866: <4FGL_J1446.3+3111_daily_bin1015> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1015> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 10 09:06:02 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:06: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 09:06:04 2021
Terminated at Fri Sep 10 09:21:03 2021
Results reported at Fri Sep 10 09:21:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1015 221.591 31.1955 502416001 502675201 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 :                                   696.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

