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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin201
RA = 222.017, Dec = 36.1344
tmin = 291427201, tmax = 291686401
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='785566', job_status='RUN', time_executed='2021-09-10 09:41:20.053658', time_epoch_executed='1631292080.05' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785566

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785566/ft1_4FGL_J1448.0+3608_daily_bin201.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785566/ft2_4FGL_J1448.0+3608_daily_bin201.fits


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

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

Done.
real 3.47
user 3.26
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785566/ft1_filtered_4FGL_J1448.0+3608_daily_bin201.fits evtable="EVENTS" scfile=/scratch/kocevski/785566/ft2_4FGL_J1448.0+3608_daily_bin201.fits sctable="SC_DATA" expcube=/scratch/kocevski/785566/ltcube_291427201_291686401_4FGL_J1448.0+3608_daily_bin201.fits outfile=/scratch/kocevski/785566/expmap_291427201_291686401_4FGL_J1448.0+3608_daily_bin201.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/785566/ltcube_291427201_291686401_4FGL_J1448.0+3608_daily_bin201.fits
.....................!
real 191.13
user 185.56
sys 5.22

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/785566/ft1_filtered_4FGL_J1448.0+3608_daily_bin201.fits scfile=/scratch/kocevski/785566/ft2_4FGL_J1448.0+3608_daily_bin201.fits outfile=/scratch/kocevski/785566/cmap_291427201_291686401_4FGL_J1448.0+3608_daily_bin201.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/785566/ft1_filtered_4FGL_J1448.0+3608_daily_bin201.fits scfile=/scratch/kocevski/785566/ft2_4FGL_J1448.0+3608_daily_bin201.fits outfile=/scratch/kocevski/785566/cmap_HighResolution_291427201_291686401_4FGL_J1448.0+3608_daily_bin201.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.3693       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6436       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .38990E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.235       1.0000         .10000E-03   10000.    
    10 'norm      '    4.8766       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.4020       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2334       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1130       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3834       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4221       1.0000         .10000E-03   10000.    
    18 'norm      '    1.5747       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    87.536       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.056       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    6.4848       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .39372E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    21.026       1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.5620       1.0000         .10000E-03   10000.    
    28 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .93438       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0374       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=   6099.833     FROM MIGRAD    STATUS=CONVERGED    777 CALLS     3944 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.3743        14.401        .40356E-07   -.71117E-04
   2  Prefactor     .10000E-03    6.1462       -.16300E-06** at limit **
   3  Prefactor     .10000E-03    7.1091        .37662E-06** at limit **
   4  norm          .10000E-03    1.0379        .64420E-08** at limit **
   5  Prefactor     7.6598        10.488        .23346E-06    .25195E-04
   6  Prefactor     .10000E-03    5.6038        .55539E-07** at limit **
   7  Prefactor     .10000E-03    1.6345       -.20923E-07** at limit **
   8  norm          .10000E-03    32.992       -.67624E-06** at limit **
   9  Prefactor     25.239        19.721       -.97146E-06   -.31845E-03
  10  norm          4.8775        4.7997        .19070E-06    .12462E-03
  11  Prefactor     .10000E-03    19.565        .11826E-05** at limit **
  12  norm          4.4019        4.0915        .20958E-07    .13232E-05
  13  Prefactor     4.2078        32.089        .12749E-04    .38041E-03
  14  norm          .10000E-03    2.8134       -.26073E-07** at limit **
  15  Prefactor     8.1183        14.250       -.17333E-05   -.14043E-03
  16  Prefactor     4.3827        6.0625        .47727E-05   -.14377E-02
  17  norm          1.4225        1.2738       -.35756E-06   -.21048E-03
  18  norm          1.5747        2.1062        .41774E-07   -.40452E-05
  19  Prefactor     .10000E-03    3.1997        .79802E-08** at limit **
  20  Prefactor     87.542        72.167        .64221E-06    .38105E-04
  21  Prefactor     .10000E-03    9.9304        .37043E-06** at limit **
  22  Prefactor     33.052        21.410        .17906E-06    .26140E-04
  23  Prefactor     .10000E-03    7.9829       -.43244E-06** at limit **
  24  norm          6.4871        1.7306        .78023E-07    .42998E-03
  25  Prefactor     .10000E-03    19.821       -.18839E-05** at limit **
  26  Prefactor     20.886        39.941       -.41105E-05   -.21019E-03
  27  Prefactor     6.5647        20.819       -.24068E-05   -.16779E-03
  28  norm          .10000E-03    17.232       -.15045E-05** at limit **
  29  Normalizat    .93381        .18513       -.15539E-05    .89381E-04
  30  Prefactor     1.0379        .18591        .66684E-06   -.36730E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.37431
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.65979
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.2392
  norm       = 4.87751
  Prefactor  = 0.000100001
  norm       = 4.40187
  Prefactor  = 4.2078
  norm       = 0.0001
  Prefactor  = 8.1183
  Prefactor  = 4.38275
  norm       = 1.42248
  norm       = 1.57473
  Prefactor  = 0.0001
  Prefactor  = 87.5423
  Prefactor  = 0.0001
  Prefactor  = 33.0516
  Prefactor  = 0.0001
  norm       = 6.48709
  Prefactor  = 0.0001
  Prefactor  = 20.8862
  Prefactor  = 6.56469
  norm       = 0.0001
  Normalizat = 0.933807
  Prefactor  = 1.0379
 **********
 **   18 **HESSE 
 **********

 FCN=   6099.833     FROM HESSE     STATUS=OK           586 CALLS     4530 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.3743        14.434        .13093E-03   -1.5096    
   2  Prefactor     .10000E-03    6.1513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.1258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.0404        .77686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.6598        10.453        .14505E-03   -1.5154    
   6  Prefactor     .10000E-03    5.6118        .18044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.9504        .19104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    33.690        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.239        19.836        .79743E-04   -1.4703    
  10  norm          4.8775        4.7982        .16379E-03   -1.5266    
  11  Prefactor     .10000E-03    19.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.4019        4.0931        .14779E-03   -1.5288    
  13  Prefactor     4.2078        35.998        .19584E-03   -1.5298    
  14  norm          .10000E-03    2.8151        .12793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1183        14.269        .14076E-03   -1.5138    
  16  Prefactor     4.3827        6.4426        .96184E-03   -1.5289    
  17  norm          1.4225        1.2668        .78003E-04   -1.5469    
  18  norm          1.5747        2.0866        .12706E-03   -1.5457    
  19  Prefactor     .10000E-03    3.2107        .13634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     87.542        72.108        .42942E-04   -1.3834    
  21  Prefactor     .10000E-03    10.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     33.052        21.378        .69695E-04   -1.4558    
  23  Prefactor     .10000E-03    8.0292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.4871        1.7225        .49516E-04   -1.5199    
  25  Prefactor     .10000E-03    20.073        .42542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     20.886        40.276        .87351E-04   -1.4794    
  27  Prefactor     6.5647        20.851        .15666E-03   -1.5195    
  28  norm          .10000E-03    17.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .93381        .21366        .24734E-03   -.95282    
  30  Prefactor     1.0379        .21638        .25131E-03   -.91477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75067e-09
