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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1311
RA = 222.017, Dec = 36.1344
tmin = 579139201, tmax = 579398401
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='792330', job_status='RUN', time_executed='2021-09-10 10:04:53.806046', time_epoch_executed='1631293493.81' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792330

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792330/ft1_4FGL_J1448.0+3608_daily_bin1311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792330/ft2_4FGL_J1448.0+3608_daily_bin1311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792330/ft1_4FGL_J1448.0+3608_daily_bin1311.fits outfile=/scratch/kocevski/792330/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1311.fits ra=222.017 dec=36.1344 rad=12.0 tmin=579139201.0 tmax=579398401.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.49
user 3.25
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792330/ft1_filtered_4FGL_J1448.0+3608_daily_bin1311.fits" evtable="EVENTS" scfile=/scratch/kocevski/792330/ft2_4FGL_J1448.0+3608_daily_bin1311.fits sctable="SC_DATA" outfile=/scratch/kocevski/792330/ltcube_579139201_579398401_4FGL_J1448.0+3608_daily_bin1311.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/792330/ft2_4FGL_J1448.0+3608_daily_bin1311.fits
.....................!
real 11.87
user 11.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792330/ft1_filtered_4FGL_J1448.0+3608_daily_bin1311.fits evtable="EVENTS" scfile=/scratch/kocevski/792330/ft2_4FGL_J1448.0+3608_daily_bin1311.fits sctable="SC_DATA" expcube=/scratch/kocevski/792330/ltcube_579139201_579398401_4FGL_J1448.0+3608_daily_bin1311.fits outfile=/scratch/kocevski/792330/expmap_579139201_579398401_4FGL_J1448.0+3608_daily_bin1311.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/792330/ltcube_579139201_579398401_4FGL_J1448.0+3608_daily_bin1311.fits
.....................!
real 191.16
user 185.71
sys 5.06

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/792330/ft1_filtered_4FGL_J1448.0+3608_daily_bin1311.fits scfile=/scratch/kocevski/792330/ft2_4FGL_J1448.0+3608_daily_bin1311.fits outfile=/scratch/kocevski/792330/cmap_579139201_579398401_4FGL_J1448.0+3608_daily_bin1311.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792330/ft1_filtered_4FGL_J1448.0+3608_daily_bin1311.fits scfile=/scratch/kocevski/792330/ft2_4FGL_J1448.0+3608_daily_bin1311.fits outfile=/scratch/kocevski/792330/cmap_HighResolution_579139201_579398401_4FGL_J1448.0+3608_daily_bin1311.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.871       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.788       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.406       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.487       1.0000         .10000E-03   10000.    
     8 'norm      '    4.4097       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.0521       1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.784       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1776       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.302       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1381       1.0000         .10000E-03   10000.    
    18 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.5596       1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.734       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .37474E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8871       1.0000         .10000E-03   10000.    
    24 'norm      '    1.5002       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0869       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .95856       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=   6092.636     FROM MIGRAD    STATUS=CONVERGED    721 CALLS     3826 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.873        17.066        .41642E-06   -.25828E-04
   2  Prefactor     11.789        11.809       -.12735E-06    .11652E-04
   3  Prefactor     .10000E-03    25.879        .19938E-05** at limit **
   4  norm          .10000E-03    2.1484        .20333E-07** at limit **
   5  Prefactor     .10000E-03    6.7274        .11748E-05** at limit **
   6  Prefactor     12.407        12.240       -.10948E-06   -.79820E-05
   7  Prefactor     24.487        5.9819       -.54851E-07    .48830E-05
   8  norm          4.4103        10.412       -.54550E-06   -.10681E-03
   9  Prefactor     .10000E-03    12.821       -.55440E-05** at limit **
  10  norm          4.0522        5.0969       -.15301E-06   -.21624E-03
  11  Prefactor     31.784        30.525        .18591E-06    .72193E-05
  12  norm          2.1777        3.0785       -.20770E-06   -.29204E-03
  13  Prefactor     .10000E-03    26.380       -.28067E-05** at limit **
  14  norm          .10000E-03    6.6527        .11612E-05** at limit **
  15  Prefactor     27.300        16.210       -.44604E-06   -.17104E-06
  16  Prefactor     .10000E-03    2.3865        .73321E-08** at limit **
  17  norm          1.1384        1.3963       -.29468E-08   -.44664E-03
  18  norm          .10000E-03    2.0553       -.87980E-07** at limit **
  19  Prefactor     9.5656        10.907        .36348E-05   -.14021E-04
  20  Prefactor     39.733        56.062       -.19194E-05    .29952E-05
  21  Prefactor     .10000E-03    6.0645       -.15512E-06** at limit **
  22  Prefactor     .10000E-03    7.4341       -.47305E-06** at limit **
  23  Prefactor     9.8813        16.395       -.71848E-05   -.64496E-04
  24  norm          1.5005        1.0686       -.71708E-08    .19905E-03
  25  Prefactor     .10000E-03    5.8955       -.22153E-05** at limit **
  26  Prefactor     .10000E-03    14.079        .57406E-05** at limit **
  27  Prefactor     .10000E-03    6.4093        .35064E-06** at limit **
  28  norm          .10000E-03    5.1180        .45906E-06** at limit **
  29  Normalizat    1.0868        .18952        .75473E-06    .36768E-04
  30  Prefactor     .95854        .18787       -.21372E-07    .60177E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.8727
  Prefactor  = 11.7888
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4065
  Prefactor  = 24.4869
  norm       = 4.41031
  Prefactor  = 0.0001
  norm       = 4.05223
  Prefactor  = 31.7838
  norm       = 2.17772
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.3005
  Prefactor  = 0.0001
  norm       = 1.13842
  norm       = 0.0001
  Prefactor  = 9.56559
  Prefactor  = 39.7327
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.8813
  norm       = 1.50046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.08683
  Prefactor  = 0.958539
 **********
 **   18 **HESSE 
 **********

 FCN=   6092.636     FROM HESSE     STATUS=OK           586 CALLS     4412 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.873        17.103        .11165E-03   -1.4990    
   2  Prefactor     11.789        11.808        .11668E-03   -1.5021    
   3  Prefactor     .10000E-03    26.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.1789        .11166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.7405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.407        12.265        .11373E-03   -1.5003    
   7  Prefactor     24.487        6.0019        .80951E-04   -1.4718    
   8  norm          4.4103        10.412        .19178E-03   -1.5288    
   9  Prefactor     .10000E-03    12.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.0522        5.0954        .19001E-03   -1.5305    
  11  Prefactor     31.784        30.526        .71073E-04   -1.4580    
  12  norm          2.1777        3.0738        .15824E-03   -1.5413    
  13  Prefactor     .10000E-03    26.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.7310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.300        16.204        .76671E-04   -1.4662    
  16  Prefactor     .10000E-03    2.3894        .11771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1384        1.3622        .95487E-04   -1.5495    
  18  norm          .10000E-03    2.0909        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.5656        10.820        .12961E-03   -1.5089    
  20  Prefactor     39.733        55.874        .63588E-04   -1.4446    
  21  Prefactor     .10000E-03    18.180        .37141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.4311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.8813        16.422        .12744E-03   -1.5079    
  24  norm          1.5005        1.0673        .34962E-04   -1.5463    
  25  Prefactor     .10000E-03    5.9436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    14.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.4118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    5.1251        .17246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0868        .21961        .24130E-03   -.90176    
  30  Prefactor     .95854        .21617        .26674E-03   -.94125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73996e-10
