/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 136 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 = 7478
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1448.0+3608_daily_bin22
RA = 222.017, Dec = 36.1344
tmin = 245030401, tmax = 245289601
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='784327', job_status='RUN', time_executed='2021-09-10 09:38:59.990372', time_epoch_executed='1631291939.99' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784327

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784327/ft1_4FGL_J1448.0+3608_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784327/ft2_4FGL_J1448.0+3608_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784327/ft1_4FGL_J1448.0+3608_daily_bin22.fits outfile=/scratch/kocevski/784327/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin22.fits ra=222.017 dec=36.1344 rad=12.0 tmin=245030401.0 tmax=245289601.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 1.46
user 1.28
sys 0.15

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784327/ft1_filtered_4FGL_J1448.0+3608_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/784327/ft2_4FGL_J1448.0+3608_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/784327/ltcube_245030401_245289601_4FGL_J1448.0+3608_daily_bin22.fits outfile=/scratch/kocevski/784327/expmap_245030401_245289601_4FGL_J1448.0+3608_daily_bin22.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/784327/ltcube_245030401_245289601_4FGL_J1448.0+3608_daily_bin22.fits
.....................!
real 190.94
user 185.89
sys 4.64

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/784327/ft1_filtered_4FGL_J1448.0+3608_daily_bin22.fits scfile=/scratch/kocevski/784327/ft2_4FGL_J1448.0+3608_daily_bin22.fits outfile=/scratch/kocevski/784327/cmap_245030401_245289601_4FGL_J1448.0+3608_daily_bin22.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784327/ft1_filtered_4FGL_J1448.0+3608_daily_bin22.fits scfile=/scratch/kocevski/784327/ft2_4FGL_J1448.0+3608_daily_bin22.fits outfile=/scratch/kocevski/784327/cmap_HighResolution_245030401_245289601_4FGL_J1448.0+3608_daily_bin22.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5914       1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.048       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17474E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.660       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10092E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.395       1.0000         .10000E-03   10000.    
    14 'norm      '    7.8170       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .39201       1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.3783       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6717       1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.728       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.9775       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .73615E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    8.1623       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.5035       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .58749E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.4310       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .53792       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=   6312.008     FROM MIGRAD    STATUS=CONVERGED    803 CALLS     4581 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.0584        .26244E-06** at limit **
   2  Prefactor     4.5885        11.601       -.31602E-05   -.39119E-03
   3  Prefactor     40.056        31.620        .65379E-06    .50670E-04
   4  norm          .10000E-03    1.8745        .43897E-07** at limit **
   5  Prefactor     .10000E-03    14.401        .74675E-06** at limit **
   6  Prefactor     20.653        15.129       -.40439E-06    .16964E-03
   7  Prefactor     .10000E-03    1.6312        .39040E-07** at limit **
   8  norm          .10000E-03    7.5632        .15189E-06** at limit **
   9  Prefactor     .10000E-03    18.488        .15341E-06** at limit **
  10  norm          .10000E-03    1.8464        .57644E-07** at limit **
  11  Prefactor     .10000E-03    15.485        .20036E-06** at limit **
  12  norm          .10000E-03    2.0563        .42973E-07** at limit **
  13  Prefactor     42.380        41.449        .12361E-05    .69785E-04
  14  norm          7.8189        6.6983        .78978E-07    .63603E-04
  15  Prefactor     .10000E-03    8.3294       -.11014E-06** at limit **
  16  Prefactor     .38267        11.436        .37723E-05    .42519E-03
  17  norm          .10000E-03    .46556        .50092E-07** at limit **
  18  norm          7.3764        6.0599        .82318E-09    .33399E-03
  19  Prefactor     3.6705        13.031        .13299E-05    .29283E-03
  20  Prefactor     30.738        40.512       -.50643E-06   -.55164E-04
  21  Prefactor     7.9773        6.8748        .23334E-08   -.34050E-04
  22  Prefactor     .10000E-03    25.798       -.25488E-06** at limit **
  23  Prefactor     .10002E-03    14.712       -.43923E-06** at limit **
  24  norm          8.1624        1.8009       -.29152E-07    .21889E-03
  25  Prefactor     5.5023        6.8965        .70667E-06    .13397E-02
  26  Prefactor     .10891E-03    194.84       -.17534E-04** at limit **
  27  Prefactor     .10000E-03    6.2490       -.17574E-07** at limit **
  28  norm          .10000E-03    3.4293       -.25572E-08** at limit **
  29  Normalizat    1.4308        .18668       -.10721E-05    .55241E-05
  30  Prefactor     .53820        .17871       -.56715E-07   -.13048E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.58853
  Prefactor  = 40.0563
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 20.6529
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.3802
  norm       = 7.81886
  Prefactor  = 0.0001
  Prefactor  = 0.382667
  norm       = 0.0001
  norm       = 7.37643
  Prefactor  = 3.67054
  Prefactor  = 30.7376
  Prefactor  = 7.97731
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  norm       = 8.16241
  Prefactor  = 5.5023
  Prefactor  = 0.000108907
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.43077
  Prefactor  = 0.538196
 **********
 **   18 **HESSE 
 **********

 FCN=   6312.008     FROM HESSE     STATUS=OK           608 CALLS     5189 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.1108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.5885        11.739        .18785E-03   -1.5280    
   3  Prefactor     40.056        31.773        .63339E-04   -1.4441    
   4  norm          .10000E-03    1.8926        .10619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    112.37        .51426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.653        15.614        .88119E-04   -1.4799    
   7  Prefactor     .10000E-03    1.6468        .99059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.5851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.8516        .10542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.0227        .22138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     42.380        41.600        .61568E-04   -1.4405    
  14  norm          7.8189        6.6990        .14342E-03   -1.5149    
  15  Prefactor     .10000E-03    8.3658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .38267        17.706        .34157E-02   -1.5584    
  17  norm          .10000E-03    .46972        .52764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.3764        5.9454        .13430E-03   -1.5165    
  19  Prefactor     3.6705        13.290        .21079E-03   -1.5325    
  20  Prefactor     30.738        40.526        .72280E-04   -1.4599    
  21  Prefactor     7.9773        6.8769        .14196E-03   -1.5143    
  22  Prefactor     .10000E-03    26.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10002E-03    26.976        .66339E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          8.1624        1.8230        .45082E-04   -1.5136    
  25  Prefactor     5.5023        8.1655        .85635E-03   -1.5239    
  26  Prefactor     .10891E-03    33.990        .12955       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.2849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.4365        .14368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.4308        .21430        .21301E-03   -.79743    
  30  Prefactor     .53820        .20365        .32981E-03   -1.1025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75837e-09
