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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin720
RA = 220.561, Dec = 6.3755
tmin = 425952001, tmax = 426211201
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='714080', job_status='RUN', time_executed='2021-09-10 05:50:36.899516', time_epoch_executed='1631278236.9' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714080

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714080/ft1_4FGL_J1442.2+0622_daily_bin720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714080/ft1_4FGL_J1442.2+0622_daily_bin720.fits outfile=/scratch/kocevski/714080/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin720.fits ra=220.561 dec=6.3755 rad=12.0 tmin=425952001.0 tmax=426211201.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.63
user 3.38
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.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/714080/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin720.fits evtable="EVENTS" outfile="/scratch/kocevski/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.fits" evtable="EVENTS" scfile=/scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits sctable="SC_DATA" outfile=/scratch/kocevski/714080/ltcube_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.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/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits
.....................!
real 12.00
user 11.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits sctable="SC_DATA" expcube=/scratch/kocevski/714080/ltcube_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.fits outfile=/scratch/kocevski/714080/expmap_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.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/714080/ltcube_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.fits
.....................!
real 190.42
user 184.87
sys 5.04

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

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.fits scfile=/scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits outfile=/scratch/kocevski/714080/cmap_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.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=220.561 yref=6.3755 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.fits scfile=/scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits outfile=/scratch/kocevski/714080/cmap_HighResolution_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.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=220.561 yref=6.3755 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714080/Model_4FGL_J1442.2+0622_daily_bin720.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/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.fits.....................!
real 59.67
user 58.24
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.fits', '/scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits', expMap='/scratch/kocevski/714080/expmap_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.fits', expCube='/scratch/kocevski/714080/ltcube_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/714080/Model_4FGL_J1442.2+0622_daily_bin720.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/714080/ft1_filtered_4FGL_J1442.2+0622_daily_bin720.fits
Spacecraft file(s): /scratch/kocevski/714080/ft2_4FGL_J1442.2+0622_daily_bin720.fits
Exposure map: /scratch/kocevski/714080/expmap_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.fits
Exposure cube: /scratch/kocevski/714080/ltcube_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/714080/Model_4FGL_J1442.2+0622_daily_bin720.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) = 8287.12671601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4368       1.0000         .10000E-03   10000.    
     2 'Prefactor '    48.208       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .16431E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.561       1.0000         .10000E-03   10000.    
     6 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.910       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11070E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    25.855       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.246       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.533       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.459       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .37566       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3686       1.0000         .10000E-03   10000.    
    19 'norm      '    3.5503       1.0000         .10000E-03   10000.    
    20 'norm      '    6.3268       1.0000         .10000E-03   10000.    
    21 'Prefactor '    37.412       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .78701       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1164       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8287.122     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2556 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4406        13.647        .68331E-05   -.46961E-03
   2  Prefactor     48.207        24.878       -.12206E-05   -.11401E-03
   3  Prefactor     .10000E-03    8.3173        .67814E-06** at limit **
   4  norm          .10002E-03    41.034        .72521E-05** at limit **
   5  Prefactor     28.565        23.020        .44631E-06    .97791E-04
   6  norm          .10000E-03    8.7791       -.46339E-06** at limit **
   7  Prefactor     .10000E-03    2.6377       -.39866E-08** at limit **
   8  Prefactor     10.911        8.0237        .67112E-07   -.35209E-04
   9  Prefactor     .10001E-03    56.309       -.44764E-05** at limit **
  10  Prefactor     .10000E-03    32.213       -.24097E-05** at limit **
  11  norm          25.847        15.437       -.36397E-07    .98198E-04
  12  Prefactor     12.248        19.157       -.28400E-06   -.15315E-04
  13  Prefactor     19.533        20.483        .17420E-06    .22844E-04
  14  Prefactor     .10000E-03    7.6730       -.43068E-07** at limit **
  15  Prefactor     23.467        27.342        .13561E-05    .17158E-03
  16  Prefactor     .10000E-03    13.736        .27826E-06** at limit **
  17  norm          .37575        .16763        .20135E-08   -.41740E-03
  18  norm          3.3692        2.1046        .90327E-07   -.67295E-04
  19  norm          3.5504        3.5648       -.10075E-06    .16093E-05
  20  norm          6.3275        3.6072        .73774E-07    .63364E-04
  21  Prefactor     37.398        37.581       -.31191E-05   -.34631E-03
  22  Normalizat    .78701        .21386       -.10338E-05   -.32667E-04
  23  Prefactor     1.1163        .12474        .32099E-06   -.17272E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44061
  Prefactor  = 48.2071
  Prefactor  = 0.0001
  norm       = 0.000100016
  Prefactor  = 28.565
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9112
  Prefactor  = 0.000100009
  Prefactor  = 0.000100003
  norm       = 25.8468
  Prefactor  = 12.2481
  Prefactor  = 19.5335
  Prefactor  = 0.0001
  Prefactor  = 23.4674
  Prefactor  = 0.0001
  norm       = 0.375754
  norm       = 3.36921
  norm       = 3.55038
  norm       = 6.32751
  Prefactor  = 37.3981
  Normalizat = 0.78701
  Prefactor  = 1.11635
 **********
 **   18 **HESSE 
 **********

 FCN=   8287.122     FROM HESSE     STATUS=OK           366 CALLS     2922 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4406        14.720        .95589E-03   -1.5286    
   2  Prefactor     48.207        24.962        .57753E-04   -1.4318    
   3  Prefactor     .10000E-03    8.3538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10002E-03    44.311        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     28.565        23.101        .74966E-04   -1.4639    
   6  norm          .10000E-03    8.8115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.6430        .14432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.911        8.0372        .12129E-03   -1.5047    
   9  Prefactor     .10001E-03    57.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    32.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          25.847        15.408        .78783E-04   -1.4691    
  12  Prefactor     12.248        19.149        .11447E-03   -1.5008    
  13  Prefactor     19.533        20.503        .90625E-04   -1.4824    
  14  Prefactor     .10000E-03    7.6880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.467        27.487        .82701E-04   -1.4739    
  16  Prefactor     .10000E-03    13.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .37575        .16631        .23648E-04   -1.5585    
  18  norm          3.3692        2.0986        .98030E-04   -1.5341    
  19  norm          3.5504        3.5711        .16803E-03   -1.5331    
  20  norm          6.3275        3.6086        .12509E-03   -1.5205    
  21  Prefactor     37.398        38.850        .65525E-04   -1.4484    
  22  Normalizat    .78701        .24870        .35856E-03   -1.0055    
  23  Prefactor     1.1163        .14603        .18795E-03   -.88946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25393e-09
