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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin88
RA = 221.591, Dec = 31.1955
tmin = 262137601, tmax = 262396801
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='767899', job_status='RUN', time_executed='2021-09-10 08:41:53.675562', time_epoch_executed='1631288513.68' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='88'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/767899

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/767899/ft1_4FGL_J1446.3+3111_daily_bin88.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/767899/ft2_4FGL_J1446.3+3111_daily_bin88.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/767899/ft1_4FGL_J1446.3+3111_daily_bin88.fits outfile=/scratch/kocevski/767899/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin88.fits ra=221.591 dec=31.1955 rad=12.0 tmin=262137601.0 tmax=262396801.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.40
user 1.20
sys 0.18

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/767899/ft1_filtered_4FGL_J1446.3+3111_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/767899/ft2_4FGL_J1446.3+3111_daily_bin88.fits sctable="SC_DATA" expcube=/scratch/kocevski/767899/ltcube_262137601_262396801_4FGL_J1446.3+3111_daily_bin88.fits outfile=/scratch/kocevski/767899/expmap_262137601_262396801_4FGL_J1446.3+3111_daily_bin88.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/767899/ltcube_262137601_262396801_4FGL_J1446.3+3111_daily_bin88.fits
.....................!
real 191.70
user 186.51
sys 4.83

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/767899/ft1_filtered_4FGL_J1446.3+3111_daily_bin88.fits scfile=/scratch/kocevski/767899/ft2_4FGL_J1446.3+3111_daily_bin88.fits outfile=/scratch/kocevski/767899/cmap_HighResolution_262137601_262396801_4FGL_J1446.3+3111_daily_bin88.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/767899/ft1_filtered_4FGL_J1446.3+3111_daily_bin88.fits evtable="EVENTS" scfile=/scratch/kocevski/767899/ft2_4FGL_J1446.3+3111_daily_bin88.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/767899/Model_4FGL_J1446.3+3111_daily_bin88.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/767899/ft1_filtered_4FGL_J1446.3+3111_daily_bin88.fits.....................!
real 47.07
user 45.74
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.607       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.1571       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.9519       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.472       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5002       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .25267E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    83.263       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    19.383       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.1513       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .90422       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .97745       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=   5865.974     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     3337 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.471        .46973E-05** at limit **
   2  Prefactor     .10000E-03    20.548        .35049E-05** at limit **
   3  norm          .10000E-03    1.2360        .11143E-06** at limit **
   4  Prefactor     10.603        10.994        .22322E-06    .27444E-04
   5  Prefactor     .10000E-03    9.0471       -.30873E-05** at limit **
   6  Prefactor     .10000E-03    1.5348        .14910E-06** at limit **
   7  norm          .10000E-03    5.9188       -.71863E-06** at limit **
   8  norm          9.1568        3.3709       -.30699E-06   -.33495E-06
   9  Prefactor     .10000E-03    8.0768       -.61562E-06** at limit **
  10  norm          .10000E-03    .94791        .26952E-07** at limit **
  11  norm          .10000E-03    2.3912        .20980E-08** at limit **
  12  Prefactor     .10000E-03    15.236       -.19016E-05** at limit **
  13  norm          4.9515        3.9901        .11430E-05   -.55011E-04
  14  Prefactor     27.472        26.288       -.34671E-06    .75380E-05
  15  norm          .10000E-03    6.0963        .33935E-05** at limit **
  16  Prefactor     9.5056        15.311       -.24414E-05    .42790E-04
  17  Prefactor     .10000E-03    5.3599        .19584E-05** at limit **
  18  Prefactor     .10000E-03    2.3718       -.25538E-07** at limit **
  19  norm          .10003E-03    .80574       -.71649E-06** at limit **
  20  Prefactor     83.300        75.010        .35978E-04    .73386E-04
  21  Prefactor     .10000E-03    1.9905        .29209E-07** at limit **
  22  norm          19.384        2.5878       -.25774E-07    .10827E-02
  23  Prefactor     .10000E-03    5.6009       -.35392E-05** at limit **
  24  Prefactor     1.0832        105.38       -.99729E-05   -.74140E-04
  25  Prefactor     .10000E-03    15.857       -.43344E-05** at limit **
  26  Normalizat    .90416        .18378       -.13175E-05    .13595E-03
  27  Prefactor     .97757        .16787       -.40921E-06    .96353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.6034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.15678
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.95147
  Prefactor  = 27.4723
  norm       = 0.0001
  Prefactor  = 9.50556
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100034
  Prefactor  = 83.3004
  Prefactor  = 0.0001
  norm       = 19.3844
  Prefactor  = 0.0001
  Prefactor  = 1.08317
  Prefactor  = 0.0001
  Normalizat = 0.90416
  Prefactor  = 0.977572
 **********
 **   18 **HESSE 
 **********

 FCN=   5865.974     FROM HESSE     STATUS=OK           480 CALLS     3817 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.883        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2399        .83140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.603        11.013        .12302E-03   -1.5057    
   5  Prefactor     .10000E-03    9.0611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5632        .92622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.9227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.1568        3.3712        .82578E-04   -1.5103    
   9  Prefactor     .10000E-03    8.0801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .95060        .72817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.3976        .11564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.9515        3.9887        .13275E-03   -1.5263    
  14  Prefactor     27.472        26.315        .76433E-04   -1.4659    
  15  norm          .10000E-03    6.1490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.5056        15.223        .13002E-03   -1.5091    
  17  Prefactor     .10000E-03    5.3890        .17291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3746        .11519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10003E-03    15.533        .12965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     83.300        74.890        .22010E-03   -1.3880    
  21  Prefactor     .10000E-03    1.9933        .10553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          19.384        2.5836        .42601E-04   -1.4827    
  23  Prefactor     .10000E-03    5.6053        .17674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.0832        110.19        .43116E-03   -1.5500    
  25  Prefactor     .10000E-03    15.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .90416        .21067        .26455E-03   -.96314    
  27  Prefactor     .97757        .19365        .24168E-03   -.93481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43639e-09
