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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1202
RA = 222.017, Dec = 36.1344
tmin = 550886401, tmax = 551145601
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='790993', job_status='RUN', time_executed='2021-09-10 10:01:26.818693', time_epoch_executed='1631293286.82' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790993

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790993/ft1_4FGL_J1448.0+3608_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790993/ft2_4FGL_J1448.0+3608_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790993/ft1_4FGL_J1448.0+3608_daily_bin1202.fits outfile=/scratch/kocevski/790993/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1202.fits ra=222.017 dec=36.1344 rad=12.0 tmin=550886401.0 tmax=551145601.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.80
user 3.53
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790993/ft1_filtered_4FGL_J1448.0+3608_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/790993/ft2_4FGL_J1448.0+3608_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/790993/ltcube_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.fits outfile=/scratch/kocevski/790993/expmap_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.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/790993/ltcube_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.fits
.....................!
real 189.37
user 184.97
sys 4.03

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/790993/ft1_filtered_4FGL_J1448.0+3608_daily_bin1202.fits scfile=/scratch/kocevski/790993/ft2_4FGL_J1448.0+3608_daily_bin1202.fits outfile=/scratch/kocevski/790993/cmap_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790993/ft1_filtered_4FGL_J1448.0+3608_daily_bin1202.fits scfile=/scratch/kocevski/790993/ft2_4FGL_J1448.0+3608_daily_bin1202.fits outfile=/scratch/kocevski/790993/cmap_HighResolution_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/790993/ft1_filtered_4FGL_J1448.0+3608_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/790993/ft2_4FGL_J1448.0+3608_daily_bin1202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790993/Model_4FGL_J1448.0+3608_daily_bin1202.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/790993/ft1_filtered_4FGL_J1448.0+3608_daily_bin1202.fits.....................!
real 23.76
user 21.88
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790993/ft1_filtered_4FGL_J1448.0+3608_daily_bin1202.fits', '/scratch/kocevski/790993/ft2_4FGL_J1448.0+3608_daily_bin1202.fits', expMap='/scratch/kocevski/790993/expmap_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.fits', expCube='/scratch/kocevski/790993/ltcube_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790993/Model_4FGL_J1448.0+3608_daily_bin1202.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/790993/ft1_filtered_4FGL_J1448.0+3608_daily_bin1202.fits
Spacecraft file(s): /scratch/kocevski/790993/ft2_4FGL_J1448.0+3608_daily_bin1202.fits
Exposure map: /scratch/kocevski/790993/expmap_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.fits
Exposure cube: /scratch/kocevski/790993/ltcube_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790993/Model_4FGL_J1448.0+3608_daily_bin1202.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) = 1748.35294383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .21451E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13629E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10458E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.717       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    12.938       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    4.1900       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .87941       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.3495       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=   1748.307     FROM MIGRAD    STATUS=CONVERGED    751 CALLS     3249 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.396       -.43740E-06** at limit **
   2  Prefactor     .10000E-03    23.155       -.91106E-05** at limit **
   3  Prefactor     .10000E-03    52.362       -.12292E-04** at limit **
   4  norm          .10003E-03    11.540       -.38589E-05** at limit **
   5  Prefactor     .10002E-03    88.797        .79873E-04** at limit **
   6  Prefactor     .10000E-03    52.478       -.12387E-04** at limit **
   7  Prefactor     12.718        11.717        .17202E-06    .18060E-03
   8  norm          .10000E-03    14.043        .22760E-05** at limit **
   9  Prefactor     .10000E-03    59.944        .49434E-05** at limit **
  10  norm          .10000E-03    3.6169       -.43151E-07** at limit **
  11  Prefactor     .10000E-03    28.719        .16634E-04** at limit **
  12  norm          .10000E-03    3.6817        .43769E-08** at limit **
  13  Prefactor     .10000E-03    51.075       -.14145E-04** at limit **
  14  norm          12.938        14.772        .93170E-07    .48785E-04
  15  Prefactor     .10000E-03    48.009       -.15692E-04** at limit **
  16  Prefactor     .10000E-03    5.6997        .25683E-07** at limit **
  17  norm          .10000E-03    1.4776        .58902E-07** at limit **
  18  norm          .10000E-03    5.1542        .84782E-07** at limit **
  19  Prefactor     .10000E-03    10.717       -.30358E-05** at limit **
  20  Prefactor     .10000E-03    177.87       -.86629E-04** at limit **
  21  Prefactor     .10000E-03    10.836       -.34130E-05** at limit **
  22  Prefactor     .10000E-03    13.904        .28083E-05** at limit **
  23  Prefactor     .10000E-03    7.6184        .10763E-05** at limit **
  24  norm          4.1899        2.3663       -.37596E-07   -.17700E-03
  25  Prefactor     .10000E-03    9.8330        .59968E-05** at limit **
  26  Prefactor     .10000E-03    32.984        .14294E-04** at limit **
  27  Prefactor     .10000E-03    12.022       -.96884E-06** at limit **
  28  norm          .10000E-03    8.0723       -.20818E-05** at limit **
  29  Normalizat    .87966        .33580       -.25418E-06    .85159E-05
  30  Prefactor     1.3491        .35615        .21058E-06    .15665E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100026
  Prefactor  = 0.000100021
  Prefactor  = 0.000100002
  Prefactor  = 12.718
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.9378
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.18991
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.879658
  Prefactor  = 1.34908
 **********
 **   18 **HESSE 
 **********

 FCN=   1748.307     FROM HESSE     STATUS=OK           564 CALLS     3813 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.398        .13170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    23.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    52.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10003E-03    23.380        .27120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    90.219        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    53.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.718        11.675        .11233E-03   -1.4995    
   8  norm          .10000E-03    14.044        .15307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    60.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.6179        .77669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.6838        .78364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    51.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.938        14.772        .11136E-03   -1.4988    
  15  Prefactor     .10000E-03    48.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.7047        .97502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.5044        .49608E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.2169        .92694E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.772        .13369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    178.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.864        .13446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.914        .15231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.6221        .11273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.1899        2.3656        .46693E-04   -1.5299    
  25  Prefactor     .10000E-03    9.8595        .12804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    33.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    12.023        .14163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    8.0734        .11605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .87966        .40438        .26209E-03   -.97179    
  30  Prefactor     1.3491        .42997        .23513E-03   -.81859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40169e-09