Minuit parameter uncertainties:
  1  4.58897e-05
  2  11.7447
  3  31.7868
  4  6.18742e-06
  5  0.0008593
  6  15.6173
  7  5.13233e-06
  8  1.35956e-05
  9  2.82884e-05
  10  3.13526e-06
  11  3.4034e-05
  12  1.93394e-05
  13  41.6288
  14  6.6996
  15  9.36633e-06
  16  5.20695
  17  2.90095e-06
  18  5.94586
  19  13.3007
  20  40.5627
  21  6.87756
  22  4.52683e-05
  23  0.00128868
  24  1.82297
  25  8.16716
  26  0.0348187
  27  1.67403e-06
  28  1.66216e-06
  29  0.214432
  30  0.203926
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.819e+00  6.700e+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:  5.382e-01  2.039e-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.431e+00  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.87
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.03e-08 +/- 8.82e-09
Energy Flux (Fixed Index): 1.96e-05 +/- 1.68e-05

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) = 6311.82699504
delta logL = 0.180590398159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6311.79906106
delta logL = 0.208524376894

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0169       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0876       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4332       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53982       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.

 FCN=   6311.799     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0169        5.6427        .40923E-02    .18791E-02
   2  alpha         1.0878        .57684        .50000       -.24501E-04
   3  Normalizat    1.4331        .17272        .48159E-01    .17862E-04
   4  Prefactor     .53987        .17279        .74407E-01    .43162E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.01686
  alpha      = 1.08775
  Normalizat = 1.43311
  Prefactor  = 0.539874
 **********
 **   18 **HESSE 
 **********

 FCN=   6311.799     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0169        7.3164        .16369E-03   -1.5217    
   2  alpha         1.0878        .77701        .21903E-01   -.60031    
   3  Normalizat    1.4331        .19919        .21289E-03   -.79676    
   4  Prefactor     .53987        .19902        .32945E-03   -1.1018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09842e-09
Minuit parameter uncertainties:
  1  7.31747
  2  0.79667
  3  0.199298
  4  0.199277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784327': 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) = 6311.79906101
delta logL = 0.208524429938

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  6.017e+00  7.317e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.088e+00  7.967e-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:  5.399e-01  1.993e-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.433e+00  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.28
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.09 +/- 0.80
Photon Flux (Free Index): 5.63e-09 +/- 7.02e-09
Energy Flux (Free Index): 3.80e-05 +/- 5.33e-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/784327/cmap_HighResolution_245030401_245289601_4FGL_J1448.0+3608_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-08', energy_flux2='3.80e-05', photon_flux_error='8.82e-09', dlogl='2.09e-01', energy_flux='1.96e-05', photon_flux2='5.63e-09', job_status='DONE', time_completed='2021-09-10 09:52:27.138261', photon_index_error2='0.80', photon_index2='1.09', ts='8.87', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', energy_flux_error2='5.33e-05', EG='1.43', time_epoch_completed='1631292747.14', return_code='0', job_id='784327', GAL2='0.54', EG2='1.43', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='7.02e-09', ts2='9.28', photon_index='1.60' WHERE bin_id='22' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:52:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 784327: <4FGL_J1448.0+3608_daily_bin22> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin22> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:33 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:35 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:36:35 2021
Terminated at Fri Sep 10 09:52:27 2021
Results reported at Fri Sep 10 09:52:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin22 222.017 36.1344 245030401 245289601 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 :                                   807.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            954 sec.

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

