/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 78 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 = 7473
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1626
RA = 222.017, Dec = 36.1344
tmin = 660787201, tmax = 661046401
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='163811', job_status='RUN', time_executed='2021-12-13 00:10:27.195240', time_epoch_executed='1639383027.2' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1626'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163811/ft1_4FGL_J1448.0+3608_daily_bin1626.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163811/ft2_4FGL_J1448.0+3608_daily_bin1626.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163811/ft1_4FGL_J1448.0+3608_daily_bin1626.fits outfile=/scratch/kocevski/163811/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1626.fits ra=222.017 dec=36.1344 rad=12.0 tmin=660787201.0 tmax=661046401.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.61
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163811/ft2_4FGL_J1448.0+3608_daily_bin1626.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/163811/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1626.fits evtable="EVENTS" outfile="/scratch/kocevski/163811/ft1_filtered_4FGL_J1448.0+3608_daily_bin1626.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.75
user 0.34
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163811/ft1_filtered_4FGL_J1448.0+3608_daily_bin1626.fits evtable="EVENTS" scfile=/scratch/kocevski/163811/ft2_4FGL_J1448.0+3608_daily_bin1626.fits sctable="SC_DATA" expcube=/scratch/kocevski/163811/ltcube_660787201_661046401_4FGL_J1448.0+3608_daily_bin1626.fits outfile=/scratch/kocevski/163811/expmap_660787201_661046401_4FGL_J1448.0+3608_daily_bin1626.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/163811/ltcube_660787201_661046401_4FGL_J1448.0+3608_daily_bin1626.fits
.....................!
real 190.73
user 185.65
sys 4.75

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/163811/ft1_filtered_4FGL_J1448.0+3608_daily_bin1626.fits scfile=/scratch/kocevski/163811/ft2_4FGL_J1448.0+3608_daily_bin1626.fits outfile=/scratch/kocevski/163811/cmap_660787201_661046401_4FGL_J1448.0+3608_daily_bin1626.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.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163811/ft1_filtered_4FGL_J1448.0+3608_daily_bin1626.fits scfile=/scratch/kocevski/163811/ft2_4FGL_J1448.0+3608_daily_bin1626.fits outfile=/scratch/kocevski/163811/cmap_HighResolution_660787201_661046401_4FGL_J1448.0+3608_daily_bin1626.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.4630       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .88660E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8782       1.0000         .10000E-03   10000.    
     8 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.680       1.0000         .10000E-03   10000.    
    10 'norm      '    2.7471       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.873       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2602       1.0000         .10000E-03   10000.    
    17 'norm      '    .19664       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.8148       1.0000         .10000E-03   10000.    
    20 'Prefactor '    56.970       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.2784       1.0000         .10000E-03   10000.    
    24 'norm      '    .55001       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.7974       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    18.684       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0629       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .97723       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=   6309.201     FROM MIGRAD    STATUS=CONVERGED    750 CALLS     3901 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.2825       -.26758E-05** at limit **
   2  Prefactor     .10000E-03    5.2891       -.18514E-06** at limit **
   3  Prefactor     4.4640        19.524       -.64392E-06   -.36958E-04
   4  norm          .10000E-03    1.0916        .44364E-08** at limit **
   5  Prefactor     .10000E-03    10.480        .48485E-05** at limit **
   6  Prefactor     .10000E-03    11.504       -.18341E-06** at limit **
   7  Prefactor     8.8786        4.5863       -.17136E-06   -.10551E-03
   8  norm          .10000E-03    14.049       -.87251E-06** at limit **
   9  Prefactor     14.679        14.615        .58465E-06   -.18195E-04
  10  norm          2.7468        4.3672        .19820E-06   -.34901E-03
  11  Prefactor     .10000E-03    19.812        .13454E-05** at limit **
  12  norm          .10000E-03    3.0612        .21979E-09** at limit **
  13  Prefactor     29.878        30.114        .23090E-05   -.41475E-04
  14  norm          .10000E-03    2.6240       -.74649E-08** at limit **
  15  Prefactor     .10000E-03    4.5251        .49651E-07** at limit **
  16  Prefactor     2.2604        5.2221       -.28016E-07   -.97394E-04
  17  norm          .19855        1.0681       -.12906E-05    .30040E-03
  18  norm          .10000E-03    1.1973        .14904E-07** at limit **
  19  Prefactor     3.8167        6.3423       -.27014E-06   -.11282E-03
  20  Prefactor     56.984        70.366        .15652E-04    .12903E-04
  21  Prefactor     .10000E-03    2.4476        .41223E-08** at limit **
  22  Prefactor     .10000E-03    8.1136       -.32668E-05** at limit **
  23  Prefactor     7.2790        12.873       -.99704E-07    .56561E-04
  24  norm          .54988        1.0593       -.30103E-06   -.13261E-02
  25  Prefactor     5.7983        7.0886        .11430E-06   -.47045E-04
  26  Prefactor     .10000E-03    14.434       -.19132E-05** at limit **
  27  Prefactor     .10000E-03    7.6021        .29065E-05** at limit **
  28  norm          18.685        12.223       -.37769E-06    .35841E-04
  29  Normalizat    1.0628        .17581       -.29074E-06    .41322E-03
  30  Prefactor     .97729        .17255       -.13209E-06    .27481E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.46397
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.8786
  norm       = 0.0001
  Prefactor  = 14.6787
  norm       = 2.74681
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.8781
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.26041
  norm       = 0.198552
  norm       = 0.0001
  Prefactor  = 3.8167
  Prefactor  = 56.9839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.27899
  norm       = 0.549883
  Prefactor  = 5.79827
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.6847
  Normalizat = 1.06275
  Prefactor  = 0.977291
 **********
 **   18 **HESSE 
 **********

 FCN=   6309.201     FROM HESSE     STATUS=OK           584 CALLS     4485 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.3568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.2920        .17840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.4640        19.732        .19060E-03   -1.5285    
   4  norm          .10000E-03    1.0950        .81025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    100.37        .50807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8786        4.6075        .11517E-03   -1.5112    
   8  norm          .10000E-03    14.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.679        14.609        .10454E-03   -1.4942    
  10  norm          2.7468        4.3476        .20158E-03   -1.5376    
  11  Prefactor     .10000E-03    19.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.1939        .27138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     29.878        30.057        .73305E-04   -1.4614    
  14  norm          .10000E-03    2.6257        .12566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.5357        .16500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2604        5.1869        .24972E-03   -1.5407    
  17  norm          .19855        3.3748        .13639E-02   -1.5619    
  18  norm          .10000E-03    1.2023        .84752E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.8167        6.2783        .20665E-03   -1.5317    
  20  Prefactor     56.984        71.045        .53149E-04   -1.4197    
  21  Prefactor     .10000E-03    2.4524        .12136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.0779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.2790        12.776        .14867E-03   -1.5168    
  24  norm          .54988        1.0160        .99262E-04   -1.5560    
  25  Prefactor     5.7983        6.9074        .16680E-03   -1.5226    
  26  Prefactor     .10000E-03    14.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.5713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          18.685        12.223        .92659E-04   -1.4843    
  29  Normalizat    1.0628        .20125        .22996E-03   -.90957    
  30  Prefactor     .97729        .20008        .25242E-03   -.93490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18106e-09
