/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 4 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 = 7463
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1448.0+3608_daily_bin439
RA = 222.017, Dec = 36.1344
tmin = 353116801, tmax = 353376001
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='787008', job_status='RUN', time_executed='2021-09-10 09:46:24.643502', time_epoch_executed='1631292384.64' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='439'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787008

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787008/ft1_4FGL_J1448.0+3608_daily_bin439.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787008/ft2_4FGL_J1448.0+3608_daily_bin439.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787008/ft1_4FGL_J1448.0+3608_daily_bin439.fits outfile=/scratch/kocevski/787008/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin439.fits ra=222.017 dec=36.1344 rad=12.0 tmin=353116801.0 tmax=353376001.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.40
user 3.20
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787008/ft1_filtered_4FGL_J1448.0+3608_daily_bin439.fits evtable="EVENTS" scfile=/scratch/kocevski/787008/ft2_4FGL_J1448.0+3608_daily_bin439.fits sctable="SC_DATA" expcube=/scratch/kocevski/787008/ltcube_353116801_353376001_4FGL_J1448.0+3608_daily_bin439.fits outfile=/scratch/kocevski/787008/expmap_353116801_353376001_4FGL_J1448.0+3608_daily_bin439.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/787008/ltcube_353116801_353376001_4FGL_J1448.0+3608_daily_bin439.fits
.....................!
real 191.04
user 186.51
sys 4.13

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/787008/ft1_filtered_4FGL_J1448.0+3608_daily_bin439.fits scfile=/scratch/kocevski/787008/ft2_4FGL_J1448.0+3608_daily_bin439.fits outfile=/scratch/kocevski/787008/cmap_353116801_353376001_4FGL_J1448.0+3608_daily_bin439.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/787008/ft1_filtered_4FGL_J1448.0+3608_daily_bin439.fits scfile=/scratch/kocevski/787008/ft2_4FGL_J1448.0+3608_daily_bin439.fits outfile=/scratch/kocevski/787008/cmap_HighResolution_353116801_353376001_4FGL_J1448.0+3608_daily_bin439.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.973       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0341       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.804       1.0000         .10000E-03   10000.    
     4 'norm      '    18.050       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.5723       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.265       1.0000         .10000E-03   10000.    
    11 'Prefactor '    67.122       1.0000         .10000E-03   10000.    
    12 'norm      '    12.753       1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.561       1.0000         .10000E-03   10000.    
    14 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11534       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .79760       1.0000         .10000E-03   10000.    
    18 'norm      '    5.7967       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12282       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.9225       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    11.319       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    13.544       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1786       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .63358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6811.332     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     3302 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.975        1.6077        .98241E-06    .28057E-03
   2  Prefactor     2.0343        2.2553       -.21543E-05    .15050E-02
   3  Prefactor     16.810        2.3774       -.23374E-05    .19608E-02
   4  norm          18.050        4.6341       -.58947E-06   -.69423E-02
   5  Prefactor     .10000E-03    8.1111        .16069E-04** at limit **
   6  Prefactor     .10000E-03    8.1651       -.13145E-06** at limit **
   7  Prefactor     .10000E-03    1.3231        .18293E-06** at limit **
   8  norm          7.5738        1.3139        .11023E-05   -.44050E-03
   9  Prefactor     .10101E-03    57.316        .28913E-04** at limit **
  10  norm          10.271        2.5958        .14245E-05   -.53932E-02
  11  Prefactor     67.117        1.2343       -.31203E-06    .81015E-03
  12  norm          12.751        4.4247       -.60759E-05   -.77734E-02
  13  Prefactor     40.559        1.6704        .95264E-06   -.22569E-02
  14  norm          .10000E-03    4.5567        .13247E-05** at limit **
  15  Prefactor     .10084E-03    429.94       -.19836E-04** at limit **
  16  Prefactor     .10000E-03    2.3146        .12490E-05** at limit **
  17  norm          .79710        .95853        .74453E-07   -.36807E-03
  18  norm          5.8039        3.4727       -.15964E-05    .31716E-03
  19  Prefactor     .95747E-01    21.901        .38343E-04   -.18025E-02
  20  Prefactor     .10000E-03    24.366       -.60672E-05** at limit **
  21  Prefactor     7.9187        1.0491        .29317E-06    .45139E-03
  22  Prefactor     .10000E-03    5.9819       -.15733E-05** at limit **
  23  Prefactor     .10000E-03    3.7573        .19733E-06** at limit **
  24  norm          11.320        1.9849       -.58354E-07   -.14525E-03
  25  Prefactor     .10000E-03    7.9728       -.14924E-04** at limit **
  26  Prefactor     13.531        1.3398        .36689E-06   -.35256E-03
  27  Prefactor     .10019E-03    44.924       -.40478E-04** at limit **
  28  norm          .10001E-03    31.796        .18777E-04** at limit **
  29  Normalizat    1.1782        .19051       -.23244E-05   -.21946E-03
  30  Prefactor     .63411        .18635        .30485E-05   -.71423E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.9748
  Prefactor  = 2.03431
  Prefactor  = 16.8103
  norm       = 18.0498
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 7.57382
  Prefactor  = 0.00010101
  norm       = 10.2708
  Prefactor  = 67.1172
  norm       = 12.7509
  Prefactor  = 40.5591
  norm       = 0.0001
  Prefactor  = 0.000100841
  Prefactor  = 0.0001
  norm       = 0.797097
  norm       = 5.80386
  Prefactor  = 0.095747
  Prefactor  = 0.000100001
  Prefactor  = 7.9187
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.3198
  Prefactor  = 0.000100002
  Prefactor  = 13.531
  Prefactor  = 0.000100191
  norm       = 0.000100006
  Normalizat = 1.1782
  Prefactor  = 0.634114
 **********
 **   18 **HESSE 
 **********

 FCN=   6811.332     FROM HESSE     STATUS=OK           664 CALLS     3966 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.975        15.746        .21865E-02   -1.4792    
   2  Prefactor     2.0343        9.5947        .72505E-02   -1.5423    
   3  Prefactor     16.810        30.999        .24426E-02   -1.4888    
   4  norm          18.050        6.1005        .23568E-02   -1.4858    
   5  Prefactor     .10000E-03    9.6941        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.1704        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.3128        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.5738        16.099        .36434E-02   -1.5157    
   9  Prefactor     .10101E-03    63.935        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.271        8.5858        .31265E-02   -1.5067    
  11  Prefactor     67.117        45.972        .12247E-02   -1.4068    
  12  norm          12.751        5.4041        .28041E-02   -1.4994    
  13  Prefactor     40.559        34.922        .15735E-02   -1.4433    
  14  norm          .10000E-03    4.5405        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10084E-03    12.043        .95841E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.3137        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .79710        1.1169        .20251E-01   -1.5529    
  18  norm          5.8039        3.7739        .41704E-02   -1.5226    
  19  Prefactor     .95747E-01    6.8131        .67263E-01   -1.5646    
  20  Prefactor     .10000E-03    24.495        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.9187        10.130        .35613E-02   -1.5145    
  22  Prefactor     .10000E-03    5.9804        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.7484        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          11.320        2.0147        .29769E-02   -1.5035    
  25  Prefactor     .10000E-03    9.6181        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     13.531        30.781        .27209E-02   -1.4972    
  27  Prefactor     .10019E-03    47.345        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10001E-03    30.964        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1782        .17658        .53233E-01   -.87279    
  30  Prefactor     .63411        .16413        .69416E-01   -1.0617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19831e-07
