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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1140
RA = 221.591, Dec = 31.1955
tmin = 534816001, tmax = 535075201
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='775054', job_status='RUN', time_executed='2021-09-10 09:06:45.263780', time_epoch_executed='1631290005.26' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/775054

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/775054/ft1_4FGL_J1446.3+3111_daily_bin1140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/775054/ft2_4FGL_J1446.3+3111_daily_bin1140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/775054/ft1_4FGL_J1446.3+3111_daily_bin1140.fits outfile=/scratch/kocevski/775054/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1140.fits ra=221.591 dec=31.1955 rad=12.0 tmin=534816001.0 tmax=535075201.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 3.56
user 3.34
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/775054/ft1_filtered_4FGL_J1446.3+3111_daily_bin1140.fits" evtable="EVENTS" scfile=/scratch/kocevski/775054/ft2_4FGL_J1446.3+3111_daily_bin1140.fits sctable="SC_DATA" outfile=/scratch/kocevski/775054/ltcube_534816001_535075201_4FGL_J1446.3+3111_daily_bin1140.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/775054/ft2_4FGL_J1446.3+3111_daily_bin1140.fits
.....................!
real 11.60
user 11.21
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/775054/ft1_filtered_4FGL_J1446.3+3111_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/775054/ft2_4FGL_J1446.3+3111_daily_bin1140.fits sctable="SC_DATA" expcube=/scratch/kocevski/775054/ltcube_534816001_535075201_4FGL_J1446.3+3111_daily_bin1140.fits outfile=/scratch/kocevski/775054/expmap_534816001_535075201_4FGL_J1446.3+3111_daily_bin1140.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/775054/ltcube_534816001_535075201_4FGL_J1446.3+3111_daily_bin1140.fits
.....................!
real 190.11
user 185.03
sys 4.73

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/775054/ft1_filtered_4FGL_J1446.3+3111_daily_bin1140.fits scfile=/scratch/kocevski/775054/ft2_4FGL_J1446.3+3111_daily_bin1140.fits outfile=/scratch/kocevski/775054/cmap_534816001_535075201_4FGL_J1446.3+3111_daily_bin1140.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/775054/ft1_filtered_4FGL_J1446.3+3111_daily_bin1140.fits scfile=/scratch/kocevski/775054/ft2_4FGL_J1446.3+3111_daily_bin1140.fits outfile=/scratch/kocevski/775054/cmap_HighResolution_534816001_535075201_4FGL_J1446.3+3111_daily_bin1140.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .88277E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.5885       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6783       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.8004       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    20.812       1.0000         .10000E-03   10000.    
    11 'norm      '    6.5483       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.094       1.0000         .10000E-03   10000.    
    13 'norm      '    8.3124       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1187       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7575       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6152       1.0000         .10000E-03   10000.    
    19 'norm      '    .49174       1.0000         .10000E-03   10000.    
    20 'Prefactor '    80.072       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.2217       1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.116       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    22.230       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .99391       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .97570       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=   5280.066     FROM MIGRAD    STATUS=CONVERGED   1161 CALLS     3815 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5730        .88957E-03** at limit **
   2  Prefactor     .10000E-03    5.3752        .16452E-02** at limit **
   3  norm          .85581E-01    17.489        .20102E-02    .11497E-03
   4  Prefactor     2.5891        8.1411        .25363E-03    .13851E-04
   5  Prefactor     .10000E-03    14.241        .18142E-02** at limit **
   6  Prefactor     7.6787        4.7886        .11789E-03    .10733E-03
   7  norm          .10000E-03    4.9208        .15739E-02** at limit **
   8  norm          6.8009        3.3252        .89525E-04   -.40636E-05
   9  Prefactor     .10000E-03    27.410        .18142E-02** at limit **
  10  norm          20.813        6.2413        .87796E-04   -.31077E-04
  11  norm          6.5484        6.9821        .15683E-03    .67418E-05
  12  Prefactor     16.102        31.376        .99835E-04    .12412E-04
  13  norm          8.3124        6.2292        .13905E-03   -.12019E-04
  14  Prefactor     1.0104        222.40        .72934E-02    .24627E-04
  15  norm          .10000E-03    5.5723        .16729E-02** at limit **
  16  Prefactor     .10000E-03    34.045        .18142E-02** at limit **
  17  Prefactor     3.7756        12.274        .10414E-02    .44071E-04
  18  Prefactor     6.6159        10.459        .15602E-03   -.19309E-04
  19  norm          .48872        2.0636        .15078E-03    .72004E-04
  20  Prefactor     80.072        98.526        .44882E-04   -.63832E-05
  21  Prefactor     .10000E-03    22.795        .36285E-03** at limit **
  22  norm          2.2216        2.0793        .74617E-04   -.29314E-03
  23  Prefactor     16.114        16.190        .99768E-04   -.19372E-03
  24  Prefactor     .10000E-03    78.821        .18142E-02** at limit **
  25  Prefactor     22.220        28.086        .84953E-04   -.15256E-04
  26  Normalizat    .99405        .23247        .25933E-03   -.68651E-04
  27  Prefactor     .97561        .21017        .24774E-03   -.12271E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0855807
  Prefactor  = 2.58909
  Prefactor  = 0.0001
  Prefactor  = 7.67866
  norm       = 0.0001
  norm       = 6.80092
  Prefactor  = 0.0001
  norm       = 20.8131
  norm       = 6.54837
  Prefactor  = 16.1017
  norm       = 8.31243
  Prefactor  = 1.01037
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.77559
  Prefactor  = 6.61591
  norm       = 0.488725
  Prefactor  = 80.072
  Prefactor  = 0.0001
  norm       = 2.22161
  Prefactor  = 16.1143
  Prefactor  = 0.0001
  Prefactor  = 22.2201
  Normalizat = 0.994051
  Prefactor  = 0.975611
 **********
 **   18 **HESSE 
 **********

 FCN=   5280.066     FROM HESSE     STATUS=OK           466 CALLS     4281 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5730        .17791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.3753        .32904E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .85581E-01    17.768        .80409E-04   -1.5649    
   4  Prefactor     2.5891        8.1378        .10145E-04   -1.5386    
   5  Prefactor     .10000E-03    14.243        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.6787        4.7875        .47156E-05   -1.5154    
   7  norm          .10000E-03    4.9208        .31478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.8009        3.3250        .35810E-05   -1.5186    
   9  Prefactor     .10000E-03    27.417        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          20.813        6.2405        .35119E-05   -1.4795    
  11  norm          6.5484        6.9809        .62731E-05   -1.5196    
  12  Prefactor     16.102        31.384        .39934E-05   -1.4905    
  13  norm          8.3124        6.2285        .55620E-05   -1.5131    
  14  Prefactor     1.0104        224.29        .29174E-03   -1.5507    
  15  norm          .10000E-03    5.5728        .33459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    34.070        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.7756        12.180        .41656E-04   -1.5319    
  18  Prefactor     6.6159        10.456        .62409E-05   -1.5193    
  19  norm          .48872        2.0344        .60313E-05   -1.5568    
  20  Prefactor     80.072        98.475        .89764E-05   -1.3916    
  21  Prefactor     .10000E-03    22.796        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.2216        2.0791        .29847E-05   -1.5410    
  23  Prefactor     16.114        16.186        .39907E-05   -1.4905    
  24  Prefactor     .10000E-03    78.858        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     22.220        28.085        .33981E-05   -1.4765    
  26  Normalizat    .99405        .23185        .10373E-04   -.93230    
  27  Prefactor     .97561        .21035        .99097E-05   -.93547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.24913e-11
