/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: Dan/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 35 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).

User defined signal 2


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='658930', job_status='RUN', time_executed='2022-02-08 02:28:33.397697', time_epoch_executed='1644316113.4' WHERE source_name='4FGL J0648.0-3045' and cadence='daily' and bin_id='1645'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658930

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658930/ft1_4FGL_J0648.0-3045_daily_bin1645.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658930/ft1_4FGL_J0648.0-3045_daily_bin1645.fits outfile=/scratch/kocevski/658930/ft1_filteredMKT_4FGL_J0648.0-3045_daily_bin1645.fits ra=102.01 dec=-30.7509 rad=12.0 tmin=665712001.0 tmax=665971201.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.61
user 3.37
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.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/658930/ft1_filteredMKT_4FGL_J0648.0-3045_daily_bin1645.fits evtable="EVENTS" outfile="/scratch/kocevski/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits" evtable="EVENTS" scfile=/scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits sctable="SC_DATA" outfile=/scratch/kocevski/658930/ltcube_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.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/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits
.....................!
real 12.13
user 11.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits sctable="SC_DATA" expcube=/scratch/kocevski/658930/ltcube_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.fits outfile=/scratch/kocevski/658930/expmap_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.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/658930/ltcube_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.fits
.....................!
real 190.93
user 185.80
sys 4.83

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

Setting source of interest to:
4FGL J0648.0-3045 @ 102.01 -30.7509

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits scfile=/scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits outfile=/scratch/kocevski/658930/cmap_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.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=102.01 yref=-30.7509 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits scfile=/scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits outfile=/scratch/kocevski/658930/cmap_HighResolution_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.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=102.01 yref=-30.7509 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658930/Model_4FGL_J0648.0-3045_daily_bin1645.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/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits.....................!
real 199.73
user 198.20
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits', '/scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits', expMap='/scratch/kocevski/658930/expmap_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.fits', expCube='/scratch/kocevski/658930/ltcube_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/658930/Model_4FGL_J0648.0-3045_daily_bin1645.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0648.0-3045'

4FGL J0648.0-3045
   Spectrum: LogParabola
280         norm:  8.159e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.385e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.298e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  5.427e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/658930/ft1_filtered_4FGL_J0648.0-3045_daily_bin1645.fits
Spacecraft file(s): /scratch/kocevski/658930/ft2_4FGL_J0648.0-3045_daily_bin1645.fits
Exposure map: /scratch/kocevski/658930/expmap_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.fits
Exposure cube: /scratch/kocevski/658930/ltcube_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/658930/Model_4FGL_J0648.0-3045_daily_bin1645.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) = 16140.9878504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    56.355       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .87193E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .53819       1.0000         .10000E-03   10000.    
    13 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .20627E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9837       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8604       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6987       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10646E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10452E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    6.8473       1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.114       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .84871       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0552       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16140.84     FROM MIGRAD    STATUS=CONVERGED    619 CALLS     2732 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.399       -.98253E-06** at limit **
   2  Prefactor     .10000E-03    5.1161       -.17626E-05** at limit **
   3  Prefactor     .10000E-03    6.0988        .20021E-06** at limit **
   4  Prefactor     .10000E-03    9.6097       -.20741E-05** at limit **
   5  Prefactor     .10000E-03    4.8452        .16406E-05** at limit **
   6  norm          .10000E-03    2.6413        .10250E-07** at limit **
   7  Prefactor     .10000E-03    4.1288       -.17418E-06** at limit **
   8  Prefactor     .10000E-03    1.9209        .92059E-08** at limit **
   9  Prefactor     .10000E-03    16.884       -.62291E-05** at limit **
  10  norm          56.364        25.534        .40611E-05    .85811E-04
  11  Prefactor     .77356E-01    1.7606       -.46444E-06    .17670E-03
  12  norm          .54849        2.8953        .84970E-07    .25633E-04
  13  norm          .10000E-03    .46188       -.18474E-07** at limit **
  14  norm          .10038E-03    3.4596       -.12378E-05** at limit **
  15  Prefactor     6.9777        4.3311        .75427E-06    .84074E-03
  16  Prefactor     1.8606        .51878        .13913E-07   -.11115E-02
  17  norm          1.6922        11.905       -.43298E-07   -.24265E-04
  18  Prefactor     .10000E-03    10.012       -.93173E-07** at limit **
  19  norm          .10000E-03    44.477        .14736E-04** at limit **
  20  norm          .10000E-03    14.529        .65061E-05** at limit **
  21  norm          .10000E-03    .51141        .39035E-08** at limit **
  22  norm          6.8471        14.362        .11176E-06   -.29733E-04
  23  Prefactor     17.115        18.136        .14388E-06   -.66697E-05
  24  Prefactor     .10000E-03    7.6865        .10057E-05** at limit **
  25  Normalizat    .84875        .15978       -.11660E-05    .18864E-03
  26  Prefactor     1.0552        .47563E-01    .58391E-07    .26468E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 56.3642
  Prefactor  = 0.077356
  norm       = 0.548494
  norm       = 0.0001
  norm       = 0.00010038
  Prefactor  = 6.97774
  Prefactor  = 1.86056
  norm       = 1.69219
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.84713
  Prefactor  = 17.1148
  Prefactor  = 0.0001
  Normalizat = 0.848749
  Prefactor  = 1.05522
 **********
 **   18 **HESSE 
 **********

 FCN=   16140.84     FROM HESSE     STATUS=OK           468 CALLS     3200 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.1192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.1226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.6145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.8780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.7010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.9515        .17192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          56.364        25.625        .53437E-04   -1.4205    
  11  Prefactor     .77356E-01    1.7888        .62636E-01   -1.5652    
  12  norm          .54849        11.758        .40894E-02   -1.5560    
  13  norm          .10000E-03    .46770        .84125E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10038E-03    3.9686        .77121E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9777        4.3483        .15181E-03   -1.5180    
  16  Prefactor     1.8606        3.9249        .15276E-02   -1.5435    
  17  norm          1.6922        11.938        .32279E-03   -1.5448    
  18  Prefactor     .10000E-03    10.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    44.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    14.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .51383        .88719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.8471        14.355        .76663E-03   -1.5185    
  23  Prefactor     17.115        18.137        .96815E-04   -1.4880    
  24  Prefactor     .10000E-03    7.6970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .84875        .17350        .48329E-03   -.98285    
  26  Prefactor     1.0552        .50504E-01    .13675E-03   -.90911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03629e-09
