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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin124
RA = 221.591, Dec = 31.1955
tmin = 271468801, tmax = 271728001
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='769084', job_status='RUN', time_executed='2021-09-10 08:46:15.363872', time_epoch_executed='1631288775.36' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='124'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/769084

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/769084/ft1_4FGL_J1446.3+3111_daily_bin124.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/769084/ft2_4FGL_J1446.3+3111_daily_bin124.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/769084/ft1_4FGL_J1446.3+3111_daily_bin124.fits outfile=/scratch/kocevski/769084/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin124.fits ra=221.591 dec=31.1955 rad=12.0 tmin=271468801.0 tmax=271728001.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.60
user 1.41
sys 0.17

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/769084/ft1_filtered_4FGL_J1446.3+3111_daily_bin124.fits evtable="EVENTS" scfile=/scratch/kocevski/769084/ft2_4FGL_J1446.3+3111_daily_bin124.fits sctable="SC_DATA" expcube=/scratch/kocevski/769084/ltcube_271468801_271728001_4FGL_J1446.3+3111_daily_bin124.fits outfile=/scratch/kocevski/769084/expmap_271468801_271728001_4FGL_J1446.3+3111_daily_bin124.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/769084/ltcube_271468801_271728001_4FGL_J1446.3+3111_daily_bin124.fits
.....................!
real 191.16
user 185.68
sys 5.00

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/769084/ft1_filtered_4FGL_J1446.3+3111_daily_bin124.fits scfile=/scratch/kocevski/769084/ft2_4FGL_J1446.3+3111_daily_bin124.fits outfile=/scratch/kocevski/769084/cmap_271468801_271728001_4FGL_J1446.3+3111_daily_bin124.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/769084/ft1_filtered_4FGL_J1446.3+3111_daily_bin124.fits scfile=/scratch/kocevski/769084/ft2_4FGL_J1446.3+3111_daily_bin124.fits outfile=/scratch/kocevski/769084/cmap_HighResolution_271468801_271728001_4FGL_J1446.3+3111_daily_bin124.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=221.591 yref=31.1955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1015       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.8548       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.902       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.634       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4916       1.0000         .10000E-03   10000.    
    10 'norm      '    .23343E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    19.312       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .43815       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.714       1.0000         .10000E-03   10000.    
    15 'norm      '    .10358E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.289       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.6960       1.0000         .10000E-03   10000.    
    19 'norm      '    1.1342       1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.640       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.8936       1.0000         .10000E-03   10000.    
    22 'norm      '    9.3813       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.2246       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    34.042       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .96802       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .77061       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=   5770.501     FROM MIGRAD    STATUS=CONVERGED    634 CALLS     3276 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1008        5.2911        .93784E-07   -.97069E-05
   2  Prefactor     .10000E-03    8.5977        .22917E-06** at limit **
   3  norm          2.8547        3.0635        .57189E-07    .23750E-06
   4  Prefactor     22.902        13.315       -.25403E-08    .38448E-04
   5  Prefactor     .10000E-03    10.665       -.54346E-06** at limit **
   6  Prefactor     .10000E-03    1.4993        .18028E-07** at limit **
   7  norm          .10000E-03    4.7549        .26985E-07** at limit **
   8  norm          10.634        3.4059        .49184E-07    .46975E-04
   9  Prefactor     7.4878        22.109       -.62759E-06   -.67512E-04
  10  norm          .10001E-03    2.1680        .82322E-06** at limit **
  11  norm          19.307        8.2922        .10064E-06   -.42734E-04
  12  Prefactor     .10000E-03    21.854       -.50768E-06** at limit **
  13  norm          .43419        3.4220        .50390E-06   -.22449E-03
  14  Prefactor     35.707        31.251       -.96361E-06   -.19034E-03
  15  norm          .10000E-03    18.049        .20338E-05** at limit **
  16  Prefactor     .10000E-03    6.8084       -.27457E-06** at limit **
  17  Prefactor     14.286        9.0590        .30164E-08   -.28645E-04
  18  Prefactor     8.6960        6.8877       -.17493E-07   -.52673E-04
  19  norm          1.1342        1.5279        .18855E-06    .42661E-04
  20  Prefactor     37.638        44.721       -.42458E-06   -.35995E-04
  21  Prefactor     8.8934        8.2495        .14576E-05   -.11967E-04
  22  norm          9.3830        2.4108       -.12153E-06   -.21031E-03
  23  Prefactor     2.2122        19.130        .15690E-05   -.40467E-04
  24  Prefactor     .10000E-03    21.935       -.98479E-06** at limit **
  25  Prefactor     34.040        27.262       -.18264E-06   -.55753E-04
  26  Normalizat    .96819        .18639        .16432E-06   -.24399E-03
  27  Prefactor     .77053        .16879       -.95091E-06   -.19332E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10076
  Prefactor  = 0.0001
  norm       = 2.85474
  Prefactor  = 22.9025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.6338
  Prefactor  = 7.4878
  norm       = 0.00010001
  norm       = 19.3073
  Prefactor  = 0.0001
  norm       = 0.43419
  Prefactor  = 35.7074
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 14.2863
  Prefactor  = 8.69602
  norm       = 1.13422
  Prefactor  = 37.6383
  Prefactor  = 8.89342
  norm       = 9.38299
  Prefactor  = 2.21218
  Prefactor  = 0.0001
  Prefactor  = 34.0404
  Normalizat = 0.968195
  Prefactor  = 0.770528
 **********
 **   18 **HESSE 
 **********

 FCN=   5770.501     FROM HESSE     STATUS=OK           490 CALLS     3766 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1008        5.3004        .15708E-03   -1.5214    
   2  Prefactor     .10000E-03    8.6207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.8547        3.0593        .13290E-03   -1.5370    
   4  Prefactor     22.902        13.321        .83699E-04   -1.4750    
   5  Prefactor     .10000E-03    10.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5170        .90790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.7559        .16177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.634        3.4071        .76719E-04   -1.5056    
   9  Prefactor     7.4878        22.254        .14652E-03   -1.5161    
  10  norm          .10001E-03    7.5704        .19974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          19.307        8.2970        .91142E-04   -1.4829    
  12  Prefactor     .10000E-03    21.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .43419        7.1181        .26367E-02   -1.5576    
  14  Prefactor     35.707        31.886        .67059E-04   -1.4512    
  15  norm          .10000E-03    19.208        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.8527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.286        8.9982        .10596E-03   -1.4952    
  18  Prefactor     8.6960        6.8896        .13593E-03   -1.5118    
  19  norm          1.1342        1.4887        .99804E-04   -1.5495    
  20  Prefactor     37.638        44.738        .65327E-04   -1.4480    
  21  Prefactor     8.8934        8.3868        .67201E-03   -1.5111    
  22  norm          9.3830        2.3643        .44495E-04   -1.5095    
  23  Prefactor     2.2122        18.687        .27568E-03   -1.5410    
  24  Prefactor     .10000E-03    22.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     34.040        27.294        .68682E-04   -1.4540    
  26  Normalizat    .96819        .21736        .24709E-03   -.94104    
  27  Prefactor     .77053        .19593        .25370E-03   -1.0082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20219e-08
