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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin999
RA = 222.017, Dec = 36.1344
tmin = 498268801, tmax = 498528001
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='788944', job_status='RUN', time_executed='2021-09-10 09:52:04.029455', time_epoch_executed='1631292724.03' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='999'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788944

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788944/ft1_4FGL_J1448.0+3608_daily_bin999.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788944/ft2_4FGL_J1448.0+3608_daily_bin999.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788944/ft1_4FGL_J1448.0+3608_daily_bin999.fits outfile=/scratch/kocevski/788944/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin999.fits ra=222.017 dec=36.1344 rad=12.0 tmin=498268801.0 tmax=498528001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.79
user 4.54
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788944/ft1_filtered_4FGL_J1448.0+3608_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/788944/ft2_4FGL_J1448.0+3608_daily_bin999.fits sctable="SC_DATA" expcube=/scratch/kocevski/788944/ltcube_498268801_498528001_4FGL_J1448.0+3608_daily_bin999.fits outfile=/scratch/kocevski/788944/expmap_498268801_498528001_4FGL_J1448.0+3608_daily_bin999.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/788944/ltcube_498268801_498528001_4FGL_J1448.0+3608_daily_bin999.fits
.....................!
real 190.30
user 185.78
sys 4.19

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/788944/ft1_filtered_4FGL_J1448.0+3608_daily_bin999.fits scfile=/scratch/kocevski/788944/ft2_4FGL_J1448.0+3608_daily_bin999.fits outfile=/scratch/kocevski/788944/cmap_498268801_498528001_4FGL_J1448.0+3608_daily_bin999.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.55
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.017       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16515E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10441E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.177       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5637       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.0741       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.806       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .16928E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.847       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.3273       1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.8348       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .16530E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.5693       1.0000         .10000E-03   10000.    
    24 'norm      '    1.0376       1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.1252       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .12059E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    12.648       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0767       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=   6268.342     FROM MIGRAD    STATUS=CONVERGED    798 CALLS     4634 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.017        12.863       -.34018E-07   -.32771E-04
   2  Prefactor     .10000E-03    6.2542       -.17443E-08** at limit **
   3  Prefactor     .10000E-03    83.301        .47397E-06** at limit **
   4  norm          .10062E-03    4.3603        .18496E-05** at limit **
   5  Prefactor     .10000E-03    6.9830        .49348E-07** at limit **
   6  Prefactor     25.175        16.358       -.15395E-07   -.55548E-04
   7  Prefactor     1.5635        2.2563       -.29475E-07   -.17708E-04
   8  norm          .10000E-03    5.2957        .56774E-07** at limit **
   9  Prefactor     .10000E-03    21.873       -.49193E-06** at limit **
  10  norm          7.0788        6.8077        .14922E-06    .48038E-03
  11  Prefactor     .10000E-03    13.684        .18098E-06** at limit **
  12  norm          10.805        6.7096       -.46013E-07   -.41087E-04
  13  Prefactor     .10000E-03    21.129        .72093E-06** at limit **
  14  norm          .10154E-03    8.3895       -.15343E-05** at limit **
  15  Prefactor     12.857        13.537       -.78978E-07    .96176E-04
  16  Prefactor     .10000E-03    7.0716        .10035E-06** at limit **
  17  norm          3.3277        1.5972        .57325E-08   -.62216E-04
  18  norm          .10000E-03    1.8011       -.25114E-06** at limit **
  19  Prefactor     .10000E-03    4.4503       -.39678E-06** at limit **
  20  Prefactor     .10000E-03    17.538        .41406E-06** at limit **
  21  Prefactor     4.8341        7.3740       -.11363E-05    .55056E-03
  22  Prefactor     .10004E-03    57.536       -.58414E-05** at limit **
  23  Prefactor     1.5524        10.829        .77653E-06    .97261E-04
  24  norm          1.0372        1.3424       -.85162E-07    .30716E-05
  25  Prefactor     9.1261        8.7559        .32515E-08   -.37504E-04
  26  Prefactor     .10000E-03    16.718       -.73172E-06** at limit **
  27  Prefactor     .10000E-03    28.817        .59453E-05** at limit **
  28  norm          12.657        11.457       -.21061E-05   -.61410E-03
  29  Normalizat    1.0033        .17216        .23597E-07   -.17105E-03
  30  Prefactor     1.0768        .17797        .32109E-06   -.17214E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.0173
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100621
  Prefactor  = 0.0001
  Prefactor  = 25.1754
  Prefactor  = 1.56346
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.07878
  Prefactor  = 0.0001
  norm       = 10.8053
  Prefactor  = 0.000100001
  norm       = 0.000101538
  Prefactor  = 12.8567
  Prefactor  = 0.0001
  norm       = 3.32774
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.83411
  Prefactor  = 0.000100035
  Prefactor  = 1.55242
  norm       = 1.03725
  Prefactor  = 9.12609
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  norm       = 12.6571
  Normalizat = 1.00331
  Prefactor  = 1.07678
 **********
 **   18 **HESSE 
 **********

 FCN=   6268.342     FROM HESSE     STATUS=OK           600 CALLS     5234 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.017        12.868        .10336E-03   -1.4933    
   2  Prefactor     .10000E-03    6.2611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    85.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10062E-03    43.151        .21682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.9897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.175        16.363        .79834E-04   -1.4704    
   7  Prefactor     1.5635        2.2282        .13817E-03   -1.5458    
   8  norm          .10000E-03    5.2982        .17793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.0788        6.9149        .15082E-03   -1.5176    
  11  Prefactor     .10000E-03    13.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.805        6.7172        .12188E-03   -1.5050    
  13  Prefactor     .10000E-03    21.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10154E-03    10.059        .68963E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.857        13.545        .11176E-03   -1.4991    
  16  Prefactor     .10000E-03    7.1544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.3277        1.5945        .66228E-04   -1.5343    
  18  norm          .10000E-03    1.8471        .20732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.4918        .16291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    17.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.8341        7.7905        .91477E-03   -1.5268    
  22  Prefactor     .10004E-03    69.875        .51172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.5524        10.075        .33939E-03   -1.5459    
  24  norm          1.0372        1.2903        .87042E-04   -1.5504    
  25  Prefactor     9.1261        8.6764        .13268E-03   -1.5104    
  26  Prefactor     .10000E-03    16.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    90.299        .55461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          12.657        11.734        .11263E-03   -1.4996    
  29  Normalizat    1.0033        .20099        .24581E-03   -.92919    
  30  Prefactor     1.0768        .20898        .25298E-03   -.90212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53076e-08
