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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1246
RA = 31.8989, Dec = -24.0484
tmin = 562291201, tmax = 562550401
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='136765', job_status='RUN', time_executed='2021-08-15 08:27:31.408986', time_epoch_executed='1629041251.41' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/136765

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/136765/ft1_4FGL_J0207.5-2402_daily_bin1246.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/136765/ft1_4FGL_J0207.5-2402_daily_bin1246.fits outfile=/scratch/kocevski/136765/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1246.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=562291201.0 tmax=562550401.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 4.49
user 3.31
sys 1.14

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.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/136765/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1246.fits evtable="EVENTS" outfile="/scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.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 1.39
user 0.34
sys 1.02

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.fits" evtable="EVENTS" scfile=/scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits sctable="SC_DATA" outfile=/scratch/kocevski/136765/ltcube_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.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/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits
.....................!
real 13.74
user 12.26
sys 1.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits sctable="SC_DATA" expcube=/scratch/kocevski/136765/ltcube_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.fits outfile=/scratch/kocevski/136765/expmap_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.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/136765/ltcube_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.fits
.....................!
real 194.79
user 187.03
sys 7.09

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
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 174 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0207.5-2402 @ 31.8989 -24.0484

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.fits scfile=/scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits outfile=/scratch/kocevski/136765/cmap_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.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=31.8989 yref=-24.0484 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 1.45
user 0.37
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.fits scfile=/scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits outfile=/scratch/kocevski/136765/cmap_HighResolution_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.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=31.8989 yref=-24.0484 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 1.48
user 0.39
sys 1.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.fits evtable="EVENTS" scfile=/scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/136765/Model_4FGL_J0207.5-2402_daily_bin1246.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.fits.....................!
real 28.68
user 26.03
sys 2.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.fits', '/scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits', expMap='/scratch/kocevski/136765/expmap_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.fits', expCube='/scratch/kocevski/136765/ltcube_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/136765/Model_4FGL_J0207.5-2402_daily_bin1246.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0207.5-2402'

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  2.138e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/136765/ft1_filtered_4FGL_J0207.5-2402_daily_bin1246.fits
Spacecraft file(s): /scratch/kocevski/136765/ft2_4FGL_J0207.5-2402_daily_bin1246.fits
Exposure map: /scratch/kocevski/136765/expmap_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.fits
Exposure cube: /scratch/kocevski/136765/ltcube_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/136765/Model_4FGL_J0207.5-2402_daily_bin1246.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) = 805.869918368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.696       1.0000         .10000E-03   10000.    
     2 'norm      '    .13243E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13950E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10663E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.6737       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    344.58       1.0000         .10000E-03   10000.    
    10 'norm      '    5.4892       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.178       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.426       1.0000         .10000E-03   10000.    
    14 'norm      '    .19371E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.321       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11090E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    147.72       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    122.10       1.0000         .10000E-03   10000.    
    21 'norm      '    .13773E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .74834E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2827       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   805.7576     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     2515 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.690        2.4172       -.61083E-05    .51561E-03
   2  norm          .10244E-03    15.160        .11628E-04** at limit **
   3  norm          .10228E-03    20.656        .20326E-04** at limit **
   4  Prefactor     .10462E-03    120.29        .92538E-04** at limit **
   5  Prefactor     .10023E-03    19.310        .51757E-04** at limit **
   6  norm          3.6739        4.5358       -.89669E-06   -.19340E-03
   7  norm          .10000E-03    20.099        .12119E-04** at limit **
   8  norm          .10014E-03    15.060        .17522E-04** at limit **
   9  Prefactor     344.61        9.7398        .75082E-05   -.69501E-02
  10  norm          5.4931        6.8422        .26034E-05   -.49190E-05
  11  Prefactor     .10023E-03    53.082       -.56414E-04** at limit **
  12  Prefactor     35.208        7.8055        .16817E-04    .32952E-02
  13  Prefactor     38.330        13.291       -.14918E-04   -.14194E-01
  14  norm          .10339E-03    208.49       -.40017E-03** at limit **
  15  Prefactor     .10132E-03    22.485       -.69029E-04** at limit **
  16  Prefactor     42.293        8.7224       -.18582E-04    .14600E-02
  17  Prefactor     .34171E-03    728.23       -.76106E-03** at limit **
  18  Prefactor     147.70        7.6290       -.89088E-05    .38514E-02
  19  Prefactor     .10070E-03    11.227        .38317E-04** at limit **
  20  Prefactor     122.11        3.3805        .41339E-05   -.12350E-02
  21  norm          .10018E-03    21.322       -.34481E-04** at limit **
  22  Normalizat    .74448E-01    1.3829       -.60617E-04   -.15363E-04
  23  Prefactor     1.2834        .60940        .11919E-04   -.11664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.69
  norm       = 0.000102438
  norm       = 0.000102283
  Prefactor  = 0.000104617
  Prefactor  = 0.000100235
  norm       = 3.67392
  norm       = 0.000100003
  norm       = 0.000100143
  Prefactor  = 344.606
  norm       = 5.49315
  Prefactor  = 0.000100235
  Prefactor  = 35.2083
  Prefactor  = 38.3303
  norm       = 0.000103391
  Prefactor  = 0.000101325
  Prefactor  = 42.2932
  Prefactor  = 0.000341712
  Prefactor  = 147.699
  Prefactor  = 0.0001007
  Prefactor  = 122.113
  norm       = 0.000100184
  Normalizat = 0.0744479
  Prefactor  = 1.28336
 **********
 **   18 **HESSE 
 **********

 FCN=   805.7576     FROM HESSE     STATUS=NOT POSDEF   416 CALLS     2931 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.690        246.78        .19384E-02   -1.4674    
   2  norm          .10244E-03    29.196        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10228E-03    37.227        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10462E-03    111.35        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10023E-03    34.188        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.6739        5.7100        .52683E-02   -1.5325    
   7  norm          .10000E-03    17.153        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10014E-03    21.085        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     344.61        699.47        .54824E-03   -1.1974    
  10  norm          5.4931        18.089        .42874E-02   -1.5239    
  11  Prefactor     .10023E-03    47.940        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.208        87.012        .16892E-02   -1.4521    
  13  Prefactor     38.330        59.262        .16164E-02   -1.4469    
  14  norm          .10339E-03    960.69        .10129E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10132E-03    26.239        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     42.293        306.27        .15405E-02   -1.4406    
  17  Prefactor     .34171E-03    1030.1        .90712E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     147.70        180.68        .82892E-03   -1.3271    
  19  Prefactor     .10070E-03    20.183        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     122.11        233.21        .91056E-03   -1.3493    
  21  norm          .10018E-03    18.873        .36503E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .74448E-01    9.5887        .20074       -1.4100    
  23  Prefactor     1.2834        2.1600        .50544E-01   -.83803    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.71488e-06
