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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin260
RA = 222.017, Dec = 36.1344
tmin = 306720001, tmax = 306979201
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='785650', job_status='RUN', time_executed='2021-09-10 09:44:15.360519', time_epoch_executed='1631292255.36' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785650

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785650/ft1_4FGL_J1448.0+3608_daily_bin260.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785650/ft2_4FGL_J1448.0+3608_daily_bin260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785650/ft1_4FGL_J1448.0+3608_daily_bin260.fits outfile=/scratch/kocevski/785650/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin260.fits ra=222.017 dec=36.1344 rad=12.0 tmin=306720001.0 tmax=306979201.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.91
user 4.69
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785650/ft1_filtered_4FGL_J1448.0+3608_daily_bin260.fits" evtable="EVENTS" scfile=/scratch/kocevski/785650/ft2_4FGL_J1448.0+3608_daily_bin260.fits sctable="SC_DATA" outfile=/scratch/kocevski/785650/ltcube_306720001_306979201_4FGL_J1448.0+3608_daily_bin260.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/785650/ft2_4FGL_J1448.0+3608_daily_bin260.fits
.....................!
real 12.00
user 11.68
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785650/ft1_filtered_4FGL_J1448.0+3608_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/785650/ft2_4FGL_J1448.0+3608_daily_bin260.fits sctable="SC_DATA" expcube=/scratch/kocevski/785650/ltcube_306720001_306979201_4FGL_J1448.0+3608_daily_bin260.fits outfile=/scratch/kocevski/785650/expmap_306720001_306979201_4FGL_J1448.0+3608_daily_bin260.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/785650/ltcube_306720001_306979201_4FGL_J1448.0+3608_daily_bin260.fits
.....................!
real 189.42
user 185.23
sys 3.79

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/785650/ft1_filtered_4FGL_J1448.0+3608_daily_bin260.fits scfile=/scratch/kocevski/785650/ft2_4FGL_J1448.0+3608_daily_bin260.fits outfile=/scratch/kocevski/785650/cmap_306720001_306979201_4FGL_J1448.0+3608_daily_bin260.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=222.017 yref=36.1344 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785650/ft1_filtered_4FGL_J1448.0+3608_daily_bin260.fits scfile=/scratch/kocevski/785650/ft2_4FGL_J1448.0+3608_daily_bin260.fits outfile=/scratch/kocevski/785650/cmap_HighResolution_306720001_306979201_4FGL_J1448.0+3608_daily_bin260.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1532       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7039       1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.138       1.0000         .10000E-03   10000.    
     4 'norm      '    .13572E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.210       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11168E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.608       1.0000         .10000E-03   10000.    
    10 'norm      '    .11768E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.855       1.0000         .10000E-03   10000.    
    14 'norm      '    8.3565       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7369       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6097       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.217       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.155       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    7.6859       1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.6683       1.0000         .10000E-03   10000.    
    26 'Prefactor '    39.067       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.3999       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .55526       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=   5737.592     FROM MIGRAD    STATUS=CONVERGED    735 CALLS     3903 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1529        12.475        .62387E-05   -.33691E-03
   2  Prefactor     4.7025        16.128        .12226E-05    .49465E-04
   3  Prefactor     24.139        23.861        .11633E-06    .34906E-04
   4  norm          .10000E-03    3.5524        .60698E-06** at limit **
   5  Prefactor     14.187        16.825       -.17777E-05   -.35148E-03
   6  Prefactor     .10000E-03    27.896       -.60212E-06** at limit **
   7  Prefactor     .10000E-03    1.0183        .26014E-08** at limit **
   8  norm          .10000E-03    17.316       -.29468E-06** at limit **
   9  Prefactor     21.608        29.015        .37182E-06    .22989E-04
  10  norm          .10000E-03    3.9009       -.13750E-06** at limit **
  11  Prefactor     .10000E-03    16.814       -.39490E-06** at limit **
  12  norm          .10000E-03    5.6421       -.70059E-07** at limit **
  13  Prefactor     17.858        28.554        .48452E-06    .45757E-04
  14  norm          8.3589        9.1635        .11939E-06    .47399E-05
  15  Prefactor     .10000E-03    3.6621       -.69203E-06** at limit **
  16  Prefactor     3.7371        4.0243       -.84664E-08    .63010E-04
  17  norm          1.6098        1.4934        .52565E-07   -.38298E-04
  18  norm          .10000E-03    1.5531        .15557E-07** at limit **
  19  Prefactor     .10000E-03    3.4730        .10058E-06** at limit **
  20  Prefactor     .10000E-03    28.569       -.22818E-06** at limit **
  21  Prefactor     10.217        9.5141        .69955E-06   -.15518E-03
  22  Prefactor     15.151        14.423       -.17057E-06   -.58185E-04
  23  Prefactor     .10000E-03    8.1036        .31267E-06** at limit **
  24  norm          7.6869        2.3257        .86592E-07    .60045E-04
  25  Prefactor     6.6581        15.717       -.17620E-05   -.13601E-03
  26  Prefactor     39.081        37.017        .33397E-05    .31493E-03
  27  Prefactor     .10000E-03    8.0665        .31608E-06** at limit **
  28  norm          .10000E-03    9.0518       -.45285E-06** at limit **
  29  Normalizat    1.3998        .19607        .97730E-06   -.84305E-04
  30  Prefactor     .55526        .18696       -.19719E-05    .40815E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.15287
  Prefactor  = 4.70253
  Prefactor  = 24.1395
  norm       = 0.0001
  Prefactor  = 14.1869
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.6082
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.8575
  norm       = 8.35892
  Prefactor  = 0.0001
  Prefactor  = 3.73711
  norm       = 1.6098
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2171
  Prefactor  = 15.1507
  Prefactor  = 0.0001
  norm       = 7.68691
  Prefactor  = 6.65813
  Prefactor  = 39.0805
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.39982
  Prefactor  = 0.555261
 **********
 **   18 **HESSE 
 **********

 FCN=   5737.592     FROM HESSE     STATUS=OK           588 CALLS     4491 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1529        13.046        .98890E-03   -1.5300    
   2  Prefactor     4.7025        16.187        .18554E-03   -1.5274    
   3  Prefactor     24.139        23.927        .81532E-04   -1.4725    
   4  norm          .10000E-03    3.7511        .27984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.187        17.214        .10625E-03   -1.4954    
   6  Prefactor     .10000E-03    28.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.0205        .74639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    17.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.608        29.081        .86168E-04   -1.4778    
  10  norm          .10000E-03    8.6993        .28823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.8710        .35109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.858        28.669        .94784E-04   -1.4863    
  14  norm          8.3589        9.1338        .13868E-03   -1.5130    
  15  Prefactor     .10000E-03    3.6943        .14213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.7371        4.0272        .15244E-03   -1.5321    
  17  norm          1.6098        1.4776        .84942E-04   -1.5454    
  18  norm          .10000E-03    1.5614        .92165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.4887        .13783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    28.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.217        9.5536        .62678E-03   -1.5069    
  22  Prefactor     15.151        14.435        .10289E-03   -1.4929    
  23  Prefactor     .10000E-03    8.1460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          7.6869        2.3355        .49738E-04   -1.5153    
  25  Prefactor     6.6581        15.977        .15539E-03   -1.5192    
  26  Prefactor     39.081        38.528        .32064E-03   -1.4457    
  27  Prefactor     .10000E-03    8.0787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    9.0923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.3998        .23199        .22053E-03   -.80634    
  30  Prefactor     .55526        .21762        .32545E-03   -1.0950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61098e-09
