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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin56
RA = 221.591, Dec = 31.1955
tmin = 253843201, tmax = 254102401
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='767849', job_status='RUN', time_executed='2021-09-10 08:45:16.012243', time_epoch_executed='1631288716.01' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='56'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/767849

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/767849/ft1_4FGL_J1446.3+3111_daily_bin56.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/767849/ft2_4FGL_J1446.3+3111_daily_bin56.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/767849/ft1_4FGL_J1446.3+3111_daily_bin56.fits outfile=/scratch/kocevski/767849/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin56.fits ra=221.591 dec=31.1955 rad=12.0 tmin=253843201.0 tmax=254102401.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.46
user 1.30
sys 0.15

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/767849/ft1_filtered_4FGL_J1446.3+3111_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/767849/ft2_4FGL_J1446.3+3111_daily_bin56.fits sctable="SC_DATA" expcube=/scratch/kocevski/767849/ltcube_253843201_254102401_4FGL_J1446.3+3111_daily_bin56.fits outfile=/scratch/kocevski/767849/expmap_253843201_254102401_4FGL_J1446.3+3111_daily_bin56.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/767849/ltcube_253843201_254102401_4FGL_J1446.3+3111_daily_bin56.fits
.....................!
real 191.35
user 186.51
sys 4.48

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/767849/ft1_filtered_4FGL_J1446.3+3111_daily_bin56.fits scfile=/scratch/kocevski/767849/ft2_4FGL_J1446.3+3111_daily_bin56.fits outfile=/scratch/kocevski/767849/cmap_HighResolution_253843201_254102401_4FGL_J1446.3+3111_daily_bin56.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67305       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5239       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.952       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.2682       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.925       1.0000         .10000E-03   10000.    
    10 'norm      '    .12873E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.0312       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.8682       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9100       1.0000         .10000E-03   10000.    
    15 'norm      '    5.6735       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .92500       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2959       1.0000         .10000E-03   10000.    
    19 'norm      '    3.5578       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .52362E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.4501       1.0000         .10000E-03   10000.    
    22 'norm      '    8.7543       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.9788       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0931       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .83799       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=   5981.459     FROM MIGRAD    STATUS=CONVERGED    641 CALLS     3300 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66786        3.8533        .20160E-07   -.69838E-04
   2  Prefactor     5.5235        14.907       -.12540E-06   -.54539E-06
   3  norm          .10000E-03    1.9254        .55879E-07** at limit **
   4  Prefactor     25.948        16.602       -.66886E-06   -.89749E-05
   5  Prefactor     .10000E-03    22.546        .12640E-06** at limit **
   6  Prefactor     .10000E-03    .72054       -.32368E-07** at limit **
   7  norm          .10000E-03    16.193        .40756E-06** at limit **
   8  norm          6.2680        2.9421       -.49600E-07    .29629E-04
   9  Prefactor     23.924        24.954       -.38185E-06    .39064E-05
  10  norm          .10000E-03    2.6081       -.19360E-06** at limit **
  11  norm          5.0307        5.1477       -.13997E-06    .19733E-05
  12  Prefactor     .10000E-03    27.210        .18349E-07** at limit **
  13  norm          6.8675        5.5928       -.20725E-06    .23076E-04
  14  Prefactor     1.9196        131.70       -.35419E-05   -.49855E-05
  15  norm          5.6735        6.3182       -.11176E-06    .25312E-05
  16  Prefactor     .92136        25.402        .27905E-05   -.70087E-06
  17  Prefactor     .10000E-03    3.1733       -.88393E-07** at limit **
  18  Prefactor     4.2958        6.3135        .25072E-07    .10312E-04
  19  norm          3.5580        1.6027        .42028E-06    .12372E-03
  20  Prefactor     .10000E-03    242.40        .12491E-04** at limit **
  21  Prefactor     3.4495        5.6019       -.10809E-06   -.43018E-05
  22  norm          8.7546        2.1913        .29945E-09    .68096E-04
  23  Prefactor     2.9756        11.062        .82604E-06    .21824E-05
  24  Prefactor     .10000E-03    8.5024        .16370E-07** at limit **
  25  Prefactor     .10000E-03    10.228        .29744E-07** at limit **
  26  Normalizat    1.0932        .19190        .16864E-05    .42962E-05
  27  Prefactor     .83801        .16775       -.61730E-06    .14278E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.667861
  Prefactor  = 5.52347
  norm       = 0.0001
  Prefactor  = 25.9479
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.26805
  Prefactor  = 23.9245
  norm       = 0.0001
  norm       = 5.03075
  Prefactor  = 0.0001
  norm       = 6.86751
  Prefactor  = 1.91961
  norm       = 5.67354
  Prefactor  = 0.921357
  Prefactor  = 0.0001
  Prefactor  = 4.29576
  norm       = 3.55799
  Prefactor  = 0.0001
  Prefactor  = 3.44953
  norm       = 8.7546
  Prefactor  = 2.97559
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09321
  Prefactor  = 0.838005
 **********
 **   18 **HESSE 
 **********

 FCN=   5981.459     FROM HESSE     STATUS=OK           498 CALLS     3798 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66786        16.698        .28792E-02   -1.5545    
   2  Prefactor     5.5235        14.881        .17095E-03   -1.5238    
   3  norm          .10000E-03    1.9373        .10475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.948        16.591        .39318E-03   -1.4689    
   5  Prefactor     .10000E-03    22.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .72176        .64114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    16.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.2680        2.9437        .87858E-04   -1.5207    
   9  Prefactor     23.924        24.991        .81894E-04   -1.4729    
  10  norm          .10000E-03    6.0048        .24135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.0307        5.1435        .17126E-03   -1.5259    
  12  Prefactor     .10000E-03    27.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.8675        5.5940        .15309E-03   -1.5184    
  14  Prefactor     1.9196        133.40        .30081E-03   -1.5431    
  15  norm          5.6735        6.3220        .16864E-03   -1.5232    
  16  Prefactor     .92136        25.452        .25796E-02   -1.5516    
  17  Prefactor     .10000E-03    3.1950        .13458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.2958        6.3138        .97186E-03   -1.5293    
  19  norm          3.5580        1.6087        .63430E-04   -1.5331    
  20  Prefactor     .10000E-03    241.27        .21134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.4495        5.5980        .21774E-03   -1.5336    
  22  norm          8.7546        2.1833        .45367E-04   -1.5116    
  23  Prefactor     2.9756        11.002        .11762E-02   -1.5363    
  24  Prefactor     .10000E-03    8.5029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    10.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0932        .22159        .24392E-03   -.89970    
  27  Prefactor     .83801        .19515        .25493E-03   -.98342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90358e-08
