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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin177
RA = 26.1502, Dec = 27.0899
tmin = 285206401, tmax = 285465601
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='816575', job_status='RUN', time_executed='2021-08-14 15:01:32.071350', time_epoch_executed='1628978492.07' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816575

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816575/ft1_4FGL_J0144.6+2705_daily_bin177.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816575/ft2_4FGL_J0144.6+2705_daily_bin177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816575/ft1_4FGL_J0144.6+2705_daily_bin177.fits outfile=/scratch/kocevski/816575/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin177.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=285206401.0 tmax=285465601.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 6.26
user 3.37
sys 2.84

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/816575/ft2_4FGL_J0144.6+2705_daily_bin177.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/816575/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin177.fits evtable="EVENTS" outfile="/scratch/kocevski/816575/ft1_filtered_4FGL_J0144.6+2705_daily_bin177.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 3.15
user 0.33
sys 2.79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816575/ft1_filtered_4FGL_J0144.6+2705_daily_bin177.fits" evtable="EVENTS" scfile=/scratch/kocevski/816575/ft2_4FGL_J0144.6+2705_daily_bin177.fits sctable="SC_DATA" outfile=/scratch/kocevski/816575/ltcube_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.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/816575/ft2_4FGL_J0144.6+2705_daily_bin177.fits
.....................!
real 15.04
user 11.99
sys 2.99

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816575/ft1_filtered_4FGL_J0144.6+2705_daily_bin177.fits evtable="EVENTS" scfile=/scratch/kocevski/816575/ft2_4FGL_J0144.6+2705_daily_bin177.fits sctable="SC_DATA" expcube=/scratch/kocevski/816575/ltcube_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.fits outfile=/scratch/kocevski/816575/expmap_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.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/816575/ltcube_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.fits
.....................!
real 194.82
user 185.98
sys 8.23

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/816575/ft1_filtered_4FGL_J0144.6+2705_daily_bin177.fits scfile=/scratch/kocevski/816575/ft2_4FGL_J0144.6+2705_daily_bin177.fits outfile=/scratch/kocevski/816575/cmap_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.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 3.06
user 0.39
sys 2.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816575/ft1_filtered_4FGL_J0144.6+2705_daily_bin177.fits scfile=/scratch/kocevski/816575/ft2_4FGL_J0144.6+2705_daily_bin177.fits outfile=/scratch/kocevski/816575/cmap_HighResolution_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.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 2.92
user 0.39
sys 2.49

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/816575/ft1_filtered_4FGL_J0144.6+2705_daily_bin177.fits', '/scratch/kocevski/816575/ft2_4FGL_J0144.6+2705_daily_bin177.fits', expMap='/scratch/kocevski/816575/expmap_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.fits', expCube='/scratch/kocevski/816575/ltcube_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/816575/Model_4FGL_J0144.6+2705_daily_bin177.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/816575/ft1_filtered_4FGL_J0144.6+2705_daily_bin177.fits
Spacecraft file(s): /scratch/kocevski/816575/ft2_4FGL_J0144.6+2705_daily_bin177.fits
Exposure map: /scratch/kocevski/816575/expmap_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.fits
Exposure cube: /scratch/kocevski/816575/ltcube_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/816575/Model_4FGL_J0144.6+2705_daily_bin177.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) = 7195.60479137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26058E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2555       1.0000         .10000E-03   10000.    
     4 'norm      '    1.8106       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10714E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4193       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .72290E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .22889E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .33157       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.850       1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .56868E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4101       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.3533       1.0000         .10000E-03   10000.    
    21 'norm      '    .10855E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.021       1.0000         .10000E-03   10000.    
    23 'norm      '    6.8157       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .96236       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1580       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7195.595     FROM MIGRAD    STATUS=CONVERGED   1078 CALLS     3892 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37879E-03    18.949        .92658E-01** at limit **
   2  Prefactor     .10000E-03    10.566        .18142E-02** at limit **
   3  norm          1.2555        .65123        .48047E-04    .25554E-04
   4  norm          1.8163        1.6442        .94033E-04    .38834E-03
   5  Prefactor     .10000E-03    17.410        .18142E-02** at limit **
   6  Prefactor     3.4208        3.8510        .17190E-03   -.16336E-04
   7  Prefactor     .33445E-02    12.254        .50401E-01    .31428E-03
   8  Prefactor     .10000E-03    3.1473        .14685E-02** at limit **
   9  Prefactor     .10000E-03    11.082        .18142E-02** at limit **
  10  Prefactor     .10000E-03    223.25        .18142E-02** at limit **
  11  norm          .33258        .49906        .83282E-03    .14303E-02
  12  Prefactor     .10000E-03    10.823        .18142E-02** at limit **
  13  Prefactor     .10000E-03    10.506        .18142E-02** at limit **
  14  Prefactor     15.863        25.776        .10060E-03    .31077E-04
  15  norm          .10000E-03    2.7446        .13647E-02** at limit **
  16  Prefactor     1.0093        143.67        .36997        .39953E-04
  17  Prefactor     2.4152        8.1105        .26371E-03    .23711E-05
  18  Prefactor     .10000E-03    2.8854        .14037E-02** at limit **
  19  Prefactor     .10000E-03    3.3042        .15040E-02** at limit **
  20  norm          2.3536        .90705        .48489E-04    .13458E-03
  21  norm          .10000E-03    374.14        .18142E-02** at limit **
  22  Prefactor     21.002        55.585        .87359E-04    .22123E-05
  23  norm          6.8152        3.2594        .10226E-03    .24793E-04
  24  Normalizat    .96221        .25590        .34507E-03    .13458E-03
  25  Prefactor     1.1580        .14891        .18960E-03    .46542E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000378788
  Prefactor  = 0.0001
  norm       = 1.25553
  norm       = 1.81629
  Prefactor  = 0.0001
  Prefactor  = 3.42084
  Prefactor  = 0.00334455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.332581
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8632
  norm       = 0.0001
  Prefactor  = 1.00928
  Prefactor  = 2.41525
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.35363
  norm       = 0.000100001
  Prefactor  = 21.002
  norm       = 6.81519
  Normalizat = 0.962211
  Prefactor  = 1.15796
 **********
 **   18 **HESSE 
 **********

 FCN=   7195.595     FROM HESSE     STATUS=OK           433 CALLS     4325 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37879E-03    17.679        .96985E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.566        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2555        .65119        .19219E-05   -1.5484    
   4  norm          1.8163        1.6403        .37613E-05   -1.5438    
   5  Prefactor     .10000E-03    17.411        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4208        3.8509        .68759E-05   -1.5338    
   7  Prefactor     .33445E-02    8.0799        .64153E-01   -1.5697    
   8  Prefactor     .10000E-03    3.1474        .29370E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    223.29        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .33258        .49863        .33313E-04   -1.5593    
  12  Prefactor     .10000E-03    10.828        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.509        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.863        25.772        .40240E-05   -1.4911    
  15  norm          .10000E-03    2.7450        .27294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0093        143.65        .36997       -1.5507    
  17  Prefactor     2.4152        8.1053        .10548E-04   -1.5397    
  18  Prefactor     .10000E-03    2.8857        .28074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3044        .30081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.3536        .90700        .19396E-05   -1.5401    
  21  norm          .10000E-03    374.40        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     21.002        55.588        .34944E-05   -1.4791    
  23  norm          6.8152        3.2593        .40903E-05   -1.5186    
  24  Normalizat    .96221        .25547        .13803E-04   -.94307    
  25  Prefactor     1.1580        .14895        .37920E-04   -.87635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83989e-10
