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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin99
RA = 221.591, Dec = 31.1955
tmin = 264988801, tmax = 265248001
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='769050', job_status='RUN', time_executed='2021-09-10 08:46:15.681028', time_epoch_executed='1631288775.68' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='99'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/769050

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/769050/ft1_4FGL_J1446.3+3111_daily_bin99.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/769050/ft2_4FGL_J1446.3+3111_daily_bin99.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/769050/ft1_4FGL_J1446.3+3111_daily_bin99.fits outfile=/scratch/kocevski/769050/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin99.fits ra=221.591 dec=31.1955 rad=12.0 tmin=264988801.0 tmax=265248001.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.44
user 1.24
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/769050/ft2_4FGL_J1446.3+3111_daily_bin99.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/769050/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin99.fits evtable="EVENTS" outfile="/scratch/kocevski/769050/ft1_filtered_4FGL_J1446.3+3111_daily_bin99.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/769050/ft1_filtered_4FGL_J1446.3+3111_daily_bin99.fits" evtable="EVENTS" scfile=/scratch/kocevski/769050/ft2_4FGL_J1446.3+3111_daily_bin99.fits sctable="SC_DATA" outfile=/scratch/kocevski/769050/ltcube_264988801_265248001_4FGL_J1446.3+3111_daily_bin99.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/769050/ft2_4FGL_J1446.3+3111_daily_bin99.fits
.....................!
real 13.01
user 12.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/769050/ft1_filtered_4FGL_J1446.3+3111_daily_bin99.fits evtable="EVENTS" scfile=/scratch/kocevski/769050/ft2_4FGL_J1446.3+3111_daily_bin99.fits sctable="SC_DATA" expcube=/scratch/kocevski/769050/ltcube_264988801_265248001_4FGL_J1446.3+3111_daily_bin99.fits outfile=/scratch/kocevski/769050/expmap_264988801_265248001_4FGL_J1446.3+3111_daily_bin99.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/769050/ltcube_264988801_265248001_4FGL_J1446.3+3111_daily_bin99.fits
.....................!
real 193.05
user 186.76
sys 5.79

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/769050/ft1_filtered_4FGL_J1446.3+3111_daily_bin99.fits scfile=/scratch/kocevski/769050/ft2_4FGL_J1446.3+3111_daily_bin99.fits outfile=/scratch/kocevski/769050/cmap_264988801_265248001_4FGL_J1446.3+3111_daily_bin99.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.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9396       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.751       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2477       1.0000         .10000E-03   10000.    
     7 'norm      '    12.640       1.0000         .10000E-03   10000.    
     8 'norm      '    11.361       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1273       1.0000         .10000E-03   10000.    
    11 'norm      '    .56253       1.0000         .10000E-03   10000.    
    12 'Prefactor '    65.822       1.0000         .10000E-03   10000.    
    13 'norm      '    4.2938       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.9298       1.0000         .10000E-03   10000.    
    15 'norm      '    4.6334       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11886       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.2418       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.841       1.0000         .10000E-03   10000.    
    19 'norm      '    .17476E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11036E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.3561       1.0000         .10000E-03   10000.    
    22 'norm      '    12.071       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .63699E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.746       1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.0011       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1002       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .95006       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=   10290.24     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     3336 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9394        2.9561       -.12900E-07    .42153E-04
   2  Prefactor     24.743        15.461        .98919E-06    .32016E-03
   3  norm          .10000E-03    .84579        .14174E-07** at limit **
   4  Prefactor     .10000E-03    5.8243        .74316E-07** at limit **
   5  Prefactor     .10000E-03    8.6802        .10638E-06** at limit **
   6  Prefactor     1.2479        1.7012        .95760E-07   -.88126E-04
   7  norm          12.635        10.932       -.17794E-06   -.67337E-04
   8  norm          11.359        2.8767        .17567E-08   -.34122E-04
   9  Prefactor     .10000E-03    8.8760       -.39480E-07** at limit **
  10  norm          1.1269        2.2080        .55294E-06   -.26247E-03
  11  norm          .53700        3.2862        .54017E-06   -.37166E-03
  12  Prefactor     65.824        46.030       -.77967E-06   -.79805E-04
  13  norm          4.2928        3.3158        .77417E-07   -.90168E-04
  14  Prefactor     6.9374        22.286        .21861E-05    .94809E-04
  15  norm          4.6363        4.4659       -.58469E-07    .33972E-04
  16  Prefactor     .10002E-03    8.1215       -.48125E-06** at limit **
  17  Prefactor     8.2487        6.3807        .98662E-06   -.18294E-03
  18  Prefactor     13.840        6.6396        .46205E-07    .10598E-04
  19  norm          .10000E-03    .52241       -.17477E-06** at limit **
  20  Prefactor     .10000E-03    37.841       -.15002E-06** at limit **
  21  Prefactor     3.3550        6.2996        .61981E-06   -.19593E-04
  22  norm          12.071        1.8256        .39411E-07   -.55006E-03
  23  Prefactor     .10000E-03    5.3667        .19913E-06** at limit **
  24  Prefactor     12.751        14.909       -.40603E-06   -.10991E-03
  25  Prefactor     8.0024        9.5127        .13422E-06    .42812E-04
  26  Normalizat    1.1003        .15182       -.44071E-06    .61635E-04
  27  Prefactor     .95008        .13597       -.10115E-06   -.10081E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.9394
  Prefactor  = 24.7425
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.2479
  norm       = 12.6347
  norm       = 11.3592
  Prefactor  = 0.0001
  norm       = 1.1269
  norm       = 0.537002
  Prefactor  = 65.824
  norm       = 4.29278
  Prefactor  = 6.93738
  norm       = 4.63633
  Prefactor  = 0.000100017
  Prefactor  = 8.24867
  Prefactor  = 13.8402
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.35498
  norm       = 12.0706
  Prefactor  = 0.000100002
  Prefactor  = 12.7512
  Prefactor  = 8.00241
  Normalizat = 1.10027
  Prefactor  = 0.950085
 **********
 **   18 **HESSE 
 **********

 FCN=   10290.24     FROM HESSE     STATUS=OK           508 CALLS     3844 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9394        2.9638        .17000E-03   -1.5365    
   2  Prefactor     24.743        15.997        .80518E-04   -1.4713    
   3  norm          .10000E-03    .85147        .91083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.8443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.7488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2479        1.6734        .14936E-03   -1.5485    
   7  norm          12.635        10.923        .11267E-03   -1.4997    
   8  norm          11.359        2.8769        .83573E-04   -1.5034    
   9  Prefactor     .10000E-03    8.8840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1269        2.2040        .20555E-03   -1.5496    
  11  norm          .53700        7.7477        .34087E-02   -1.5561    
  12  Prefactor     65.824        45.982        .49467E-04   -1.4084    
  13  norm          4.2928        3.3130        .15635E-03   -1.5294    
  14  Prefactor     6.9374        22.690        .15240E-03   -1.5181    
  15  norm          4.6363        4.4666        .18698E-03   -1.5277    
  16  Prefactor     .10002E-03    11.055        .78533E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.2487        6.5320        .69824E-03   -1.5133    
  18  Prefactor     13.840        6.6437        .10766E-03   -1.4964    
  19  norm          .10000E-03    11.480        .13324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    37.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.3550        6.2768        .22091E-03   -1.5342    
  22  norm          12.071        1.6806        .23286E-03   -1.5013    
  23  Prefactor     .10000E-03    19.276        .41285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     12.751        14.946        .11220E-03   -1.4994    
  25  Prefactor     8.0024        9.5173        .14175E-03   -1.5142    
  26  Normalizat    1.1003        .17570        .26390E-03   -.89743    
  27  Prefactor     .95008        .15910        .26055E-03   -.94412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33544e-08
