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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin192
RA = 222.017, Dec = 36.1344
tmin = 289094401, tmax = 289353601
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='785553', job_status='RUN', time_executed='2021-09-10 09:41:15.368931', time_epoch_executed='1631292075.37' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='192'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785553

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785553/ft1_4FGL_J1448.0+3608_daily_bin192.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785553/ft2_4FGL_J1448.0+3608_daily_bin192.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785553/ft1_4FGL_J1448.0+3608_daily_bin192.fits outfile=/scratch/kocevski/785553/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin192.fits ra=222.017 dec=36.1344 rad=12.0 tmin=289094401.0 tmax=289353601.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.53
user 3.29
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785553/ft1_filtered_4FGL_J1448.0+3608_daily_bin192.fits" evtable="EVENTS" scfile=/scratch/kocevski/785553/ft2_4FGL_J1448.0+3608_daily_bin192.fits sctable="SC_DATA" outfile=/scratch/kocevski/785553/ltcube_289094401_289353601_4FGL_J1448.0+3608_daily_bin192.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/785553/ft2_4FGL_J1448.0+3608_daily_bin192.fits
.....................!
real 11.99
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785553/ft1_filtered_4FGL_J1448.0+3608_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/785553/ft2_4FGL_J1448.0+3608_daily_bin192.fits sctable="SC_DATA" expcube=/scratch/kocevski/785553/ltcube_289094401_289353601_4FGL_J1448.0+3608_daily_bin192.fits outfile=/scratch/kocevski/785553/expmap_289094401_289353601_4FGL_J1448.0+3608_daily_bin192.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/785553/ltcube_289094401_289353601_4FGL_J1448.0+3608_daily_bin192.fits
.....................!
real 190.36
user 184.93
sys 5.07

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/785553/ft1_filtered_4FGL_J1448.0+3608_daily_bin192.fits scfile=/scratch/kocevski/785553/ft2_4FGL_J1448.0+3608_daily_bin192.fits outfile=/scratch/kocevski/785553/cmap_289094401_289353601_4FGL_J1448.0+3608_daily_bin192.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785553/ft1_filtered_4FGL_J1448.0+3608_daily_bin192.fits scfile=/scratch/kocevski/785553/ft2_4FGL_J1448.0+3608_daily_bin192.fits outfile=/scratch/kocevski/785553/cmap_HighResolution_289094401_289353601_4FGL_J1448.0+3608_daily_bin192.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/785553/ft1_filtered_4FGL_J1448.0+3608_daily_bin192.fits evtable="EVENTS" scfile=/scratch/kocevski/785553/ft2_4FGL_J1448.0+3608_daily_bin192.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785553/Model_4FGL_J1448.0+3608_daily_bin192.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/785553/ft1_filtered_4FGL_J1448.0+3608_daily_bin192.fits.....................!
real 52.59
user 51.31
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8659       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.567       1.0000         .10000E-03   10000.    
     4 'norm      '    .20778       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.332       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2251       1.0000         .10000E-03   10000.    
    10 'norm      '    20.808       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11140E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.7295       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.4980       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3198       1.0000         .10000E-03   10000.    
    18 'norm      '    .87296       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.882       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    12.006       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    13.682       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1476       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .79823       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=   6655.302     FROM MIGRAD    STATUS=CONVERGED    773 CALLS     3935 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8631        14.243       -.10270E-05    .23571E-04
   2  Prefactor     .10000E-03    6.4015        .16422E-05** at limit **
   3  Prefactor     11.570        22.083        .17940E-05    .41422E-04
   4  norm          .19703        2.3045       -.11688E-05    .59816E-03
   5  Prefactor     .10000E-03    36.849       -.18071E-04** at limit **
   6  Prefactor     14.287        16.470        .37276E-05    .82952E-03
   7  Prefactor     .10000E-03    1.4971        .10323E-06** at limit **
   8  norm          .10000E-03    11.347        .69537E-05** at limit **
   9  Prefactor     6.1887        38.505       -.18425E-04    .99921E-04
  10  norm          20.803        8.4912       -.27865E-06    .80892E-03
  11  Prefactor     .10001E-03    154.53       -.89740E-04** at limit **
  12  norm          5.7293        4.8800        .84392E-06   -.22928E-03
  13  Prefactor     .10000E-03    12.374       -.39265E-05** at limit **
  14  norm          .10000E-03    3.4047       -.13349E-06** at limit **
  15  Prefactor     .10000E-03    6.0654       -.16294E-05** at limit **
  16  Prefactor     6.4980        8.3103        .34462E-06   -.73161E-04
  17  norm          1.3198        1.6552       -.23877E-06   -.12659E-02
  18  norm          .87263        2.5568       -.99557E-06   -.10982E-02
  19  Prefactor     .10000E-03    10.076       -.30935E-05** at limit **
  20  Prefactor     .10000E-03    110.93        .75392E-04** at limit **
  21  Prefactor     .10000E-03    3.3829       -.17308E-06** at limit **
  22  Prefactor     15.883        13.932        .32351E-06    .96858E-04
  23  Prefactor     .10000E-03    5.6272        .32746E-06** at limit **
  24  norm          12.007        1.9832       -.14317E-06   -.28906E-02
  25  Prefactor     .10000E-03    26.903        .12016E-04** at limit **
  26  Prefactor     .10000E-03    19.950       -.27058E-05** at limit **
  27  Prefactor     .10000E-03    6.5729       -.65003E-06** at limit **
  28  norm          13.682        11.357       -.12102E-06   -.44304E-04
  29  Normalizat    1.1476        .17946        .17595E-05    .46265E-03
  30  Prefactor     .79829        .17390       -.23612E-06    .39806E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.8631
  Prefactor  = 0.0001
  Prefactor  = 11.5698
  norm       = 0.197029
  Prefactor  = 0.000100002
  Prefactor  = 14.2871
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.18866
  norm       = 20.8028
  Prefactor  = 0.000100011
  norm       = 5.72926
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.49801
  norm       = 1.31982
  norm       = 0.872632
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8834
  Prefactor  = 0.0001
  norm       = 12.0074
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.6823
  Normalizat = 1.14761
  Prefactor  = 0.798289
 **********
 **   18 **HESSE 
 **********

 FCN=   6655.302     FROM HESSE     STATUS=OK           576 CALLS     4511 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8631        14.263        .14297E-03   -1.5147    
   2  Prefactor     .10000E-03    6.4038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.570        22.187        .11779E-03   -1.5028    
   4  norm          .19703        22.028        .23216E-02   -1.5619    
   5  Prefactor     .10000E-03    37.592        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.287        16.420        .10580E-03   -1.4952    
   7  Prefactor     .10000E-03    1.5222        .97413E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1887        38.896        .16089E-03   -1.5210    
  10  norm          20.803        8.4918        .87806E-04   -1.4795    
  11  Prefactor     .10001E-03    154.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.7293        4.8798        .15997E-03   -1.5229    
  13  Prefactor     .10000E-03    12.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.4074        .14701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.0834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.4980        8.1976        .15744E-03   -1.5198    
  17  norm          1.3198        1.6093        .10308E-03   -1.5478    
  18  norm          .87263        2.5017        .21372E-03   -1.5521    
  19  Prefactor     .10000E-03    10.342        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    110.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.3981        .14653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.883        13.928        .10050E-03   -1.4911    
  23  Prefactor     .10000E-03    5.6631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.007        1.9748        .44110E-04   -1.5015    
  25  Prefactor     .10000E-03    27.467        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    20.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.5762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          13.682        11.358        .10829E-03   -1.4968    
  29  Normalizat    1.1476        .22003        .23530E-03   -.88238    
  30  Prefactor     .79829        .21021        .28585E-03   -.99791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90094e-09