Minuit parameter uncertainties:
  1  5.30078
  2  3.03889e-05
  3  3.05947
  4  13.3229
  5  8.94031e-05
  6  1.25208e-06
  7  2.21816e-06
  8  3.40712
  9  22.2785
  10  0.000551746
  11  8.29751
  12  0.000110966
  13  3.5161
  14  31.9015
  15  0.000324031
  16  3.60035e-05
  17  8.99909
  18  6.89021
  19  1.48877
  20  44.778
  21  8.38789
  22  2.36434
  23  12.8644
  24  0.00019026
  25  27.3038
  26  0.217561
  27  0.196109
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  3.571e+01  3.190e+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:  7.705e-01  1.961e-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.682e-01  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.03
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 3.88e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 9.47e-06

TS (Fixed Index): 2.03
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/769084/likelihoodResults_271468801_271728001_4FGL_J1446.3+3111_daily_bin124.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) = 5770.49826628
delta logL = 0.00227504170834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5770.49650672
delta logL = 0.00403460465986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.615       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6566       1.0000          .0000       10.000    
     3 'Normalizat'    .96327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77364       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=   5770.497     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      254 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.616        42.159        .69116E-04    .79711E-04
   2  Index         2.6577        1.2360        .86628E-02    .24792E-04
   3  Normalizat    .96287        .21713        .24771E-03    .14801E-03
   4  Prefactor     .77397        .19507        .25320E-03    .14700E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.6163
  Index      = 2.65775
  Normalizat = 0.962873
  Prefactor  = 0.773965
 **********
 **   18 **HESSE 
 **********

 FCN=   5770.497     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.616        39.212        .13823E-04   -1.4548    
   2  Index         2.6577        1.1478        .34651E-03   -.48754    
   3  Normalizat    .96287        .21598        .99083E-05   -.94285    
   4  Prefactor     .77397        .19449        .10128E-04   -1.0070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53809e-11
Minuit parameter uncertainties:
  1  39.2423
  2  1.16109
  3  0.216171
  4  0.194663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/769084': 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) = 5770.49650465
delta logL = 0.00403666991588

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  3.362e+01  3.924e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.658e+00  1.161e+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:  7.740e-01  1.947e-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.629e-01  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.02
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.66 +/- 1.16
Photon Flux (Free Index): 4.20e-08 +/- 5.16e-08
Energy Flux (Free Index): 1.05e-05 +/- 9.27e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/769084/cmap_HighResolution_271468801_271728001_4FGL_J1446.3+3111_daily_bin124.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.13e-03', comment='SUCCESS', photon_flux='3.88e-08', energy_flux2='1.05e-05', photon_flux_error='3.46e-08', dlogl='4.04e-03', energy_flux='1.06e-05', photon_flux2='4.20e-08', job_status='DONE', time_completed='2021-09-10 08:57:43.357887', photon_index_error2='1.16', photon_index2='2.66', ts='2.03', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='9.27e-06', EG='0.97', time_epoch_completed='1631289463.36', return_code='0', job_id='769084', GAL2='0.77', EG2='0.96', return_code2='0', energy_flux_error='9.47e-06', photon_flux_error2='5.16e-08', ts2='2.02', photon_index='2.56' WHERE bin_id='124' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:57:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 769084: <4FGL_J1446.3+3111_daily_bin124> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin124> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 08:46:05 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:46:06 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:06 2021
Terminated at Fri Sep 10 08:57:44 2021
Results reported at Fri Sep 10 08:57:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin124 221.591 31.1955 271468801 271728001 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 :                                   685.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            699 sec.

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