Minuit parameter uncertainties:
  1  2.96394
  2  15.9998
  3  1.71805e-07
  4  6.11056e-06
  5  5.29963e-06
  6  1.67346
  7  10.9249
  8  2.8769
  9  2.49887e-06
  10  2.20415
  11  4.07974
  12  46.0066
  13  3.31318
  14  22.7177
  15  4.46688
  16  0.000874066
  17  6.53259
  18  6.64407
  19  0.000155379
  20  2.66627e-05
  21  6.27805
  22  1.68064
  23  0.000404872
  24  14.9499
  25  9.51913
  26  0.175794
  27  0.159174
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  6.937e+00  2.272e+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.501e-01  1.592e-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.100e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/769050/likelihoodResults_264988801_265248001_4FGL_J1446.3+3111_daily_bin99.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) = 10290.23326
delta logL = 0.00846392378844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10290.2323613
delta logL = 0.00936265069322

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7944       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2847       1.0000          .0000       10.000    
     3 'Normalizat'    1.1027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94832       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=   10290.23     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      260 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8782        601.35        .35907E-02    .14510E-03
   2  Index         2.3057        2.9083        .50000       -.47122E-05
   3  Normalizat    1.1025        .22833E-01    .59617E-01    .24037E-03
   4  Prefactor     .94865        .20899E-01    .45618E-01    .21266E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.87822
  Index      = 2.30572
  Normalizat = 1.10247
  Prefactor  = 0.948645
 **********
 **   18 **HESSE 
 **********

 FCN=   10290.23     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8782        24.207        .14363E-03   -1.5147    
   2  Index         2.3057        1.6846        .12928E-01   -.56908    
   3  Normalizat    1.1025        .16727        .26366E-03   -.89673    
   4  Prefactor     .94865        .15441        .26071E-03   -.94461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42063e-10
Minuit parameter uncertainties:
  1  24.2372
  2  1.73306
  3  0.167349
  4  0.154477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/769050': 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) = 10290.2322777
delta logL = 0.00944619449729

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  7.878e+00  2.424e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.306e+00  1.733e+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:  9.486e-01  1.545e-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.102e+00  1.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 221.591 31.195

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/769050/cmap_HighResolution_264988801_265248001_4FGL_J1446.3+3111_daily_bin99.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-09-10 09:02:39.276783', job_id='769050', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631289759.28', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='9.45e-03', ts2='0.13', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='99' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:02:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 769050: <4FGL_J1446.3+3111_daily_bin99> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin99> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 08:46:02 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:46:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 08:46:04 2021
Terminated at Fri Sep 10 09:02:40 2021
Results reported at Fri Sep 10 09:02:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin99 221.591 31.1955 264988801 265248001 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 :                                   981.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            998 sec.

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

