/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 181 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7439
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1448.0+3608_daily_bin96
RA = 222.017, Dec = 36.1344
tmin = 264211201, tmax = 264470401
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='784430', job_status='RUN', time_executed='2021-09-10 09:39:52.216666', time_epoch_executed='1631291992.22' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='96'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784430

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784430/ft1_4FGL_J1448.0+3608_daily_bin96.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784430/ft2_4FGL_J1448.0+3608_daily_bin96.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784430/ft1_4FGL_J1448.0+3608_daily_bin96.fits outfile=/scratch/kocevski/784430/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin96.fits ra=222.017 dec=36.1344 rad=12.0 tmin=264211201.0 tmax=264470401.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 1.75
user 1.53
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784430/ft1_filtered_4FGL_J1448.0+3608_daily_bin96.fits evtable="EVENTS" scfile=/scratch/kocevski/784430/ft2_4FGL_J1448.0+3608_daily_bin96.fits sctable="SC_DATA" expcube=/scratch/kocevski/784430/ltcube_264211201_264470401_4FGL_J1448.0+3608_daily_bin96.fits outfile=/scratch/kocevski/784430/expmap_264211201_264470401_4FGL_J1448.0+3608_daily_bin96.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/784430/ltcube_264211201_264470401_4FGL_J1448.0+3608_daily_bin96.fits
.....................!
real 189.96
user 185.39
sys 4.21

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/784430/ft1_filtered_4FGL_J1448.0+3608_daily_bin96.fits scfile=/scratch/kocevski/784430/ft2_4FGL_J1448.0+3608_daily_bin96.fits outfile=/scratch/kocevski/784430/cmap_264211201_264470401_4FGL_J1448.0+3608_daily_bin96.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.51
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784430/ft1_filtered_4FGL_J1448.0+3608_daily_bin96.fits scfile=/scratch/kocevski/784430/ft2_4FGL_J1448.0+3608_daily_bin96.fits outfile=/scratch/kocevski/784430/cmap_HighResolution_264211201_264470401_4FGL_J1448.0+3608_daily_bin96.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.334       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.1023       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.5724       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.205       1.0000         .10000E-03   10000.    
    10 'norm      '    6.7561       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.2331       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.9612       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8326       1.0000         .10000E-03   10000.    
    17 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10256E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1742       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.2432       1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.342       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    12.139       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    13.217       1.0000         .10000E-03   10000.    
    28 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1892       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .86392       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=   8036.043     FROM MIGRAD    STATUS=CONVERGED    740 CALLS     3319 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.4076       -.18884E-05** at limit **
   2  Prefactor     .10000E-03    3.9929       -.45629E-06** at limit **
   3  Prefactor     10.324        24.436       -.97060E-05   -.77890E-04
   4  norm          .10000E-03    3.7597       -.70820E-06** at limit **
   5  Prefactor     7.1051        8.5311        .13934E-06    .20968E-03
   6  Prefactor     .10000E-03    15.607       -.78449E-05** at limit **
   7  Prefactor     .10000E-03    2.1964       -.21362E-07** at limit **
   8  norm          2.5719        8.8183        .47565E-06   -.92203E-03
   9  Prefactor     11.206        21.624        .12133E-05    .39819E-04
  10  norm          6.7568        5.8592        .38024E-07   -.95847E-03
  11  Prefactor     .10000E-03    20.390        .79332E-05** at limit **
  12  norm          2.2316        4.3736       -.10737E-06   -.20950E-03
  13  Prefactor     .10000E-03    13.833       -.41566E-05** at limit **
  14  norm          5.9609        5.6924        .16392E-06    .58892E-04
  15  Prefactor     .10000E-03    4.1735        .30771E-06** at limit **
  16  Prefactor     3.8340        5.2578        .97406E-06   -.17359E-02
  17  norm          .10000E-03    .69891       -.43034E-06** at limit **
  18  norm          .10000E-03    3.3430       -.60740E-07** at limit **
  19  Prefactor     3.1839        7.7462       -.55243E-06   -.13552E-03
  20  Prefactor     .10000E-03    41.926       -.24519E-05** at limit **
  21  Prefactor     6.2422        7.2192       -.72729E-07   -.29081E-04
  22  Prefactor     17.349        15.046        .10682E-06    .45970E-05
  23  Prefactor     .10000E-03    12.406        .21533E-05** at limit **
  24  norm          12.139        1.8432       -.25114E-07   -.17835E-04
  25  Prefactor     .10000E-03    3.7169        .59492E-06** at limit **
  26  Prefactor     .10000E-03    11.649        .55993E-05** at limit **
  27  Prefactor     13.217        12.050       -.10360E-06    .48791E-05
  28  norm          .10000E-03    4.2484        .31358E-06** at limit **
  29  Normalizat    1.1889        .16104        .10836E-05    .17211E-03
  30  Prefactor     .86425        .16146       -.45242E-06    .22819E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3242
  norm       = 0.0001
  Prefactor  = 7.10507
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.57193
  Prefactor  = 11.206
  norm       = 6.75682
  Prefactor  = 0.0001
  norm       = 2.23158
  Prefactor  = 0.0001
  norm       = 5.96095
  Prefactor  = 0.0001
  Prefactor  = 3.83401
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.18392
  Prefactor  = 0.0001
  Prefactor  = 6.24221
  Prefactor  = 17.3492
  Prefactor  = 0.0001
  norm       = 12.1391
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.2174
  norm       = 0.0001
  Normalizat = 1.18891
  Prefactor  = 0.864253
 **********
 **   18 **HESSE 
 **********

 FCN=   8036.043     FROM HESSE     STATUS=OK           588 CALLS     3907 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.4669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.9937        .17494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.324        24.667        .12464E-03   -1.5065    
   4  norm          .10000E-03    3.9164        .33899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.1051        8.5668        .15052E-03   -1.5175    
   6  Prefactor     .10000E-03    15.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2833        .25920E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.5719        11.272        .12724E-02   -1.5387    
   9  Prefactor     11.206        21.668        .11968E-03   -1.5038    
  10  norm          6.7568        5.9395        .77185E-03   -1.5188    
  11  Prefactor     .10000E-03    20.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2316        4.3908        .25053E-03   -1.5409    
  13  Prefactor     .10000E-03    13.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.9609        5.7007        .16446E-03   -1.5220    
  15  Prefactor     .10000E-03    4.1813        .17882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8340        6.5449        .10308E-02   -1.5316    
  17  norm          .10000E-03    1.1203        .14032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.3922        .31716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.1839        7.6518        .22747E-03   -1.5351    
  20  Prefactor     .10000E-03    41.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.2422        7.2196        .16066E-03   -1.5208    
  22  Prefactor     17.349        15.003        .96176E-04   -1.4875    
  23  Prefactor     .10000E-03    12.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.139        1.8443        .44987E-04   -1.5011    
  25  Prefactor     .10000E-03    3.7261        .16863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    11.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     13.217        12.051        .11018E-03   -1.4981    
  28  norm          .10000E-03    4.2575        .18041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1889        .19590        .23853E-03   -.86946    
  30  Prefactor     .86425        .19493        .28163E-03   -.97402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34803e-09