Minuit parameter uncertainties:
  1  14.7322
  2  24.9671
  3  8.37991e-05
  4  0.00166478
  5  23.1078
  6  6.32953e-05
  7  5.71175e-07
  8  8.03804
  9  0.00145566
  10  0.000595657
  11  15.4106
  12  19.159
  13  20.5105
  14  2.02018e-05
  15  27.5017
  16  2.76687e-05
  17  0.166308
  18  2.09862
  19  3.57136
  20  3.60872
  21  38.8766
  22  0.249063
  23  0.146085
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  2.585e+01  1.541e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.116e+00  1.461e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  7.870e-01  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.94
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 4.29e-08 +/- 2.56e-08
Energy Flux (Fixed Index): 1.55e-05 +/- 9.25e-06

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) = 8282.37499239
delta logL = 4.74653403195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8282.35603901
delta logL = 4.76548741235

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8282.356     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.357        24.286        .14817E-05   -.53297E-04
   2  alpha         .76237        .57612        .27998E-04    .47619E-05
   3  Normalizat    .82339        .19867        .27570E-06   -.88005E-04
   4  Prefactor     1.1060        .12272       -.15762E-06   -.87318E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 30.3575
  alpha      = 0.762368
  Normalizat = 0.823392
  Prefactor  = 1.10598
 **********
 **   18 **HESSE 
 **********

 FCN=   8282.356     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.357        23.765        .72725E-04   -1.4605    
   2  alpha         .76237        .56303        .23139E-01   -.76849    
   3  Normalizat    .82339        .23242        .35103E-03   -.99207    
   4  Prefactor     1.1060        .14387        .18861E-03   -.89276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22905e-11
Minuit parameter uncertainties:
  1  23.7723
  2  0.572673
  3  0.232697
  4  0.143919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714080': 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) = 8282.35603897
delta logL = 4.76548744928

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.036e+01  2.377e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  7.624e-01  5.727e-01  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.106e+00  1.439e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  8.234e-01  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.48
Ra Dec: 220.561 6.375
Photon Index (Free Index): 0.76 +/- 0.57
Photon Flux (Free Index): 1.21e-08 +/- 7.94e-09
Energy Flux (Free Index): 4.63e-05 +/- 3.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/714080/cmap_HighResolution_425952001_426211201_4FGL_J1442.2+0622_daily_bin720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.29e-08', energy_flux2='4.63e-05', photon_flux_error='2.56e-08', dlogl='4.77e+00', energy_flux='1.55e-05', photon_flux2='1.21e-08', job_status='DONE', time_completed='2021-09-10 06:00:47.799043', photon_index_error2='0.57', photon_index2='0.76', ts='9.94', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='3.81e-05', EG='0.79', time_epoch_completed='1631278847.8', return_code='0', job_id='714080', GAL2='1.11', EG2='0.82', return_code2='0', energy_flux_error='9.25e-06', photon_flux_error2='7.94e-09', ts2='19.48', photon_index='2.70' WHERE bin_id='720' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:00:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 714080: <4FGL_J1442.2+0622_daily_bin720> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin720> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:32 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:46:34 2021
Terminated at Fri Sep 10 06:00:48 2021
Results reported at Fri Sep 10 06:00:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin720 220.561 6.3755 425952001 426211201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   610.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