Minuit parameter uncertainties:
  1  3.37523e-06
  2  0.000100011
  3  2.3759e-05
  4  0.00154799
  5  0.00274102
  6  0.00065705
  7  11.6768
  8  2.00964e-05
  9  4.96061e-05
  10  6.71128e-07
  11  4.13646e-06
  12  1.27293e-07
  13  1.99937e-05
  14  14.7757
  15  0.000162908
  16  3.7099e-06
  17  4.72015e-06
  18  3.38009e-06
  19  4.67894e-06
  20  0.000338229
  21  2.38217e-06
  22  9.46057e-07
  23  8.77081e-07
  24  2.36561
  25  3.97139e-06
  26  3.55698e-06
  27  7.49961e-07
  28  5.08547e-07
  29  0.405786
  30  0.431114
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.294e+01  1.478e+01  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:  1.349e+00  4.311e-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:  8.797e-01  4.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 1.95e-08
Energy Flux (Fixed Index): 3.24e-05 +/- 3.70e-05

TS (Fixed Index): 2.33
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 8.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.67e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790993/likelihoodResults_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.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) = 1748.14899055
delta logL = 0.15791693315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1748.14862301
delta logL = 0.158284474452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5231       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2097       1.0000          .0000       5.0000    
     3 'Normalizat'    .86281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3589       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1748.149     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      284 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5240        14.674        .12811E-03   -.10552E-03
   2  alpha         2.2100        1.1564        .10038E-01   -.17005E-04
   3  Normalizat    .86281        .39576        .26436E-03    .58937E-04
   4  Prefactor     1.3588        .42874        .23436E-03    .83551E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.52403
  alpha      = 2.20996
  Normalizat = 0.862807
  Prefactor  = 1.3588
 **********
 **   18 **HESSE 
 **********

 FCN=   1748.149     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5240        13.896        .51243E-05   -1.5124    
   2  alpha         2.2100        1.0994        .40153E-03   -.11628    
   3  Normalizat    .86281        .39585        .10574E-04   -.97780    
   4  Prefactor     1.3588        .42906        .46872E-04   -.81575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43718e-11
Minuit parameter uncertainties:
  1  13.9013
  2  1.13887
  3  0.397189
  4  0.430193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790993': 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) = 1748.14862287
delta logL = 0.15828461753

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  8.524e+00  1.390e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.210e+00  1.139e+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:  1.359e+00  4.302e-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:  8.628e-01  3.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.64
Ra Dec: 222.017 36.134
Photon Index (Free Index): 2.21 +/- 1.14
Photon Flux (Free Index): 3.01e-08 +/- 4.39e-08
Energy Flux (Free Index): 1.64e-05 +/- 2.20e-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/790993/cmap_HighResolution_550886401_551145601_4FGL_J1448.0+3608_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-04', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='1.64e-05', photon_flux_error='1.95e-08', dlogl='1.58e-01', energy_flux='3.24e-05', photon_flux2='3.01e-08', job_status='DONE', time_completed='2021-09-10 10:09:00.874332', photon_index_error2='1.14', photon_index2='2.21', ts='2.33', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', photon_flux_upper_limit='8.76e-08', energy_flux_error2='2.20e-05', EG='0.88', time_epoch_completed='1631293740.87', return_code='0', job_id='790993', GAL2='1.36', EG2='0.86', return_code2='0', energy_flux_error='3.70e-05', photon_flux_error2='4.39e-08', ts2='2.64', photon_index='1.60' WHERE bin_id='1202' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:09:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 790993: <4FGL_J1448.0+3608_daily_bin1202> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1202> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:57:49 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57:50 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:57:50 2021
Terminated at Fri Sep 10 10:09:01 2021
Results reported at Fri Sep 10 10:09:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1202 222.017 36.1344 550886401 551145601 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 :                                   452.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            672 sec.

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