Minuit parameter uncertainties:
  1  2.87403e-05
  2  4.38451e-06
  3  24.6918
  4  6.66152e-06
  5  8.56829
  6  0.000141131
  7  5.51602e-06
  8  10.7719
  9  21.6827
  10  5.93997
  11  0.000179269
  12  4.39142
  13  8.81563e-05
  14  5.70119
  15  1.65852e-07
  16  6.54609
  17  6.83816e-08
  18  4.22716e-06
  19  7.65412
  20  9.36461e-05
  21  7.22056
  22  15.0063
  23  4.46912e-05
  24  1.84429
  25  3.4263e-06
  26  9.77093e-05
  27  12.0532
  28  2.15065e-06
  29  0.19602
  30  0.19509
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.961e+00  5.701e+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:  8.643e-01  1.951e-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.189e+00  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.32
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 7.85e-09 +/- 7.51e-09
Energy Flux (Fixed Index): 1.49e-05 +/- 1.43e-05

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) = 8035.18429407
delta logL = 0.858993213411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8034.84275658
delta logL = 1.20053069888

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4883       1.0000         .10000E-03   10000.    
     2 'alpha     '    .36195       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1901       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86757       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=   8034.843     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      213 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4884        1.8985        .87875E-02   -.12655E-02
   2  alpha         .36173        .61400        .50000        .15448E-04
   3  Normalizat    1.1901        .15654        .53925E-01    .61508E-05
   4  Prefactor     .86765        .16101        .44590E-01    .20971E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.48843
  alpha      = 0.361729
  Normalizat = 1.19006
  Prefactor  = 0.867646
 **********
 **   18 **HESSE 
 **********

 FCN=   8034.843     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4884        2.8577        .10501E-03   -1.5464    
   2  alpha         .36173        .74094        .33322E-01   -1.0261    
   3  Normalizat    1.1901        .18464        .23844E-03   -.86911    
   4  Prefactor     .86765        .18992        .28094E-03   -.97281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05823e-09
Minuit parameter uncertainties:
  1  2.85797
  2  0.788799
  3  0.184743
  4  0.190064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784430': 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) = 8034.84275631
delta logL = 1.20053097112

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.488e+00  2.858e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  3.617e-01  7.888e-01  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:  8.676e-01  1.901e-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.190e+00  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.72
Ra Dec: 222.017 36.134
Photon Index (Free Index): 0.36 +/- 0.79
Photon Flux (Free Index): 2.68e-09 +/- 2.75e-09
Energy Flux (Free Index): 6.69e-05 +/- 8.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/784430/cmap_HighResolution_264211201_264470401_4FGL_J1448.0+3608_daily_bin96.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.85e-09', energy_flux2='6.69e-05', photon_flux_error='7.51e-09', dlogl='1.20e+00', energy_flux='1.49e-05', photon_flux2='2.68e-09', job_status='DONE', time_completed='2021-09-10 09:53:10.520829', photon_index_error2='0.79', photon_index2='0.36', ts='7.32', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='8.32e-05', EG='1.19', time_epoch_completed='1631292790.52', return_code='0', job_id='784430', GAL2='0.87', EG2='1.19', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='2.75e-09', ts2='9.72', photon_index='1.60' WHERE bin_id='96' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:53:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 784430: <4FGL_J1448.0+3608_daily_bin96> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin96> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:40 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:36:42 2021
Terminated at Fri Sep 10 09:53:11 2021
Results reported at Fri Sep 10 09:53:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin96 222.017 36.1344 264211201 264470401 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 :                                   798.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            991 sec.

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

