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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin140
RA = 222.017, Dec = 36.1344
tmin = 275616001, tmax = 275875201
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='785493', job_status='RUN', time_executed='2021-09-10 09:41:07.923769', time_epoch_executed='1631292067.92' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785493

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785493/ft1_4FGL_J1448.0+3608_daily_bin140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785493/ft2_4FGL_J1448.0+3608_daily_bin140.fits


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

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

Done.
real 4.23
user 3.97
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785493/ft1_filtered_4FGL_J1448.0+3608_daily_bin140.fits" evtable="EVENTS" scfile=/scratch/kocevski/785493/ft2_4FGL_J1448.0+3608_daily_bin140.fits sctable="SC_DATA" outfile=/scratch/kocevski/785493/ltcube_275616001_275875201_4FGL_J1448.0+3608_daily_bin140.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/785493/ft2_4FGL_J1448.0+3608_daily_bin140.fits
.....................!
real 11.65
user 11.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785493/ft1_filtered_4FGL_J1448.0+3608_daily_bin140.fits evtable="EVENTS" scfile=/scratch/kocevski/785493/ft2_4FGL_J1448.0+3608_daily_bin140.fits sctable="SC_DATA" expcube=/scratch/kocevski/785493/ltcube_275616001_275875201_4FGL_J1448.0+3608_daily_bin140.fits outfile=/scratch/kocevski/785493/expmap_275616001_275875201_4FGL_J1448.0+3608_daily_bin140.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/785493/ltcube_275616001_275875201_4FGL_J1448.0+3608_daily_bin140.fits
.....................!
real 190.84
user 185.51
sys 4.98

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/785493/ft1_filtered_4FGL_J1448.0+3608_daily_bin140.fits scfile=/scratch/kocevski/785493/ft2_4FGL_J1448.0+3608_daily_bin140.fits outfile=/scratch/kocevski/785493/cmap_275616001_275875201_4FGL_J1448.0+3608_daily_bin140.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785493/ft1_filtered_4FGL_J1448.0+3608_daily_bin140.fits scfile=/scratch/kocevski/785493/ft2_4FGL_J1448.0+3608_daily_bin140.fits outfile=/scratch/kocevski/785493/cmap_HighResolution_275616001_275875201_4FGL_J1448.0+3608_daily_bin140.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.51
user 0.39
sys 0.11

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9143       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.420       1.0000         .10000E-03   10000.    
     4 'norm      '    2.0645       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8564       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18652       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.456       1.0000         .10000E-03   10000.    
    10 'norm      '    33.456       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.523       1.0000         .10000E-03   10000.    
    12 'norm      '    4.1164       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .83187E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .48250       1.0000         .10000E-03   10000.    
    18 'norm      '    1.9767       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.919       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.373       1.0000         .10000E-03   10000.    
    24 'norm      '    14.188       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.2659       1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .97010       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .87066       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=   6349.174     FROM MIGRAD    STATUS=CONVERGED    753 CALLS     3933 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9156        14.277       -.33070E-06   -.16420E-04
   2  Prefactor     .10000E-03    4.3763       -.36646E-06** at limit **
   3  Prefactor     19.423        24.863        .29617E-06    .73026E-05
   4  norm          2.0649        2.5700       -.65745E-08   -.10302E-04
   5  Prefactor     3.8567        4.5641        .32011E-06   -.10784E-02
   6  Prefactor     .10000E-03    5.2916        .59943E-06** at limit **
   7  Prefactor     .16333        1.6045       -.33924E-06    .32074E-03
   8  norm          .10000E-03    3.2394       -.24378E-05** at limit **
   9  Prefactor     29.456        27.814       -.53350E-06   -.65877E-05
  10  norm          33.460        9.7116        .52509E-07    .47702E-04
  11  Prefactor     18.521        49.357       -.36066E-05   -.11399E-04
  12  norm          4.1146        3.6644        .14988E-06   -.12272E-02
  13  Prefactor     .10000E-03    5.2465        .12282E-06** at limit **
  14  norm          .10000E-03    3.2179        .19511E-05** at limit **
  15  Prefactor     .10000E-03    8.0103       -.19029E-06** at limit **
  16  Prefactor     .10000E-03    6.2170       -.38775E-06** at limit **
  17  norm          .48149        1.1734        .42022E-07   -.26666E-03
  18  norm          1.9765        4.0509       -.65392E-07   -.23902E-03
  19  Prefactor     .10000E-03    9.1687        .11776E-05** at limit **
  20  Prefactor     .10000E-03    18.445        .19717E-06** at limit **
  21  Prefactor     12.916        9.0274       -.49775E-07   -.62764E-05
  22  Prefactor     .10000E-03    6.2932       -.55091E-06** at limit **
  23  Prefactor     24.373        14.556       -.15645E-06   -.62536E-04
  24  norm          14.189        2.0503       -.50140E-08   -.34778E-04
  25  Prefactor     .10000E-03    3.4500        .61771E-06** at limit **
  26  Prefactor     .10000E-03    12.281       -.11607E-05** at limit **
  27  Prefactor     8.2606        18.564        .10543E-05    .68470E-05
  28  norm          .10000E-03    6.2156        .81042E-07** at limit **
  29  Normalizat    .96965        .18408        .50753E-06    .63256E-04
  30  Prefactor     .87127        .17797       -.10083E-06    .69788E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.9156
  Prefactor  = 0.0001
  Prefactor  = 19.4225
  norm       = 2.06492
  Prefactor  = 3.85674
  Prefactor  = 0.0001
  Prefactor  = 0.163329
  norm       = 0.0001
  Prefactor  = 29.456
  norm       = 33.4601
  Prefactor  = 18.5206
  norm       = 4.11456
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.481487
  norm       = 1.97648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9159
  Prefactor  = 0.0001
  Prefactor  = 24.3729
  norm       = 14.1888
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.26057
  norm       = 0.0001
  Normalizat = 0.969653
  Prefactor  = 0.871274
 **********
 **   18 **HESSE 
 **********

 FCN=   6349.174     FROM HESSE     STATUS=OK           596 CALLS     4529 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9156        14.311        .20392E-03   -1.5312    
   2  Prefactor     .10000E-03    4.3776        .16281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.423        25.042        .90887E-04   -1.4826    
   4  norm          2.0649        2.5514        .13803E-03   -1.5421    
   5  Prefactor     3.8567        6.4275        .10275E-02   -1.5315    
   6  Prefactor     .10000E-03    5.3112        .17893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16333        10.029        .19003E-02   -1.5627    
   8  norm          .10000E-03    3.2542        .14038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.456        27.949        .73820E-04   -1.4622    
  10  norm          33.460        9.7226        .69279E-04   -1.4550    
  11  Prefactor     18.521        49.353        .93061E-04   -1.4847    
  12  norm          4.1146        4.3298        .82095E-03   -1.5302    
  13  Prefactor     .10000E-03    5.2469        .17826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.2287        .13974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    87.305        .43129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.2740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .48149        1.1439        .12828E-03   -1.5569    
  18  norm          1.9765        4.0050        .20153E-03   -1.5427    
  19  Prefactor     .10000E-03    9.2282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.916        9.0332        .11144E-03   -1.4989    
  22  Prefactor     .10000E-03    6.2993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     24.373        14.415        .81139E-04   -1.4720    
  24  norm          14.189        2.0521        .41493E-04   -1.4954    
  25  Prefactor     .10000E-03    3.4559        .14444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    12.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.2606        18.549        .13944E-03   -1.5133    
  28  norm          .10000E-03    6.2188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .96965        .21471        .24733E-03   -.94054    
  30  Prefactor     .87127        .20746        .27134E-03   -.97152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67958e-09
