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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1544
RA = 222.017, Dec = 36.1344
tmin = 639532801, tmax = 639792001
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='792679', job_status='RUN', time_executed='2021-09-10 10:06:05.727448', time_epoch_executed='1631293565.73' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792679

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792679/ft1_4FGL_J1448.0+3608_daily_bin1544.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792679/ft1_4FGL_J1448.0+3608_daily_bin1544.fits outfile=/scratch/kocevski/792679/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1544.fits ra=222.017 dec=36.1344 rad=12.0 tmin=639532801.0 tmax=639792001.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.69
user 3.35
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.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/792679/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1544.fits evtable="EVENTS" outfile="/scratch/kocevski/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.fits" evtable="EVENTS" scfile=/scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits sctable="SC_DATA" outfile=/scratch/kocevski/792679/ltcube_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.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/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits
.....................!
real 11.74
user 11.41
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.fits evtable="EVENTS" scfile=/scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits sctable="SC_DATA" expcube=/scratch/kocevski/792679/ltcube_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.fits outfile=/scratch/kocevski/792679/expmap_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.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/792679/ltcube_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.fits
.....................!
real 191.86
user 187.08
sys 4.47

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1448.0+3608 @ 222.017 36.1344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.fits scfile=/scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits outfile=/scratch/kocevski/792679/cmap_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.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=222.017 yref=36.1344 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.fits scfile=/scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits outfile=/scratch/kocevski/792679/cmap_HighResolution_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.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=222.017 yref=36.1344 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/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.fits evtable="EVENTS" scfile=/scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/792679/Model_4FGL_J1448.0+3608_daily_bin1544.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/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.fits.....................!
real 47.44
user 46.11
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.fits', '/scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits', expMap='/scratch/kocevski/792679/expmap_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.fits', expCube='/scratch/kocevski/792679/ltcube_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/792679/Model_4FGL_J1448.0+3608_daily_bin1544.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1448.0+3608'

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.776e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/792679/ft1_filtered_4FGL_J1448.0+3608_daily_bin1544.fits
Spacecraft file(s): /scratch/kocevski/792679/ft2_4FGL_J1448.0+3608_daily_bin1544.fits
Exposure map: /scratch/kocevski/792679/expmap_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.fits
Exposure cube: /scratch/kocevski/792679/ltcube_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/792679/Model_4FGL_J1448.0+3608_daily_bin1544.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) = 5983.15323219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.392       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.7040       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11347E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.320       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.204       1.0000         .10000E-03   10000.    
     8 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.508       1.0000         .10000E-03   10000.    
    10 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.7469       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.939       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2703       1.0000         .10000E-03   10000.    
    17 'norm      '    .10520E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.1298       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10623E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .22810E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.4131       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .98195E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.5800       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.8595       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .15177E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    11.659       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .92160       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .98537       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5983.098     FROM MIGRAD    STATUS=CONVERGED    792 CALLS     3412 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.392        14.008        .13199E-06    .62592E-05
   2  Prefactor     .10000E-03    7.8822        .48772E-07** at limit **
   3  Prefactor     .10000E-03    8.1800       -.45000E-07** at limit **
   4  norm          5.7034        4.6921        .21393E-06    .33739E-03
   5  Prefactor     .10000E-03    32.262       -.40187E-07** at limit **
   6  Prefactor     13.318        14.744       -.36647E-06   -.18846E-06
   7  Prefactor     12.204        4.6129       -.61136E-08   -.11435E-04
   8  norm          .10000E-03    11.245       -.43242E-07** at limit **
   9  Prefactor     12.497        24.864        .51973E-06   -.33964E-05
  10  norm          .10000E-03    9.5153        .13749E-06** at limit **
  11  Prefactor     .10000E-03    22.545        .21719E-06** at limit **
  12  norm          .10000E-03    1.4783        .27735E-08** at limit **
  13  Prefactor     .10000E-03    29.703       -.96226E-06** at limit **
  14  norm          2.7473        5.0029        .49586E-06    .30069E-03
  15  Prefactor     18.937        14.741       -.46266E-07   -.33141E-04
  16  Prefactor     5.2719        7.1782       -.93006E-08   -.13377E-03
  17  norm          .10000E-03    .87011        .17200E-06** at limit **
  18  norm          6.1285        3.7243        .16549E-06   -.56590E-04
  19  Prefactor     .10000E-03    9.5570       -.90655E-07** at limit **
  20  Prefactor     .10002E-03    142.76        .25741E-05** at limit **
  21  Prefactor     .10004E-03    25.825       -.97718E-05** at limit **
  22  Prefactor     8.4086        18.319        .66828E-06   -.25550E-04
  23  Prefactor     .10000E-03    9.0201       -.92362E-06** at limit **
  24  norm          .10000E-03    .29066        .22982E-07** at limit **
  25  Prefactor     1.5802        3.5579        .21982E-05    .88407E-03
  26  Prefactor     3.8629        36.644       -.81427E-06    .41876E-05
  27  Prefactor     .10002E-03    79.507        .52678E-06** at limit **
  28  norm          11.641        12.182       -.37263E-05    .22602E-04
  29  Normalizat    .92185        .17576       -.66267E-06   -.98438E-04
  30  Prefactor     .98510        .17456       -.52410E-06   -.69516E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.3917
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.70337
  Prefactor  = 0.0001
  Prefactor  = 13.3185
  Prefactor  = 12.2037
  norm       = 0.0001
  Prefactor  = 12.4974
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 2.74725
  Prefactor  = 18.9372
  Prefactor  = 5.27188
  norm       = 0.0001
  norm       = 6.12849
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 0.000100042
  Prefactor  = 8.40857
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 1.58023
  Prefactor  = 3.86288
  Prefactor  = 0.000100022
  norm       = 11.6411
  Normalizat = 0.921847
  Prefactor  = 0.985095
 **********
 **   18 **HESSE 
 **********

 FCN=   5983.098     FROM HESSE     STATUS=OK           592 CALLS     4004 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.392        14.010        .98925E-04   -1.4898    
   2  Prefactor     .10000E-03    7.8934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.1975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.7034        4.7311        .72664E-03   -1.5230    
   5  Prefactor     .10000E-03    32.959        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.318        14.680        .10975E-03   -1.4978    
   7  Prefactor     12.204        4.6245        .96818E-04   -1.5009    
   8  norm          .10000E-03    11.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.497        24.995        .11326E-03   -1.5001    
  10  norm          .10000E-03    9.8071        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.4827        .91839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    29.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.7473        5.0710        .11546E-02   -1.5376    
  15  Prefactor     18.937        14.751        .92034E-04   -1.4837    
  16  Prefactor     5.2719        6.9012        .17508E-03   -1.5249    
  17  norm          .10000E-03    1.2677        .13324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.1285        3.6548        .10966E-03   -1.5213    
  19  Prefactor     .10000E-03    9.7083        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    144.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10004E-03    39.161        .31513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.4086        17.088        .13821E-03   -1.5128    
  23  Prefactor     .10000E-03    29.212        .40233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .29579        .40683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.5802        4.7914        .14099E-02   -1.5457    
  26  Prefactor     3.8629        37.045        .20541E-03   -1.5315    
  27  Prefactor     .10002E-03    80.685        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          11.641        12.137        .11732E-03   -1.5025    
  29  Normalizat    .92185        .20938        .23619E-03   -.95697    
  30  Prefactor     .98510        .20775        .24128E-03   -.93228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0585e-09
