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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1312
RA = 222.017, Dec = 36.1344
tmin = 579398401, tmax = 579657601
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='792332', job_status='RUN', time_executed='2021-09-10 10:02:50.724046', time_epoch_executed='1631293370.72' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1312'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792332

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792332/ft1_4FGL_J1448.0+3608_daily_bin1312.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792332/ft2_4FGL_J1448.0+3608_daily_bin1312.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792332/ft1_4FGL_J1448.0+3608_daily_bin1312.fits outfile=/scratch/kocevski/792332/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1312.fits ra=222.017 dec=36.1344 rad=12.0 tmin=579398401.0 tmax=579657601.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.44
user 3.24
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792332/ft1_filtered_4FGL_J1448.0+3608_daily_bin1312.fits evtable="EVENTS" scfile=/scratch/kocevski/792332/ft2_4FGL_J1448.0+3608_daily_bin1312.fits sctable="SC_DATA" expcube=/scratch/kocevski/792332/ltcube_579398401_579657601_4FGL_J1448.0+3608_daily_bin1312.fits outfile=/scratch/kocevski/792332/expmap_579398401_579657601_4FGL_J1448.0+3608_daily_bin1312.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/792332/ltcube_579398401_579657601_4FGL_J1448.0+3608_daily_bin1312.fits
.....................!
real 191.48
user 186.13
sys 4.98

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/792332/ft1_filtered_4FGL_J1448.0+3608_daily_bin1312.fits scfile=/scratch/kocevski/792332/ft2_4FGL_J1448.0+3608_daily_bin1312.fits outfile=/scratch/kocevski/792332/cmap_579398401_579657601_4FGL_J1448.0+3608_daily_bin1312.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.61
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792332/ft1_filtered_4FGL_J1448.0+3608_daily_bin1312.fits scfile=/scratch/kocevski/792332/ft2_4FGL_J1448.0+3608_daily_bin1312.fits outfile=/scratch/kocevski/792332/cmap_HighResolution_579398401_579657601_4FGL_J1448.0+3608_daily_bin1312.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/792332/ft1_filtered_4FGL_J1448.0+3608_daily_bin1312.fits evtable="EVENTS" scfile=/scratch/kocevski/792332/ft2_4FGL_J1448.0+3608_daily_bin1312.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/792332/Model_4FGL_J1448.0+3608_daily_bin1312.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/792332/ft1_filtered_4FGL_J1448.0+3608_daily_bin1312.fits.....................!
real 42.27
user 40.77
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7362       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27683E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.395       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.6957       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.714       1.0000         .10000E-03   10000.    
    10 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.4139       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.006       1.0000         .10000E-03   10000.    
    14 'norm      '    4.7145       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12603E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.6346       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.2006       1.0000         .10000E-03   10000.    
    24 'norm      '    .98490       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.9840       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    17.331       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .65253       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2719       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=   5198.938     FROM MIGRAD    STATUS=CONVERGED    762 CALLS     3958 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.691       -.10746E-04** at limit **
   2  Prefactor     1.7330        23.562       -.45554E-07   -.29100E-04
   3  Prefactor     .10000E-03    11.434        .24919E-05** at limit **
   4  norm          .10000E-03    1.7873        .26210E-07** at limit **
   5  Prefactor     .10000E-03    31.674        .13236E-05** at limit **
   6  Prefactor     16.387        19.627       -.10243E-06    .18481E-06
   7  Prefactor     9.6963        4.1102        .26352E-07   -.30083E-03
   8  norm          .10000E-03    4.6465       -.80191E-08** at limit **
   9  Prefactor     12.715        30.667        .19197E-05    .26293E-04
  10  norm          .10000E-03    5.6376        .53965E-07** at limit **
  11  Prefactor     .10000E-03    83.679       -.10969E-04** at limit **
  12  norm          3.4129        4.2396        .59747E-06   -.18550E-02
  13  Prefactor     15.008        22.630        .10064E-06    .23471E-05
  14  norm          4.7142        7.5335        .18945E-06   -.68226E-03
  15  Prefactor     .10000E-03    27.572       -.87198E-05** at limit **
  16  Prefactor     .10011E-03    4.5613        .22293E-05** at limit **
  17  norm          .10000E-03    .42289       -.14828E-09** at limit **
  18  norm          .10000E-03    1.5829       -.13998E-07** at limit **
  19  Prefactor     .10000E-03    5.2980       -.24476E-06** at limit **
  20  Prefactor     .10000E-03    26.426       -.18331E-05** at limit **
  21  Prefactor     9.6342        7.6366       -.24248E-07   -.19002E-04
  22  Prefactor     .10000E-03    18.190        .63211E-05** at limit **
  23  Prefactor     4.1942        10.296        .24574E-06   -.73645E-03
  24  norm          .98460        1.1162       -.84021E-07   -.31130E-03
  25  Prefactor     3.9878        7.0337        .45826E-06   -.14319E-02
  26  Prefactor     .10000E-03    50.151        .13938E-04** at limit **
  27  Prefactor     .10000E-03    10.040       -.97255E-06** at limit **
  28  norm          17.333        12.256        .80798E-07    .10657E-04
  29  Normalizat    .65223        .17636       -.14634E-06   -.56233E-04
  30  Prefactor     1.2722        .18501       -.16155E-06   -.63422E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 1.73298
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.3867
  Prefactor  = 9.69631
  norm       = 0.0001
  Prefactor  = 12.7153
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.41292
  Prefactor  = 15.0078
  norm       = 4.71421
  Prefactor  = 0.000100001
  Prefactor  = 0.000100106
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.63425
  Prefactor  = 0.000100001
  Prefactor  = 4.19419
  norm       = 0.984597
  Prefactor  = 3.98775
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 17.3332
  Normalizat = 0.652225
  Prefactor  = 1.27225
 **********
 **   18 **HESSE 
 **********

 FCN=   5198.938     FROM HESSE     STATUS=OK           586 CALLS     4544 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7330        23.498        .31848E-03   -1.5445    
   3  Prefactor     .10000E-03    11.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.8097        .94099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.264        .42847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.387        19.599        .98916E-04   -1.4898    
   7  Prefactor     9.6963        4.1266        .45661E-03   -1.5085    
   8  norm          .10000E-03    4.6478        .15179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.715        30.715        .11234E-03   -1.4995    
  10  norm          .10000E-03    5.7933        .33414E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    84.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4129        5.0013        .93436E-03   -1.5338    
  13  Prefactor     15.008        22.645        .10339E-03   -1.4933    
  14  norm          4.7142        7.7904        .92662E-03   -1.5274    
  15  Prefactor     .10000E-03    28.521        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10011E-03    18.329        .28915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .42750        .45721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.6002        .88488E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.3581        .16171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    26.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.6342        7.6410        .12910E-03   -1.5087    
  22  Prefactor     .10000E-03    18.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.1942        11.138        .98314E-03   -1.5298    
  24  norm          .98460        1.1017        .69686E-03   -1.5510    
  25  Prefactor     3.9878        8.6372        .10103E-02   -1.5309    
  26  Prefactor     .10000E-03    50.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    10.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          17.333        12.249        .96206E-04   -1.4875    
  29  Normalizat    .65223        .21085        .26558E-03   -1.0581    
  30  Prefactor     1.2722        .22388        .21703E-03   -.84136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4729e-08