Minuit parameter uncertainties:
  1  6.68046
  2  14.8912
  3  9.97977e-07
  4  16.5943
  5  4.32274e-05
  6  7.49699e-07
  7  3.23271e-05
  8  2.94379
  9  25.0021
  10  1.19123e-05
  11  5.14399
  12  1.23252e-05
  13  5.59447
  14  32.079
  15  6.32278
  16  9.68918
  17  1.54612e-05
  18  6.31482
  19  1.6087
  20  5.85643e-05
  21  5.59882
  22  2.18336
  23  11.0098
  24  1.42505e-06
  25  1.20356e-05
  26  0.221778
  27  0.195316
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.920e+00  3.208e+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:  8.380e-01  1.953e-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.093e+00  2.218e-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: 8.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/767849/likelihoodResults_253843201_254102401_4FGL_J1446.3+3111_daily_bin56.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) = 5980.82610807
delta logL = 0.632830338172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5980.82604573
delta logL = 0.632892683278

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0175       1.0000         .10000E-03   10000.    
     2 'Index     '    4.9876       1.0000          .0000       10.000    
     3 'Normalizat'    1.0140       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88420       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=   5980.826     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      230 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0092        16.454        .12885E-01   -.71769E-03
   2  Index         4.9923        3.3597        .12651        .47541E-05
   3  Normalizat    1.0140        .42659E-01    .44433E-01   -.12204E-03
   4  Prefactor     .88421        .39753E-01    .44803E-01   -.73763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00916
  Index      = 4.99225
  Normalizat = 1.01402
  Prefactor  = 0.88421
 **********
 **   18 **HESSE 
 **********

 FCN=   5980.826     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      263 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0092        43.668        .70986E-04   -1.5507    
   2  Index         4.9923        7.4881        .64442E-02   -.15497E-02
   3  Normalizat    1.0140        .18310        .25207E-03   -.92562    
   4  Prefactor     .88421        .16650        .24897E-03   -.96695    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.82287e-09
Minuit parameter uncertainties:
  1  13.2865
  2  7.44506
  3  0.183216
  4  0.166598
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/767849': 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) = 5980.8260432
delta logL = 0.632895215093

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.009e+00  1.329e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  4.992e+00  7.445e+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:  8.842e-01  1.666e-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.014e+00  1.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 221.591 31.195
Photon Index (Free Index): 4.99 +/- 7.45
Photon Flux (Free Index): 5.69e-08 +/- 5.32e-08
Energy Flux (Free Index): 7.57e-06 +/- 8.76e-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/767849/cmap_HighResolution_253843201_254102401_4FGL_J1446.3+3111_daily_bin56.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.87e-03', comment='SUCCESS', energy_flux2='7.57e-06', dlogl='6.33e-01', photon_flux2='5.69e-08', job_status='DONE', time_completed='2021-09-10 08:56:51.164778', photon_index_error2='7.45', photon_index2='4.99', ts='0.00', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='8.81e-08', energy_flux_error2='8.76e-06', EG='1.09', time_epoch_completed='1631289411.16', return_code='0', job_id='767849', GAL2='0.88', EG2='1.01', return_code2='102', photon_flux_error2='5.32e-08', ts2='1.41', photon_index='2.56' WHERE bin_id='56' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:56:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 767849: <4FGL_J1446.3+3111_daily_bin56> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin56 221.591 31.1955 253843201 254102401 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 :                                 1094 MB
    Average Memory :                             266.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            916 sec.

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