Minuit parameter uncertainties:
  1  14.0124
  2  2.16016e-05
  3  1.81093e-05
  4  4.73138
  5  0.000139039
  6  14.6843
  7  4.62464
  8  1.53357e-06
  9  25.016
  10  3.55381e-05
  11  0.000152189
  12  1.04719e-06
  13  0.000524619
  14  5.07183
  15  14.7537
  16  6.90223
  17  8.84236e-06
  18  3.6549
  19  1.11707e-05
  20  0.00318331
  21  0.00257235
  22  17.0979
  23  0.000536619
  24  1.39895e-06
  25  4.79261
  26  23.9439
  27  0.00267551
  28  12.1392
  29  0.209561
  30  0.207922
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.747e+00  5.072e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.851e-01  2.079e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  9.218e-01  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 2.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/792679/likelihoodResults_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.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) = 5983.0620058
delta logL = 0.0358400298928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5983.06192738
delta logL = 0.0359184499439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7725       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2989       1.0000          .0000       5.0000    
     3 'Normalizat'    .92279       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98460       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5983.062     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      198 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7978        11.063        .61104E-02    .21892E-03
   2  alpha         1.3047        1.7802        .49813       -.13286E-04
   3  Normalizat    .92277        .16417        .45192E-01    .11655E-04
   4  Prefactor     .98457        .17275        .46074E-01    .85287E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.79783
  alpha      = 1.30466
  Normalizat = 0.922773
  Prefactor  = 0.98457
 **********
 **   18 **HESSE 
 **********

 FCN=   5983.062     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7978        4.9541        .22210E-03   -1.5373    
   2  alpha         1.3047        1.0081        .31650E-01   -.49853    
   3  Normalizat    .92277        .19135        .23609E-03   -.95664    
   4  Prefactor     .98457        .20255        .24133E-03   -.93246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80981e-12
Minuit parameter uncertainties:
  1  4.95482
  2  1.04739
  3  0.191492
  4  0.202708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792679': 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) = 5983.06190448
delta logL = 0.0359413486576

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.798e+00  4.955e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.305e+00  1.047e+00  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.846e-01  2.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  9.228e-01  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
Ra Dec: 222.017 36.134

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/792679/cmap_HighResolution_639532801_639792001_4FGL_J1448.0+3608_daily_bin1544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-05', job_status='DONE', photon_flux_upper_limit='2.77e-08', time_completed='2021-09-10 10:19:21.052043', job_id='792679', GAL2='0.98', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1631294361.05', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.59e-02', ts2='0.55', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1544' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:19:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 792679: <4FGL_J1448.0+3608_daily_bin1544> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1544> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 10:02:59 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:03:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:03:01 2021
Terminated at Fri Sep 10 10:19:21 2021
Results reported at Fri Sep 10 10:19:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1544 222.017 36.1344 639532801 639792001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1448.0+3608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   793.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            982 sec.

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

