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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1085
RA = 222.017, Dec = 36.1344
tmin = 520560001, tmax = 520819201
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='790822', job_status='RUN', time_executed='2021-09-10 09:58:01.334794', time_epoch_executed='1631293081.33' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1085'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790822

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790822/ft1_4FGL_J1448.0+3608_daily_bin1085.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790822/ft2_4FGL_J1448.0+3608_daily_bin1085.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790822/ft1_4FGL_J1448.0+3608_daily_bin1085.fits outfile=/scratch/kocevski/790822/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1085.fits ra=222.017 dec=36.1344 rad=12.0 tmin=520560001.0 tmax=520819201.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 5.21
user 4.96
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790822/ft1_filtered_4FGL_J1448.0+3608_daily_bin1085.fits" evtable="EVENTS" scfile=/scratch/kocevski/790822/ft2_4FGL_J1448.0+3608_daily_bin1085.fits sctable="SC_DATA" outfile=/scratch/kocevski/790822/ltcube_520560001_520819201_4FGL_J1448.0+3608_daily_bin1085.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/790822/ft2_4FGL_J1448.0+3608_daily_bin1085.fits
.....................!
real 11.75
user 11.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790822/ft1_filtered_4FGL_J1448.0+3608_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/790822/ft2_4FGL_J1448.0+3608_daily_bin1085.fits sctable="SC_DATA" expcube=/scratch/kocevski/790822/ltcube_520560001_520819201_4FGL_J1448.0+3608_daily_bin1085.fits outfile=/scratch/kocevski/790822/expmap_520560001_520819201_4FGL_J1448.0+3608_daily_bin1085.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/790822/ltcube_520560001_520819201_4FGL_J1448.0+3608_daily_bin1085.fits
.....................!
real 192.20
user 186.76
sys 5.03

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/790822/ft1_filtered_4FGL_J1448.0+3608_daily_bin1085.fits scfile=/scratch/kocevski/790822/ft2_4FGL_J1448.0+3608_daily_bin1085.fits outfile=/scratch/kocevski/790822/cmap_520560001_520819201_4FGL_J1448.0+3608_daily_bin1085.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790822/ft1_filtered_4FGL_J1448.0+3608_daily_bin1085.fits scfile=/scratch/kocevski/790822/ft2_4FGL_J1448.0+3608_daily_bin1085.fits outfile=/scratch/kocevski/790822/cmap_HighResolution_520560001_520819201_4FGL_J1448.0+3608_daily_bin1085.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.56
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7371       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.347       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5902       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.542       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4693       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.4730       1.0000         .10000E-03   10000.    
    13 'Prefactor '    79.473       1.0000         .10000E-03   10000.    
    14 'norm      '    7.2111       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .14158E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    2.8832       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10477E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.0529       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    3.8161       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.8871       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .73408E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .80575       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0769       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=   3665.986     FROM MIGRAD    STATUS=CONVERGED   1350 CALLS     4517 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7361        12.650        .92436E-03   -.61950E-04
   2  Prefactor     .10000E-03    9.0867        .17822E-02** at limit **
   3  Prefactor     15.332        29.230        .10224E-03    .12621E-04
   4  norm          1.5901        2.6185        .12397E-03    .63275E-05
   5  Prefactor     .10000E-03    6.6880        .15272E-02** at limit **
   6  Prefactor     .10000E-03    6.4926        .15061E-02** at limit **
   7  Prefactor     .10000E-03    3.0398        .10216E-02** at limit **
   8  norm          .10000E-03    12.296        .18142E-02** at limit **
   9  Prefactor     29.525        42.012        .73714E-04    .23366E-04
  10  norm          2.4644        6.7749        .24946E-03    .27344E-04
  11  Prefactor     .10000E-03    28.946        .18142E-02** at limit **
  12  norm          3.4731        3.5249        .11140E-03    .96442E-05
  13  Prefactor     79.463        56.203        .45050E-04    .89335E-05
  14  norm          7.2105        7.4330        .14937E-03    .12748E-04
  15  Prefactor     .10000E-03    8.8597        .17577E-02** at limit **
  16  Prefactor     .10000E-03    4.1458        .12017E-02** at limit **
  17  norm          .11046E-03    3.3447        .20832E-01** at limit **
  18  norm          2.8826        3.0885        .10711E-03    .70633E-04
  19  Prefactor     .10000E-03    5.6416        .14020E-02** at limit **
  20  Prefactor     .10000E-03    81.466        .18142E-02** at limit **
  21  Prefactor     2.0556        11.882        .28849E-03   -.30600E-04
  22  Prefactor     .10000E-03    9.7017        .18142E-02** at limit **
  23  Prefactor     .10000E-03    17.084        .18142E-02** at limit **
  24  norm          3.8198        2.1202        .49912E-04   -.57491E-03
  25  Prefactor     1.8566        26.922        .30295E-03    .38390E-04
  26  Prefactor     .10000E-03    13.475        .18142E-02** at limit **
  27  Prefactor     .10005E-03    170.91        .51760E-02** at limit **
  28  norm          .10000E-03    11.444        .18142E-02** at limit **
  29  Normalizat    .80677        .25822        .25030E-03    .63406E-04
  30  Prefactor     1.0760        .25518        .22882E-03   -.10757E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.73609
  Prefactor  = 0.0001
  Prefactor  = 15.3316
  norm       = 1.59013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.5249
  norm       = 2.46439
  Prefactor  = 0.0001
  norm       = 3.47306
  Prefactor  = 79.4627
  norm       = 7.2105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.00011046
  norm       = 2.88263
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.05561
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.81982
  Prefactor  = 1.85662
  Prefactor  = 0.0001
  Prefactor  = 0.000100054
  norm       = 0.0001
  Normalizat = 0.806769
  Prefactor  = 1.07599
 **********
 **   18 **HESSE 
 **********

 FCN=   3665.986     FROM HESSE     STATUS=OK           566 CALLS     5083 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7361        12.648        .36974E-04   -1.5273    
   2  Prefactor     .10000E-03    9.0869        .35643E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.332        29.231        .40895E-05   -1.4925    
   4  norm          1.5901        2.6185        .49589E-05   -1.5456    
   5  Prefactor     .10000E-03    6.6885        .30543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.4928        .30123E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0404        .20432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    12.298        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.525        42.005        .29485E-05   -1.4621    
  10  norm          2.4644        6.7741        .99784E-05   -1.5394    
  11  Prefactor     .10000E-03    28.946        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4731        3.5249        .44559E-05   -1.5335    
  13  Prefactor     79.463        56.197        .90100E-05   -1.3923    
  14  norm          7.2105        7.4330        .59749E-05   -1.5171    
  15  Prefactor     .10000E-03    8.8605        .35155E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.1460        .24035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .11046E-03    2.2580        .26775E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.8826        3.0884        .42846E-05   -1.5368    
  19  Prefactor     .10000E-03    5.6420        .28040E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    81.469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.0556        11.876        .11540E-04   -1.5421    
  22  Prefactor     .10000E-03    9.7022        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    17.093        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.8198        2.1150        .19965E-05   -1.5317    
  25  Prefactor     1.8566        26.770        .12118E-04   -1.5435    
  26  Prefactor     .10000E-03    13.475        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10005E-03    176.35        .20704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    11.446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .80677        .25837        .10012E-04   -.99818    
  30  Prefactor     1.0760        .25542        .91527E-05   -.90238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48852e-09
