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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1611
RA = 26.1502, Dec = 27.0899
tmin = 656899201, tmax = 657158401
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='142322', job_status='RUN', time_executed='2021-12-07 12:16:41.850097', time_epoch_executed='1638908201.85' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1611'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142322

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142322/ft1_4FGL_J0144.6+2705_daily_bin1611.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142322/ft1_4FGL_J0144.6+2705_daily_bin1611.fits outfile=/scratch/kocevski/142322/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1611.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=656899201.0 tmax=657158401.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 2.98
user 2.78
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.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/142322/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1611.fits evtable="EVENTS" outfile="/scratch/kocevski/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.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.44
user 0.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.fits" evtable="EVENTS" scfile=/scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits sctable="SC_DATA" outfile=/scratch/kocevski/142322/ltcube_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.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/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits
.....................!
real 10.81
user 10.50
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.fits evtable="EVENTS" scfile=/scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits sctable="SC_DATA" expcube=/scratch/kocevski/142322/ltcube_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.fits outfile=/scratch/kocevski/142322/expmap_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.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/142322/ltcube_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.fits
.....................!
real 161.47
user 156.68
sys 4.50

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 168 point sources and 0 extended sources

Setting source of interest to:
4FGL J0144.6+2705 @ 26.1502 27.0899

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.fits scfile=/scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits outfile=/scratch/kocevski/142322/cmap_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.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=26.1502 yref=27.0899 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.47
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.fits scfile=/scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits outfile=/scratch/kocevski/142322/cmap_HighResolution_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.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=26.1502 yref=27.0899 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.50
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.fits evtable="EVENTS" scfile=/scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/142322/Model_4FGL_J0144.6+2705_daily_bin1611.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/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.fits.....................!
real 76.95
user 75.65
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.fits', '/scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits', expMap='/scratch/kocevski/142322/expmap_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.fits', expCube='/scratch/kocevski/142322/ltcube_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/142322/Model_4FGL_J0144.6+2705_daily_bin1611.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0144.6+2705'

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.270e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/142322/ft1_filtered_4FGL_J0144.6+2705_daily_bin1611.fits
Spacecraft file(s): /scratch/kocevski/142322/ft2_4FGL_J0144.6+2705_daily_bin1611.fits
Exposure map: /scratch/kocevski/142322/expmap_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.fits
Exposure cube: /scratch/kocevski/142322/ltcube_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/142322/Model_4FGL_J0144.6+2705_daily_bin1611.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) = 8350.48221039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.255       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.6965       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8459       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6144       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10369E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10060E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7421       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.9001       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.162       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.3451       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2823       1.0000         .10000E-03   10000.    
    20 'norm      '    .76057E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    30.530       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .98918       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0321       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8350.442     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     2053 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.255        1.0195        .87159E-07   -.34527E-04
   2  Prefactor     .10000E-03    20.939        .10166E-04** at limit **
   3  norm          .10000E-03    .13819       -.54652E-07** at limit **
   4  norm          1.6964        1.3048        .11376E-06    .40218E-04
   5  Prefactor     1.7960        18.884        .94603E-05   -.15564E-02
   6  Prefactor     .10000E-03    3.2502        .28688E-06** at limit **
   7  Prefactor     .10000E-03    11.269       -.29334E-06** at limit **
   8  Prefactor     5.6218        1.2187       -.65810E-06    .15199E-03
   9  Prefactor     .10006E-03    40.773       -.22297E-04** at limit **
  10  Prefactor     .11870E-03    639.89       -.41162E-04** at limit **
  11  norm          1.7425        .76884       -.10721E-06    .10288E-02
  12  Prefactor     8.8999        1.0787        .55496E-06    .21039E-03
  13  Prefactor     .10000E-03    7.4699        .28795E-06** at limit **
  14  Prefactor     .10007E-03    33.480        .33149E-04** at limit **
  15  norm          .10000E-03    1.5988        .20487E-06** at limit **
  16  Prefactor     .10007E-03    90.694        .97672E-05** at limit **
  17  Prefactor     10.162        1.5928       -.13817E-05   -.10792E-02
  18  Prefactor     8.3437        7.2608        .61481E-05    .23474E-03
  19  Prefactor     3.2844        1.1599       -.97671E-06   -.25612E-03
  20  norm          .75563E-01    2.3240        .83748E-06   -.10716E-03
  21  norm          .10001E-03    27.364       -.20291E-04** at limit **
  22  Prefactor     .10000E-03    19.523       -.49062E-05** at limit **
  23  norm          30.529        5.1073        .70443E-07   -.36556E-04
  24  Normalizat    .98923        .22971        .10971E-05    .23113E-04
  25  Prefactor     1.0321        .13433       -.22299E-05   -.15665E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2548
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.69643
  Prefactor  = 1.79596
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.6218
  Prefactor  = 0.000100057
  Prefactor  = 0.000118704
  norm       = 1.74245
  Prefactor  = 8.89988
  Prefactor  = 0.0001
  Prefactor  = 0.00010007
  norm       = 0.0001
  Prefactor  = 0.000100067
  Prefactor  = 10.1616
  Prefactor  = 8.3437
  Prefactor  = 3.28436
  norm       = 0.0755633
  norm       = 0.000100007
  Prefactor  = 0.0001
  norm       = 30.5291
  Normalizat = 0.989227
  Prefactor  = 1.03213
 **********
 **   18 **HESSE 
 **********

 FCN=   8350.442     FROM HESSE     STATUS=OK           483 CALLS     2536 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.255        16.899        .24105E-02   -1.4877    
   2  Prefactor     .10000E-03    21.021        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .13556        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.6964        1.3272        .80763E-02   -1.5447    
   5  Prefactor     1.7960        188.00        .76734E-02   -1.5440    
   6  Prefactor     .10000E-03    3.2266        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.855        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6218        12.315        .42385E-02   -1.5234    
   9  Prefactor     .10006E-03    40.783        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11870E-03    692.81        .90733E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7425        .77162        .79458E-02   -1.5444    
  12  Prefactor     8.8999        10.132        .33588E-02   -1.5111    
  13  Prefactor     .10000E-03    7.4383        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10007E-03    33.738        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.5938        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10007E-03    90.890        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.162        9.7237        .31424E-02   -1.5070    
  18  Prefactor     8.3437        7.2840        .34694E-02   -1.5130    
  19  Prefactor     3.2844        12.400        .55875E-02   -1.5345    
  20  norm          .75563E-01    .43118        .33738E-01   -1.5653    
  21  norm          .10001E-03    27.515        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    19.585        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          30.529        5.1298        .18129E-02   -1.4602    
  24  Normalizat    .98923        .20878        .78671E-01   -.93392    
  25  Prefactor     1.0321        .11648        .41098E-01   -.91666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72795e-07