Minuit parameter uncertainties:
  1  3.71799e-07
  2  1.50031e-07
  3  2.46554
  4  8.14131
  5  3.08174e-05
  6  4.78777
  7  2.7667e-06
  8  3.32508
  9  8.69411e-06
  10  6.24069
  11  6.9818
  12  31.4157
  13  6.229
  14  30.2216
  15  4.36339e-06
  16  3.37795e-05
  17  12.188
  18  10.4591
  19  1.99414
  20  98.6766
  21  6.99758e-05
  22  2.07922
  23  16.1909
  24  0.000122936
  25  28.102
  26  0.232089
  27  0.210527
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.010e+00  3.022e+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.756e-01  2.105e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.941e-01  2.321e-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: 9.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/775054/likelihoodResults_534816001_535075201_4FGL_J1446.3+3111_daily_bin1140.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) = 5280.06592973
delta logL = 0.000349850818566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5280.06394412
delta logL = 0.00233546083018

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7573       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1787       1.0000          .0000       10.000    
     3 'Normalizat'    .99413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97484       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5280.064     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      361 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7573        135.27        .12257E-02    .17171E-04
   2  Index         2.1792        3.3627        .29180E-01   -.45672E-04
   3  Normalizat    .99411        .21393        .25933E-03    .16221E-05
   4  Prefactor     .97486        .20368        .24783E-03   -.13762E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.75727
  Index      = 2.17924
  Normalizat = 0.994108
  Prefactor  = 0.974861
 **********
 **   18 **HESSE 
 **********

 FCN=   5280.064     FROM HESSE     STATUS=OK            27 CALLS      388 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7573        123.87        .24514E-03   -1.5376    
   2  Index         2.1792        3.2653        .58359E-02   -.59941    
   3  Normalizat    .99411        .21417        .10373E-04   -.93228    
   4  Prefactor     .97486        .20376        .99133E-05   -.93572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45443e-12
Minuit parameter uncertainties:
  1  37.0431
  2  3.76652
  3  0.214355
  4  0.203921
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/775054': 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) = 5280.0639441
delta logL = 0.00233547659991

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.757e+00  3.704e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.179e+00  3.767e+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.749e-01  2.039e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.941e-01  2.144e-01  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/775054/cmap_HighResolution_534816001_535075201_4FGL_J1446.3+3111_daily_bin1140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.01e-08', time_completed='2021-09-10 09:18:05.548321', job_id='775054', GAL2='0.97', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631290685.55', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.34e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1140' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:18:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 775054: <4FGL_J1446.3+3111_daily_bin1140> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1140> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 10 09:06:15 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:06:16 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:16 2021
Terminated at Fri Sep 10 09:18:06 2021
Results reported at Fri Sep 10 09:18:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1140 221.591 31.1955 534816001 535075201 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 :                                   678.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