Minuit parameter uncertainties:
  1  0.140449
  2  2.01494e-06
  3  0.651197
  4  1.6403
  5  9.68903e-06
  6  3.85116
  7  0.323868
  8  1.25876e-06
  9  1.38543e-06
  10  0.000430093
  11  0.498635
  12  6.70007e-06
  13  7.4894e-06
  14  25.7899
  15  9.93381e-06
  16  24.1402
  17  8.10901
  18  2.10083e-06
  19  4.74501e-06
  20  0.907004
  21  0.00134323
  22  55.7257
  23  3.25937
  24  0.255789
  25  0.149005
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  3.326e-01  4.986e-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.158e+00  1.490e-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.622e-01  2.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.71
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 8.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/816575/likelihoodResults_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.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) = 7195.54271711
delta logL = 0.0523927366985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7195.53366913
delta logL = 0.0614407182056

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25948       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5715       1.0000          .0000       5.0000    
     3 'Normalizat'    .96968       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1567       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=   7195.534     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      240 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25902        .63573        .15999E-01    .10644E-02
   2  alpha         1.5704        .93082        .45482       -.46796E-04
   3  Normalizat    .96936        .20986        .77703E-01    .26931E-04
   4  Prefactor     1.1568        .12628        .35745E-01   -.82500E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.259022
  alpha      = 1.57043
  Normalizat = 0.969362
  Prefactor  = 1.15681
 **********
 **   18 **HESSE 
 **********

 FCN=   7195.534     FROM HESSE     STATUS=OK            35 CALLS      275 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25902        .48345        .80632E-03   -1.5606    
   2  alpha         1.5704        1.1422        .26805E-01   -.38098    
   3  Normalizat    .96936        .23966        .34389E-03   -.94064    
   4  Prefactor     1.1568        .14412        .18967E-03   -.87671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13278e-09
Minuit parameter uncertainties:
  1  0.483456
  2  1.19419
  3  0.239923
  4  0.144164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816575': 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) = 7195.53366706
delta logL = 0.0614427910741

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  2.590e-01  4.835e-01  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.570e+00  1.194e+00  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.157e+00  1.442e-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.694e-01  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.71
Ra Dec: 26.150 27.090

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/816575/cmap_HighResolution_285206401_285465601_4FGL_J0144.6+2705_daily_bin177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-05', job_status='DONE', photon_flux_upper_limit='8.77e-08', time_completed='2021-08-14 15:16:07.645802', job_id='816575', GAL2='1.16', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1628979367.65', return_code2='0', ts='0.71', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='6.14e-02', ts2='0.84', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='177' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 15:16:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 816575: <4FGL_J0144.6+2705_daily_bin177> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin177> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 15:00:24 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 15:00:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 15:00:32 2021
Terminated at Sat Aug 14 15:16:08 2021
Results reported at Sat Aug 14 15:16:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin177 26.1502 27.0899 285206401 285465601 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 :                                   914.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            944 sec.

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

