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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin159
RA = 222.017, Dec = 36.1344
tmin = 280540801, tmax = 280800001
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='785512', job_status='RUN', time_executed='2021-09-10 09:41:13.511248', time_epoch_executed='1631292073.51' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='159'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785512

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785512/ft1_4FGL_J1448.0+3608_daily_bin159.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785512/ft2_4FGL_J1448.0+3608_daily_bin159.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785512/ft1_4FGL_J1448.0+3608_daily_bin159.fits outfile=/scratch/kocevski/785512/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin159.fits ra=222.017 dec=36.1344 rad=12.0 tmin=280540801.0 tmax=280800001.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.54
user 3.28
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785512/ft2_4FGL_J1448.0+3608_daily_bin159.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/785512/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin159.fits evtable="EVENTS" outfile="/scratch/kocevski/785512/ft1_filtered_4FGL_J1448.0+3608_daily_bin159.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/785512/ft1_filtered_4FGL_J1448.0+3608_daily_bin159.fits" evtable="EVENTS" scfile=/scratch/kocevski/785512/ft2_4FGL_J1448.0+3608_daily_bin159.fits sctable="SC_DATA" outfile=/scratch/kocevski/785512/ltcube_280540801_280800001_4FGL_J1448.0+3608_daily_bin159.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/785512/ft2_4FGL_J1448.0+3608_daily_bin159.fits
.....................!
real 12.07
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785512/ft1_filtered_4FGL_J1448.0+3608_daily_bin159.fits evtable="EVENTS" scfile=/scratch/kocevski/785512/ft2_4FGL_J1448.0+3608_daily_bin159.fits sctable="SC_DATA" expcube=/scratch/kocevski/785512/ltcube_280540801_280800001_4FGL_J1448.0+3608_daily_bin159.fits outfile=/scratch/kocevski/785512/expmap_280540801_280800001_4FGL_J1448.0+3608_daily_bin159.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/785512/ltcube_280540801_280800001_4FGL_J1448.0+3608_daily_bin159.fits
.....................!
real 190.77
user 185.19
sys 5.20

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/785512/ft1_filtered_4FGL_J1448.0+3608_daily_bin159.fits scfile=/scratch/kocevski/785512/ft2_4FGL_J1448.0+3608_daily_bin159.fits outfile=/scratch/kocevski/785512/cmap_280540801_280800001_4FGL_J1448.0+3608_daily_bin159.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785512/ft1_filtered_4FGL_J1448.0+3608_daily_bin159.fits scfile=/scratch/kocevski/785512/ft2_4FGL_J1448.0+3608_daily_bin159.fits outfile=/scratch/kocevski/785512/cmap_HighResolution_280540801_280800001_4FGL_J1448.0+3608_daily_bin159.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/785512/ft1_filtered_4FGL_J1448.0+3608_daily_bin159.fits evtable="EVENTS" scfile=/scratch/kocevski/785512/ft2_4FGL_J1448.0+3608_daily_bin159.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785512/Model_4FGL_J1448.0+3608_daily_bin159.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/785512/ft1_filtered_4FGL_J1448.0+3608_daily_bin159.fits.....................!
real 57.60
user 56.18
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12790E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.672       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .65643       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9521       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    23.159       1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.979       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11180E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.619       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.857       1.0000         .10000E-03   10000.    
    23 'Prefactor '    35.644       1.0000         .10000E-03   10000.    
    24 'norm      '    29.474       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.6910       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .80264       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2270       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=   7363.998     FROM MIGRAD    STATUS=CONVERGED    765 CALLS     3364 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10016E-03    8.9600        .22325E-05** at limit **
   2  Prefactor     21.673        22.497        .28940E-07   -.10097E-03
   3  Prefactor     .65848        14.134       -.12764E-05   -.21544E-04
   4  norm          .10000E-03    1.0413       -.66007E-07** at limit **
   5  Prefactor     .10000E-03    4.7849        .13476E-06** at limit **
   6  Prefactor     5.9504        9.4567       -.16814E-06   -.10328E-03
   7  Prefactor     .10000E-03    .90455       -.25392E-06** at limit **
   8  norm          .10000E-03    4.1971        .24012E-06** at limit **
   9  Prefactor     .10000E-03    11.383       -.85598E-06** at limit **
  10  norm          23.159        7.5202       -.11459E-06   -.57503E-05
  11  Prefactor     41.988        31.821        .50082E-05    .12607E-05
  12  norm          .10000E-03    1.2283       -.50907E-07** at limit **
  13  Prefactor     .10000E-03    21.812       -.44702E-05** at limit **
  14  norm          .10000E-03    2.3311        .81398E-10** at limit **
  15  Prefactor     .10000E-03    6.3700        .96553E-07** at limit **
  16  Prefactor     .10000E-03    4.5890        .79083E-07** at limit **
  17  norm          .10000E-03    .63101       -.55909E-08** at limit **
  18  norm          .10000E-03    2.6051       -.12446E-06** at limit **
  19  Prefactor     .10000E-03    10.994        .10578E-05** at limit **
  20  Prefactor     .10000E-03    38.264        .12707E-05** at limit **
  21  Prefactor     18.623        11.839        .14923E-06   -.15266E-04
  22  Prefactor     12.860        19.052        .45960E-06   -.12175E-04
  23  Prefactor     35.630        16.726       -.20382E-06   -.12735E-04
  24  norm          29.474        3.6845        .99684E-07    .57037E-03
  25  Prefactor     1.6919        42.882       -.35570E-05   -.18343E-03
  26  Prefactor     .10000E-03    20.700        .41130E-05** at limit **
  27  Prefactor     .10000E-03    77.146       -.77384E-06** at limit **
  28  norm          .10000E-03    36.268       -.84502E-05** at limit **
  29  Normalizat    .80290        .17880       -.54460E-06    .11367E-04
  30  Prefactor     1.2267        .18593       -.16266E-06    .41203E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100156
  Prefactor  = 21.6728
  Prefactor  = 0.658477
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.95043
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 23.1588
  Prefactor  = 41.9882
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.6226
  Prefactor  = 12.8601
  Prefactor  = 35.6297
  norm       = 29.4744
  Prefactor  = 1.69187
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 0.802897
  Prefactor  = 1.22665
 **********
 **   18 **HESSE 
 **********

 FCN=   7363.998     FROM HESSE     STATUS=OK           584 CALLS     3948 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10016E-03    39.361        .48075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.673        22.395        .86040E-04   -1.4777    
   3  Prefactor     .65848        123.01        .61462E-02   -1.5546    
   4  norm          .10000E-03    1.0456        .85501E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9504        9.4486        .16459E-03   -1.5220    
   7  Prefactor     .10000E-03    .91001        .79655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.1999        .17169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          23.159        7.5333        .83234E-04   -1.4745    
  11  Prefactor     41.988        31.477        .61872E-04   -1.4411    
  12  norm          .10000E-03    1.2309        .92876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.3318        .12796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.3931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.6294        .17936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.0801        .13062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    11.877        .26226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.172        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    38.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.623        11.873        .92820E-04   -1.4845    
  22  Prefactor     12.860        19.007        .11171E-03   -1.4991    
  23  Prefactor     35.630        16.430        .67126E-04   -1.4513    
  24  norm          29.474        3.5306        .43374E-04   -1.4622    
  25  Prefactor     1.6919        42.035        .32371E-03   -1.5448    
  26  Prefactor     .10000E-03    20.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    79.223        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    36.306        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .80290        .21615        .29768E-03   -.99961    
  30  Prefactor     1.2267        .22585        .26662E-03   -.85515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83904e-08