Minuit parameter uncertainties:
  1  3.27547e-05
  2  8.03799e-07
  3  5.04544e-07
  4  9.32778e-07
  5  4.90012e-07
  6  2.41009e-07
  7  8.26186e-08
  8  2.67769e-07
  9  8.78179e-06
  10  25.6296
  11  0.743511
  12  5.07976
  13  1.9362e-06
  14  0.00245557
  15  4.34848
  16  3.92543
  17  8.99158
  18  3.89095e-06
  19  3.06612e-05
  20  1.53112e-06
  21  1.05702e-07
  22  14.3623
  23  18.1426
  24  8.32419e-07
  25  0.173611
  26  0.0505058
Done.

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

Extracting fit parameters...

4FGL J0648.0-3045
   Spectrum: LogParabola
280         norm:  1.692e+00  8.992e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  2.385e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
282         beta:  1.298e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  5.427e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.055e+00  5.051e-02  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  8.487e-01  1.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 102.010 -30.751
Photon Flux Upper Limit: 7.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658930/likelihoodResults_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.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) = 16140.769228
delta logL = 0.0679392323018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16140.7624102
delta logL = 0.0747570248895

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4207       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0162       1.0000          .0000       5.0000    
     3 'Normalizat'    .83929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0560       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+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=   16140.76     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      260 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4194        9.0576        .26307E-03    .12576E-03
   2  alpha         3.0167        1.8837        .60224E-01    .14975E-04
   3  Normalizat    .83930        .16098        .48574E-03    .12765E-03
   4  Prefactor     1.0560        .49795E-01    .13670E-03    .11511E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.41939
  alpha      = 3.01675
  Normalizat = 0.839303
  Prefactor  = 1.05596
 **********
 **   18 **HESSE 
 **********

 FCN=   16140.76     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4194        6.8862        .10523E-04   -1.5397    
   2  alpha         3.0167        1.5165        .24089E-02    .20820    
   3  Normalizat    .83930        .16118        .19429E-04   -.98627    
   4  Prefactor     1.0560        .49789E-01    .27341E-04   -.90887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16991e-10
Minuit parameter uncertainties:
  1  6.88847
  2  1.63566
  3  0.161274
  4  0.0497911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658930': 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) = 16140.7624101
delta logL = 0.0747570811218

Extracting fit parameters...

4FGL J0648.0-3045
   Spectrum: LogParabola
280         norm:  2.419e+00  6.888e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        alpha:  3.017e+00  1.636e+00  0.000e+00  5.000e+00 ( 1.000e+00)
282         beta:  1.298e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
283           Eb:  5.427e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.056e+00  4.979e-02  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  8.393e-01  1.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 102.010 -30.751

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/658930/cmap_HighResolution_665712001_665971201_4FGL_J0648.0-3045_daily_bin1645.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.39e-05', job_status='DONE', photon_flux_upper_limit='7.79e-08', time_completed='2022-02-08 02:53:05.184036', job_id='658930', GAL2='1.06', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1644317585.18', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='7.48e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1645' AND source_name='4FGL J0648.0-3045' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb  8 02:53:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 658930: <4FGL_J0648.0-3045_daily_bin1645> in cluster <slac> Done

Job <4FGL_J0648.0-3045_daily_bin1645> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Feb  8 02:25:14 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 02:25:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 02:25:16 2022
Terminated at Tue Feb  8 02:53:06 2022
Results reported at Tue Feb  8 02:53:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0648.0-3045_daily_bin1645 102.01 -30.7509 665712001 665971201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0648.0-3045 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1473.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             337.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1669 sec.
    Turnaround time :                            1672 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 620046: <4FGL_J0648.0-3045_daily_bin1645> in cluster <slac> Exited

Job <4FGL_J0648.0-3045_daily_bin1645> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Feb  8 00:06:53 2022
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:06:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:06:59 2022
Terminated at Tue Feb  8 08:27:26 2022
Results reported at Tue Feb  8 08:27:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0648.0-3045_daily_bin1645 102.01 -30.7509 665712001 665971201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0648.0-3045 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

TERM_RUNLIMIT: job killed after reaching LSF run time limit.
Exited with exit code 140.

Resource usage summary:

    CPU time :                                   16.91 sec.
    Max Memory :                                 97 MB
    Average Memory :                             46.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              4
    Max Threads :                                19
    Run time :                                   30026 sec.
    Turnaround time :                            30033 sec.

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