Minuit parameter uncertainties:
  1  15.7487
  2  8.83809
  3  31.0289
  4  6.10071
  5  5.16751e-05
  6  0.000152977
  7  2.00316e-06
  8  16.1087
  9  0.0160925
  10  8.58686
  11  45.9963
  12  5.4043
  13  34.9394
  14  3.14353e-05
  15  0.00636763
  16  2.50698e-05
  17  1.11695
  18  3.77407
  19  1.61469
  20  0.000378806
  21  10.1327
  22  5.72749e-06
  23  2.74661e-05
  24  2.01467
  25  0.000277172
  26  30.8171
  27  0.00601821
  28  0.000829239
  29  0.176671
  30  0.164254
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  3.144e-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:  6.341e-01  1.643e-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.178e+00  1.767e-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.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/787008/likelihoodResults_353116801_353376001_4FGL_J1448.0+3608_daily_bin439.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) = 6811.33351742
delta logL = -0.00103706797745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6811.33248026
delta logL = 8.40382199385e-08

Fit tolerance = 1e-08

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

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

 FCN=   6811.332     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.8058        .90712E-02** at limit **
   2  alpha         1.6422        3.3139        .44945       -.20470E-04
   3  Normalizat    1.1782        .16099        .53233E-01    .17261E-04
   4  Prefactor     .63411        .15943        .69416E-01    .49623E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.64221
  Normalizat = 1.1782
  Prefactor  = 0.634113
 **********
 **   18 **HESSE 
 **********

 FCN=   6811.332     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.7758        .17466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6422        3.2926        .50000       -.35023    
   3  Normalizat    1.1782        .18557        .23537E-03   -.87279    
   4  Prefactor     .63411        .18350        .30722E-03   -1.0617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2399e-10
Minuit parameter uncertainties:
  1  3.94398e-05
  2  2.36333
  3  0.185674
  4  0.183671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787008': 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) = 6811.33247997
delta logL = 3.74324372387e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  3.944e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.642e+00  2.363e+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:  6.341e-01  1.837e-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.178e+00  1.857e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/787008/cmap_HighResolution_353116801_353376001_4FGL_J1448.0+3608_daily_bin439.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-05', job_status='DONE', photon_flux_upper_limit='2.44e-08', time_completed='2021-09-10 10:00:45.678564', job_id='787008', GAL2='0.63', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1631293245.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='3.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='439' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:00:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 787008: <4FGL_J1448.0+3608_daily_bin439> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin439 222.017 36.1344 353116801 353376001 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 :                                   849.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             364.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            875 sec.

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