Minuit parameter uncertainties:
  1  12.8706
  2  1.41434e-06
  3  0.000602311
  4  0.0103619
  5  1.25181e-05
  6  16.3664
  7  2.22832
  8  1.84213e-07
  9  0.000195791
  10  6.91565
  11  3.39928e-05
  12  6.71771
  13  0.000320588
  14  0.00786856
  15  13.5486
  16  8.97049e-06
  17  1.59456
  18  9.77438e-06
  19  2.76839e-05
  20  0.000174873
  21  7.79217
  22  0.00315085
  23  7.91119
  24  1.29038
  25  8.67761
  26  0.000275549
  27  0.00113212
  28  11.7361
  29  0.201145
  30  0.209139
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.015e-04  7.869e-03  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.077e+00  2.091e-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.003e+00  2.011e-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: 3.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/788944/likelihoodResults_498268801_498528001_4FGL_J1448.0+3608_daily_bin999.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) = 6268.34240247
delta logL = -1.74300830622e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6267.67537497
delta logL = 0.667010068661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18171E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9999       1.0000          .0000       5.0000    
     3 'Normalizat'    .92903       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1230       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=   6267.675     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      544 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18158E-01    .58464        .21280E-02    .74116E-02
   2  alpha         5.0000        4.9993        .46270    ** at limit **
   3  Normalizat    .92929        .74407E-01    .45272E-01    .23763E-04
   4  Prefactor     1.1229        .75718E-01    .56138E-01    .71557E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0181583
  alpha      = 5
  Normalizat = 0.929288
  Prefactor  = 1.12292
 **********
 **   18 **HESSE 
 **********

 FCN=   6267.675     FROM HESSE     STATUS=OK            37 CALLS      581 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18158E-01    .19535E-01    .96042E-04   -1.5681    
   2  alpha         5.0000        .93972        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .92929        .20431        .25383E-03   -.95438    
   4  Prefactor     1.1229        .20907        .24823E-03   -.88737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93411e-09
Minuit parameter uncertainties:
  1  0.0195351
  2  1.79945e-05
  3  0.204482
  4  0.209221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788944': 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) = 6267.67536949
delta logL = 0.667015556307

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.816e-02  1.954e-02  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  5.000e+00  1.799e-05  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.123e+00  2.092e-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:  9.293e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 222.017 36.134
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.25e-08 +/- 6.69e-08
Energy Flux (Free Index): 8.75e-06 +/- 9.39e-06

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/788944/cmap_HighResolution_498268801_498528001_4FGL_J1448.0+3608_daily_bin999.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.69e-05', comment='SUCCESS', energy_flux2='8.75e-06', dlogl='6.67e-01', photon_flux2='6.25e-08', job_status='DONE', time_completed='2021-09-10 10:07:58.550646', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='3.52e-08', energy_flux_error2='9.39e-06', EG='1.00', time_epoch_completed='1631293678.55', return_code='0', job_id='788944', GAL2='1.12', EG2='0.93', return_code2='0', photon_flux_error2='6.69e-08', ts2='1.44', photon_index='1.60' WHERE bin_id='999' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:07:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 788944: <4FGL_J1448.0+3608_daily_bin999> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin999> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:51:50 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:51:51 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:51:51 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_bin999 222.017 36.1344 498268801 498528001 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 :                                   953.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            971 sec.

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

