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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1016
RA = 222.017, Dec = 36.1344
tmin = 502675201, tmax = 502934401
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='788977', job_status='RUN', time_executed='2021-09-10 09:52:03.595032', time_epoch_executed='1631292723.6' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1016'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788977

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788977/ft1_4FGL_J1448.0+3608_daily_bin1016.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788977/ft2_4FGL_J1448.0+3608_daily_bin1016.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788977/ft1_4FGL_J1448.0+3608_daily_bin1016.fits outfile=/scratch/kocevski/788977/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1016.fits ra=222.017 dec=36.1344 rad=12.0 tmin=502675201.0 tmax=502934401.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.57
user 3.32
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/788977/ft2_4FGL_J1448.0+3608_daily_bin1016.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/788977/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1016.fits evtable="EVENTS" outfile="/scratch/kocevski/788977/ft1_filtered_4FGL_J1448.0+3608_daily_bin1016.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788977/ft1_filtered_4FGL_J1448.0+3608_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/788977/ft2_4FGL_J1448.0+3608_daily_bin1016.fits sctable="SC_DATA" expcube=/scratch/kocevski/788977/ltcube_502675201_502934401_4FGL_J1448.0+3608_daily_bin1016.fits outfile=/scratch/kocevski/788977/expmap_502675201_502934401_4FGL_J1448.0+3608_daily_bin1016.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/788977/ltcube_502675201_502934401_4FGL_J1448.0+3608_daily_bin1016.fits
.....................!
real 191.77
user 186.13
sys 5.14

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/788977/ft1_filtered_4FGL_J1448.0+3608_daily_bin1016.fits scfile=/scratch/kocevski/788977/ft2_4FGL_J1448.0+3608_daily_bin1016.fits outfile=/scratch/kocevski/788977/cmap_502675201_502934401_4FGL_J1448.0+3608_daily_bin1016.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788977/ft1_filtered_4FGL_J1448.0+3608_daily_bin1016.fits scfile=/scratch/kocevski/788977/ft2_4FGL_J1448.0+3608_daily_bin1016.fits outfile=/scratch/kocevski/788977/cmap_HighResolution_502675201_502934401_4FGL_J1448.0+3608_daily_bin1016.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/788977/ft1_filtered_4FGL_J1448.0+3608_daily_bin1016.fits evtable="EVENTS" scfile=/scratch/kocevski/788977/ft2_4FGL_J1448.0+3608_daily_bin1016.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/788977/Model_4FGL_J1448.0+3608_daily_bin1016.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/788977/ft1_filtered_4FGL_J1448.0+3608_daily_bin1016.fits.....................!
real 46.61
user 45.27
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1099       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.912       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5308       1.0000         .10000E-03   10000.    
     8 'norm      '    15.762       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.8934       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.214       1.0000         .10000E-03   10000.    
    14 'norm      '    5.7552       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.403       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2355       1.0000         .10000E-03   10000.    
    17 'norm      '    .26235       1.0000         .10000E-03   10000.    
    18 'norm      '    .12048E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.5978       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.5330       1.0000         .10000E-03   10000.    
    24 'norm      '    3.2484       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    31.381       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .87133       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0785       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=   5919.688     FROM MIGRAD    STATUS=CONVERGED    757 CALLS     3909 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2841        .18734E-05** at limit **
   2  Prefactor     .10000E-03    16.976       -.14225E-05** at limit **
   3  Prefactor     2.1091        27.825       -.11763E-06   -.34704E-05
   4  norm          .10000E-03    2.3022       -.99303E-07** at limit **
   5  Prefactor     .10000E-03    10.062       -.42652E-05** at limit **
   6  Prefactor     13.920        15.653        .46009E-06    .13412E-03
   7  Prefactor     1.5311        3.6305        .63145E-07   -.14088E-04
   8  norm          15.762        14.915       -.28907E-06    .50859E-04
   9  Prefactor     .10000E-03    5.8635        .51656E-06** at limit **
  10  norm          .10000E-03    2.7379        .87361E-09** at limit **
  11  Prefactor     .10000E-03    36.134        .30718E-05** at limit **
  12  norm          6.8933        4.5628        .64194E-07    .10117E-05
  13  Prefactor     11.207        21.162       -.27660E-05   -.23598E-05
  14  norm          5.7554        5.9652       -.55424E-08    .94690E-04
  15  Prefactor     21.400        16.740        .96382E-07    .10783E-04
  16  Prefactor     2.2361        5.7538       -.80842E-08   -.69331E-05
  17  norm          .26274        .85881       -.61896E-07   -.82879E-06
  18  norm          .10000E-03    2.2848       -.65268E-06** at limit **
  19  Prefactor     .10000E-03    3.2096        .15342E-06** at limit **
  20  Prefactor     .10000E-03    49.012       -.18971E-05** at limit **
  21  Prefactor     1.5971        2.1480        .10294E-06   -.38797E-03
  22  Prefactor     .10000E-03    6.4985        .36777E-06** at limit **
  23  Prefactor     6.5378        9.3019        .11890E-06    .13690E-03
  24  norm          3.2494        1.3732       -.14674E-06   -.91737E-03
  25  Prefactor     .10000E-03    10.815        .46119E-05** at limit **
  26  Prefactor     31.386        29.314        .29828E-05   -.40385E-04
  27  Prefactor     .10000E-03    5.0940       -.94516E-06** at limit **
  28  norm          .10000E-03    4.9082        .64624E-06** at limit **
  29  Normalizat    .87132        .17682       -.10232E-06    .63760E-04
  30  Prefactor     1.0786        .17984        .10408E-06    .41816E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.10912
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.9196
  Prefactor  = 1.53108
  norm       = 15.7624
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.89334
  Prefactor  = 11.2066
  norm       = 5.75538
  Prefactor  = 21.4002
  Prefactor  = 2.23605
  norm       = 0.262741
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.59709
  Prefactor  = 0.0001
  Prefactor  = 6.53777
  norm       = 3.24938
  Prefactor  = 0.0001
  Prefactor  = 31.3856
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.871324
  Prefactor  = 1.07858
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.688     FROM HESSE     STATUS=OK           590 CALLS     4499 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2898        .15552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.1091        28.063        .28402E-03   -1.5418    
   4  norm          .10000E-03    2.3581        .22785E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.920        15.748        .10739E-03   -1.4962    
   7  Prefactor     1.5311        3.6269        .21184E-03   -1.5460    
   8  norm          15.762        14.904        .10088E-03   -1.4914    
   9  Prefactor     .10000E-03    5.8677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.7531        .12428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    36.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.8933        4.5633        .12985E-03   -1.5183    
  13  Prefactor     11.207        21.165        .11964E-03   -1.5038    
  14  norm          5.7554        5.9836        .83712E-03   -1.5228    
  15  Prefactor     21.400        16.676        .86579E-04   -1.4782    
  16  Prefactor     2.2361        5.6026        .27090E-03   -1.5409    
  17  norm          .26274        .88593        .11745E-02   -1.5605    
  18  norm          .10000E-03    4.2061        .21755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.2155        .13436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    49.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.5971        13.928        .16774E-02   -1.5455    
  22  Prefactor     .10000E-03    6.5092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.5378        9.0823        .15701E-03   -1.5197    
  24  norm          3.2494        1.3752        .55628E-04   -1.5347    
  25  Prefactor     .10000E-03    10.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     31.386        29.206        .71526E-04   -1.4587    
  27  Prefactor     .10000E-03    5.0970        .16961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    4.9223        .16647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .87132        .20584        .24117E-03   -.97475    
  30  Prefactor     1.0786        .21242        .23620E-03   -.90154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30223e-08
