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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin69
RA = 221.591, Dec = 31.1955
tmin = 257212801, tmax = 257472001
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='767870', job_status='RUN', time_executed='2021-09-10 08:44:51.634251', time_epoch_executed='1631288691.63' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/767870

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/767870/ft1_4FGL_J1446.3+3111_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/767870/ft2_4FGL_J1446.3+3111_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/767870/ft1_4FGL_J1446.3+3111_daily_bin69.fits outfile=/scratch/kocevski/767870/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin69.fits ra=221.591 dec=31.1955 rad=12.0 tmin=257212801.0 tmax=257472001.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 2.46
user 2.09
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/767870/ft2_4FGL_J1446.3+3111_daily_bin69.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/767870/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin69.fits evtable="EVENTS" outfile="/scratch/kocevski/767870/ft1_filtered_4FGL_J1446.3+3111_daily_bin69.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/767870/ft1_filtered_4FGL_J1446.3+3111_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/767870/ft2_4FGL_J1446.3+3111_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/767870/ltcube_257212801_257472001_4FGL_J1446.3+3111_daily_bin69.fits outfile=/scratch/kocevski/767870/expmap_257212801_257472001_4FGL_J1446.3+3111_daily_bin69.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/767870/ltcube_257212801_257472001_4FGL_J1446.3+3111_daily_bin69.fits
.....................!
real 189.79
user 185.32
sys 4.04

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/767870/ft1_filtered_4FGL_J1446.3+3111_daily_bin69.fits scfile=/scratch/kocevski/767870/ft2_4FGL_J1446.3+3111_daily_bin69.fits outfile=/scratch/kocevski/767870/cmap_257212801_257472001_4FGL_J1446.3+3111_daily_bin69.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/767870/ft1_filtered_4FGL_J1446.3+3111_daily_bin69.fits scfile=/scratch/kocevski/767870/ft2_4FGL_J1446.3+3111_daily_bin69.fits outfile=/scratch/kocevski/767870/cmap_HighResolution_257212801_257472001_4FGL_J1446.3+3111_daily_bin69.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4990       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2664       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15301E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .86557       1.0000         .10000E-03   10000.    
     7 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.5741       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.4134       1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.1850       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.9187       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.6980       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.966       1.0000         .10000E-03   10000.    
    19 'norm      '    .24826       1.0000         .10000E-03   10000.    
    20 'Prefactor '    72.985       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .59451       1.0000         .10000E-03   10000.    
    22 'norm      '    13.350       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .66565       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2299       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=   6521.640     FROM MIGRAD    STATUS=CONVERGED    646 CALLS     3268 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4992        5.6378       -.77375E-09    .10316E-04
   2  Prefactor     .10000E-03    7.3130        .45532E-07** at limit **
   3  norm          .10000E-03    1.0219        .79302E-08** at limit **
   4  Prefactor     1.2654        41.289        .61403E-05   -.10283E-04
   5  Prefactor     .10000E-03    56.420        .93422E-06** at limit **
   6  Prefactor     .86531        3.8411        .12676E-06   -.37705E-04
   7  norm          .10000E-03    4.9701        .30403E-07** at limit **
   8  norm          7.5742        3.0376       -.20599E-07   -.25301E-05
   9  Prefactor     9.4111        15.526        .10840E-06    .10241E-04
  10  norm          .10000E-03    1.8909        .68736E-07** at limit **
  11  norm          9.1839        6.2258        .12584E-06    .12661E-03
  12  Prefactor     .10000E-03    18.560        .38458E-06** at limit **
  13  norm          .10000E-03    3.0080        .91883E-07** at limit **
  14  Prefactor     .10000E-03    11.276       -.11974E-07** at limit **
  15  norm          4.9194        8.4249        .12712E-06    .37792E-04
  16  Prefactor     3.6993        12.238        .18116E-05    .11455E-03
  17  Prefactor     .10000E-03    2.1930        .55369E-07** at limit **
  18  Prefactor     20.965        9.1247       -.31796E-07    .19037E-05
  19  norm          .24808        .81845       -.71807E-06    .38690E-03
  20  Prefactor     73.013        65.819        .20416E-05    .59205E-04
  21  Prefactor     .59474        8.1378        .24242E-06   -.25737E-05
  22  norm          13.350        2.0603       -.86428E-08    .46267E-03
  23  Prefactor     .10000E-03    6.0554       -.71743E-07** at limit **
  24  Prefactor     .10000E-03    20.466       -.34183E-06** at limit **
  25  Prefactor     .10000E-03    6.4576       -.36529E-07** at limit **
  26  Normalizat    .66563        .18712       -.68608E-06    .16025E-03
  27  Prefactor     1.2299        .16279        .55198E-06    .21326E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.49924
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.26536
  Prefactor  = 0.0001
  Prefactor  = 0.865309
  norm       = 0.0001
  norm       = 7.57419
  Prefactor  = 9.41114
  norm       = 0.0001
  norm       = 9.18387
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.91942
  Prefactor  = 3.69934
  Prefactor  = 0.0001
  Prefactor  = 20.9651
  norm       = 0.248079
  Prefactor  = 73.0125
  Prefactor  = 0.594739
  norm       = 13.3498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.665631
  Prefactor  = 1.22994
 **********
 **   18 **HESSE 
 **********

 FCN=   6521.640     FROM HESSE     STATUS=OK           486 CALLS     3754 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4992        5.6501        .18982E-03   -1.5284    
   2  Prefactor     .10000E-03    7.3198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.0241        .79707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2654        41.948        .19789E-02   -1.5483    
   5  Prefactor     .10000E-03    58.112        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .86531        3.9017        .28624E-03   -1.5522    
   7  norm          .10000E-03    4.9728        .17583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.5742        3.0409        .86056E-04   -1.5157    
   9  Prefactor     9.4111        15.529        .13062E-03   -1.5094    
  10  norm          .10000E-03    1.9241        .10835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.1839        6.2524        .13224E-03   -1.5102    
  12  Prefactor     .10000E-03    18.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.0451        .13663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9194        8.4004        .90676E-03   -1.5264    
  16  Prefactor     3.6993        12.274        .10501E-02   -1.5323    
  17  Prefactor     .10000E-03    2.1971        .11676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.965        9.1305        .87475E-04   -1.4792    
  19  norm          .24808        .83809        .11960E-02   -1.5608    
  20  Prefactor     73.013        66.407        .46994E-04   -1.3997    
  21  Prefactor     .59474        8.3373        .44504E-03   -1.5554    
  22  norm          13.350        2.0560        .43278E-04   -1.4977    
  23  Prefactor     .10000E-03    6.0880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    20.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.4585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .66563        .21175        .29681E-03   -1.0527    
  27  Prefactor     1.2299        .18890        .22012E-03   -.85415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01558e-09
