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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1479
RA = 221.591, Dec = 31.1955
tmin = 622684801, tmax = 622944001
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='776684', job_status='RUN', time_executed='2021-09-10 09:14:29.718465', time_epoch_executed='1631290469.72' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1479'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776684

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776684/ft1_4FGL_J1446.3+3111_daily_bin1479.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776684/ft2_4FGL_J1446.3+3111_daily_bin1479.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776684/ft1_4FGL_J1446.3+3111_daily_bin1479.fits outfile=/scratch/kocevski/776684/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1479.fits ra=221.591 dec=31.1955 rad=12.0 tmin=622684801.0 tmax=622944001.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 5.19
user 4.93
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776684/ft1_filtered_4FGL_J1446.3+3111_daily_bin1479.fits evtable="EVENTS" scfile=/scratch/kocevski/776684/ft2_4FGL_J1446.3+3111_daily_bin1479.fits sctable="SC_DATA" expcube=/scratch/kocevski/776684/ltcube_622684801_622944001_4FGL_J1446.3+3111_daily_bin1479.fits outfile=/scratch/kocevski/776684/expmap_622684801_622944001_4FGL_J1446.3+3111_daily_bin1479.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/776684/ltcube_622684801_622944001_4FGL_J1446.3+3111_daily_bin1479.fits
.....................!
real 194.35
user 189.73
sys 4.17

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/776684/ft1_filtered_4FGL_J1446.3+3111_daily_bin1479.fits scfile=/scratch/kocevski/776684/ft2_4FGL_J1446.3+3111_daily_bin1479.fits outfile=/scratch/kocevski/776684/cmap_622684801_622944001_4FGL_J1446.3+3111_daily_bin1479.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.56
user 0.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776684/ft1_filtered_4FGL_J1446.3+3111_daily_bin1479.fits scfile=/scratch/kocevski/776684/ft2_4FGL_J1446.3+3111_daily_bin1479.fits outfile=/scratch/kocevski/776684/cmap_HighResolution_622684801_622944001_4FGL_J1446.3+3111_daily_bin1479.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.56
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69314       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.2424       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .43714       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11288E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.836       1.0000         .10000E-03   10000.    
     7 'norm      '    .10182E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0071       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2836       1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.946       1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.3980       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .95813E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.1583       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .92736       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2396       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=   6085.770     FROM MIGRAD    STATUS=CONVERGED    663 CALLS     3285 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69070        .82643        .74346E-07   -.84283E-03
   2  Prefactor     .10000E-03    15.433        .19166E-05** at limit **
   3  norm          7.2459        4.6492        .78939E-06    .20172E-03
   4  Prefactor     .39344        19.314       -.12579E-05    .14658E-03
   5  Prefactor     .10002E-03    24.576       -.38625E-06** at limit **
   6  Prefactor     34.836        7.7938        .15946E-06    .15157E-03
   7  norm          .10000E-03    5.9591       -.15301E-06** at limit **
   8  norm          2.0068        2.1993       -.34462E-07    .13367E-04
   9  Prefactor     .10000E-03    16.529       -.11480E-04** at limit **
  10  norm          .10000E-03    2.2205       -.10400E-06** at limit **
  11  norm          .10000E-03    3.0646        .18304E-06** at limit **
  12  Prefactor     .10000E-03    14.819        .67430E-05** at limit **
  13  norm          1.2825        3.9017       -.27051E-06    .85404E-05
  14  Prefactor     38.930        39.883       -.15353E-04    .14214E-04
  15  norm          .10000E-03    12.491        .30297E-05** at limit **
  16  Prefactor     .10000E-03    12.263       -.11156E-05** at limit **
  17  Prefactor     .10000E-03    3.6965       -.19652E-07** at limit **
  18  Prefactor     .10000E-03    11.428       -.93367E-05** at limit **
  19  norm          2.3977        1.6999        .22711E-07    .72683E-04
  20  Prefactor     .10000E-03    35.944        .35002E-05** at limit **
  21  Prefactor     .10000E-03    3.2566        .18413E-07** at limit **
  22  norm          .95745E-01    .62399       -.17910E-06    .34309E-03
  23  Prefactor     .10000E-03    9.4215        .20847E-05** at limit **
  24  Prefactor     3.1532        30.963        .56332E-06   -.31625E-04
  25  Prefactor     .10000E-03    13.419        .75421E-05** at limit **
  26  Normalizat    .92752        .20290        .11606E-05    .19272E-03
  27  Prefactor     1.2396        .17720        .29764E-06    .26257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.690699
  Prefactor  = 0.0001
  norm       = 7.24587
  Prefactor  = 0.39344
  Prefactor  = 0.000100024
  Prefactor  = 34.8359
  norm       = 0.0001
  norm       = 2.00677
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.28246
  Prefactor  = 38.9299
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.39767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0957452
  Prefactor  = 0.0001
  Prefactor  = 3.15319
  Prefactor  = 0.0001
  Normalizat = 0.927516
  Prefactor  = 1.23959
 **********
 **   18 **HESSE 
 **********

 FCN=   6085.770     FROM HESSE     STATUS=OK           488 CALLS     3773 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69070        10.385        .23846E-02   -1.5542    
   2  Prefactor     .10000E-03    15.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.2459        4.6749        .12833E-03   -1.5170    
   4  Prefactor     .39344        183.05        .50389E-02   -1.5583    
   5  Prefactor     .10002E-03    106.42        .57973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.836        7.8260        .67897E-04   -1.4527    
   7  norm          .10000E-03    5.9606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0068        2.1978        .11731E-03   -1.5425    
   9  Prefactor     .10000E-03    16.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.2438        .11349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.0821        .13333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2825        3.8757        .25864E-03   -1.5481    
  14  Prefactor     38.930        40.074        .64226E-04   -1.4459    
  15  norm          .10000E-03    12.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.7057        .14641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.3977        1.7011        .81575E-04   -1.5398    
  20  Prefactor     .10000E-03    35.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.2731        .13748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .95745E-01    2.3097        .11602E-02   -1.5646    
  23  Prefactor     .10000E-03    9.5552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.1532        30.990        .11403E-02   -1.5353    
  25  Prefactor     .10000E-03    13.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .92752        .24746        .29055E-03   -.95500    
  27  Prefactor     1.2396        .21481        .23635E-03   -.85121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79514e-09