Minuit parameter uncertainties:
  1  12.6554
  2  3.80898e-06
  3  29.2587
  4  2.61867
  5  8.21027e-06
  6  1.75715e-05
  7  3.0518e-06
  8  2.95375e-06
  9  42.0474
  10  6.77619
  11  5.91941e-05
  12  3.52507
  13  56.2344
  14  7.43395
  15  1.23763e-05
  16  6.40216e-06
  17  0.00972013
  18  3.08856
  19  2.76177e-06
  20  5.90765e-05
  21  9.88435
  22  5.32087e-06
  23  1.89548e-05
  24  2.11501
  25  14.107
  26  3.1311e-05
  27  0.00621604
  28  1.22183e-05
  29  0.258765
  30  0.255715
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  1.076e+00  2.557e-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:  8.068e-01  2.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.90
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 9.50e-09 +/- 9.79e-09
Energy Flux (Fixed Index): 1.81e-05 +/- 1.86e-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) = 3665.95433484
delta logL = 0.0319531813216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3665.95391356
delta logL = 0.0323744579005

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4168       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3853       1.0000          .0000       5.0000    
     3 'Normalizat'    .80821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0754       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=   3665.954     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      232 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4169        7.6451        .14727E-03   -.31122E-03
   2  alpha         1.3853        .80345        .18512E-01   -.37820E-04
   3  Normalizat    .80821        .23743        .25010E-03   -.47958E-05
   4  Prefactor     1.0754        .24861        .22887E-03   -.30176E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.41689
  alpha      = 1.38526
  Normalizat = 0.808214
  Prefactor  = 1.07542
 **********
 **   18 **HESSE 
 **********

 FCN=   3665.954     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4169        7.6476        .58907E-05   -1.5163    
   2  alpha         1.3853        .80384        .74049E-03   -.46218    
   3  Normalizat    .80821        .23766        .10004E-04   -.99765    
   4  Prefactor     1.0754        .24887        .91549E-05   -.90256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78216e-10
Minuit parameter uncertainties:
  1  7.64858
  2  0.822213
  3  0.237969
  4  0.249134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790822': 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) = 3665.95391356
delta logL = 0.0323744585771

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.417e+00  7.649e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.385e+00  8.222e-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:  1.075e+00  2.491e-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:  8.082e-01  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.96
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.39 +/- 0.82
Photon Flux (Free Index): 7.89e-09 +/- 9.69e-09
Energy Flux (Free Index): 2.57e-05 +/- 4.48e-05

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/790822/cmap_HighResolution_520560001_520819201_4FGL_J1448.0+3608_daily_bin1085.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.50e-09', energy_flux2='2.57e-05', photon_flux_error='9.79e-09', dlogl='3.24e-02', energy_flux='1.81e-05', photon_flux2='7.89e-09', job_status='DONE', time_completed='2021-09-10 10:08:00.447996', photon_index_error2='0.82', photon_index2='1.39', ts='4.90', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='4.48e-05', EG='0.81', time_epoch_completed='1631293680.45', return_code='0', job_id='790822', GAL2='1.08', EG2='0.81', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='9.69e-09', ts2='4.96', photon_index='1.60' WHERE bin_id='1085' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:08:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 790822: <4FGL_J1448.0+3608_daily_bin1085> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1085> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:57:37 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57:39 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:57:39 2021
Terminated at Fri Sep 10 10:08:01 2021
Results reported at Fri Sep 10 10:08:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1085 222.017 36.1344 520560001 520819201 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 :                                   602.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            624 sec.

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