Minuit parameter uncertainties:
  1  1.56128e-05
  2  1.75015e-05
  3  1.68865e-06
  4  11.0149
  5  9.36982e-06
  6  3.91815e-06
  7  2.8851e-06
  8  3.37125
  9  3.04658e-06
  10  1.16734e-06
  11  4.78776e-06
  12  5.81939e-06
  13  3.98888
  14  26.3261
  15  5.32392e-06
  16  15.2294
  17  5.29639e-06
  18  1.40312e-06
  19  0.0014497
  20  74.9749
  21  1.57881e-06
  22  2.58357
  23  1.44234e-05
  24  21.8906
  25  5.53874e-05
  26  0.210862
  27  0.193786
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.747e+01  2.633e+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.776e-01  1.938e-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:  9.042e-01  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.42
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 2.98e-08 +/- 2.86e-08
Energy Flux (Fixed Index): 8.16e-06 +/- 7.81e-06

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

Saving results to:
/scratch/kocevski/767899/likelihoodResults_262137601_262396801_4FGL_J1446.3+3111_daily_bin88.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) = 5865.96737094
delta logL = 0.00682989066536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5865.96498356
delta logL = 0.00921726962497

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.449       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4358       1.0000          .0000       10.000    
     3 'Normalizat'    .90796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97522       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=   5865.965     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      255 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.452        31.985        .73829E-04   -.35623E-03
   2  Index         2.4359        .89667        .98268E-02   -.16044E-03
   3  Normalizat    .90755        .20342        .26412E-03    .35416E-03
   4  Prefactor     .97559        .19154        .24190E-03    .32842E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.4521
  Index      = 2.43588
  Normalizat = 0.907549
  Prefactor  = 0.975593
 **********
 **   18 **HESSE 
 **********

 FCN=   5865.965     FROM HESSE     STATUS=OK            23 CALLS      278 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.452        31.252        .14766E-04   -1.4622    
   2  Index         2.4359        .87605        .39307E-03   -.53847    
   3  Normalizat    .90755        .20351        .52824E-04   -.96195    
   4  Prefactor     .97559        .19165        .48380E-04   -.93548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35735e-09
Minuit parameter uncertainties:
  1  31.2691
  2  0.882244
  3  0.203686
  4  0.191781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/767899': 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) = 5865.9649814
delta logL = 0.00921942620243

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.945e+01  3.127e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.436e+00  8.822e-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:  9.756e-01  1.918e-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:  9.075e-01  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.44 +/- 0.88
Photon Flux (Free Index): 2.72e-08 +/- 3.31e-08
Energy Flux (Free Index): 8.51e-06 +/- 8.84e-06

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/767899/cmap_HighResolution_262137601_262396801_4FGL_J1446.3+3111_daily_bin88.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.04e-03', comment='SUCCESS', photon_flux='2.98e-08', energy_flux2='8.51e-06', photon_flux_error='2.86e-08', dlogl='9.22e-03', energy_flux='8.16e-06', photon_flux2='2.72e-08', job_status='DONE', time_completed='2021-09-10 08:53:31.435180', photon_index_error2='0.88', photon_index2='2.44', ts='2.42', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='8.84e-06', EG='0.90', time_epoch_completed='1631289211.44', return_code='0', job_id='767899', GAL2='0.98', EG2='0.91', return_code2='0', energy_flux_error='7.81e-06', photon_flux_error2='3.31e-08', ts2='2.42', photon_index='2.56' WHERE bin_id='88' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:53:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 767899: <4FGL_J1446.3+3111_daily_bin88> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin88> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 08:41:40 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:41:41 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:41 2021
Terminated at Fri Sep 10 08:53:32 2021
Results reported at Fri Sep 10 08:53:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin88 221.591 31.1955 262137601 262396801 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 :                                   695.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            712 sec.

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