Minuit parameter uncertainties:
  1  14.3235
  2  3.66457e-06
  3  25.0558
  4  2.55157
  5  6.42866
  6  6.34104e-06
  7  2.55939
  8  2.04022e-05
  9  27.9615
  10  9.72304
  11  49.462
  12  4.33012
  13  1.04195e-06
  14  1.60878e-05
  15  0.000599375
  16  5.87684e-06
  17  1.14393
  18  4.00552
  19  2.09498e-05
  20  8.52556e-07
  21  9.03411
  22  6.87608e-06
  23  14.4174
  24  2.05215
  25  4.04397e-06
  26  2.01641e-05
  27  18.5617
  28  9.02453e-06
  29  0.214905
  30  0.207649
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  1.609e-05  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:  8.713e-01  2.076e-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.697e-01  2.149e-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.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785493/likelihoodResults_275616001_275875201_4FGL_J1448.0+3608_daily_bin140.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) = 6349.17546786
delta logL = -0.0014440551231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6349.17402377
delta logL = 3.61314960173e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6076       1.0000          .0000       5.0000    
     3 'Normalizat'    .96965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87127       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=   6349.174     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      196 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 17.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4526       -.93814E-06** at limit **
   2  alpha         2.2455        3.8756        .23543E-01   -.35259E-07
   3  Normalizat    .96965        .16591        .96368E-07    .10952E-03
   4  Prefactor     .87127        .17435        .12153E-06    .99187E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.2455
  Normalizat = 0.969653
  Prefactor  = 0.871274
 **********
 **   18 **HESSE 
 **********

 FCN=   6349.174     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      231 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    47.495        .14007E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2455        2.6023        .18034       -.10198    
   3  Normalizat    .96965        .15881E-01    .24733E-03   -.94054    
   4  Prefactor     .87127        .16691E-01    .27134E-03   -.97152    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.41164e-10
Minuit parameter uncertainties:
  1  3.93138e-05
  2  2226.45
  3  0.0158812
  4  0.0166914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785493': 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): 102
logL (Free Index) = 6349.17402263
delta logL = 1.18123989523e-06

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  3.931e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.245e+00  2.226e+03  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:  8.713e-01  1.669e-02  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.697e-01  1.588e-02  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/785493/cmap_HighResolution_275616001_275875201_4FGL_J1448.0+3608_daily_bin140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-05', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2021-09-10 09:55:54.344558', job_id='785493', GAL2='0.87', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631292954.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.18e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='140' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:55:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 785493: <4FGL_J1448.0+3608_daily_bin140> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin140 222.017 36.1344 275616001 275875201 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 :                                   885.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            897 sec.

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

