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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin564
RA = 222.017, Dec = 36.1344
tmin = 385516801, tmax = 385776001
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='787186', job_status='RUN', time_executed='2021-09-10 09:46:37.230256', time_epoch_executed='1631292397.23' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='564'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787186

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787186/ft1_4FGL_J1448.0+3608_daily_bin564.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787186/ft2_4FGL_J1448.0+3608_daily_bin564.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787186/ft1_4FGL_J1448.0+3608_daily_bin564.fits outfile=/scratch/kocevski/787186/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin564.fits ra=222.017 dec=36.1344 rad=12.0 tmin=385516801.0 tmax=385776001.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 4.55
user 4.29
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787186/ft1_filtered_4FGL_J1448.0+3608_daily_bin564.fits evtable="EVENTS" scfile=/scratch/kocevski/787186/ft2_4FGL_J1448.0+3608_daily_bin564.fits sctable="SC_DATA" expcube=/scratch/kocevski/787186/ltcube_385516801_385776001_4FGL_J1448.0+3608_daily_bin564.fits outfile=/scratch/kocevski/787186/expmap_385516801_385776001_4FGL_J1448.0+3608_daily_bin564.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/787186/ltcube_385516801_385776001_4FGL_J1448.0+3608_daily_bin564.fits
.....................!
real 189.82
user 184.95
sys 4.50

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/787186/ft1_filtered_4FGL_J1448.0+3608_daily_bin564.fits scfile=/scratch/kocevski/787186/ft2_4FGL_J1448.0+3608_daily_bin564.fits outfile=/scratch/kocevski/787186/cmap_385516801_385776001_4FGL_J1448.0+3608_daily_bin564.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=222.017 yref=36.1344 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/787186/ft1_filtered_4FGL_J1448.0+3608_daily_bin564.fits scfile=/scratch/kocevski/787186/ft2_4FGL_J1448.0+3608_daily_bin564.fits outfile=/scratch/kocevski/787186/cmap_HighResolution_385516801_385776001_4FGL_J1448.0+3608_daily_bin564.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/787186/ft1_filtered_4FGL_J1448.0+3608_daily_bin564.fits evtable="EVENTS" scfile=/scratch/kocevski/787186/ft2_4FGL_J1448.0+3608_daily_bin564.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/787186/Model_4FGL_J1448.0+3608_daily_bin564.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/787186/ft1_filtered_4FGL_J1448.0+3608_daily_bin564.fits.....................!
real 46.40
user 45.09
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.442       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8096       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6763       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7349       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.977       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18400E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.454       1.0000         .10000E-03   10000.    
    10 'norm      '    11.940       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.851       1.0000         .10000E-03   10000.    
    12 'norm      '    16.311       1.0000         .10000E-03   10000.    
    13 'Prefactor '    61.490       1.0000         .10000E-03   10000.    
    14 'norm      '    .28443E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0467       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6703       1.0000         .10000E-03   10000.    
    18 'norm      '    1.0304       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8636       1.0000         .10000E-03   10000.    
    24 'norm      '    .79451       1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.586       1.0000         .10000E-03   10000.    
    26 'Prefactor '    42.071       1.0000         .10000E-03   10000.    
    27 'Prefactor '    26.874       1.0000         .10000E-03   10000.    
    28 'norm      '    .27782E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.3768       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .35260       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=   5586.313     FROM MIGRAD    STATUS=CONVERGED    771 CALLS     4021 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.444        15.973        .20155E-06    .29954E-04
   2  Prefactor     7.8093        10.845        .73673E-07    .66101E-05
   3  Prefactor     4.6808        23.081        .28112E-06   -.92718E-05
   4  norm          1.7349        2.3763        .69954E-08   -.63726E-04
   5  Prefactor     .10000E-03    8.2944        .17293E-06** at limit **
   6  Prefactor     30.981        19.749        .18590E-06   -.19241E-04
   7  Prefactor     .10003E-03    1.5029        .84552E-08** at limit **
   8  norm          .10000E-03    6.1448        .92700E-07** at limit **
   9  Prefactor     32.448        26.850       -.27560E-07   -.44131E-04
  10  norm          11.945        9.1641       -.27169E-06   -.24215E-03
  11  Prefactor     13.831        43.970       -.60085E-05   -.12594E-03
  12  norm          16.310        6.9495        .10450E-06    .57063E-04
  13  Prefactor     61.478        38.285       -.13316E-05   -.15098E-03
  14  norm          .10001E-03    5.2846       -.13667E-06** at limit **
  15  Prefactor     .10000E-03    4.6857       -.86606E-07** at limit **
  16  Prefactor     1.0501        19.132        .63978E-05   -.19165E-03
  17  norm          1.6702        1.8616       -.74795E-06   -.80238E-03
  18  norm          1.0302        2.4365        .61415E-06    .25089E-03
  19  Prefactor     .10000E-03    2.6434        .70661E-07** at limit **
  20  Prefactor     .10000E-03    87.846        .10761E-05** at limit **
  21  Prefactor     .10000E-03    7.0092        .87685E-07** at limit **
  22  Prefactor     .10000E-03    8.7631       -.60946E-07** at limit **
  23  Prefactor     9.8666        10.309       -.59262E-07   -.36366E-04
  24  norm          .79415        1.3145        .79698E-06   -.16569E-02
  25  Prefactor     15.593        11.875        .29932E-07    .15731E-03
  26  Prefactor     42.049        42.268       -.35408E-05   -.20331E-03
  27  Prefactor     26.891        26.236       -.37142E-06    .20764E-04
  28  norm          .10002E-03    16.987        .11011E-06** at limit **
  29  Normalizat    1.3765        .19142        .14768E-06   -.15194E-03
  30  Prefactor     .35290        .17410       -.81607E-06   -.39963E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.4438
  Prefactor  = 7.80926
  Prefactor  = 4.68076
  norm       = 1.73491
  Prefactor  = 0.0001
  Prefactor  = 30.9805
  Prefactor  = 0.000100026
  norm       = 0.0001
  Prefactor  = 32.4481
  norm       = 11.9454
  Prefactor  = 13.8311
  norm       = 16.3104
  Prefactor  = 61.4776
  norm       = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 1.05012
  norm       = 1.67021
  norm       = 1.03022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.86661
  norm       = 0.794155
  Prefactor  = 15.5926
  Prefactor  = 42.0487
  Prefactor  = 26.891
  norm       = 0.000100024
  Normalizat = 1.37648
  Prefactor  = 0.3529
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.313     FROM HESSE     STATUS=OK           612 CALLS     4633 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.444        15.995        .93265E-04   -1.4849    
   2  Prefactor     7.8093        10.837        .14349E-03   -1.5149    
   3  Prefactor     4.6808        23.354        .18610E-03   -1.5275    
   4  norm          1.7349        2.3580        .13085E-03   -1.5445    
   5  Prefactor     .10000E-03    8.3027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     30.981        19.803        .71989E-04   -1.4594    
   7  Prefactor     .10003E-03    2.0987        .34621E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.1491        .18095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.448        26.935        .70337E-04   -1.4568    
  10  norm          11.945        9.1666        .11593E-03   -1.5017    
  11  Prefactor     13.831        44.684        .10762E-03   -1.4964    
  12  norm          16.310        6.9435        .99169E-04   -1.4900    
  13  Prefactor     61.478        38.621        .51169E-04   -1.4138    
  14  norm          .10001E-03    5.3911        .61471E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.6895        .15799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0501        18.915        .48594E-03   -1.5503    
  17  norm          1.6702        1.7847        .84421E-04   -1.5449    
  18  norm          1.0302        1.9887        .17376E-02   -1.5505    
  19  Prefactor     .10000E-03    2.6465        .11858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    88.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.1008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.7798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.8666        10.212        .12759E-03   -1.5080    
  24  norm          .79415        1.3627        .24839E-03   -1.5530    
  25  Prefactor     15.593        12.356        .10145E-03   -1.4918    
  26  Prefactor     42.049        43.420        .61804E-04   -1.4410    
  27  Prefactor     26.891        21.749        .77277E-04   -1.4670    
  28  norm          .10002E-03    91.791        .48737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.3765        .21684        .20450E-03   -.81311    
  30  Prefactor     .35290        .19041        .36732E-03   -1.1928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81295e-09
