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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1129
RA = 221.591, Dec = 31.1955
tmin = 531964801, tmax = 532224001
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='775038', job_status='RUN', time_executed='2021-09-10 09:09:42.339934', time_epoch_executed='1631290182.34' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/775038

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/775038/ft1_4FGL_J1446.3+3111_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/775038/ft2_4FGL_J1446.3+3111_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/775038/ft1_4FGL_J1446.3+3111_daily_bin1129.fits outfile=/scratch/kocevski/775038/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1129.fits ra=221.591 dec=31.1955 rad=12.0 tmin=531964801.0 tmax=532224001.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.72
user 2.49
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/775038/ft2_4FGL_J1446.3+3111_daily_bin1129.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/775038/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/775038/ft1_filtered_4FGL_J1446.3+3111_daily_bin1129.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.41
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/775038/ft1_filtered_4FGL_J1446.3+3111_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/775038/ft2_4FGL_J1446.3+3111_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/775038/ltcube_531964801_532224001_4FGL_J1446.3+3111_daily_bin1129.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/775038/ft2_4FGL_J1446.3+3111_daily_bin1129.fits
.....................!
real 8.95
user 8.64
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/775038/ft1_filtered_4FGL_J1446.3+3111_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/775038/ft2_4FGL_J1446.3+3111_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/775038/ltcube_531964801_532224001_4FGL_J1446.3+3111_daily_bin1129.fits outfile=/scratch/kocevski/775038/expmap_531964801_532224001_4FGL_J1446.3+3111_daily_bin1129.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/775038/ltcube_531964801_532224001_4FGL_J1446.3+3111_daily_bin1129.fits
.....................!
real 146.01
user 141.68
sys 4.06

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/775038/ft1_filtered_4FGL_J1446.3+3111_daily_bin1129.fits scfile=/scratch/kocevski/775038/ft2_4FGL_J1446.3+3111_daily_bin1129.fits outfile=/scratch/kocevski/775038/cmap_531964801_532224001_4FGL_J1446.3+3111_daily_bin1129.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.44
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/775038/ft1_filtered_4FGL_J1446.3+3111_daily_bin1129.fits scfile=/scratch/kocevski/775038/ft2_4FGL_J1446.3+3111_daily_bin1129.fits outfile=/scratch/kocevski/775038/cmap_HighResolution_531964801_532224001_4FGL_J1446.3+3111_daily_bin1129.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.45
user 0.29
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7822       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.8163       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3810       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2172       1.0000         .10000E-03   10000.    
     7 'norm      '    .19092E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.8963       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.2560       1.0000         .10000E-03   10000.    
    11 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.2320       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10237E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .35602E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7371       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7687       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10687E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.7744       1.0000         .10000E-03   10000.    
    22 'norm      '    3.5226       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1445       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .91566       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=   6436.315     FROM MIGRAD    STATUS=CONVERGED    669 CALLS     2818 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7834        5.6447        .15345E-07    .14298E-04
   2  Prefactor     .10000E-03    5.1109        .92134E-07** at limit **
   3  norm          3.8179        3.6024        .95082E-07    .43472E-03
   4  Prefactor     .10000E-03    5.6692        .17736E-06** at limit **
   5  Prefactor     1.4246        24.327       -.67861E-05    .43686E-04
   6  Prefactor     4.2179        3.3927        .19595E-07    .67706E-04
   7  norm          .10001E-03    36.843        .22787E-06** at limit **
   8  norm          7.8965        3.1170       -.77927E-08   -.78362E-05
   9  Prefactor     .10000E-03    10.925        .72621E-07** at limit **
  10  norm          4.2565        3.0412       -.13266E-07   -.37634E-04
  11  norm          .10000E-03    2.7304        .10555E-06** at limit **
  12  Prefactor     .10000E-03    15.137       -.14793E-06** at limit **
  13  norm          3.2316        5.0910       -.91428E-07    .81353E-06
  14  Prefactor     .10000E-03    23.154        .16584E-06** at limit **
  15  norm          .10000E-03    73.504        .21510E-04** at limit **
  16  Prefactor     .10000E-03    5.5169        .21858E-07** at limit **
  17  Prefactor     .10001E-03    7.5226        .45198E-05** at limit **
  18  Prefactor     4.7373        5.9360       -.28940E-07    .31653E-05
  19  norm          1.7617        1.9136       -.10610E-05   -.59972E-03
  20  Prefactor     .10000E-03    104.03       -.22048E-06** at limit **
  21  Prefactor     6.7742        6.6467       -.29314E-07    .46673E-04
  22  norm          3.5227        1.4037       -.52649E-08    .14416E-02
  23  Prefactor     .10000E-03    4.7845        .19059E-06** at limit **
  24  Prefactor     .10000E-03    23.982       -.11200E-07** at limit **
  25  Prefactor     .10000E-03    16.963        .48987E-06** at limit **
  26  Normalizat    1.1443        .18011       -.57493E-06    .13737E-03
  27  Prefactor     .91574        .16432        .65614E-06    .38620E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.78339
  Prefactor  = 0.0001
  norm       = 3.81793
  Prefactor  = 0.0001
  Prefactor  = 1.42459
  Prefactor  = 4.21787
  norm       = 0.000100006
  norm       = 7.89646
  Prefactor  = 0.0001
  norm       = 4.2565
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.23163
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 4.73731
  norm       = 1.76167
  Prefactor  = 0.0001
  Prefactor  = 6.77416
  norm       = 3.52273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14434
  Prefactor  = 0.915743
 **********
 **   18 **HESSE 
 **********

 FCN=   6436.315     FROM HESSE     STATUS=OK           498 CALLS     3316 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7834        5.6522        .18398E-03   -1.5271    
   2  Prefactor     .10000E-03    5.1133        .17716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.8179        3.5975        .14234E-03   -1.5317    
   4  Prefactor     .10000E-03    5.6888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4246        24.416        .18518E-02   -1.5469    
   6  Prefactor     4.2179        3.3957        .12699E-03   -1.5297    
   7  norm          .10001E-03    37.694        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.8965        3.1177        .85909E-04   -1.5146    
   9  Prefactor     .10000E-03    10.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.2565        3.0431        .11468E-03   -1.5295    
  11  norm          .10000E-03    2.7448        .12944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.2316        5.0908        .21487E-03   -1.5348    
  14  Prefactor     .10000E-03    23.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    71.615        .35397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.5230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    6.8749        .60387E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7373        5.9372        .18487E-03   -1.5273    
  19  norm          1.7617        2.0705        .10877E-03   -1.5443    
  20  Prefactor     .10000E-03    104.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.7742        6.6471        .15416E-03   -1.5187    
  22  norm          3.5227        1.4023        .57179E-04   -1.5333    
  23  Prefactor     .10000E-03    4.8028        .17121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    24.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    17.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1443        .21363        .24834E-03   -.88341    
  27  Prefactor     .91574        .19342        .25189E-03   -.95593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.80623e-10
