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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin936
RA = 222.017, Dec = 36.1344
tmin = 481939201, tmax = 482198401
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='788841', job_status='RUN', time_executed='2021-09-10 09:52:01.528588', time_epoch_executed='1631292721.53' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788841

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788841/ft1_4FGL_J1448.0+3608_daily_bin936.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788841/ft2_4FGL_J1448.0+3608_daily_bin936.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788841/ft1_4FGL_J1448.0+3608_daily_bin936.fits outfile=/scratch/kocevski/788841/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin936.fits ra=222.017 dec=36.1344 rad=12.0 tmin=481939201.0 tmax=482198401.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.60
user 3.33
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788841/ft1_filtered_4FGL_J1448.0+3608_daily_bin936.fits evtable="EVENTS" scfile=/scratch/kocevski/788841/ft2_4FGL_J1448.0+3608_daily_bin936.fits sctable="SC_DATA" expcube=/scratch/kocevski/788841/ltcube_481939201_482198401_4FGL_J1448.0+3608_daily_bin936.fits outfile=/scratch/kocevski/788841/expmap_481939201_482198401_4FGL_J1448.0+3608_daily_bin936.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/788841/ltcube_481939201_482198401_4FGL_J1448.0+3608_daily_bin936.fits
.....................!
real 189.42
user 185.07
sys 3.93

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/788841/ft1_filtered_4FGL_J1448.0+3608_daily_bin936.fits scfile=/scratch/kocevski/788841/ft2_4FGL_J1448.0+3608_daily_bin936.fits outfile=/scratch/kocevski/788841/cmap_481939201_482198401_4FGL_J1448.0+3608_daily_bin936.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.66
user 0.47
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788841/ft1_filtered_4FGL_J1448.0+3608_daily_bin936.fits scfile=/scratch/kocevski/788841/ft2_4FGL_J1448.0+3608_daily_bin936.fits outfile=/scratch/kocevski/788841/cmap_HighResolution_481939201_482198401_4FGL_J1448.0+3608_daily_bin936.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.65
user 0.47
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .21438E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2815       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8226       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.126       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.291       1.0000         .10000E-03   10000.    
    10 'norm      '    7.9910       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    33.887       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10746E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.988       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.4114       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9112       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10482E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.278       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.367       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.9323       1.0000         .10000E-03   10000.    
    28 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2404       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .57362       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=   5673.486     FROM MIGRAD    STATUS=CONVERGED    768 CALLS     3929 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.340        .63651E-06** at limit **
   2  Prefactor     .10002E-03    11.917       -.11015E-06** at limit **
   3  Prefactor     .10000E-03    9.6420       -.16233E-05** at limit **
   4  norm          2.2834        4.0280        .18840E-06   -.47951E-04
   5  Prefactor     2.7978        48.343        .19201E-05   -.27004E-04
   6  Prefactor     15.165        29.985       -.29214E-06    .29827E-04
   7  Prefactor     .10000E-03    3.0345        .32481E-08** at limit **
   8  norm          .10000E-03    10.158        .61395E-06** at limit **
   9  Prefactor     12.287        23.339        .53630E-08   -.97745E-05
  10  norm          7.9905        7.4286        .32042E-07   -.42300E-04
  11  Prefactor     .10000E-03    18.034        .16538E-05** at limit **
  12  norm          33.887        8.0712       -.21391E-07    .94728E-05
  13  Prefactor     .10000E-03    50.199        .65715E-06** at limit **
  14  norm          .10000E-03    9.9704        .37833E-06** at limit **
  15  Prefactor     22.987        16.931        .72167E-07   -.20733E-04
  16  Prefactor     .10000E-03    8.4233        .29718E-06** at limit **
  17  norm          2.4114        1.5894        .40008E-07   -.38665E-04
  18  norm          .10000E-03    1.2510       -.15864E-08** at limit **
  19  Prefactor     2.9120        4.8989        .21240E-06   -.10508E-04
  20  Prefactor     .10000E-03    28.481       -.89931E-06** at limit **
  21  Prefactor     .10000E-03    6.0980        .70163E-08** at limit **
  22  Prefactor     13.281        15.978        .70193E-07   -.20673E-05
  23  Prefactor     .10000E-03    6.6679       -.33828E-07** at limit **
  24  norm          .10000E-03    .35126       -.90663E-07** at limit **
  25  Prefactor     12.368        8.1698        .78780E-06   -.60629E-04
  26  Prefactor     .10000E-03    17.918        .84184E-06** at limit **
  27  Prefactor     6.9322        17.922       -.31174E-06    .52778E-04
  28  norm          .10000E-03    15.950       -.27087E-05** at limit **
  29  Normalizat    1.2404        .18366       -.67886E-06    .35001E-04
  30  Prefactor     .57368        .17435        .32334E-06   -.17433E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  norm       = 2.28345
  Prefactor  = 2.79784
  Prefactor  = 15.1648
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.2869
  norm       = 7.99046
  Prefactor  = 0.0001
  norm       = 33.887
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.9874
  Prefactor  = 0.0001
  norm       = 2.41138
  norm       = 0.0001
  Prefactor  = 2.91198
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.2808
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.3676
  Prefactor  = 0.0001
  Prefactor  = 6.93225
  norm       = 0.0001
  Normalizat = 1.24036
  Prefactor  = 0.573676
 **********
 **   18 **HESSE 
 **********

 FCN=   5673.486     FROM HESSE     STATUS=OK           586 CALLS     4515 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    181.08        .48193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.7726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2834        3.9845        .18880E-03   -1.5406    
   5  Prefactor     2.7978        46.735        .24208E-03   -1.5373    
   6  Prefactor     15.165        29.595        .10298E-03   -1.4929    
   7  Prefactor     .10000E-03    3.1058        .25591E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    10.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.287        23.454        .11426E-03   -1.5007    
  10  norm          7.9905        7.4303        .14184E-03   -1.5143    
  11  Prefactor     .10000E-03    18.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          33.887        8.0701        .34419E-03   -1.4543    
  13  Prefactor     .10000E-03    50.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    10.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.987        16.935        .83543E-04   -1.4749    
  16  Prefactor     .10000E-03    8.5466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4114        1.5799        .73040E-04   -1.5397    
  18  norm          .10000E-03    1.2605        .82205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9120        4.8767        .20769E-03   -1.5367    
  20  Prefactor     .10000E-03    28.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.1649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.281        15.962        .10993E-03   -1.4979    
  23  Prefactor     .10000E-03    6.7027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .36694        .87155E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     12.368        8.2850        .56954E-03   -1.5004    
  26  Prefactor     .10000E-03    17.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     6.9322        17.780        .15238E-03   -1.5181    
  28  norm          .10000E-03    16.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2404        .21118        .20906E-03   -.85365    
  30  Prefactor     .57368        .19930        .29808E-03   -1.0871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30225e-10