Minuit parameter uncertainties:
  1  17.1092
  2  11.8107
  3  2.47903e-05
  4  8.20433e-07
  5  9.433e-07
  6  12.2672
  7  6.002
  8  10.4158
  9  2.55433e-06
  10  5.09591
  11  30.5414
  12  3.07405
  13  3.32677e-06
  14  2.25617e-06
  15  16.2068
  16  1.2453e-06
  17  1.36228
  18  1.14267e-05
  19  10.8221
  20  55.9476
  21  1.53154e-05
  22  3.99527e-05
  23  16.4291
  24  1.06733
  25  6.42463e-07
  26  4.19324e-07
  27  9.42169e-07
  28  8.3271e-07
  29  0.219794
  30  0.216368
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  2.256e-06  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.585e-01  2.164e-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:  1.087e+00  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/792330/likelihoodResults_579139201_579398401_4FGL_J1448.0+3608_daily_bin1311.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) = 6092.63650601
delta logL = -0.000707057873115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6092.63579895
delta logL = 4.80031303596e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6065       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0868       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95854       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=   6092.636     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      186 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.5223       -.38411E-05** at limit **
   2  alpha         1.7814        3.3400        .87043E-02   -.44193E-07
   3  Normalizat    1.0868        .17631        .10622E-08    .36669E-04
   4  Prefactor     .95854        .18517        .10676E-06    .37238E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.78137
  Normalizat = 1.08683
  Prefactor  = 0.958538
 **********
 **   18 **HESSE 
 **********

 FCN=   6092.636     FROM HESSE     STATUS=OK            31 CALLS      217 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    17.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7814        4.0857        .18039       -.29157    
   3  Normalizat    1.0868        .20158        .24130E-03   -.90176    
   4  Prefactor     .95854        .21167        .26674E-03   -.94125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.31069e-11
Minuit parameter uncertainties:
  1  0.000100218
  2  567.717
  3  0.201721
  4  0.211853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792330': 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) = 6092.63579879
delta logL = 1.61976458912e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.002e-04  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.781e+00  5.677e+02  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.585e-01  2.119e-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:  1.087e+00  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/792330/cmap_HighResolution_579139201_579398401_4FGL_J1448.0+3608_daily_bin1311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-05', job_status='DONE', photon_flux_upper_limit='2.73e-08', time_completed='2021-09-10 10:19:03.628363', job_id='792330', GAL2='0.96', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1631294343.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.62e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1311' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:19:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 792330: <4FGL_J1448.0+3608_daily_bin1311> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1311> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 10:02:35 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:02:36 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:02:36 2021
Terminated at Fri Sep 10 10:19:04 2021
Results reported at Fri Sep 10 10:19:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1311 222.017 36.1344 579139201 579398401 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 :                                   845.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            989 sec.

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