Minuit parameter uncertainties:
  1  16.9032
  2  0.000109141
  3  2.88304e-07
  4  1.32721
  5  36.8688
  6  1.04247e-05
  7  2.02149e-05
  8  12.3204
  9  0.00305667
  10  0.230386
  11  0.771625
  12  10.134
  13  8.40097e-06
  14  0.00307658
  15  2.90621e-07
  16  0.00493272
  17  9.72524
  18  7.28474
  19  12.4094
  20  0.36077
  21  0.000864248
  22  2.05429e-05
  23  5.1299
  24  0.208957
  25  0.116507
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.742e+00  7.716e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.032e+00  1.165e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  9.892e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.17
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 8.84e-08 +/- 3.91e-08
Energy Flux (Fixed Index): 4.66e-05 +/- 2.06e-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) = 8350.42784452
delta logL = 0.0140163433807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8350.4275604
delta logL = 0.0143004634392

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7289       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9693       1.0000          .0000       5.0000    
     3 'Normalizat'    .99410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8350.428     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7289        1.9396        .79829E-02    .15060E-03
   2  alpha         1.9693        .82756        .30273       -.38733E-05
   3  Normalizat    .99410        .20632        .78506E-01    .23875E-04
   4  Prefactor     1.0313        .11848        .41157E-01    .24814E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72891
  alpha      = 1.96934
  Normalizat = 0.994098
  Prefactor  = 1.03131
 **********
 **   18 **HESSE 
 **********

 FCN=   8350.428     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7289        .77865        .51561E-04   -1.5445    
   2  alpha         1.9693        .37390        .11971E-01   -.21389    
   3  Normalizat    .99410        .22922        .34745E-03   -.93228    
   4  Prefactor     1.0313        .13282        .19756E-03   -.91693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70332e-12
Minuit parameter uncertainties:
  1  0.778656
  2  0.37538
  3  0.229447
  4  0.132862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142322': 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) = 8350.4275604
delta logL = 0.0143004649981

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.729e+00  7.787e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.969e+00  3.754e-01  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  8.399e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.031e+00  1.329e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  9.941e-01  2.294e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.15
Ra Dec: 26.150 27.090
Photon Index (Free Index): 1.97 +/- 0.38
Photon Flux (Free Index): 8.23e-08 +/- 5.06e-08
Energy Flux (Free Index): 4.83e-05 +/- 2.46e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/142322/cmap_HighResolution_656899201_657158401_4FGL_J0144.6+2705_daily_bin1611.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.84e-08', energy_flux2='4.83e-05', photon_flux_error='3.91e-08', dlogl='1.43e-02', energy_flux='4.66e-05', photon_flux2='8.23e-08', job_status='DONE', time_completed='2021-12-07 12:25:52.815708', photon_index_error2='0.38', photon_index2='1.97', ts='16.17', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.46e-05', EG='0.99', time_epoch_completed='1638908752.82', return_code='0', job_id='142322', GAL2='1.03', EG2='0.99', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='5.06e-08', ts2='16.15', photon_index='2.03' WHERE bin_id='1611' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:25:52 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 142322: <4FGL_J0144.6+2705_daily_bin1611> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1611> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec  7 12:15:22 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:16:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:16:34 2021
Terminated at Tue Dec  7 12:25:53 2021
Results reported at Tue Dec  7 12:25:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1611 26.1502 27.0899 656899201 657158401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0144.6+2705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   550.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            631 sec.

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