Minuit parameter uncertainties:
  1  14.2692
  2  6.31588e-06
  3  22.2025
  4  4.16708
  5  0.000485845
  6  16.4257
  7  1.90065e-06
  8  1.45341e-05
  9  31.0596
  10  8.49232
  11  0.0025914
  12  4.88009
  13  6.97697e-06
  14  4.82813e-07
  15  2.9137e-06
  16  8.19903
  17  1.60938
  18  2.50204
  19  7.59585e-05
  20  0.000401577
  21  2.80327e-06
  22  13.9307
  23  7.50211e-06
  24  1.9748
  25  0.000168952
  26  1.23014e-05
  27  4.19336e-06
  28  11.36
  29  0.220211
  30  0.210425
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  4.828e-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:  7.983e-01  2.104e-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.148e+00  2.202e-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.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785553/likelihoodResults_289094401_289353601_4FGL_J1448.0+3608_daily_bin192.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) = 6655.30338426
delta logL = -0.00137413541779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6655.30201013
delta logL = 4.32919478044e-10

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.5988       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1476       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79829       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=   6655.302     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      242 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    289.32        .14701E-02** at limit **
   2  alpha         1.5878        2.9393        .50000        .71859E-06
   3  Normalizat    1.1476        .43265E-01    .23530E-03    .48316E-07
   4  Prefactor     .79829        .44853E-01    .28585E-03   -.47725E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010001
  alpha      = 1.58777
  Normalizat = 1.14761
  Prefactor  = 0.798288
 **********
 **   18 **HESSE 
 **********

 FCN=   6655.302     FROM HESSE     STATUS=OK            29 CALLS      271 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    75.126        .29402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5878        3.7144        .50000       -.37352    
   3  Normalizat    1.1476        .19674        .94119E-05   -.88238    
   4  Prefactor     .79829        .20390        .11434E-04   -.99791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98665e-09
Minuit parameter uncertainties:
  1  0.00169314
  2  831.233
  3  0.196866
  4  0.204091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785553': 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) = 6655.30201012
delta logL = 3.96812538384e-09

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.693e-03  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.588e+00  8.312e+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:  7.983e-01  2.041e-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.148e+00  1.969e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/785553/cmap_HighResolution_289094401_289353601_4FGL_J1448.0+3608_daily_bin192.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-05', job_status='DONE', photon_flux_upper_limit='2.42e-08', time_completed='2021-09-10 09:56:16.747971', job_id='785553', GAL2='0.80', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1631292976.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='3.97e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='192' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:56:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 785553: <4FGL_J1448.0+3608_daily_bin192> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin192 222.017 36.1344 289094401 289353601 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 :                                   900.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