Minuit parameter uncertainties:
  1  1.75486e-07
  2  1.78325e-06
  3  15.3951
  4  9.59468e-07
  5  4.99269e-06
  6  15.7524
  7  3.62738
  8  14.9073
  9  3.13059e-08
  10  3.38588e-07
  11  8.43988e-06
  12  4.56356
  13  21.1792
  14  5.98426
  15  16.6794
  16  5.60391
  17  0.885979
  18  0.000123804
  19  3.50108e-06
  20  6.48904e-06
  21  9.43528
  22  1.03452e-06
  23  9.08419
  24  1.37517
  25  2.47346e-05
  26  29.2193
  27  3.80253e-07
  28  1.43984e-07
  29  0.206023
  30  0.21259
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  1.079e+00  2.126e-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.713e-01  2.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.78
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 7.58e-09 +/- 7.88e-09
Energy Flux (Fixed Index): 1.44e-05 +/- 1.50e-05

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

Saving results to:
/scratch/kocevski/788977/likelihoodResults_502675201_502934401_4FGL_J1448.0+3608_daily_bin1016.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) = 5919.68065229
delta logL = 0.00729373100876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5919.68062312
delta logL = 0.00732290163432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7554       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7086       1.0000          .0000       5.0000    
     3 'Normalizat'    .87055       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0786       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=   5919.681     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      229 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7544        5.9260        .16742E-03    .12807E-03
   2  alpha         1.7080        .87672        .21174E-01   -.31334E-05
   3  Normalizat    .87056        .19065        .24126E-03    .64180E-04
   4  Prefactor     1.0786        .20648        .23618E-03    .64405E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.75443
  alpha      = 1.70796
  Normalizat = 0.870559
  Prefactor  = 1.07864
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.681     FROM HESSE     STATUS=OK            25 CALLS      254 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7544        5.9070        .66968E-05   -1.5228    
   2  alpha         1.7080        .87426        .84697E-03   -.32237    
   3  Normalizat    .87056        .19084        .96504E-05   -.97502    
   4  Prefactor     1.0786        .20671        .94473E-05   -.90152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80754e-11
Minuit parameter uncertainties:
  1  5.90758
  2  0.895387
  3  0.190991
  4  0.206867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788977': 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) = 5919.68062282
delta logL = 0.00732320487987

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  1.079e+00  2.069e-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.706e-01  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.80
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.71 +/- 0.90
Photon Flux (Free Index): 8.71e-09 +/- 1.34e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.78e-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/788977/cmap_HighResolution_502675201_502934401_4FGL_J1448.0+3608_daily_bin1016.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.47e-05', comment='SUCCESS', photon_flux='7.58e-09', energy_flux2='1.28e-05', photon_flux_error='7.88e-09', dlogl='7.32e-03', energy_flux='1.44e-05', photon_flux2='8.71e-09', job_status='DONE', time_completed='2021-09-10 10:05:48.728614', photon_index_error2='0.90', photon_index2='1.71', ts='3.78', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='3.40e-08', energy_flux_error2='1.78e-05', EG='0.87', time_epoch_completed='1631293548.73', return_code='0', job_id='788977', GAL2='1.08', EG2='0.87', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='1.34e-08', ts2='3.80', photon_index='1.60' WHERE bin_id='1016' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:05:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 788977: <4FGL_J1448.0+3608_daily_bin1016> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1016> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:51:52 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:51:53 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:53 2021
Terminated at Fri Sep 10 10:05:49 2021
Results reported at Fri Sep 10 10:05:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1016 222.017 36.1344 502675201 502934401 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 :                                   823.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            837 sec.

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