Minuit parameter uncertainties:
  1  5.65279
  2  2.75325e-05
  3  3.59773
  4  6.8096e-05
  5  11.8005
  6  3.39584
  7  0.000940825
  8  3.1178
  9  3.01913e-05
  10  3.0432
  11  2.46308e-05
  12  6.71414e-05
  13  5.09152
  14  0.000102064
  15  0.000479608
  16  4.2667e-06
  17  0.000436737
  18  5.93797
  19  2.07062
  20  0.000450966
  21  6.64782
  22  1.40231
  23  3.14616e-05
  24  1.83182e-05
  25  0.000182158
  26  0.213791
  27  0.193564
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.021e-04  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.157e-01  1.936e-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.144e+00  2.138e-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.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/775038/likelihoodResults_531964801_532224001_4FGL_J1446.3+3111_daily_bin1129.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) = 6436.31551879
delta logL = -0.000205397055652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6436.31531316
delta logL = 2.30888872466e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.5318       1.0000          .0000       10.000    
     3 'Normalizat'    1.1443       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91574       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=   6436.315     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      249 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.756        .90712E-02** at limit **
   2  Index         3.5361        5.4763        .50000       -.16563E-05
   3  Normalizat    1.1443        .32710E-02    .56161E-01    .40973E-04
   4  Prefactor     .91574        .30192E-02    .45205E-01    .30398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 3.5361
  Normalizat = 1.14434
  Prefactor  = 0.91574
 **********
 **   18 **HESSE 
 **********

 FCN=   6436.315     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      282 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1686.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5361        5.3678        .50000       -.29713    
   3  Normalizat    1.1443        .39786E-01    .24834E-03   -.88341    
   4  Prefactor     .91574        .36665E-01    .25189E-03   -.95593    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.47614e-07
Minuit parameter uncertainties:
  1  0.002325
  2  2684.92
  3  0.0397866
  4  0.0366655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/775038': 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) = 6436.3153131
delta logL = 2.90976458928e-07

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.325e-03  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.536e+00  2.685e+03  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.157e-01  3.667e-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:  1.144e+00  3.979e-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/775038/cmap_HighResolution_531964801_532224001_4FGL_J1446.3+3111_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.14e-08', time_completed='2021-09-10 09:18:19.423841', job_id='775038', GAL2='0.92', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631290699.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.91e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1129' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:18:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 775038: <4FGL_J1446.3+3111_daily_bin1129> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1129> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 10 09:06:13 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:06:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:06:15 2021
Terminated at Fri Sep 10 09:18:19 2021
Results reported at Fri Sep 10 09:18:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1129 221.591 31.1955 531964801 532224001 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 :                                   515.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            726 sec.

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