Minuit parameter uncertainties:
  1  8.57623e-05
  2  3.99039e-06
  3  18.7805
  4  2.7785e-07
  5  0.000142746
  6  0.000153117
  7  4.60764
  8  1.88695e-05
  9  14.6129
  10  4.34805
  11  5.27653e-05
  12  9.01982e-07
  13  30.0726
  14  5.18211e-07
  15  7.13852e-07
  16  5.18791
  17  1.63686
  18  1.92428e-06
  19  6.27941
  20  71.1505
  21  6.13945e-07
  22  8.70564e-05
  23  12.7804
  24  1.01607
  25  6.90832
  26  6.82615e-05
  27  7.33941e-05
  28  12.2248
  29  0.201396
  30  0.20023
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  5.182e-07  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.773e-01  2.002e-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.063e+00  2.014e-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: 1.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163811/likelihoodResults_660787201_661046401_4FGL_J1448.0+3608_daily_bin1626.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) = 6309.20259582
delta logL = -0.00175874424804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6309.20083708
delta logL = -3.5888660932e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6001       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97729       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=   6309.201     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      189 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    47.082        .90712E-02** at limit **
   2  alpha         1.6003        3.7787        .45166       -.44830E-06
   3  Normalizat    1.0627        .17551E-01    .39774E-01    .66208E-05
   4  Prefactor     .97729        .18651E-01    .45983E-01    .93535E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.60033
  Normalizat = 1.06275
  Prefactor  = 0.977292
 **********
 **   18 **HESSE 
 **********

 FCN=   6309.201     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      222 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    246.00        .12566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6003        3.5853        .50000       -.36813    
   3  Normalizat    1.0627        .44744E-01    .22996E-03   -.90957    
   4  Prefactor     .97729        .47539E-01    .25242E-03   -.93490    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.04693e-08
Minuit parameter uncertainties:
  1  1.11345e-06
  2  1566.04
  3  0.0447461
  4  0.0475414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163811': 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) = 6309.20083708
delta logL = 1.89174897969e-10

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.113e-06  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  1.566e+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:  9.773e-01  4.754e-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.063e+00  4.475e-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/163811/cmap_HighResolution_660787201_661046401_4FGL_J1448.0+3608_daily_bin1626.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.69e-05', job_status='DONE', photon_flux_upper_limit='1.94e-08', time_completed='2021-12-13 00:24:31.863899', job_id='163811', GAL2='0.98', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1639383871.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.89e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1626' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 13 00:24:31 PST 2021



------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 163812: <4FGL_J1448.0+3608_daily_bin1626> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1626> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec 13 00:07:57 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 13 00:07:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 13 00:07:59 2021
Terminated at Mon Dec 13 00:24:04 2021
Results reported at Mon Dec 13 00:24:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1626 222.017 36.1344 660787201 661046401 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 :                                   855.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            967 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 163811: <4FGL_J1448.0+3608_daily_bin1626> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1626> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 13 00:07:57 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 13 00:07:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 13 00:07:59 2021
Terminated at Mon Dec 13 00:24:32 2021
Results reported at Mon Dec 13 00:24:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1626 222.017 36.1344 660787201 661046401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1448.0+3608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   845.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

