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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1618
RA = 26.1502, Dec = 27.0899
tmin = 658713601, tmax = 658972801
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='142332', job_status='RUN', time_executed='2021-12-07 12:18:53.433778', time_epoch_executed='1638908333.43' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1618'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/142332

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/142332/ft1_4FGL_J0144.6+2705_daily_bin1618.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/142332/ft2_4FGL_J0144.6+2705_daily_bin1618.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/142332/ft1_4FGL_J0144.6+2705_daily_bin1618.fits outfile=/scratch/kocevski/142332/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1618.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=658713601.0 tmax=658972801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.03
user 2.80
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/142332/ft2_4FGL_J0144.6+2705_daily_bin1618.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/142332/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1618.fits evtable="EVENTS" outfile="/scratch/kocevski/142332/ft1_filtered_4FGL_J0144.6+2705_daily_bin1618.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.51
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/142332/ft1_filtered_4FGL_J0144.6+2705_daily_bin1618.fits" evtable="EVENTS" scfile=/scratch/kocevski/142332/ft2_4FGL_J0144.6+2705_daily_bin1618.fits sctable="SC_DATA" outfile=/scratch/kocevski/142332/ltcube_658713601_658972801_4FGL_J0144.6+2705_daily_bin1618.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/142332/ft2_4FGL_J0144.6+2705_daily_bin1618.fits
.....................!
real 18.70
user 18.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/142332/ft1_filtered_4FGL_J0144.6+2705_daily_bin1618.fits evtable="EVENTS" scfile=/scratch/kocevski/142332/ft2_4FGL_J0144.6+2705_daily_bin1618.fits sctable="SC_DATA" expcube=/scratch/kocevski/142332/ltcube_658713601_658972801_4FGL_J0144.6+2705_daily_bin1618.fits outfile=/scratch/kocevski/142332/expmap_658713601_658972801_4FGL_J0144.6+2705_daily_bin1618.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/142332/ltcube_658713601_658972801_4FGL_J0144.6+2705_daily_bin1618.fits
.....................!
real 194.97
user 189.01
sys 5.59

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/142332/ft1_filtered_4FGL_J0144.6+2705_daily_bin1618.fits scfile=/scratch/kocevski/142332/ft2_4FGL_J0144.6+2705_daily_bin1618.fits outfile=/scratch/kocevski/142332/cmap_658713601_658972801_4FGL_J0144.6+2705_daily_bin1618.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.60
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/142332/ft1_filtered_4FGL_J0144.6+2705_daily_bin1618.fits scfile=/scratch/kocevski/142332/ft2_4FGL_J0144.6+2705_daily_bin1618.fits outfile=/scratch/kocevski/142332/cmap_HighResolution_658713601_658972801_4FGL_J0144.6+2705_daily_bin1618.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.308       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.8490       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2315       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .34956E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4404       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    45.930       1.0000         .10000E-03   10000.    
    10 'Prefactor '    146.02       1.0000         .10000E-03   10000.    
    11 'norm      '    .10154E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    55.365       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.127       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .71454E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .14699E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .47619E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    169.60       1.0000         .10000E-03   10000.    
    23 'norm      '    74.697       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .38276       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3381       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.

 FCN=   1838.979     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     3341 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.288        35.943        .35488E-05    .36324E-04
   2  Prefactor     .10000E-03    31.286       -.48051E-06** at limit **
   3  norm          1.8492        1.2213        .32976E-06    .68921E-04
   4  norm          1.2355        3.0973        .18526E-05    .21804E-03
   5  Prefactor     .10001E-03    696.18       -.28216E-04** at limit **
   6  Prefactor     .10000E-03    4.6109       -.30097E-06** at limit **
   7  Prefactor     3.4299        22.286        .28158E-05    .13948E-03
   8  Prefactor     .10000E-03    17.069       -.16432E-05** at limit **
   9  Prefactor     45.925        105.07        .10685E-06    .85594E-05
  10  Prefactor     146.01        253.80        .10081E-04    .24485E-04
  11  norm          .10000E-03    1.3047       -.18867E-05** at limit **
  12  Prefactor     55.421        63.112        .78371E-05   -.77873E-04
  13  Prefactor     .10000E-03    38.340        .25687E-05** at limit **
  14  Prefactor     .10000E-03    110.61       -.12813E-05** at limit **
  15  norm          12.130        23.650        .17956E-05    .22219E-03
  16  Prefactor     .10005E-03    1147.7       -.11032E-04** at limit **
  17  Prefactor     .10000E-03    21.003       -.27995E-06** at limit **
  18  Prefactor     .10000E-03    18.907       -.72944E-06** at limit **
  19  Prefactor     .10000E-03    31.512       -.10820E-05** at limit **
  20  norm          .10001E-03    2.8236        .38996E-06** at limit **
  21  norm          .10004E-03    789.28        .19975E-04** at limit **
  22  Prefactor     169.03        579.88        .21554E-04   -.15373E-04
  23  norm          74.723        50.135        .64291E-06   -.42070E-04
  24  Normalizat    .38345        .50755       -.56875E-04   -.47522E-04
  25  Prefactor     1.3378        .30315        .12861E-04   -.10972E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.2878
  Prefactor  = 0.0001
  norm       = 1.84923
  norm       = 1.23549
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 3.42994
  Prefactor  = 0.000100001
  Prefactor  = 45.9249
  Prefactor  = 146.005
  norm       = 0.0001
  Prefactor  = 55.4215
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.1298
  Prefactor  = 0.000100054
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100007
  norm       = 0.000100038
  Prefactor  = 169.033
  norm       = 74.7232
  Normalizat = 0.383451
  Prefactor  = 1.33778
 **********
 **   18 **HESSE 
 **********

 FCN=   1838.979     FROM HESSE     STATUS=OK           419 CALLS     3760 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.288        35.297        .81246E-04   -1.4722    
   2  Prefactor     .10000E-03    31.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8492        1.2201        .36879E-04   -1.5436    
   4  norm          1.2355        2.9575        .96625E-04   -1.5486    
   5  Prefactor     .10001E-03    674.76        .76945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.6175        .89861E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4299        20.431        .21806E-03   -1.5338    
   8  Prefactor     .10000E-03    17.054        .17278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     45.925        105.21        .59161E-04   -1.4352    
  10  Prefactor     146.01        254.61        .33347E-04   -1.3285    
  11  norm          .10000E-03    1.3151        .94669E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     55.421        63.350        .53909E-04   -1.4218    
  13  Prefactor     .10000E-03    38.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    110.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.130        23.714        .11503E-03   -1.5011    
  16  Prefactor     .10005E-03    1148.0        .20968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    31.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10001E-03    11.757        .13902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10004E-03    786.53        .21181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     169.03        580.62        .15489E-03   -1.3100    
  23  norm          74.723        50.145        .23228E-03   -1.3977    
  24  Normalizat    .38345        .50340        .52656E-03   -1.1817    
  25  Prefactor     1.3378        .30778        .18667E-03   -.82190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75602e-09