Minuit parameter uncertainties:
  1  0.00495389
  2  22.4035
  3  18.036
  4  3.85131e-07
  5  2.64729e-07
  6  9.45098
  7  8.66011e-07
  8  1.3422e-07
  9  4.51957e-06
  10  7.53359
  11  31.4894
  12  4.7388e-07
  13  1.95833e-05
  14  1.62634e-07
  15  2.98822e-06
  16  2.02905e-06
  17  7.05692e-06
  18  0.000255919
  19  1.96873e-05
  20  1.16862e-05
  21  11.8741
  22  19.0156
  23  16.4324
  24  3.5306
  25  16.879
  26  1.95129e-05
  27  0.000436419
  28  0.0001935
  29  0.216378
  30  0.226026
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.626e-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.227e+00  2.260e-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.029e-01  2.164e-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: 1.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785512/likelihoodResults_280540801_280800001_4FGL_J1448.0+3608_daily_bin159.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) = 7363.99980882
delta logL = -0.00161134661539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7363.99819748
delta logL = -9.01309249457e-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.5963       1.0000          .0000       5.0000    
     3 'Normalizat'    .80289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2266       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=   7363.998     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      236 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    550.86        .12804E-02** at limit **
   2  alpha         1.4710        2.9146        .18083        .43067E-07
   3  Normalizat    .80290        .15078        .29768E-03    .73709E-05
   4  Prefactor     1.2267        .16424        .26662E-03    .87413E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.47096
  Normalizat = 0.802897
  Prefactor  = 1.22665
 **********
 **   18 **HESSE 
 **********

 FCN=   7363.998     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.3586        .25609E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4710        3.8838        .72330E-02   -.42423    
   3  Normalizat    .80290        .20248        .11907E-04   -.99961    
   4  Prefactor     1.2267        .22057        .10665E-04   -.85515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48616e-11
Minuit parameter uncertainties:
  1  1.65836e-05
  2  183.384
  3  0.202674
  4  0.220741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785512': 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) = 7363.99819723
delta logL = 2.42476744461e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.658e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.471e+00  1.834e+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.227e+00  2.207e-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.029e-01  2.027e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/785512/cmap_HighResolution_280540801_280800001_4FGL_J1448.0+3608_daily_bin159.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', job_status='DONE', photon_flux_upper_limit='1.79e-08', time_completed='2021-09-10 09:56:51.261233', job_id='785512', GAL2='1.23', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1631293011.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='2.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='159' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:56:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 785512: <4FGL_J1448.0+3608_daily_bin159> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin159 222.017 36.1344 280540801 280800001 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 :                                   936.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