Minuit parameter uncertainties:
  1  14.4393
  2  1.65073e-05
  3  5.03305e-05
  4  3.68839e-07
  5  10.4558
  6  8.59225e-06
  7  4.6211e-06
  8  0.000187429
  9  19.8411
  10  4.79862
  11  0.00024204
  12  4.09333
  13  24.6345
  14  2.46923e-07
  15  14.2748
  16  6.44365
  17  1.26685
  18  2.08667
  19  2.16388e-06
  20  72.1807
  21  4.56924e-05
  22  21.383
  23  4.7419e-05
  24  1.72252
  25  6.45174e-05
  26  40.3289
  27  20.8746
  28  8.9261e-06
  29  0.213856
  30  0.21656
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  1.038e+00  2.166e-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.338e-01  2.139e-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: 2.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785566/likelihoodResults_291427201_291686401_4FGL_J1448.0+3608_daily_bin201.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) = 6099.83499856
delta logL = -0.0016124767244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6099.83338609
delta logL = -5.7980287238e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5989       1.0000          .0000       5.0000    
     3 'Normalizat'    .93380       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0379       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=   6099.833     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      228 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    244.28        .12793E-02** at limit **
   2  alpha         1.5881        3.1930        .50000        .88262E-06
   3  Normalizat    .93381        .43903E-01    .24734E-03   -.96524E-06
   4  Prefactor     1.0379        .47022E-01    .25131E-03   -.12214E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100009
  alpha      = 1.5881
  Normalizat = 0.933805
  Prefactor  = 1.0379
 **********
 **   18 **HESSE 
 **********

 FCN=   6099.833     FROM HESSE     STATUS=OK            29 CALLS      257 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    31.919        .25587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5881        3.9951        .50000       -.37338    
   3  Normalizat    .93381        .19985        .98936E-05   -.95282    
   4  Prefactor     1.0379        .21405        .10052E-04   -.91477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67646e-09
Minuit parameter uncertainties:
  1  0.0010807
  2  537.997
  3  0.200011
  4  0.214223
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785566': 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) = 6099.83338608
delta logL = 4.58203430753e-09

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.081e-03  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.588e+00  5.380e+02  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.038e+00  2.142e-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.338e-01  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.017 36.134

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/785566/cmap_HighResolution_291427201_291686401_4FGL_J1448.0+3608_daily_bin201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-05', job_status='DONE', photon_flux_upper_limit='2.06e-08', time_completed='2021-09-10 09:55:23.479991', job_id='785566', GAL2='1.04', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1631292923.48', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='4.58e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='201' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:55:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 785566: <4FGL_J1448.0+3608_daily_bin201> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin201 222.017 36.1344 291427201 291686401 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 :                                   842.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            860 sec.

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