Minuit parameter uncertainties:
  1  163.211
  2  0.0168828
  3  0.0184509
  4  0.0454328
  5  0.00566883
  6  5.71087
  7  0.000436693
  8  0.00347233
  9  717.86
  10  18.1068
  11  0.00671233
  12  87.3281
  13  59.3533
  14  0.116068
  15  0.0117963
  16  229.299
  17  1.01595
  18  181.361
  19  0.00751757
  20  234.995
  21  0.0037305
  22  3.08164
  23  2.34824
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 805.75759284

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.002e-04  6.712e-03  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.283e+00  2.348e+00  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  7.445e-02  3.082e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 31.899 -24.048
Photon Flux Upper Limit: 4.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.39e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/136765/likelihoodResults_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.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) = 805.757675679
delta logL = -8.28390059269e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 805.757592885
delta logL = -4.44863417215e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1365       1.0000          .0000       10.000    
     3 'Normalizat'    .74459E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   805.7576     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      248 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7874.2        .90712E-02** at limit **
   2  Index         2.1581        7.0197        .50000       -.34235E-05
   3  Normalizat    .74455E-01    .14700        .20072        .37356E-04
   4  Prefactor     1.2834        .17925        .50544E-01    .70200E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.15807
  Normalizat = 0.0744546
  Prefactor  = 1.28336
 **********
 **   18 **HESSE 
 **********

 FCN=   805.7576     FROM HESSE     STATUS=OK            33 CALLS      281 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    87.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1581        5.9602        .50000       -.60454    
   3  Normalizat    .74455E-01    .89893        .79625E-02   -1.4100    
   4  Prefactor     1.2834        .53666        .22342E-03   -.83803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11952e-10
Minuit parameter uncertainties:
  1  0.000507613
  2  5.24828
  3  0.490642
  4  0.53899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/136765': 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) = 805.757592865
delta logL = -2.44134525929e-08

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  5.076e-04  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.158e+00  5.248e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.283e+00  5.390e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  7.445e-02  4.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 31.899 -24.048

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/136765/cmap_HighResolution_562291201_562550401_4FGL_J0207.5-2402_daily_bin1246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-02', job_status='DONE', photon_flux_upper_limit='4.46e-07', time_completed='2021-08-15 08:34:28.091761', job_id='136765', GAL2='1.28', fit_tolerance='1e-08', EG2='0.07', EG='0.07', time_epoch_completed='1629041668.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='102', GAL='1.28', dlogl='-2.44e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1246' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:34:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 136765: <4FGL_J0207.5-2402_daily_bin1246> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin1246> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 15 08:25:30 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:26:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 08:26:17 2021
Terminated at Sun Aug 15 08:34:29 2021
Results reported at Sun Aug 15 08:34:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1246 31.8989 -24.0484 562291201 562550401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0207.5-2402 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   403.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   491 sec.
    Turnaround time :                            539 sec.

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