Minuit parameter uncertainties:
  1  0.000363613
  2  12.7684
  3  7.54621e-05
  4  3.58987e-07
  5  5.57125e-05
  6  19.6065
  7  4.12668
  8  3.81977e-07
  9  30.7536
  10  1.46787e-06
  11  0.000976671
  12  5.0019
  13  22.6578
  14  7.79203
  15  0.000345085
  16  0.00279466
  17  1.60997e-06
  18  1.79934e-07
  19  4.7685e-06
  20  9.21595e-05
  21  7.64174
  22  0.000240581
  23  11.143
  24  1.10173
  25  8.63987
  26  0.000913267
  27  3.05576e-05
  28  12.2508
  29  0.211114
  30  0.224048
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.714e+00  7.792e+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:  1.272e+00  2.240e-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:  6.522e-01  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/792332/likelihoodResults_579398401_579657601_4FGL_J1448.0+3608_daily_bin1312.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) = 5198.87306069
delta logL = 0.0647406092303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5198.87030088
delta logL = 0.0675004209988

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1553       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9938       1.0000          .0000       5.0000    
     3 'Normalizat'    .64879       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2732       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=   5198.870     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      260 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1530        8.0130        .98864E-03   -.16113E-03
   2  alpha         1.9948        1.1619        .17644E-01   -.15832E-04
   3  Normalizat    .64882        .19332        .26624E-03   -.17674E-03
   4  Prefactor     1.2732        .21499        .21694E-03   -.29262E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.15302
  alpha      = 1.99477
  Normalizat = 0.648815
  Prefactor  = 1.27316
 **********
 **   18 **HESSE 
 **********

 FCN=   5198.870     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1530        7.4705        .39545E-04   -1.5300    
   2  alpha         1.9948        1.0893        .70576E-03   -.20349    
   3  Normalizat    .64882        .19332        .10650E-04   -1.0595    
   4  Prefactor     1.2732        .21506        .43389E-04   -.84109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98043e-10
Minuit parameter uncertainties:
  1  7.47216
  2  1.12882
  3  0.193524
  4  0.215211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792332': 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) = 5198.87030047
delta logL = 0.067500835954

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.153e+00  7.472e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.995e+00  1.129e+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.273e+00  2.152e-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:  6.488e-01  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
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/792332/cmap_HighResolution_579398401_579657601_4FGL_J1448.0+3608_daily_bin1312.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-05', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2021-09-10 10:15:33.908240', job_id='792332', GAL2='1.27', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1631294133.91', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='6.75e-02', ts2='0.66', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1312' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:15:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 792332: <4FGL_J1448.0+3608_daily_bin1312> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1312> 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) <bullet0085>, 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:15:34 2021
Results reported at Fri Sep 10 10:15:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1312 222.017 36.1344 579398401 579657601 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 :                                   762.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            779 sec.

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