Minuit parameter uncertainties:
  1  35.3269
  2  0.000110691
  3  1.2201
  4  2.95787
  5  0.0049568
  6  2.10458e-05
  7  16.7508
  8  0.000274877
  9  105.643
  10  256.561
  11  4.26197e-05
  12  63.4267
  13  0.00020371
  14  0.00021892
  15  23.7326
  16  0.0160392
  17  6.71729e-05
  18  9.37144e-05
  19  0.000165798
  20  0.000556659
  21  0.011087
  22  602.29
  23  50.1735
  24  0.509517
  25  0.308205
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  4.262e-05  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.338e+00  3.082e-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:  3.835e-01  5.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 26.150 27.090
Photon Flux Upper Limit: 2.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/142332/likelihoodResults_658713601_658972801_4FGL_J0144.6+2705_daily_bin1618.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1838.98210688
delta logL = -0.00346132266077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1838.97864715
delta logL = -1.59812589118e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10135E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0120       1.0000          .0000       5.0000    
     3 'Normalizat'    .38423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3375       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=   1838.979     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      232 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6122        .96382E-03** at limit **
   2  alpha         1.6793        3.1302        .16875E-01   -.10526E-06
   3  Normalizat    .38345        .45006        .52662E-03   -.67533E-04
   4  Prefactor     1.3378        .28994        .18667E-03   -.15034E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.67928
  Normalizat = 0.383451
  Prefactor  = 1.33778
 **********
 **   18 **HESSE 
 **********

 FCN=   1838.979     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5860        .19276E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6793        2.8560        .67502E-03   -.33449    
   3  Normalizat    .38345        .44996        .21065E-04   -1.1817    
   4  Prefactor     1.3378        .28987        .37333E-04   -.82190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.8837e-11
Minuit parameter uncertainties:
  1  1.56277e-06
  2  89.7929
  3  0.454302
  4  0.290225
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/142332': 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) = 1838.97863906
delta logL = 6.49266530672e-06

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.000e-04  1.563e-06  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.679e+00  8.979e+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.338e+00  2.902e-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:  3.835e-01  4.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 26.150 27.090

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/142332/cmap_HighResolution_658713601_658972801_4FGL_J0144.6+2705_daily_bin1618.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-04', job_status='DONE', photon_flux_upper_limit='2.31e-07', time_completed='2021-12-07 12:26:13.077102', job_id='142332', GAL2='1.34', fit_tolerance='1e-08', EG2='0.38', EG='0.38', time_epoch_completed='1638908773.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='6.49e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1618' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:26:13 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 142332: <4FGL_J0144.6+2705_daily_bin1618> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1618> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec  7 12:15:23 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:16:41 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:41 2021
Terminated at Tue Dec  7 12:26:13 2021
Results reported at Tue Dec  7 12:26:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1618 26.1502 27.0899 658713601 658972801 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 :                                   439.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   574 sec.
    Turnaround time :                            650 sec.

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