Minuit parameter uncertainties:
  1  5.65074
  2  4.92394e-06
  3  1.34317e-06
  4  14.5816
  5  0.000320734
  6  3.67508
  7  2.6624e-06
  8  3.04099
  9  15.5352
  10  3.34312e-06
  11  6.2528
  12  5.05377e-05
  13  5.86045e-06
  14  1.31921e-05
  15  8.40242
  16  12.2823
  17  4.61254e-06
  18  9.13115
  19  0.838127
  20  66.4744
  21  4.45392
  22  2.05601
  23  5.94411e-06
  24  6.77641e-05
  25  5.84495e-06
  26  0.212013
  27  0.189
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.319e-05  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.230e+00  1.890e-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:  6.656e-01  2.120e-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: 5.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/767870/likelihoodResults_257212801_257472001_4FGL_J1446.3+3111_daily_bin69.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) = 6521.64047858
delta logL = -0.000421835752604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6521.64005669
delta logL = 5.79166226089e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5295       1.0000          .0000       10.000    
     3 'Normalizat'    .66562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2299       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=   6521.640     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      265 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.826        .18142E-01** at limit **
   2  Index         1.9098        5.2451        .50000        .14938E-07
   3  Normalizat    .66563        .73332E-02    .29681E-03    .17861E-02
   4  Prefactor     1.2299        .72317E-02    .22012E-03    .24784E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.9098
  Normalizat = 0.665633
  Prefactor  = 1.22994
 **********
 **   18 **HESSE 
 **********

 FCN=   6521.640     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      294 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    299.00        .32890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9098        7.4555        .50000       -.66625    
   3  Normalizat    .66563        .17594E-01    .59362E-04   -1.0527    
   4  Prefactor     1.2299        .17351E-01    .44024E-04   -.85415    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.59873e-10
Minuit parameter uncertainties:
  1  0.000641448
  2  776.818
  3  0.0175944
  4  0.017351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/767870': 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) = 6521.64005519
delta logL = 1.55844281835e-06

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  6.414e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.910e+00  7.768e+02  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.230e+00  1.735e-02  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:  6.656e-01  1.759e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/767870/cmap_HighResolution_257212801_257472001_4FGL_J1446.3+3111_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.55e-08', time_completed='2021-09-10 08:57:03.731931', job_id='767870', GAL2='1.23', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1631289423.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.56e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='69' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:57:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 767870: <4FGL_J1446.3+3111_daily_bin69> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin69 221.591 31.1955 257212801 257472001 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 :                                   726.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            926 sec.

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