Minuit parameter uncertainties:
  1  13.0551
  2  16.2025
  3  23.9364
  4  5.27253e-05
  5  17.2197
  6  0.000321464
  7  3.33256e-07
  8  0.000180999
  9  29.1001
  10  0.000131379
  11  5.54189e-05
  12  1.84309e-06
  13  28.6914
  14  9.13529
  15  5.02828e-05
  16  4.02749
  17  1.47759
  18  2.84856e-07
  19  6.77165e-06
  20  4.55147e-05
  21  9.55503
  22  14.4382
  23  3.37486e-05
  24  2.33548
  25  15.9871
  26  38.5528
  27  3.40447e-05
  28  5.05548e-05
  29  0.232168
  30  0.217947
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  8.359e+00  9.135e+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:  5.553e-01  2.179e-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.400e+00  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.10e-08 +/- 1.20e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 2.29e-05

TS (Fixed Index): 1.42
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 4.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785650/likelihoodResults_306720001_306979201_4FGL_J1448.0+3608_daily_bin260.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5737.58384207
delta logL = 0.00771318563238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5737.58328191
delta logL = 0.00827334040241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0534       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6875       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3991       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55553       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=   5737.583     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      244 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0530        9.4361        .14128E-03    .33700E-03
   2  alpha         1.6875        .69135        .15470E-01    .45516E-04
   3  Normalizat    1.3991        .21671        .22058E-03   -.74981E-04
   4  Prefactor     .55552        .21171        .32538E-03   -.10290E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.05299
  alpha      = 1.68754
  Normalizat = 1.39912
  Prefactor  = 0.555523
 **********
 **   18 **HESSE 
 **********

 FCN=   5737.583     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0530        9.2936        .56513E-05   -1.5140    
   2  alpha         1.6875        .68136        .61878E-03   -.33100    
   3  Normalizat    1.3991        .21684        .44115E-04   -.80654    
   4  Prefactor     .55552        .21184        .13015E-04   -1.0949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33593e-10
Minuit parameter uncertainties:
  1  9.29531
  2  0.691168
  3  0.21698
  4  0.212145
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785650': 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) = 5737.58328191
delta logL = 0.00827334209498

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  8.053e+00  9.295e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.688e+00  6.912e-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:  5.555e-01  2.121e-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.399e+00  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.69 +/- 0.69
Photon Flux (Free Index): 1.19e-08 +/- 1.44e-08
Energy Flux (Free Index): 1.83e-05 +/- 2.81e-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/785650/cmap_HighResolution_306720001_306979201_4FGL_J1448.0+3608_daily_bin260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.17e-05', comment='SUCCESS', photon_flux='1.10e-08', energy_flux2='1.83e-05', photon_flux_error='1.20e-08', dlogl='8.27e-03', energy_flux='2.09e-05', photon_flux2='1.19e-08', job_status='DONE', time_completed='2021-09-10 09:57:41.534208', photon_index_error2='0.69', photon_index2='1.69', ts='1.42', fit_tolerance='1e-08', GAL='0.56', photon_index_error='0.00', photon_flux_upper_limit='4.29e-08', energy_flux_error2='2.81e-05', EG='1.40', time_epoch_completed='1631293061.53', return_code='0', job_id='785650', GAL2='0.56', EG2='1.40', return_code2='0', energy_flux_error='2.29e-05', photon_flux_error2='1.44e-08', ts2='1.43', photon_index='1.60' WHERE bin_id='260' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:57:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 785650: <4FGL_J1448.0+3608_daily_bin260> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin260 222.017 36.1344 306720001 306979201 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 :                                   804.29 sec.
    Max Memory :                                 1195 MB
    Average Memory :                             311.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            991 sec.

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