Minuit parameter uncertainties:
  1  5.35707
  2  1.5042e-06
  3  4.67518
  4  17.0234
  5  0.00320346
  6  7.82619
  7  1.01107e-06
  8  2.19791
  9  3.3925e-06
  10  2.30756e-06
  11  9.97202e-07
  12  1.49075e-08
  13  3.87642
  14  40.1018
  15  2.53803e-05
  16  3.24528e-05
  17  4.82413e-07
  18  4.68406e-05
  19  1.70116
  20  7.53847e-06
  21  2.50652e-07
  22  0.940064
  23  1.03078e-05
  24  19.7835
  25  7.15087e-06
  26  0.247767
  27  0.214962
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  3.893e+01  4.010e+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:  1.240e+00  2.150e-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.275e-01  2.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.44
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 4.35e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 1.19e-05

TS (Fixed Index): 1.44
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776684/likelihoodResults_622684801_622944001_4FGL_J1446.3+3111_daily_bin1479.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) = 6085.73013681
delta logL = 0.0402967202572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6085.72861274
delta logL = 0.0418207959692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.183       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1784       1.0000          .0000       10.000    
     3 'Normalizat'    .94047       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2303       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=   6085.729     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      230 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.638        57.272        .14295E-02    .12787E-03
   2  Index         2.1758        1.1533        .24854E-01   -.39810E-04
   3  Normalizat    .94036        .19007        .65279E-01   -.15715E-03
   4  Prefactor     1.2303        .17463        .53623E-01   -.17494E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.6385
  Index      = 2.17578
  Normalizat = 0.940359
  Prefactor  = 1.23028
 **********
 **   18 **HESSE 
 **********

 FCN=   6085.729     FROM HESSE     STATUS=OK            27 CALLS      257 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.638        53.672        .57180E-04   -1.4298    
   2  Index         2.1758        1.0907        .99417E-03   -.60024    
   3  Normalizat    .94036        .22640        .28874E-03   -.95056    
   4  Prefactor     1.2303        .20810        .23709E-03   -.85405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43405e-10
Minuit parameter uncertainties:
  1  53.7241
  2  1.10381
  3  0.226635
  4  0.208244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776684': 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) = 6085.72857652
delta logL = 0.0418570069533

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  4.964e+01  5.372e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.176e+00  1.104e+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:  1.230e+00  2.082e-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.404e-01  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.52
Ra Dec: 221.591 31.195
Photon Index (Free Index): 2.18 +/- 1.10
Photon Flux (Free Index): 3.32e-08 +/- 4.50e-08
Energy Flux (Free Index): 1.56e-05 +/- 2.48e-05

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/776684/cmap_HighResolution_622684801_622944001_4FGL_J1446.3+3111_daily_bin1479.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='1.56e-05', photon_flux_error='4.35e-08', dlogl='4.19e-02', energy_flux='1.16e-05', photon_flux2='3.32e-08', job_status='DONE', time_completed='2021-09-10 09:26:07.368781', photon_index_error2='1.10', photon_index2='2.18', ts='1.44', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='2.48e-05', EG='0.93', time_epoch_completed='1631291167.37', return_code='0', job_id='776684', GAL2='1.23', EG2='0.94', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.50e-08', ts2='1.52', photon_index='2.56' WHERE bin_id='1479' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:26:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 776684: <4FGL_J1446.3+3111_daily_bin1479> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1479> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 09:11:13 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:11:14 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:11:14 2021
Terminated at Fri Sep 10 09:26:08 2021
Results reported at Fri Sep 10 09:26:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1479 221.591 31.1955 622684801 622944001 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 :                                   693.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