Minuit parameter uncertainties:
  1  2.67454e-05
  2  0.004241
  3  6.09415e-05
  4  3.98498
  5  22.8906
  6  29.6237
  7  2.11097e-06
  8  2.29382e-05
  9  23.4719
  10  7.43112
  11  8.83278e-05
  12  8.07038
  13  7.78889e-05
  14  1.40293e-05
  15  16.9382
  16  9.58846e-06
  17  1.57993
  18  1.39774e-09
  19  4.87735
  20  5.87734e-05
  21  1.74823e-07
  22  15.9673
  23  7.91939e-07
  24  2.60298e-06
  25  8.2858
  26  2.96678e-05
  27  17.7931
  28  0.000100878
  29  0.211326
  30  0.199549
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.403e-05  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:  5.737e-01  1.995e-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.240e+00  2.113e-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: 3.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/788841/likelihoodResults_481939201_482198401_4FGL_J1448.0+3608_daily_bin936.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): 102
logL (Free Index) = 5673.48645177
delta logL = -0.000470814981782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5673.48598087
delta logL = 7.80055415817e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6240       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57368       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=   5673.125     FROM MIGRAD    STATUS=CONVERGED    303 CALLS      448 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12992E-01    .16927E-01    .18142E-02   -.77672E-02
   2  alpha         5.0000        3.1632        .50000    ** at limit **
   3  Normalizat    1.1880        .21042        .20906E-03   -.79426E-04
   4  Prefactor     .60734        .20287        .29808E-02    .74602E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0129925
  alpha      = 5
  Normalizat = 1.18803
  Prefactor  = 0.607336
 **********
 **   18 **HESSE 
 **********

 FCN=   5673.125     FROM HESSE     STATUS=OK            33 CALLS      481 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12992E-01    .17936E-01    .10350E-04   -1.5731    
   2  alpha         5.0000        3.2187        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1880        .20741        .41813E-04   -.86973    
   4  Prefactor     .60734        .20191        .11923E-03   -1.0728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19714e-11
Minuit parameter uncertainties:
  1  0.0179357
  2  2.5569e-05
  3  0.207554
  4  0.202148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788841': 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) = 5673.12524704
delta logL = 0.360733914671

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.299e-02  1.794e-02  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  5.000e+00  2.557e-05  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:  6.073e-01  2.021e-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.188e+00  2.076e-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/788841/cmap_HighResolution_481939201_482198401_4FGL_J1448.0+3608_daily_bin936.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-05', job_status='DONE', photon_flux_upper_limit='3.32e-08', time_completed='2021-09-10 10:05:32.772977', job_id='788841', GAL2='0.61', fit_tolerance='1e-08', EG2='1.19', EG='1.24', time_epoch_completed='1631293532.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='3.61e-01', ts2='0.77', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='936' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:05:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 788841: <4FGL_J1448.0+3608_daily_bin936> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin936> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:51:40 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:51:42 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:51:42 2021
Terminated at Fri Sep 10 10:05:34 2021
Results reported at Fri Sep 10 10:05:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin936 222.017 36.1344 481939201 482198401 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 :                                   810.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            834 sec.

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