Minuit parameter uncertainties:
  1  15.9987
  2  10.8395
  3  20.9234
  4  2.35809
  5  1.66086e-05
  6  19.8073
  7  0.000466167
  8  9.22917e-06
  9  26.9453
  10  9.16765
  11  44.7923
  12  6.94379
  13  38.6368
  14  0.000546994
  15  3.25901e-06
  16  8.91647
  17  1.7848
  18  1.98878
  19  5.69916e-07
  20  0.000248104
  21  6.20661e-07
  22  1.07734e-05
  23  10.2138
  24  1.36271
  25  12.3581
  26  43.4531
  27  21.7552
  28  0.00296094
  29  0.216987
  30  0.19075
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  5.470e-04  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:  3.529e-01  1.907e-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.376e+00  2.170e-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.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.87e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/787186/likelihoodResults_385516801_385776001_4FGL_J1448.0+3608_daily_bin564.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) = 5586.31354916
delta logL = -5.18917813679e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5586.31352564
delta logL = -2.83711597149e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12863E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4791       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3765       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .35289       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=   5586.313     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      317 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10034E-03    30.902        .61750E-01** at limit **
   2  alpha         1.4419        2.6368        .18660       -.89803E-07
   3  Normalizat    1.3765        .10289E-01    .20450E-03    .26511E-03
   4  Prefactor     .35291        .99049E-02    .36731E-03    .43861E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100342
  alpha      = 1.44191
  Normalizat = 1.37648
  Prefactor  = 0.352905
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.313     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      350 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10034E-03    560.19        .62187E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4419        3.1641        .74641E-02   -.43701    
   3  Normalizat    1.3765        .51607E-01    .40900E-04   -.81311    
   4  Prefactor     .35291        .50772E-01    .14693E-04   -1.1928    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.38779e-10
Minuit parameter uncertainties:
  1  0.0279482
  2  1894.7
  3  0.0516091
  4  0.0507788
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787186': 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): 102
logL (Free Index) = 5586.31349692
delta logL = 3.4346794564e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.003e-04  2.795e-02  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.442e+00  1.895e+03  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:  3.529e-01  5.078e-02  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.376e+00  5.161e-02  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/787186/cmap_HighResolution_385516801_385776001_4FGL_J1448.0+3608_daily_bin564.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-05', job_status='DONE', photon_flux_upper_limit='2.56e-08', time_completed='2021-09-10 10:00:19.398011', job_id='787186', GAL2='0.35', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1631293219.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.35', dlogl='3.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='564' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:00:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 787186: <4FGL_J1448.0+3608_daily_bin564> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin564> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 09:46:24 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:46:27 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:46:27 2021
Terminated at Fri Sep 10 10:00:20 2021
Results reported at Fri Sep 10 10:00:20 2021

Your job looked like:

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

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

